Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

feat(web): 关注管理两张表对齐,订阅源显示资料图与账本统称

longmeidaoe347aafaec67
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index 69225da9d..21e5500c7 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -1984,6 +1984,48 @@ describe('设计决定', () => {
});
}
+ /* 整行都能点选之后,指着哪一行得看得出来。卡片视图的来源行和表格行走同一条规则;选中行
+ 有自己的底色,指着它时不换。 */
+ it('关注列表指着哪一行哪一行换底色,两种视图都是,选中行的底色不被 hover 盖掉', { timeout: 60_000 }, async () => {
+ const opened = await openFollowManage(browser);
+ try {
+ const page = opened.page;
+ const background = (locator: Locator) => locator.evaluate((element) => {
+ for (const animation of element.getAnimations()) animation.finish();
+ return getComputedStyle(element).backgroundColor;
+ });
+ /* 勾选框的 input 视觉隐藏在画出来的方框底下,点它要 force,和上面选中底色那条用例一样。 */
+ const select = () => page.getByRole('checkbox', { name: '选择 kou · Kemono' })
+ .check({ force: true, timeout: 5_000 });
+ const card = page.locator('[data-source-divider] > div').first();
+ const cardRested = await background(card);
+ await card.hover();
+ assert.notEqual(await background(card), cardRested, '指着卡片视图的来源行时底色没换');
+ await select();
+ const cardSelectedHovered = await background(card);
+ await page.mouse.move(0, 0);
+ const cardSelectedRested = await background(card);
+ assert.equal(cardSelectedHovered, cardSelectedRested, '卡片视图选中行指着时换了底色,盖掉了选中态');
+ assert.notEqual(cardSelectedRested, cardRested, '卡片视图选中行没有自己的底色');
+
+ await page.locator('button[aria-label="表格视图"]').click({ timeout: 5_000 });
+ const row = page.locator('[data-board-data-table] tbody tr').first();
+ await row.waitFor({ timeout: 15_000 });
+ await page.mouse.move(0, 0);
+ const selectedRested = await background(row);
+ await row.hover();
+ assert.equal(await background(row), selectedRested, '表格视图选中行指着时换了底色,盖掉了选中态');
+ await page.getByRole('checkbox', { name: '选择 kou · Kemono' }).uncheck({ force: true, timeout: 5_000 });
+ await page.mouse.move(0, 0);
+ const rested = await background(row);
+ assert.notEqual(selectedRested, rested, '表格视图选中行没有自己的底色');
+ await row.hover();
+ assert.notEqual(await background(row), rested, '指着表格行时底色没换');
+ } finally {
+ await opened.close();
+ }
+ });
+
it('数据管理骨架里等数据的操作键是禁用态,数据到了才换回蓝色主按钮', { timeout: 60_000 }, async () => {
const opened = await visit(browser, '/data-cleanup', DESKTOP);
try {
diff --git a/frontend/src/react/follow-manage/feed-sources.tsx b/frontend/src/react/follow-manage/feed-sources.tsx
index 93ad9337c..06ddd469b 100644
--- a/frontend/src/react/follow-manage/feed-sources.tsx
+++ b/frontend/src/react/follow-manage/feed-sources.tsx
@@ -1,5 +1,6 @@
/* 关注管理页的「订阅源」页签:上面一张「添加 JAV 订阅」卡,下面一张和关注列表同一个外观的表,
- * 一行一条源,列出类型、来源、状态、频率、上次拉取与新增,行尾是启用开关与移除键(ADR-0042)。
+ * 一行一条源,名字前是她的资料图,列出类型、来源、状态、频率、上次拉取与新增,行尾是启用开关、
+ * 拉取键与移除键(ADR-0042)。行尾这三样和关注列表那一行一一对应,两张表看起来是一回事。
*
* 订阅从人物页的「订阅新作」或这里按名字进,两条路都不收地址(ADR-0047、ADR-0083)。拉回来的
* 新作排在首页与人物页筛选栏下面那一行,不在这里列——这里再列一遍就成了第二个入口,两处的
@@ -10,7 +11,7 @@
import { useEffect, useMemo, useRef, useState } from 'react';
import { useMutation, useQuery } from '@tanstack/react-query';
import { createColumnHelper, flexRender, getCoreRowModel, useReactTable } from '@tanstack/react-table';
-import { RiDeleteBinLine, RiRssLine } from '@remixicon/react';
+import { RiDeleteBinLine, RiRefreshLine, RiRssLine } from '@remixicon/react';
import { VisuallyHidden } from 'react-aria-components';
import { mapLimit } from '@peach/legacy/core';
import { confirmModal } from '@peach/legacy/ui';
@@ -46,12 +47,11 @@ const COLUMN_LABELS: Record<string, string> = {
interval: '频率',
fetched: '上次拉取',
fresh: '上次新增',
- enabled: '启用',
actions: '操作',
};
-/** 表头里不占字的列:勾选那一格自己会说「选择 谁」,行尾两个控件也各带自己的名字。 */
-const SILENT_COLUMNS = new Set(['select', 'enabled', 'actions']);
+/** 表头里不占字的列:勾选那一格自己会说「选择 谁」,行尾三个控件也各带自己的名字。 */
+const SILENT_COLUMNS = new Set(['select', 'actions']);
const reload = () => queryClient.invalidateQueries({ queryKey: FEEDS_KEY, exact: true });
@@ -77,9 +77,29 @@ function StatusChip({ source }: { source: FeedSource }) {
return <Chip variant="caption" color="lime">正常</Chip>;
}
+/** 名字前的圆框:和关注列表的创作者圆标同一个尺寸与底色。有资料图走 `/entity-image`,判据由
+ * 服务端的 `has_image` 给;没有就退首字母,首字母不进读屏,名字本身就在旁边。 */
+function FeedAvatar({ source }: { source: FeedSource }) {
+ if (source.has_image && source.entity_id) {
+ return (
+ <img src={`/entity-image?kind=performer&id=${source.entity_id}&thumb=1`} alt="" width={32} height={32}
+ loading="lazy" className="size-8 shrink-0 rounded-full bg-background-tertiary-default object-cover" />
+ );
+ }
+ return (
+ <span aria-hidden
+ className="inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary">
+ {feedName(source).slice(0, 1)}
+ </span>
+ );
+}
+
interface RowHandlers {
readOnly: boolean;
+ /** 正在跑的那个动作的键(`useAction` 的 `busy`),行尾的拉取键按它挂忙态。 */
+ busy: string | null;
toggle(source: FeedSource, enabled: boolean): void;
+ fetch(source: FeedSource): void;
remove(source: FeedSource): void;
}
@@ -136,11 +156,17 @@ export function FeedSources({ readOnly, toast }: { readOnly: boolean; toast(mess
});
/* 列定义只建一次,行里的控件到点击那一刻再从这里取最新的处理器与只读态。 */
- const handlers = useRef<RowHandlers>({ readOnly, toggle: () => {}, remove: () => {} });
+ const handlers = useRef<RowHandlers>({
+ readOnly, busy: null, toggle: () => {}, fetch: () => {}, remove: () => {},
+ });
handlers.current = {
readOnly,
+ busy: action.busy,
toggle: (source, enabled) => void action.run(`enabled-${source.id}`,
(signal) => setFeedEnabled(source.id, enabled, signal), () => void reload()),
+ /* 只拉这一条,停着的也拉:点这枚键的人就是想现在看她有没有新作,不必先去开开关。 */
+ fetch: (source) => void action.run(`check-${source.id}`,
+ (signal) => checkFeeds(signal, [source.id]), () => void reload()),
remove: (source) => void confirmRemove([source], async () => {
await removeFeed(source.id);
toast(`已移除订阅源「${feedName(source)}」`);
@@ -169,7 +195,10 @@ export function FeedSources({ readOnly, toast }: { readOnly: boolean; toast(mess
/* 名字、频率与时间都不换行:窄屏上这张表靠 Table 自带的容器横着滚,让格子换行只会
把「三上悠亜」竖着摆成四行,滚动反而没了用处。 */
cell: (context) => (
- <span className="whitespace-nowrap text-body-medium text-text-primary">{context.getValue()}</span>
+ <span className="flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary">
+ <FeedAvatar source={context.row.original} />
+ {context.getValue()}
+ </span>
),
}),
column.accessor((row) => row.kind_label, {
@@ -207,24 +236,26 @@ export function FeedSources({ readOnly, toast }: { readOnly: boolean; toast(mess
header: label('fresh'),
cell: (context) => <span className="whitespace-nowrap tabular-nums">{`${context.getValue()} 条`}</span>,
}),
- column.display({
- id: 'enabled',
- header: label('enabled'),
- cell: (context) => (
- <Switch aria-label={`启用 ${feedName(context.row.original)}`}
- isSelected={context.row.original.enabled} isDisabled={handlers.current.readOnly}
- onChange={(enabled) => handlers.current.toggle(context.row.original, enabled)} />
- ),
- }),
column.display({
id: 'actions',
header: label('actions'),
- /* 移除键和关注列表那一枚同一个写法:次级描边、垃圾桶字形,xs 那一档和开关一样高。 */
+ /* 行尾和关注列表表格同一个次序:启用开关、拉取键、移除键挨在一起。两枚键次级描边、
+ 刷新与垃圾桶字形,xs 那一档和开关一样高。 */
cell: (context) => (
- <Button variant="secondary" size="xs" iconOnly leadingIcon={RiDeleteBinLine}
- aria-label={`移除 ${feedName(context.row.original)}`}
- disabled={handlers.current.readOnly}
- onClick={() => handlers.current.remove(context.row.original)} />
+ <span className="flex items-center gap-1">
+ <Switch aria-label={`启用 ${feedName(context.row.original)}`}
+ isSelected={context.row.original.enabled} isDisabled={handlers.current.readOnly}
+ onChange={(enabled) => handlers.current.toggle(context.row.original, enabled)} />
+ <Button variant="secondary" size="xs" iconOnly leadingIcon={RiRefreshLine}
+ aria-label={`拉取 ${feedName(context.row.original)}`}
+ disabled={handlers.current.readOnly}
+ {...busyProps(handlers.current.busy === `check-${context.row.original.id}`)}
+ onClick={() => handlers.current.fetch(context.row.original)} />
+ <Button variant="secondary" size="xs" iconOnly leadingIcon={RiDeleteBinLine}
+ aria-label={`移除 ${feedName(context.row.original)}`}
+ disabled={handlers.current.readOnly}
+ onClick={() => handlers.current.remove(context.row.original)} />
+ </span>
),
}),
];
diff --git a/frontend/src/react/follow-manage/follow-manage.ts b/frontend/src/react/follow-manage/follow-manage.ts
index 891e44ef1..14c8fcc5a 100644
--- a/frontend/src/react/follow-manage/follow-manage.ts
+++ b/frontend/src/react/follow-manage/follow-manage.ts
@@ -457,9 +457,13 @@ export interface FeedSource {
id: number;
kind: string;
kind_label: string;
+ /** 挂着人物时是她在账本里的统称,否则是登记时存的名字。 */
name: string;
url: string;
+ entity_id: number | null;
entity_name: string | null;
+ /** 这位有没有资料图:有就在名字前画 `/entity-image` 的圆框,没有退首字母。 */
+ has_image?: boolean;
enabled: boolean;
interval_minutes: number;
last_fetched_at: string | null;
@@ -486,8 +490,9 @@ export const setFeedEnabled = (id: number, enabled: boolean, signal?: AbortSigna
export const removeFeed = (id: number, signal?: AbortSignal) =>
apiSend(FEED_SOURCE_URL, { action: 'remove', id }, 'POST', signal);
-/** 立即拉取走的是和定时同一条路,只是把到期判断换成「全部启用的源」。 */
-export const checkFeeds = (signal?: AbortSignal) => apiSend(FEEDS_CHECK_URL, { all: true }, 'POST', signal);
+/** 拉取走的是和定时同一条路:不点名就是「全部启用的源」,点名几条就只拉那几条,停用的也拉。 */
+export const checkFeeds = (signal?: AbortSignal, ids?: number[]) =>
+ apiSend(FEEDS_CHECK_URL, ids?.length ? { sources: ids } : { all: true }, 'POST', signal);
/** JavDB 搜出来的一张演员卡。字段以 `web_feeds.q_feed_lookup` 为准。 */
export interface FeedCandidate {
diff --git a/frontend/src/react/follow-manage/source-list.tsx b/frontend/src/react/follow-manage/source-list.tsx
index 695ac5fa4..97805cd10 100644
--- a/frontend/src/react/follow-manage/source-list.tsx
+++ b/frontend/src/react/follow-manage/source-list.tsx
@@ -24,6 +24,7 @@ import { confirmModal } from '@peach/legacy/ui';
import { Button, ButtonLink } from '@/components/base/buttons/button';
import { Checkbox } from '@/components/base/checkbox/checkbox';
import { Select, SelectItem } from '@/components/base/select/select';
+import { Switch } from '@/components/base/switch/switch';
import {
Table, TableBody, TableCell, TableColumn, TableHeader, TableRow,
} from '@/components/base/table/table';
@@ -88,6 +89,8 @@ const COLUMN_LABELS: Record<string, string> = {
/** 行上那两个动作由调用方给,但列定义不该跟着每一次渲染重建;两者之间放一个当前值的盒子。 */
interface RowHandlers {
check(ids: number[]): void;
+ /** 行尾的启用开关:只写这一条,不动勾选、不弹批量那句 toast,和订阅源表的开关一样。 */
+ toggle(source: FollowSource, enabled: boolean): void;
remove(source: FollowSource): void;
busy: boolean;
readOnly: boolean;
@@ -165,6 +168,8 @@ function SourceRow(
<span className="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary">
{checkedText(source)}
</span>
+ <Switch aria-label={`启用 ${source.label}`} isSelected={source.enabled}
+ isDisabled={handlers.readOnly} onChange={(on) => handlers.toggle(source, on)} />
<span className="flex shrink-0 items-center gap-1">
<Button variant="secondary" size="small" iconOnly leadingIcon={RiRefreshLine}
aria-label={`检查 ${source.label} 的更新`}
@@ -282,6 +287,17 @@ export function SourceList(props: SourceListProps) {
onError: (cause) => setProblem(errorMessage(cause)),
});
+ /* 行尾的开关只写这一条并改本地那一行;批量那条路会顺手清勾选、弹「已启用 n 个」,
+ 一枚开关不该有这两样动静。 */
+ const toggleEnabled = useMutation({
+ mutationFn: (work: { id: number; enabled: boolean }) => setSourceEnabled(work.id, work.enabled),
+ onSuccess: (_result, work) => {
+ patchSource(work.id, { enabled: work.enabled });
+ setProblem('');
+ },
+ onError: (cause) => setProblem(errorMessage(cause)),
+ });
+
const removeSourceRow = (source: FollowSource) => void confirmModal({
title: '取消关注来源', body: '将移除这个来源及已抓取的条目,媒体文件保留。',
confirmLabel: '取消关注来源', danger: true,
@@ -335,11 +351,15 @@ export function SourceList(props: SourceListProps) {
onError: (cause) => setProblem(errorMessage(cause)),
});
+ const toggleSourceRow = (source: FollowSource, enabled: boolean) =>
+ toggleEnabled.mutate({ id: source.id, enabled });
+
const handlers = useRef<RowHandlers>({
- check: startChecking, remove: removeSourceRow, busy: false, readOnly,
+ check: startChecking, toggle: toggleSourceRow, remove: removeSourceRow, busy: false, readOnly,
});
handlers.current = {
check: startChecking,
+ toggle: toggleSourceRow,
remove: removeSourceRow,
busy: running || check.isPending,
readOnly,
@@ -411,6 +431,9 @@ export function SourceList(props: SourceListProps) {
header: label('actions'),
cell: (context) => (
<span className="flex items-center gap-1">
+ <Switch aria-label={`启用 ${context.row.original.source.label}`}
+ isSelected={context.row.original.source.enabled} isDisabled={rowHandlers.readOnly}
+ onChange={(on) => handlers.current.toggle(context.row.original.source, on)} />
<Button variant="secondary" size="small" iconOnly leadingIcon={RiRefreshLine}
aria-label={`检查 ${context.row.original.source.label} 的更新`}
disabled={!context.row.original.source.enabled || rowHandlers.readOnly}
diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.css
index c6c45bece..c82b1ac87 100644
--- a/frontend/src/react/styles.css
+++ b/frontend/src/react/styles.css
@@ -708,6 +708,13 @@
border-color: var(--color-border-button-default);
}
+/* 指着哪一行哪一行换底:整行都能点选之后,没有这层反馈就不知道点下去落在哪一行。
+ * 取 BoardUI primary 面的 hover 档,只给没选中的行;选中行的底色在下面,压过这一条。 */
+.peach-react [data-board-data-table] .bui-table tbody tr:hover,
+.peach-react [data-source-divider] > :hover {
+ background-color: var(--color-background-primary-hover);
+}
+
.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],
.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected] {
background-color: var(--color-background-secondary-default);
diff --git a/frontend/test/react/follow-manage.test.tsx b/frontend/test/react/follow-manage.test.tsx
index 4c24c505e..0727ac3e5 100644
--- a/frontend/test/react/follow-manage.test.tsx
+++ b/frontend/test/react/follow-manage.test.tsx
@@ -323,6 +323,27 @@ it('表格视图把每条来源摊成一行,勾的还是来源 ID', async () =
expect(sentBody(fetcher, FOLLOW_SOURCE_URL)).toEqual([{ action: 'enabled', id: 2, enabled: false }]);
});
+it('两种视图的行尾都有启用开关,拨一下只写这一条,勾选和 toast 都不动', async () => {
+ const { host, fetcher } = await open({}, { layout: 'table' });
+ await click(checkboxNamed(host, '选择 甲 · Pawchive'));
+ const toggle = () => host.querySelector<HTMLInputElement>('[aria-label="启用 甲 · Pawchive"]');
+ expect(toggle()?.checked).toBe(true);
+ await click(toggle());
+ await settle();
+ expect(sentBody(fetcher, FOLLOW_SOURCE_URL)).toEqual([{ action: 'enabled', id: 2, enabled: false }]);
+ expect(toggle()?.checked).toBe(false);
+ expect(host.textContent).toContain('已选 1 个来源');
+ expect(host.textContent).not.toContain('已暂停 1 个关注来源');
+
+ const card = await open({}, { layout: 'default' });
+ const cardToggle = () => card.host.querySelector<HTMLInputElement>('[aria-label="启用 甲 · Pawchive"]');
+ expect(cardToggle()?.checked).toBe(true);
+ await click(cardToggle());
+ await settle();
+ expect(sentBody(card.fetcher, FOLLOW_SOURCE_URL)).toEqual([{ action: 'enabled', id: 2, enabled: false }]);
+ expect(cardToggle()?.checked).toBe(false);
+});
+
it('表格里点一行的空白处就是选这一行,再点取消;点行里的链接不算选', async () => {
const { host } = await open({}, { layout: 'table' });
const row = () => checkboxNamed(host, '选择 甲 · Pawchive')!.closest('[role="row"]')!;
@@ -572,14 +593,21 @@ const FEEDS: FeedsData = {
unread: 3,
sources: [
{ id: 4, kind: 'performer', kind_label: 'JAV 订阅', name: '甲 的新作', url: 'https://feeds.test/a',
- entity_name: '甲', enabled: true, interval_minutes: 720, last_fetched_at: null, last_error: null,
- last_new_count: 0, seen: 2 },
+ entity_id: 41, entity_name: '甲', has_image: true, enabled: true, interval_minutes: 720,
+ last_fetched_at: null, last_error: null, last_new_count: 0, seen: 2 },
{ id: 5, kind: 'performer', kind_label: 'JAV 订阅', name: '乙 的新作', url: 'https://feeds.test/b',
- entity_name: '乙', enabled: false, interval_minutes: 30, last_fetched_at: null, last_error: '站点 503',
- last_new_count: 0, seen: 0 },
+ entity_id: 42, entity_name: '乙', has_image: false, enabled: false, interval_minutes: 30,
+ last_fetched_at: null, last_error: '站点 503', last_new_count: 0, seen: 0 },
],
};
+/** 一格里读得到的字:名字前那个退首字母的圆框标了 aria-hidden,不算进去。 */
+const shown = (cell: Element) => {
+ const copy = cell.cloneNode(true) as Element;
+ copy.querySelectorAll('[aria-hidden]').forEach((node) => node.remove());
+ return copy.textContent?.trim();
+};
+
const feedReads = (fetcher: ReturnType<typeof serve>) =>
fetcher.mock.calls.filter(([input, init]) => String(input) === FEEDS_URL && !(init as RequestInit | undefined)?.method).length;
@@ -606,17 +634,25 @@ it('地址栏指着订阅源时首屏就带着清单,开关、移除与立即
const { host, fetcher } = await open({ feeds: FEEDS }, { tab: 'feeds' });
expect(host.querySelector('[role="tab"][aria-selected="true"]')?.textContent).toBe('订阅源');
expect([...host.querySelectorAll('[role="columnheader"]')].map((cell) => cell.textContent?.trim()))
- .toEqual(['选择', '名称', '类型', '来源', '状态', '频率', '上次拉取', '上次新增', '启用', '操作']);
+ .toEqual(['选择', '名称', '类型', '来源', '状态', '频率', '上次拉取', '上次新增', '操作']);
const first = checkboxNamed(host, '选择 甲 的新作')!.closest('[role="row"]')!;
- expect([...first.querySelectorAll('[role="rowheader"],[role="gridcell"]')].map((cell) => cell.textContent?.trim()))
- .toEqual(['', '甲 的新作', 'JAV 订阅', 'feeds.test', '正常', '每 12 小时', '还没拉过', '0 条', '', '']);
+ expect([...first.querySelectorAll('[role="rowheader"],[role="gridcell"]')].map(shown))
+ .toEqual(['', '甲 的新作', 'JAV 订阅', 'feeds.test', '正常', '每 12 小时', '还没拉过', '0 条', '']);
expect(first.querySelector('a')?.getAttribute('href')).toBe('https://feeds.test/a');
+ // 名字前的圆框:有资料图的走 `/entity-image`,没有的退首字母。
+ expect(first.querySelector('[role="rowheader"] img')?.getAttribute('src'))
+ .toBe('/entity-image?kind=performer&id=41&thumb=1');
+ const second = checkboxNamed(host, '选择 乙 的新作')!.closest('[role="row"]')!;
+ expect(second.querySelector('[role="rowheader"] img')).toBeNull();
+ expect(second.querySelector('[role="rowheader"] [aria-hidden]')?.textContent).toBe('乙');
expect(host.textContent).toContain('乙 的新作 拉取失败');
expect(host.textContent).toContain('有 3 条新作还没看');
expect(host.textContent).not.toContain('正在读订阅源');
expect(feedReads(fetcher)).toBe(1);
await click(host.querySelector('[aria-label="启用 乙 的新作"]'));
await settle();
+ await click(buttonLabelled(host, '拉取 乙 的新作'));
+ await settle();
await click(buttonLabelled(host, '移除 甲 的新作'));
await settle();
await click(buttonNamed('立即拉取', host));
@@ -624,7 +660,8 @@ it('地址栏指着订阅源时首屏就带着清单,开关、移除与立即
expect(sentBody(fetcher, FEED_SOURCE_URL)).toEqual([
{ action: 'enabled', id: 5, enabled: true }, { action: 'remove', id: 4 },
]);
- expect(sentBody(fetcher, FEEDS_CHECK_URL)).toEqual([{ all: true }]);
+ // 行尾的拉取键只点名这一条,停着的也拉;「立即拉取」才是全部启用的源。
+ expect(sentBody(fetcher, FEEDS_CHECK_URL)).toEqual([{ sources: [5] }, { all: true }]);
expect(feedReads(fetcher)).toBeGreaterThan(1);
});
diff --git a/src/peach/feeds.py b/src/peach/feeds.py
index 7cfd7ac68..d6ddca76b 100644
--- a/src/peach/feeds.py
+++ b/src/peach/feeds.py
@@ -282,6 +282,8 @@ def set_enabled(connection: sqlite3.Connection, source_id: int, enabled: bool) -
def sources(connection: sqlite3.Connection) -> list[dict]:
+ """订阅源清单。挂着人物的源,名字就是她在账本里的统称:用户在资料页定的那个写法,
+ 不是登记时从站上抄下来的。没挂人物的才用登记时存的名字。"""
rows = connection.execute(
"SELECT s.*, e.canonical_name AS entity_name,"
" (SELECT count(*) FROM feed_item i WHERE i.source_id=s.id) AS seen"
@@ -291,7 +293,7 @@ def sources(connection: sqlite3.Connection) -> list[dict]:
"id": int(row["id"]),
"kind": row["kind"],
"kind_label": KIND_LABELS.get(row["kind"], row["kind"]),
- "name": row["name"] or row["entity_name"] or "",
+ "name": row["entity_name"] or row["name"] or "",
"url": row["url"],
"entity_id": row["entity_id"],
"entity_name": row["entity_name"],
diff --git a/src/peach/web_feeds.py b/src/peach/web_feeds.py
index 1813a0d98..acd517aa7 100644
--- a/src/peach/web_feeds.py
+++ b/src/peach/web_feeds.py
@@ -231,6 +231,9 @@ def q_feeds(contract, args) -> dict:
with contract.database.read_connection() as connection:
feeds.register_functions(connection, hidden)
rows = feeds.sources(connection)
+ # 表里名字前面那个圆框:有图走 `/entity-image`,判据和资料页同一个。
+ for row in rows:
+ row["has_image"] = contract.has_entity_image("performer", row["entity_id"])
pending = connection.execute(
"SELECT count(*) FROM feed_discovery d WHERE d.ignored_at IS NULL"
f" AND d.read_at IS NULL AND {' AND '.join(LISTED)}").fetchone()[0]
diff --git a/tests/test_feeds_web.py b/tests/test_feeds_web.py
index 295ec01dd..e548f5542 100644
--- a/tests/test_feeds_web.py
+++ b/tests/test_feeds_web.py
@@ -132,6 +132,21 @@ class FeedWebTest(FeedWebFixture):
self.assertEqual(snapshot["sources"][0]["name"], "示例源")
self.assertEqual(snapshot["sources"][0]["kind_label"], "JAV 订阅")
self.assertTrue(snapshot["sources"][0]["enabled"])
+ # 没挂人物就没有资料图可画。
+ self.assertFalse(snapshot["sources"][0]["has_image"])
+
+ def test_a_source_tied_to_a_performer_is_named_by_her_canonical_name(self):
+ """挂着人物的源,名字是她在账本里的统称,登记时抄下的站上名字不再顶在前面。"""
+ with self.contract.database.write_transaction() as connection:
+ entity_id = int(connection.execute(
+ "INSERT INTO entity(kind,canonical_name,normalized_name,created_at,updated_at)"
+ " VALUES('performer',?,peach_normalize(?),?,?)",
+ ("凉森玲梦", "凉森玲梦", feeds.stamp(), feeds.stamp())).lastrowid)
+ self._add(entity_id)
+ [source] = dispatch_api_get(self.contract, "/api/feeds", {})["sources"]
+ self.assertEqual((source["name"], source["entity_id"], source["entity_name"]),
+ ("凉森玲梦", entity_id, "凉森玲梦"))
+ self.assertFalse(source["has_image"])
def test_the_source_endpoint_takes_no_address_from_the_page(self):
# 订阅只从人物页进,地址由服务端现拼(ADR-0047);页面送来的地址一律不收。
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 04fda0e83..8517c97db 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:flex-nowrap{flex-wrap:nowrap}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:flex-nowrap{flex-wrap:nowrap}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index 63ddecbd1..1a9eefae9 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -8884,7 +8884,7 @@ function rg(e) {
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var ig = /* @__PURE__ */ new Map(), ag = /* @__PURE__ */ new Map(), og = class {
+var ig = /* @__PURE__ */ new Map(), ag = /* @__PURE__ */ new Map(), eee = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -8906,26 +8906,26 @@ var ig = /* @__PURE__ */ new Map(), ag = /* @__PURE__ */ new Map(), og = class {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, sg = /* @__PURE__ */ new WeakMap();
-function cg(e) {
- let t = sg.get(e);
- return t || (t = new eg(e), sg.set(e, t)), t;
+}, og = /* @__PURE__ */ new WeakMap();
+function tee(e) {
+ let t = og.get(e);
+ return t || (t = new eg(e), og.set(e, t)), t;
}
-function lg(e, t) {
- return t && eg.getGlobalDictionaryForPackage(t) || cg(e);
+function nee(e, t) {
+ return t && eg.getGlobalDictionaryForPackage(t) || tee(e);
}
-function ug(e, t) {
- let { locale: n } = Xh(), r = lg(e, t);
- return (0, P.useMemo)(() => new og(n, r), [n, r]);
+function sg(e, t) {
+ let { locale: n } = Xh(), r = nee(e, t);
+ return (0, P.useMemo)(() => new eee(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var dg = /* @__PURE__ */ new Set(["id"]), fg = /* @__PURE__ */ new Set([
+var ree = /* @__PURE__ */ new Set(["id"]), iee = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), pg = /* @__PURE__ */ new Set([
+]), aee = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -8933,52 +8933,52 @@ var dg = /* @__PURE__ */ new Set(["id"]), fg = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), mg = /* @__PURE__ */ new Set([
+]), oee = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate"
-]), hg = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), gg = /^(data-.*)$/;
-function _g(e, t = {}) {
+]), cg = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), see = /^(data-.*)$/;
+function lg(e, t = {}) {
let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};
- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (dg.has(t) || n && fg.has(t) || r && pg.has(t) || i && mg.has(t) || a && (hg.has(t) || t.endsWith("Capture") && hg.has(t.slice(0, -7))) || o?.has(t) || gg.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (ree.has(t) || n && iee.has(t) || r && aee.has(t) || i && oee.has(t) || a && (cg.has(t) || t.endsWith("Capture") && cg.has(t.slice(0, -7))) || o?.has(t) || see.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var vg = "default", yg = "", bg = /* @__PURE__ */ new WeakMap();
-function xg(e) {
+var ug = "default", dg = "", fg = /* @__PURE__ */ new WeakMap();
+function cee(e) {
if (bp() && Sp()) {
- if (vg === "default") {
+ if (ug === "default") {
let t = Rf(e);
- yg = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ dg = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
}
- vg = "disabled";
+ ug = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- bg.set(e, e.style[t]), e.style[t] = "none";
+ fg.set(e, e.style[t]), e.style[t] = "none";
}
}
-function Sg(e) {
+function pg(e) {
if (bp() && Sp()) {
- if (vg !== "disabled") return;
- vg = "restoring", setTimeout(() => {
+ if (ug !== "disabled") return;
+ ug = "restoring", setTimeout(() => {
bm(() => {
- if (vg === "restoring") {
+ if (ug === "restoring") {
let t = Rf(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = yg || ""), yg = "", vg = "default";
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = dg || ""), dg = "", ug = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && bg.has(e)) {
- let t = bg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), bg.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && fg.has(e)) {
+ let t = fg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), fg.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function Cg(e, t) {
+function lee(e, t) {
let n = zf(t), r = Rf(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
@@ -8986,18 +8986,18 @@ function Cg(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var wg = /* @__PURE__ */ new WeakMap();
-function Tg(e) {
- let t = Rf(e), n = wg.get(t);
- return n ??= Cg("csp-nonce", t), n !== void 0 && wg.set(t, n), n;
+var mg = /* @__PURE__ */ new WeakMap();
+function hg(e) {
+ let t = Rf(e), n = mg.get(t);
+ return n ??= lee("csp-nonce", t), n !== void 0 && mg.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var Eg = P.createContext({ register: () => {} });
-Eg.displayName = "PressResponderContext";
+var gg = P.createContext({ register: () => {} });
+gg.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function Dg() {
+function _g() {
let e = (0, P.useRef)(/* @__PURE__ */ new Map()), t = (0, P.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -9024,15 +9024,15 @@ function Dg() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Og(e) {
- let t = (0, P.useContext)(Eg);
+function uee(e) {
+ let t = (0, P.useContext)(gg);
if (t) {
let { register: n, ref: r, ...i } = t;
e = H(i, e), n();
}
return Zm(t, e.ref), e;
}
-var kg = class {
+var vg = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -9045,9 +9045,9 @@ var kg = class {
get shouldStopPropagation() {
return this.#e;
}
-}, Ag = Symbol("linkClicked"), jg = "react-aria-pressable-style", Mg = "data-react-aria-pressable";
-function Ng(e) {
- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = Og(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({
+}, yg = Symbol("linkClicked"), bg = "react-aria-pressable-style", xg = "data-react-aria-pressable";
+function Sg(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = uee(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -9057,12 +9057,12 @@ function Ng(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = Dg(), y = (0, P.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = _g(), y = (0, P.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new kg("pressstart", t, e);
+ let n = new vg("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -9076,11 +9076,11 @@ function Ng(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new kg("pressend", r, e);
+ let t = new vg("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new kg("press", r, e);
+ let n = new vg("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -9094,14 +9094,14 @@ function Ng(e) {
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new kg("pressup", t, e);
+ let r = new vg("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), C = (0, P.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(Ig(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Sg(t.target);
+ t.didFirePressStart && t.pointerType != null && b(Tg(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || pg(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -9131,13 +9131,13 @@ function Ng(e) {
}, [s, o]), O = (0, P.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (Fg(t.nativeEvent, t.currentTarget) && Jf(t.currentTarget, V(t))) {
- Lg(V(t), t.key) && t.preventDefault();
+ if (wg(t.nativeEvent, t.currentTarget) && Jf(t.currentTarget, V(t))) {
+ Dg(V(t), t.key) && t.preventDefault();
let r = !0;
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));
let i = t.currentTarget;
_(Rf(t.currentTarget), "keyup", Sm((t) => {
- Fg(t, i) && !t.repeat && Jf(i, V(t)) && e.target && S(Ig(e.target, t), "keyboard");
+ wg(t, i) && !t.repeat && Jf(i, V(t)) && e.target && S(Tg(e.target, t), "keyboard");
}, n), !0), r && t.stopPropagation(), t.metaKey && _p() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
@@ -9148,17 +9148,17 @@ function Ng(e) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
E(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Ig(t.currentTarget, t), r), a = x(Ig(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Tg(t.currentTarget, t), r), a = x(Tg(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, E(t), w(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && Fg(t, e.target)) {
- Lg(V(t), t.key) && t.preventDefault();
+ if (e.isPressed && e.target && wg(t, e.target)) {
+ Dg(V(t), t.key) && t.preventDefault();
let n = V(t), r = Jf(e.target, n);
- x(Ig(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && Pg(e.target) && Jf(e.target, n) && !t[Ag] && (t[Ag] = !0, Ap(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ x(Tg(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && Cg(e.target) && Jf(e.target, n) && !t[yg] && (t[yg] = !0, Ap(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -9175,7 +9175,7 @@ function Ng(e) {
e.pointerType = t.pointerType;
let i = !0;
if (!e.isPressed) {
- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || xg(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || cee(e.target), i = y(t, e.pointerType);
let a = V(t);
"releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Rf(t.currentTarget), "pointerup", n, !1), _(Rf(t.currentTarget), "pointercancel", r, !1);
}
@@ -9191,9 +9191,9 @@ function Ng(e) {
}, t.onPointerUp = (t) => {
!Jf(t.currentTarget, V(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Ig(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Tg(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Ig(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Tg(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
@@ -9227,13 +9227,13 @@ function Ng(e) {
return (0, P.useEffect)(() => {
if (!f) return;
let e = Rf(f.current);
- if (!e || !e.head || e.getElementById(jg)) return;
+ if (!e || !e.head || e.getElementById(bg)) return;
let t = e.createElement("style");
- t.id = jg;
- let n = Tg(e);
+ t.id = bg;
+ let n = hg(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${Mg}] {
+ [${xg}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -9241,23 +9241,23 @@ function Ng(e) {
}, [f]), (0, P.useEffect)(() => {
let e = g.current;
return () => {
- d || Sg(e.target ?? void 0);
+ d || pg(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: H(p, O, { [Mg]: !0 })
+ pressProps: H(p, O, { [xg]: !0 })
};
}
-function Pg(e) {
+function Cg(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function Fg(e, t) {
+function wg(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof zf(i).HTMLInputElement && !Rg(i, n) || i instanceof zf(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Pg(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof zf(i).HTMLInputElement && !kg(i, n) || i instanceof zf(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Cg(i)) && n !== "Enter");
}
-function Ig(e, t) {
+function Tg(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -9270,13 +9270,13 @@ function Ig(e, t) {
key: t.key
};
}
-function eee(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Pg(e);
+function Eg(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Cg(e);
}
-function Lg(e, t) {
- return _p() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Rg(e, t) : eee(e);
+function Dg(e, t) {
+ return _p() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !kg(e, t) : Eg(e);
}
-var tee = /* @__PURE__ */ new Set([
+var Og = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -9287,12 +9287,12 @@ var tee = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Rg(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : tee.has(e.type);
+function kg(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Og.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function nee(e, t) {
+function Ag(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -9314,7 +9314,7 @@ function nee(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = Ng({
+ let { pressProps: _, isPressed: v } = Sg({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -9326,7 +9326,7 @@ function nee(e, t) {
ref: t
}), { focusableProps: y } = eh(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = H(y, _, _g(e, { labelable: !0 }));
+ let b = H(y, _, lg(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: H(g, b, {
@@ -9341,7 +9341,7 @@ function nee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var ree = class {
+var jg = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -9444,45 +9444,45 @@ var ree = class {
return null;
}
};
-function zg(e, t, n, r) {
- return qf() ? new ree(e, t, n, r) : e.createTreeWalker(t, n, r);
+function Mg(e, t, n, r) {
+ return qf() ? new jg(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var Bg = /*#__PURE__*/ P.createContext(null), Vg = "react-aria-focus-scope-restore", Hg = null;
-function Ug(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)([]), { parentNode: c } = (0, P.useContext)(Bg) || {}, l = (0, P.useMemo)(() => new n_({ scopeRef: s }), [s]);
+var Ng = /*#__PURE__*/ P.createContext(null), Pg = "react-aria-focus-scope-restore", Fg = null;
+function Ig(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)([]), { parentNode: c } = (0, P.useContext)(Ng) || {}, l = (0, P.useMemo)(() => new i_({ scopeRef: s }), [s]);
cp(() => {
- let e = c || r_.root;
- if (r_.getTreeNode(e.scopeRef) && Hg && !Yg(Hg, e.scopeRef)) {
- let t = r_.getTreeNode(Hg);
+ let e = c || a_.root;
+ if (a_.getTreeNode(e.scopeRef) && Fg && !qg(Fg, e.scopeRef)) {
+ let t = a_.getTreeNode(Fg);
t && (e = t);
}
- e.addChild(l), r_.addNode(l);
+ e.addChild(l), a_.addNode(l);
}, [l, c]), cp(() => {
- let e = r_.getTreeNode(s);
+ let e = a_.getTreeNode(s);
e && (e.contain = !!n);
}, [n]), cp(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(Vg, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(Pg, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(Vg, n);
+ for (let e of t) e.removeEventListener(Pg, n);
};
- }, [t]), uee(s, r, n), see(s, n), dee(s, r, n), lee(s, i), (0, P.useEffect)(() => {
+ }, [t]), Qg(s, r, n), Hg(s, n), e_(s, r, n), Zg(s, i), (0, P.useEffect)(() => {
let e = Yf(Rf(s.current ? s.current[0] : void 0)), t = null;
- if (qg(e, s.current)) {
- for (let n of r_.traverse()) n.scopeRef && qg(e, n.scopeRef.current) && (t = n);
- t === r_.getTreeNode(s) && (Hg = t.scopeRef);
+ if (Wg(e, s.current)) {
+ for (let n of a_.traverse()) n.scopeRef && Wg(e, n.scopeRef.current) && (t = n);
+ t === a_.getTreeNode(s) && (Fg = t.scopeRef);
}
}, [s]), cp(() => () => {
- let e = r_.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Hg || Yg(s, Hg)) && (!e || r_.getTreeNode(e)) && (Hg = e), r_.removeTreeNode(s);
+ let e = a_.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === Fg || qg(s, Fg)) && (!e || a_.getTreeNode(e)) && (Fg = e), a_.removeTreeNode(s);
}, [s]);
- let u = (0, P.useMemo)(() => iee(s), []), d = (0, P.useMemo)(() => ({
+ let u = (0, P.useMemo)(() => Lg(s), []), d = (0, P.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ P.createElement(Bg.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {
+ return /*#__PURE__*/ P.createElement(Ng.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -9492,68 +9492,68 @@ function Ug(e) {
ref: o
}));
}
-function iee(e) {
+function Lg(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Yf(Rf(n[0] ?? void 0)), c = n[0].previousElementSibling, l = t_(Wg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Yf(Rf(n[0] ?? void 0)), c = n[0].previousElementSibling, l = n_(Rg(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = qg(s, n) ? s : c;
+ l.currentNode = Wg(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && Xg(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && Jg(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Yf(Rf(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = t_(Wg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Yf(Rf(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = n_(Rg(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = qg(s, n) ? s : c;
+ l.currentNode = Wg(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && Xg(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && Jg(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = t_(Wg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = n_(Rg(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && Xg(o, !0), o;
+ return o && Jg(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = t_(Wg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = n_(Rg(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && Xg(o, !0), o;
+ return o && Jg(o, !0), o;
}
};
}
-function Wg(e) {
+function Rg(e) {
return e[0].parentElement;
}
-function Gg(e) {
- let t = r_.getTreeNode(Hg);
+function zg(e) {
+ let t = a_.getTreeNode(Fg);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function aee(e) {
+function Bg(e) {
if (!e.form) return Array.from(Rf(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
let t = e.form.elements.namedItem(e.name), n = zf(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function oee(e) {
+function Vg(e) {
if (e.checked) return !0;
- let t = aee(e);
+ let t = Bg(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function see(e, t) {
+function Hg(e, t) {
let n = (0, P.useRef)(void 0), r = (0, P.useRef)(void 0);
cp(() => {
let i = e.current;
@@ -9562,23 +9562,23 @@ function see(e, t) {
return;
}
let a = Rf(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Gg(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !zg(e) || t.isComposing) return;
let n = Yf(a), r = e.current;
- if (!r || !qg(n, r)) return;
- let i = t_(Wg(r), { tabbable: !0 }, r);
+ if (!r || !Wg(n, r)) return;
+ let i = n_(Rg(r), { tabbable: !0 }, r);
if (!n) return;
i.currentNode = n;
let o = t.shiftKey ? i.previousNode() : i.nextNode();
- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Xg(o, !0), o instanceof zf(o).HTMLInputElement && o.select());
+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Jg(o, !0), o instanceof zf(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Hg || Yg(Hg, e)) && qg(V(t), e.current) ? (Hg = e, n.current = V(t)) : Gg(e) && !Jg(V(t), e) ? n.current ? Xg(n.current) : Hg && Hg.current && Qg(Hg.current) : Gg(e) && (n.current = V(t));
+ (!Fg || qg(Fg, e)) && Wg(V(t), e.current) ? (Fg = e, n.current = V(t)) : zg(e) && !Gg(V(t), e) ? n.current ? Jg(n.current) : Fg && Fg.current && Xg(Fg.current) : zg(e) && (n.current = V(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
let r = um(), i = (r === "virtual" || r === null) && wp() && Cp(), o = Yf(a);
- if (!i && o && Gg(e) && !Jg(o, e)) {
- Hg = e;
+ if (!i && o && zg(e) && !Gg(o, e)) {
+ Fg = e;
let r = V(t);
- r && r.isConnected ? (n.current = r, Xg(n.current)) : Hg.current && Qg(Hg.current);
+ r && r.isConnected ? (n.current = r, Jg(n.current)) : Fg.current && Xg(Fg.current);
}
});
};
@@ -9589,29 +9589,29 @@ function see(e, t) {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function Kg(e) {
- return Jg(e);
+function Ug(e) {
+ return Gg(e);
}
-function qg(e, t) {
+function Wg(e, t) {
return !e || !t ? !1 : t.some((t) => Jf(t, e));
}
-function Jg(e, t = null) {
+function Gg(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of r_.traverse(r_.getTreeNode(t))) if (n && qg(e, n.current)) return !0;
+ for (let { scopeRef: n } of a_.traverse(a_.getTreeNode(t))) if (n && Wg(e, n.current)) return !0;
return !1;
}
-function cee(e) {
- return Jg(e, Hg);
+function Kg(e) {
+ return Gg(e, Fg);
}
-function Yg(e, t) {
- let n = r_.getTreeNode(t)?.parent;
+function qg(e, t) {
+ let n = a_.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function Xg(e, t = !1) {
+function Jg(e, t = !1) {
if (e != null && !t) try {
xm(e);
} catch {}
@@ -9619,27 +9619,27 @@ function Xg(e, t = !1) {
e.focus();
} catch {}
}
-function Zg(e, t = !0) {
- let n = e[0].previousElementSibling, r = Wg(e), i = t_(r, { tabbable: t }, e);
+function Yg(e, t = !0) {
+ let n = e[0].previousElementSibling, r = Rg(e), i = n_(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = Wg(e), i = t_(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = Rg(e), i = n_(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function Qg(e, t = !0) {
- Xg(Zg(e, t));
+function Xg(e, t = !0) {
+ Jg(Yg(e, t));
}
-function lee(e, t) {
+function Zg(e, t) {
let n = P.useRef(t);
(0, P.useEffect)(() => {
- n.current && (Hg = e, !qg(Yf(Rf(e.current ? e.current[0] : void 0)), Hg.current) && e.current && Qg(e.current)), n.current = !1;
+ n.current && (Fg = e, !Wg(Yf(Rf(e.current ? e.current[0] : void 0)), Fg.current) && e.current && Xg(e.current)), n.current = !1;
}, [e]);
}
-function uee(e, t, n) {
+function Qg(e, t, n) {
cp(() => {
if (t || n) return;
let r = e.current, i = Rf(r ? r[0] : void 0), a = (t) => {
let n = V(t);
- qg(n, e.current) ? Hg = e : Kg(n) || (Hg = null);
+ Wg(n, e.current) ? Fg = e : Ug(n) || (Fg = null);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -9651,20 +9651,20 @@ function uee(e, t, n) {
]);
}
function $g(e) {
- let t = r_.getTreeNode(Hg);
+ let t = a_.getTreeNode(Fg);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function dee(e, t, n) {
+function e_(e, t, n) {
let r = (0, P.useRef)(typeof document < "u" ? Yf(Rf(e.current ? e.current[0] : void 0)) : null);
cp(() => {
let r = e.current, i = Rf(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Hg || Yg(Hg, e)) && qg(Yf(i), e.current) && (Hg = e);
+ (!Fg || qg(Fg, e)) && Wg(Yf(i), e.current) && (Fg = e);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -9673,20 +9673,20 @@ function dee(e, t, n) {
let r = Rf(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Gg(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !zg(e) || t.isComposing) return;
let n = r.activeElement;
- if (!Jg(n, e) || !$g(e)) return;
- let i = r_.getTreeNode(e);
+ if (!Gg(n, e) || !$g(e)) return;
+ let i = a_.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = t_(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = n_(r.body, { tabbable: !0 });
o.currentNode = n;
let s = t.shiftKey ? o.previousNode() : o.nextNode();
- if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Jg(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Gg(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (Jg(s, e));
- t.preventDefault(), t.stopPropagation(), s ? Xg(s, !0) : Kg(a) ? Xg(a, !0) : n.blur();
+ while (Gg(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? Jg(s, !0) : Ug(a) ? Jg(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -9699,28 +9699,28 @@ function dee(e, t, n) {
]), cp(() => {
let n = Rf(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = r_.getTreeNode(e);
+ let i = a_.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = r_.getTreeNode(e);
+ let r = a_.getTreeNode(e);
if (!r) return;
let i = r.nodeToRestore, a = Yf(n);
- if (t && i && (a && Jg(a, e) || a === n.body && $g(e))) {
- let t = r_.clone();
+ if (t && i && (a && Gg(a, e) || a === n.body && $g(e))) {
+ let t = a_.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- e_(n.nodeToRestore);
+ t_(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && r_.getTreeNode(n.scopeRef)) {
- let e = Zg(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && a_.getTreeNode(n.scopeRef)) {
+ let e = Yg(n.scopeRef.current, !0);
if (e) {
- e_(e);
+ t_(e);
return;
}
}
@@ -9732,21 +9732,21 @@ function dee(e, t, n) {
};
}, [e, t]);
}
-function e_(e) {
- e.dispatchEvent(new CustomEvent(Vg, {
+function t_(e) {
+ e.dispatchEvent(new CustomEvent(Pg, {
bubbles: !0,
cancelable: !0
- })) && Xg(e);
+ })) && Jg(e);
}
-function t_(e, t, n) {
- let r = t?.tabbable ? op : ap, i = Rf(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = zg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return Jf(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!oee(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || qg(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function n_(e, t, n) {
+ let r = t?.tabbable ? op : ap, i = Rf(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Mg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return Jf(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Vg(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Wg(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var fee = class e {
+var r_ = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new n_({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new i_({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -9757,7 +9757,7 @@ var fee = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new n_({ scopeRef: e });
+ let i = new i_({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -9768,7 +9768,7 @@ var fee = class e {
let t = this.fastMap.get(e);
if (!t) return;
let n = t.parent;
- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && qg(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && Wg(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -9780,7 +9780,7 @@ var fee = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, n_ = class {
+}, i_ = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -9790,13 +9790,13 @@ var fee = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, r_ = new fee(), i_ = 7e3, a_ = null;
-function o_(e, t = "assertive", n = i_) {
- a_ ? a_.announce(e, t, n) : (a_ = new pee(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? a_.announce(e, t, n) : setTimeout(() => {
- a_?.isAttached() && a_?.announce(e, t, n);
+}, a_ = new r_(), o_ = 7e3, s_ = null;
+function c_(e, t = "assertive", n = o_) {
+ s_ ? s_.announce(e, t, n) : (s_ = new l_(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? s_.announce(e, t, n) : setTimeout(() => {
+ s_?.isAttached() && s_?.announce(e, t, n);
}, 100));
}
-var pee = class {
+var l_ = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -9821,7 +9821,7 @@ var pee = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = i_) {
+ announce(e, t = "assertive", n = o_) {
if (!this.node) return;
let r = document.createElement("div");
typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {
@@ -9834,7 +9834,7 @@ var pee = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function s_(e, t) {
+function u_(e, t) {
let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = Lh(e);
(0, P.useEffect)(() => (n.current = !0, () => {
n.current = !1;
@@ -9845,31 +9845,31 @@ function s_(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function c_(e, t) {
+function d_(e, t) {
if (!e) return !1;
let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function l_(e, t) {
+function f_(e, t) {
let n = e;
- for (c_(n, t) && (n = n.parentElement); n && !c_(n, t);) n = n.parentElement;
+ for (d_(n, t) && (n = n.parentElement); n && !d_(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function u_(e, t) {
+function p_(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (c_(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (d_(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function d_(e, t, n = {}) {
- e !== t && mee(e, t, t.getBoundingClientRect(), n);
+function m_(e, t, n = {}) {
+ e !== t && h_(e, t, t.getBoundingClientRect(), n);
}
-function mee(e, t, n, r = {}) {
+function h_(e, t, n, r = {}) {
let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, F = e === d ? 0 : e.offsetWidth - e.clientWidth - N, I = e === d ? 0 : e.offsetHeight - e.clientHeight - P, ee = p + (f ? 0 : T) + x, te = m - (f ? 0 : E) - S - I, ne = h + (f ? 0 : D) + C, re = g - (f ? 0 : O) - w;
bp() && Sp() || u.direction === "ltr" ? re -= F : u.direction === "rtl" && (ne += F);
let ie = k < ee || A > te, ae = j < ne || M > re;
@@ -9892,7 +9892,7 @@ function mee(e, t, n, r = {}) {
top: o
});
}
-function f_(e, t = {}) {
+function g_(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -9905,46 +9905,46 @@ function f_(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = u_(e, !0);
- for (let t of i) d_(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = p_(e, !0);
+ for (let t of i) m_(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? u_(n, !0) : [];
- for (let e of i) d_(e, n, {
+ i = n ? p_(n, !0) : [];
+ for (let e of i) m_(e, n, {
block: "center",
inline: "center"
});
- for (let t of u_(e, !0)) d_(t, e);
+ for (let t of p_(e, !0)) m_(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var hee = 0, p_ = /* @__PURE__ */ new Map();
-function m_(e) {
+var __ = 0, v_ = /* @__PURE__ */ new Map();
+function y_(e) {
let [t, n] = (0, P.useState)();
return cp(() => {
if (!e) return;
- let t = p_.get(e);
+ let t = v_.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${hee++}`;
+ let r = `react-aria-description-${__++}`;
n(r);
let i = document.createElement("div");
i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {
refCount: 0,
element: i
- }, p_.set(e, t);
+ }, v_.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), p_.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), v_.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function h_(e, t, n) {
+function b_(e, t, n) {
let r = Lh((e) => {
n && !e.defaultPrevented && n(t);
});
@@ -9957,12 +9957,12 @@ function h_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function g_(e, t, n) {
+function x_(e, t, n) {
let { validationBehavior: r, focus: i } = e;
cp(() => {
if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {
let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(_ee(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(C_(n.current));
}
});
let a = (0, P.useRef)(!1), o = Lh(() => {
@@ -9970,7 +9970,7 @@ function g_(e, t, n) {
}), s = Lh((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && vee(r) === n.current && (i ? i() : n.current?.focus(), dm("keyboard")), e.preventDefault();
+ !e.defaultPrevented && n && r && w_(r) === n.current && (i ? i() : n.current?.focus(), dm("keyboard")), e.preventDefault();
}), c = Lh(() => {
t.commitValidation();
});
@@ -9985,7 +9985,7 @@ function g_(e, t, n) {
};
}, [n, r]);
}
-function gee(e) {
+function S_(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -10001,14 +10001,14 @@ function gee(e) {
valid: t.valid
};
}
-function _ee(e) {
+function C_(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: gee(e),
+ validationDetails: S_(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function vee(e) {
+function w_(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -10017,7 +10017,7 @@ function vee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function yee(e = !0) {
+function dee(e = !0) {
let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(!1), i = (0, P.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -10025,8 +10025,8 @@ function yee(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function __(e = !0) {
- let t = Om(), [n, r] = yee(e);
+function T_(e = !0) {
+ let t = Om(), [n, r] = dee(e);
return {
id: r ? t : void 0,
ref: n
@@ -10034,7 +10034,7 @@ function __(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var v_ = {
+var E_ = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -10046,18 +10046,18 @@ var v_ = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, y_ = {
- ...v_,
+}, D_ = {
+ ...E_,
customError: !0,
valid: !1
-}, b_ = {
+}, O_ = {
isInvalid: !1,
- validationDetails: v_,
+ validationDetails: E_,
validationErrors: []
-}, bee = (0, P.createContext)({}), x_ = "__reactAriaFormValidationState";
-function S_(e) {
+}, fee = (0, P.createContext)({}), k_ = "__reactAriaFormValidationState";
+function A_(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[x_];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[k_];
return {
realtimeValidation: t,
displayValidation: n,
@@ -10066,71 +10066,71 @@ function S_(e) {
commitValidation: a
};
}
- return xee(e);
+ return pee(e);
}
-function xee(e) {
+function pee(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
- validationDetails: y_
- }, l = (0, P.useMemo)(() => !o || i == null ? null : w_(See(o, i)), [o, i]);
+ validationDetails: D_
+ }, l = (0, P.useMemo)(() => !o || i == null ? null : M_(mee(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, P.useContext)(bee), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => C_(u[e])) : C_(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);
+ let u = (0, P.useContext)(fee), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => j_(u[e])) : j_(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, P.useMemo)(() => w_(m ? [] : d), [m, d]), _ = (0, P.useRef)(b_), [v, y] = (0, P.useState)(b_), b = (0, P.useRef)(b_), x = () => {
+ let g = (0, P.useMemo)(() => M_(m ? [] : d), [m, d]), _ = (0, P.useRef)(O_), [v, y] = (0, P.useState)(O_), b = (0, P.useRef)(O_), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- T_(e, b.current) || (b.current = e, y(e));
+ N_(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, P.useState)(!1);
return (0, P.useEffect)(x), {
- realtimeValidation: c || g || l || a || b_,
+ realtimeValidation: c || g || l || a || O_,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !T_(v, e) ? y(e) : _.current = e;
+ s === "aria" && !N_(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = b_;
- T_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = O_;
+ N_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function C_(e) {
+function j_(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function See(e, t) {
+function mee(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return C_(n);
+ if (n && typeof n != "boolean") return j_(n);
}
return [];
}
-function w_(e) {
+function M_(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: y_
+ validationDetails: D_
} : null;
}
-function T_(e, t) {
+function N_(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function E_(e, t, n) {
- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = S_({
+function P_(e, t, n) {
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = A_({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- g_(e, b, n);
+ x_(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(V(e).checked);
- }, { pressProps: T, isPressed: E } = Ng({
+ }, { pressProps: T, isPressed: E } = Sg({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -10138,7 +10138,7 @@ function E_(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, P.useState)(!1), { pressProps: k } = Ng({
+ }), [D, O] = (0, P.useState)(!1), { pressProps: k } = Sg({
onPressStart(e) {
if (e.pointerType === "keyboard" || e.pointerType === "virtual") {
e.continuePropagation();
@@ -10167,13 +10167,13 @@ function E_(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [x_]: i } = e, { commitValidation: a } = i || b;
+ let { [k_]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: A } = eh(e, n), j = H(T, A), M = _g(e, { labelable: !0 });
- h_(n, t.defaultSelected, t.setSelected);
- let N = __(), F = __();
+ }), { focusableProps: A } = eh(e, n), j = H(T, A), M = lg(e, { labelable: !0 });
+ b_(n, t.defaultSelected, t.setSelected);
+ let N = T_(), F = T_();
return {
labelProps: H(k, { onClick: (e) => e.preventDefault() }),
inputProps: H(M, {
@@ -10210,8 +10210,8 @@ function E_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function D_(e, t, n) {
- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = E_(e, t, n), { isIndeterminate: m } = e;
+function F_(e, t, n) {
+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = P_(e, t, n), { isIndeterminate: m } = e;
return (0, P.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -10230,10 +10230,10 @@ function D_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var Cee = /* @__PURE__ */ new WeakMap();
+var hee = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function O_(e) {
+function I_(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
t = Om(t);
let o = Om(), s = {};
@@ -10253,8 +10253,8 @@ function O_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function k_(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = O_(e), s = Am([
+function L_(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = I_(e), s = Am([
!!t,
!!n,
r,
@@ -10278,8 +10278,8 @@ function k_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function A_(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Dg(), c = (0, P.useCallback)((e) => {
+function R_(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = _g(), c = (0, P.useCallback)((e) => {
Jf(e.currentTarget, V(e)) && a.current.isFocusWithin && !Jf(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
@@ -10319,14 +10319,14 @@ function A_(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var wee = typeof document < "u" ? P.useInsertionEffect ?? P.useLayoutEffect : () => {};
-function j_(e, t, n) {
+var gee = typeof document < "u" ? P.useInsertionEffect ?? P.useLayoutEffect : () => {};
+function z_(e, t, n) {
let [r, i] = (0, P.useState)(e || t), a = (0, P.useRef)(r), o = (0, P.useRef)(e !== void 0), s = e !== void 0;
(0, P.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- wee(() => {
+ gee(() => {
a.current = c;
});
let [, l] = (0, P.useReducer)(() => ({}), {});
@@ -10337,8 +10337,8 @@ function j_(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function M_(e = {}) {
- let { isReadOnly: t } = e, [n, r] = j_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);
+function B_(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = z_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);
function a(e) {
t || r(e);
}
@@ -10354,26 +10354,26 @@ function M_(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function Tee(e, t, n) {
- let r = M_({
+function _ee(e, t, n) {
+ let r = B_({
isReadOnly: e.isReadOnly || t.isReadOnly,
isSelected: t.isSelected(e.value),
defaultSelected: t.defaultValue.includes(e.value),
onChange(n) {
n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);
}
- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Cee.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = hee.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = S_({
+ let { realtimeValidation: l } = A_({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, P.useRef)(b_), d = () => {
+ }), u = (0, P.useRef)(O_), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, P.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = D_({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = F_({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -10381,7 +10381,7 @@ function Tee(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [x_]: {
+ [k_]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -10405,12 +10405,12 @@ function Tee(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function N_(e, t = -Infinity, n = Infinity) {
+function V_(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var P_ = {
+var H_ = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -10422,38 +10422,38 @@ var P_ = {
width: "1px",
whiteSpace: "nowrap"
};
-function F_(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = A_({
+function U_(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = R_({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, P.useMemo)(() => r ? t : t ? {
- ...P_,
+ ...H_,
...t
- } : P_, [r]);
+ } : H_, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function I_(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = F_(e);
+function W_(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = U_(e);
return /*#__PURE__*/ P.createElement(n, H(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function Eee(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = j_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = eh(e, t), d = S_({
+function vee(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = z_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = eh(e, t), d = A_({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = k_({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = L_({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = _g(e, { labelable: !0 }), b = {
+ }), y = lg(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, P.useState)(c);
- return h_(t, e.defaultValue ?? x, l), g_(e, d, t), {
+ return b_(t, e.defaultValue ?? x, l), x_(e, d, t), {
labelProps: h,
inputProps: H(y, n === "input" ? b : void 0, {
disabled: r,
@@ -10500,13 +10500,13 @@ function Eee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var Dee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function L_(e) {
+var yee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function G_(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var R_ = /* @__PURE__ */ new WeakMap(), z_ = [];
-function B_(e, t) {
- let n = zf(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Dee, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
+var K_ = /* @__PURE__ */ new WeakMap(), q_ = [];
+function J_(e, t) {
+ let n = zf(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && yee, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
}, u = /* @__PURE__ */ new Set();
if (qf()) {
@@ -10522,19 +10522,19 @@ function B_(e, t) {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
for (let t of o) if (Jf(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = zg(Rf(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = Mg(Rf(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
let e = n.nextNode();
for (; e != null;) f(e), e = n.nextNode();
}
}, f = (e) => {
- let t = R_.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), R_.set(e, t + 1));
+ let t = K_.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), K_.set(e, t + 1));
};
- z_.length && z_[z_.length - 1].disconnect(), d(i);
+ q_.length && q_[q_.length - 1].disconnect(), d(i);
let p = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => Jf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && L_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => Jf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && G_(e) ? o.add(e) : e instanceof Element && d(e);
if (qf()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -10551,7 +10551,7 @@ function B_(e, t) {
if (qf()) for (let e of u) {
let t = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => Jf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && L_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => Jf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && G_(e) ? o.add(e) : e instanceof Element && d(e);
if (qf()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -10578,59 +10578,59 @@ function B_(e, t) {
p.disconnect();
}
};
- return z_.push(h), () => {
+ return q_.push(h), () => {
if (p.disconnect(), qf()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = R_.get(e);
- t != null && (t === 1 ? (l(e, !1), R_.delete(e)) : R_.set(e, t - 1));
+ let t = K_.get(e);
+ t != null && (t === 1 ? (l(e, !1), K_.delete(e)) : K_.set(e, t - 1));
}
- h === z_[z_.length - 1] ? (z_.pop(), z_.length && z_[z_.length - 1].observe()) : z_.splice(z_.indexOf(h), 1);
+ h === q_[q_.length - 1] ? (q_.pop(), q_.length && q_[q_.length - 1].observe()) : q_.splice(q_.indexOf(h), 1);
};
}
-function Oee(e) {
- let t = z_[z_.length - 1];
+function bee(e) {
+ let t = q_[q_.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var V_ = /* @__PURE__ */ new WeakMap();
-function kee(e) {
+var Y_ = /* @__PURE__ */ new WeakMap();
+function xee(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Aee(e, t) {
- let n = V_.get(e);
+function See(e, t) {
+ let n = Y_.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${kee(t)}`;
+ return `${n.id}-option-${xee(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function H_(e) {
+function X_(e) {
return xp() ? e.altKey : e.ctrlKey;
}
-function U_(e, t) {
+function Z_(e, t) {
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);
}
-var W_ = /* @__PURE__ */ new WeakMap();
-function jee(e) {
+var Q_ = /* @__PURE__ */ new WeakMap();
+function Cee(e) {
let t = Om();
- return W_.set(e, t), t;
+ return Q_.set(e, t), t;
}
-function G_(e) {
- return W_.get(e);
+function wee(e) {
+ return Q_.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var K_ = class {
+var $_ = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : U_(this.ref, e);
+ let n = e == null ? null : Z_(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -10656,12 +10656,12 @@ var K_ = class {
height: e?.clientHeight ?? 0
};
}
-}, q_ = class {
+}, ev = class {
constructor(...e) {
if (e.length === 1) {
let t = e[0];
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new K_(t.ref);
- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new K_(this.ref);
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new $_(t.ref);
+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new $_(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -10701,14 +10701,14 @@ var K_ = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = U_(this.ref, e);
+ let t = this.getNextKey(e), n = Z_(this.ref, e);
if (t != null) {
- let e = U_(this.ref, t);
+ let e = Z_(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = U_(this.ref, r);
+ let e = Z_(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -10742,7 +10742,7 @@ var K_ = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !c_(t)) return this.getFirstKey();
+ if (t && !d_(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -10757,7 +10757,7 @@ var K_ = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !c_(t)) return this.getLastKey();
+ if (t && !d_(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -10780,184 +10780,184 @@ var K_ = class {
}
return null;
}
-}, J_ = {};
-J_ = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, tv = {};
+tv = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var Y_ = {};
-Y_ = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var nv = {};
+nv = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var X_ = {};
-X_ = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var rv = {};
+rv = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var Z_ = {};
-Z_ = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var iv = {};
+iv = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var Q_ = {};
-Q_ = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var av = {};
+av = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var $_ = {};
-$_ = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var ov = {};
+ov = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var ev = {};
-ev = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var sv = {};
+sv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var tv = {};
-tv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var cv = {};
+cv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var nv = {};
-nv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var lv = {};
+lv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var rv = {};
-rv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var uv = {};
+uv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var iv = {};
-iv = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var dv = {};
+dv = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var av = {};
-av = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var fv = {};
+fv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var ov = {};
-ov = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var pv = {};
+pv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var sv = {};
-sv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var mv = {};
+mv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var cv = {};
-cv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var hv = {};
+hv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var lv = {};
-lv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var gv = {};
+gv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var uv = {};
-uv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var _v = {};
+_v = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var dv = {};
-dv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var vv = {};
+vv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var fv = {};
-fv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var yv = {};
+yv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var pv = {};
-pv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var bv = {};
+bv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var mv = {};
-mv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var xv = {};
+xv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var hv = {};
-hv = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var Sv = {};
+Sv = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var gv = {};
-gv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var Cv = {};
+Cv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var _v = {};
-_v = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var wv = {};
+wv = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var vv = {};
-vv = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var Tv = {};
+Tv = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var yv = {};
-yv = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var Ev = {};
+Ev = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var bv = {};
-bv = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var Dv = {};
+Dv = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var xv = {};
-xv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var Ov = {};
+Ov = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var Sv = {};
-Sv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var kv = {};
+kv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var Cv = {};
-Cv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var Av = {};
+Av = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var wv = {};
-wv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var jv = {};
+jv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var Tv = {};
-Tv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Mv = {};
+Mv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Ev = {};
-Ev = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var Nv = {};
+Nv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Dv = {};
-Dv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Pv = {};
+Pv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var Ov = {};
-Ov = {
- "ar-AE": J_,
- "bg-BG": Y_,
- "cs-CZ": X_,
- "da-DK": Z_,
- "de-DE": Q_,
- "el-GR": $_,
- "en-US": ev,
- "es-ES": tv,
- "et-EE": nv,
- "fi-FI": rv,
- "fr-FR": iv,
- "he-IL": av,
- "hr-HR": ov,
- "hu-HU": sv,
- "it-IT": cv,
- "ja-JP": lv,
- "ko-KR": uv,
- "lt-LT": dv,
- "lv-LV": fv,
- "nb-NO": pv,
- "nl-NL": mv,
- "pl-PL": hv,
- "pt-BR": gv,
- "pt-PT": _v,
- "ro-RO": vv,
- "ru-RU": yv,
- "sk-SK": bv,
- "sl-SI": xv,
- "sr-SP": Sv,
- "sv-SE": Cv,
- "tr-TR": wv,
- "uk-UA": Tv,
- "zh-CN": Ev,
- "zh-TW": Dv
+var Fv = {};
+Fv = {
+ "ar-AE": tv,
+ "bg-BG": nv,
+ "cs-CZ": rv,
+ "da-DK": iv,
+ "de-DE": av,
+ "el-GR": ov,
+ "en-US": sv,
+ "es-ES": cv,
+ "et-EE": lv,
+ "fi-FI": uv,
+ "fr-FR": dv,
+ "he-IL": fv,
+ "hr-HR": pv,
+ "hu-HU": mv,
+ "it-IT": hv,
+ "ja-JP": gv,
+ "ko-KR": _v,
+ "lt-LT": vv,
+ "lv-LV": yv,
+ "nb-NO": bv,
+ "nl-NL": xv,
+ "pl-PL": Sv,
+ "pt-BR": Cv,
+ "pt-PT": wv,
+ "ro-RO": Tv,
+ "ru-RU": Ev,
+ "sk-SK": Dv,
+ "sl-SI": Ov,
+ "sr-SP": kv,
+ "sv-SE": Av,
+ "tr-TR": jv,
+ "uk-UA": Mv,
+ "zh-CN": Nv,
+ "zh-TW": Pv
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var kv = 500;
-function Av(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = kv, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Dg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Ng({
+var Tee = 500;
+function Iv(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Tee, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = _g(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Sg({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -10985,12 +10985,12 @@ function Av(e) {
});
}
});
- return { longPressProps: H(f, m_(a && !t ? s : void 0)) };
+ return { longPressProps: H(f, y_(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function jv(e) {
- let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = Av({
+function Lv(e) {
+ let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = Iv({
onLongPressStart() {
n.current = !1;
},
@@ -11033,13 +11033,13 @@ function jv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var Mv = /* @__PURE__ */ new WeakMap();
-function Nv(e) {
+var Rv = /* @__PURE__ */ new WeakMap();
+function Eee(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
(0, P.useEffect)(() => !n || r === null ? void 0 : Wf(Xf(t.current), "scroll", (e) => {
let n = V(e);
if (!t.current || n instanceof Node && !Jf(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || Mv.get(t.current);
+ let i = r || Rv.get(t.current);
i && i();
}, !0), [
n,
@@ -11049,10 +11049,10 @@ function Nv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function Pv(e, t, n) {
+function Dee(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, P.useEffect)(() => {
- n && n.current && Mv.set(n.current, t.close);
+ n && n.current && Rv.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
@@ -11069,11 +11069,11 @@ function Pv(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function Fv(e) {
+function Oee(e) {
return e && e.__esModule ? e.default : e;
}
-function Iv(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Om(), { triggerProps: s, overlayProps: c } = Pv({ type: r }, t, n), l = (e, n, r = "first") => {
+function kee(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Om(), { triggerProps: s, overlayProps: c } = Dee({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
}, { keyboardProps: u } = Ym({
@@ -11088,7 +11088,7 @@ function Iv(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = ug(Fv(Ov), "@react-aria/menu"), { longPressProps: f } = Av({
+ }), d = sg(Oee(Fv), "@react-aria/menu"), { longPressProps: f } = Iv({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -11107,7 +11107,7 @@ function Iv(e, t, n) {
}
};
delete s.onPress;
- let { contextMenuProps: m } = jv({ onContextMenu(e) {
+ let { contextMenuProps: m } = Lv({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -11152,8 +11152,8 @@ function Iv(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var Lv = 1e3;
-function Rv(e) {
+var zv = 1e3;
+function Bv(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, P.useRef)({
search: "",
timeout: void 0
@@ -11172,11 +11172,11 @@ function Rv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Lv);
+ }, zv);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = zv(e.key);
+ let a = Aee(e.key);
if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Jf(e.currentTarget, V(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
@@ -11188,17 +11188,17 @@ function Rv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Lv);
+ }, zv);
}
} : void 0
} };
}
-function zv(e) {
+function Aee(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function Bv(e, t) {
+function Vv(e, t) {
let n = (0, P.useRef)(!0), r = (0, P.useRef)(null);
cp(() => (n.current = !0, () => {
n.current = !1;
@@ -11208,14 +11208,14 @@ function Bv(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function Vv(e) {
+function Hv(e) {
let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Xh(), _ = kp(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !H_(e)) {
+ if (t.isLink(n) && m === "selection" && l && !X_(e)) {
(0, lh.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = U_(r, n), o = t.getItemProps(n);
+ let a = Z_(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -11227,7 +11227,7 @@ function Vv(e) {
t.extendSelection(n);
return;
}
- if (l && !H_(e)) {
+ if (l && !X_(e)) {
t.replaceSelection(n);
return;
}
@@ -11327,7 +11327,7 @@ function Vv(e) {
return !1;
}, k = () => {
if (!f && r.current) {
- let e = t_(r.current, { tabbable: !0 }), t, n;
+ let e = n_(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
@@ -11390,8 +11390,8 @@ function Vv(e) {
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
} else p.current && (p.current.scrollTop = F.current.top, p.current.scrollLeft = F.current.left);
if (t.focusedKey != null && p.current) {
- let e = U_(r, t.focusedKey);
- e instanceof HTMLElement && (!Zf(e) && !d && Nf(e), (i === "keyboard" || h && i === "virtual") && f_(e, { containingElement: r.current }));
+ let e = Z_(r, t.focusedKey);
+ e instanceof HTMLElement && (!Zf(e) && !d && Nf(e), (i === "keyboard" || h && i === "virtual") && g_(e, { containingElement: r.current }));
}
}, ee = (e) => {
Jf(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
@@ -11401,14 +11401,14 @@ function Vv(e) {
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (te.current = !0);
} : void 0);
let ne = n.getFirstKey?.() ?? null;
- Bv(() => {
+ Vv(() => {
if (te.current) {
if (ne == null) {
let e = Yf();
kh(r.current), jh(e, null), t.collection.size > 0 && (te.current = !1);
} else t.setFocusedKey(ne), te.current = !1;
}
- }, [ne, t.collection.size]), Bv(() => {
+ }, [ne, t.collection.size]), Vv(() => {
t.collection.size > 0 && (te.current = !1);
}, [t.focusedKey]), Rh(r, Dh, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
@@ -11431,10 +11431,10 @@ function Vv(e) {
let ae = (0, P.useRef)(t.focusedKey), oe = (0, P.useRef)(null);
(0, P.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {
- let e = um(), n = U_(r, t.focusedKey);
+ let e = um(), n = Z_(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {
- p.current && (d_(p.current, n), e !== "virtual" && f_(n, { containingElement: r.current }));
+ p.current && (m_(p.current, n), e !== "virtual" && g_(n, { containingElement: r.current }));
}));
}
!d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && xm(r.current), ae.current = t.focusedKey, ie.current = !1;
@@ -11450,14 +11450,14 @@ function Vv(e) {
onMouseDown(e) {
p.current === V(e) && e.preventDefault();
}
- }, { typeSelectProps: ce } = Rv({
+ }, { typeSelectProps: ce } = Bv({
keyboardDelegate: n,
selectionManager: t
});
u || (se = H(ce, se));
let le;
d || (le = t.focusedKey == null ? 0 : -1);
- let L = jee(t.collection);
+ let L = Cee(t.collection);
return { collectionProps: H(se, {
tabIndex: le,
"data-collection": L
@@ -11465,13 +11465,13 @@ function Vv(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function Hv(e, t) {
+function Uv(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function Uv(e) {
- return Wv(e, 0);
+function Wv(e) {
+ return Gv(e, 0);
}
-function Wv(e, t) {
+function Gv(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -11479,31 +11479,31 @@ function Wv(e, t) {
n++;
}
}
-function Gv(e) {
+function Kv(e) {
let t;
for (let n of e) t = n;
return t;
}
-function Kv(e, t, n) {
+function qv(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...qv(e, t), t], i = [...qv(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...Jv(e, t), t], i = [...Jv(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);
}
-function qv(e, t) {
+function Jv(e, t) {
let n = [], r = t;
for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);
return n;
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs
-var Jv = /* @__PURE__ */ new WeakMap();
-function Yv(e) {
- let t = Jv.get(e);
+var Yv = /* @__PURE__ */ new WeakMap();
+function jee(e) {
+ let t = Yv.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(Hv(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(Uv(i, e)) : i.type === "item" && n++;
};
- return r(e), Jv.set(e, n), n;
+ return r(e), Yv.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
@@ -11516,44 +11516,44 @@ function Zv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-function Qv({ children: e }) {
+function Mee({ children: e }) {
let t = (0, P.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ P.createElement(Eg.Provider, { value: t }, e);
+ return /*#__PURE__*/ P.createElement(gg.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var $v = /*#__PURE__*/ (0, P.createContext)({});
-function ey(e) {
- let { getContainer: t } = e, { getContainer: n } = ty();
- return /*#__PURE__*/ P.createElement($v.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var Qv = /*#__PURE__*/ (0, P.createContext)({});
+function $v(e) {
+ let { getContainer: t } = e, { getContainer: n } = ey();
+ return /*#__PURE__*/ P.createElement(Qv.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function ty() {
- return (0, P.useContext)($v) ?? {};
+function ey() {
+ return (0, P.useContext)(Qv) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var ny = /*#__PURE__*/ P.createContext(null);
-function ry(e) {
+var ty = /*#__PURE__*/ P.createContext(null);
+function ny(e) {
let t = Kp(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = ty();
+ }), [i, a]), { getContainer: s } = ey();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(Ug, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(Ig, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ P.createElement(ny.Provider, { value: o }, /*#__PURE__*/ P.createElement(Qv, null, /*#__PURE__*/ P.createElement(Qm.Provider, { value: null }, c))), /*#__PURE__*/ lh.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ P.createElement(ty.Provider, { value: o }, /*#__PURE__*/ P.createElement(Mee, null, /*#__PURE__*/ P.createElement(Qm.Provider, { value: null }, c))), /*#__PURE__*/ lh.createPortal(c, n);
}
-function iy() {
- let e = (0, P.useContext)(ny)?.setContain;
+function ry() {
+ let e = (0, P.useContext)(ty)?.setContain;
cp(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function ay(e, t) {
+function iy(e, t) {
let { role: n = "dialog" } = e, r = Am();
r = e["aria-label"] ? void 0 : r;
let i = Am();
@@ -11569,11 +11569,11 @@ function ay(e, t) {
clearTimeout(e);
};
}
- }, [t]), iy(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});
+ }, [t]), ry(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
- ..._g(e, { labelable: !0 }),
+ ...lg(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? r,
@@ -11588,7 +11588,7 @@ function ay(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function oy(e = {}) {
+function ay(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, P.useRef)({
isFocused: !1,
isFocusVisible: t || lm()
@@ -11604,7 +11604,7 @@ function oy(e = {}) {
let { focusProps: d } = Fm({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = A_({
+ }), { focusWithinProps: f } = R_({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -11616,36 +11616,36 @@ function oy(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function sy(e = {}) {
+function oy(e = {}) {
let { locale: t } = Xh();
return (0, P.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var cy = !1, ly = 0;
-function uy() {
- cy = !0, setTimeout(() => {
- cy = !1;
+var sy = !1, cy = 0;
+function ly() {
+ sy = !0, setTimeout(() => {
+ sy = !1;
}, 500);
}
-function dy(e) {
- e.pointerType === "touch" && uy();
+function uy(e) {
+ e.pointerType === "touch" && ly();
}
-function fy() {
+function dy() {
let e = Rf(null);
- if (e !== void 0) return ly === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", dy), ly++, () => {
- ly--, !(ly > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", dy);
+ if (e !== void 0) return cy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", uy), cy++, () => {
+ cy--, !(cy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", uy);
};
}
-function py(e) {
+function fy(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, P.useState)(!1), s = (0, P.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, P.useEffect)(fy, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = Dg(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {
+ (0, P.useEffect)(dy, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = _g(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {
let e = (e, r) => {
if (s.pointerType = r, i || r === "touch" || s.isHovered || !Jf(e.currentTarget, V(e))) return;
s.isHovered = !0;
@@ -11666,7 +11666,7 @@ function py(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- cy && t.pointerType === "mouse" || e(t, t.pointerType);
+ sy && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
!i && Jf(e.currentTarget, V(e)) && a(e, e.pointerType);
}), {
@@ -11691,12 +11691,12 @@ function py(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function my(e) {
+function py(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, P.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
}), o = Lh((e) => {
- n && hy(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ n && my(e, t) && (i && i(e), a.current.isPointerDown = !0);
}), s = Lh((e) => {
n && n(e);
});
@@ -11706,7 +11706,7 @@ function my(e) {
let n = t.current, i = Rf(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && hy(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && my(n, t) && s(n), e.isPointerDown = !1;
};
return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {
i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);
@@ -11714,7 +11714,7 @@ function my(e) {
}
}, [t, r]);
}
-function hy(e, t) {
+function my(e, t) {
if (e.button > 0) return !1;
let n = V(e);
if (n) {
@@ -11725,8 +11725,8 @@ function hy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var gy = {};
-gy = {
+var hy = {};
+hy = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -11740,8 +11740,8 @@ gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var _y = {};
-_y = {
+var gy = {};
+gy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -11755,8 +11755,8 @@ _y = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var vy = {};
-vy = {
+var _y = {};
+_y = {
deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,
longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",
select: "Vybrat",
@@ -11770,8 +11770,8 @@ vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var yy = {};
-yy = {
+var vy = {};
+vy = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -11785,8 +11785,8 @@ yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var by = {};
-by = {
+var yy = {};
+yy = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -11800,8 +11800,8 @@ by = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var xy = {};
-xy = {
+var by = {};
+by = {
deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,
longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",
select: "Επιλογή",
@@ -11815,8 +11815,8 @@ xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var Sy = {};
-Sy = {
+var xy = {};
+xy = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -11830,8 +11830,8 @@ Sy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var Cy = {};
-Cy = {
+var Sy = {};
+Sy = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -11845,8 +11845,8 @@ Cy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var wy = {};
-wy = {
+var Cy = {};
+Cy = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -11860,8 +11860,8 @@ wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var Ty = {};
-Ty = {
+var wy = {};
+wy = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -11875,8 +11875,8 @@ Ty = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var Ey = {};
-Ey = {
+var Ty = {};
+Ty = {
deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,
longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",
select: "Sélectionner",
@@ -11890,8 +11890,8 @@ Ey = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var Dy = {};
-Dy = {
+var Ey = {};
+Ey = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -11905,8 +11905,8 @@ Dy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var Oy = {};
-Oy = {
+var Dy = {};
+Dy = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -11920,8 +11920,8 @@ Oy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var ky = {};
-ky = {
+var Oy = {};
+Oy = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -11935,8 +11935,8 @@ ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var Ay = {};
-Ay = {
+var ky = {};
+ky = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -11950,8 +11950,8 @@ Ay = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var jy = {};
-jy = {
+var Ay = {};
+Ay = {
deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
longPressToSelect: "長押しして選択モードを開きます。",
select: "選択",
@@ -11965,8 +11965,8 @@ jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var My = {};
-My = {
+var jy = {};
+jy = {
deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",
select: "선택",
@@ -11980,8 +11980,8 @@ My = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var Ny = {};
-Ny = {
+var My = {};
+My = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -11995,8 +11995,8 @@ Ny = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var Py = {};
-Py = {
+var Ny = {};
+Ny = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -12010,8 +12010,8 @@ Py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var Fy = {};
-Fy = {
+var Py = {};
+Py = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -12025,8 +12025,8 @@ Fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var Iy = {};
-Iy = {
+var Fy = {};
+Fy = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -12040,8 +12040,8 @@ Iy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var Ly = {};
-Ly = {
+var Iy = {};
+Iy = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -12055,8 +12055,8 @@ Ly = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var Ry = {};
-Ry = {
+var Ly = {};
+Ly = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -12070,8 +12070,8 @@ Ry = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var zy = {};
-zy = {
+var Ry = {};
+Ry = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -12085,8 +12085,8 @@ zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var By = {};
-By = {
+var zy = {};
+zy = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -12100,8 +12100,8 @@ By = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var Vy = {};
-Vy = {
+var By = {};
+By = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -12115,8 +12115,8 @@ Vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var Hy = {};
-Hy = {
+var Vy = {};
+Vy = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -12130,8 +12130,8 @@ Hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var Uy = {};
-Uy = {
+var Hy = {};
+Hy = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -12145,8 +12145,8 @@ Uy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var Wy = {};
-Wy = {
+var Uy = {};
+Uy = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -12160,8 +12160,8 @@ Wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var Gy = {};
-Gy = {
+var Wy = {};
+Wy = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -12175,8 +12175,8 @@ Gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var Ky = {};
-Ky = {
+var Gy = {};
+Gy = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -12190,8 +12190,8 @@ Ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var qy = {};
-qy = {
+var Ky = {};
+Ky = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -12205,8 +12205,8 @@ qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var Jy = {};
-Jy = {
+var qy = {};
+qy = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -12220,8 +12220,8 @@ Jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var Yy = {};
-Yy = {
+var Jy = {};
+Jy = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -12235,55 +12235,55 @@ Yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var Xy = {};
-Xy = {
- "ar-AE": gy,
- "bg-BG": _y,
- "cs-CZ": vy,
- "da-DK": yy,
- "de-DE": by,
- "el-GR": xy,
- "en-US": Sy,
- "es-ES": Cy,
- "et-EE": wy,
- "fi-FI": Ty,
- "fr-FR": Ey,
- "he-IL": Dy,
- "hr-HR": Oy,
- "hu-HU": ky,
- "it-IT": Ay,
- "ja-JP": jy,
- "ko-KR": My,
- "lt-LT": Ny,
- "lv-LV": Py,
- "nb-NO": Fy,
- "nl-NL": Iy,
- "pl-PL": Ly,
- "pt-BR": Ry,
- "pt-PT": zy,
- "ro-RO": By,
- "ru-RU": Vy,
- "sk-SK": Hy,
- "sl-SI": Uy,
- "sr-SP": Wy,
- "sv-SE": Gy,
- "tr-TR": Ky,
- "uk-UA": qy,
- "zh-CN": Jy,
- "zh-TW": Yy
+var Yy = {};
+Yy = {
+ "ar-AE": hy,
+ "bg-BG": gy,
+ "cs-CZ": _y,
+ "da-DK": vy,
+ "de-DE": yy,
+ "el-GR": by,
+ "en-US": xy,
+ "es-ES": Sy,
+ "et-EE": Cy,
+ "fi-FI": wy,
+ "fr-FR": Ty,
+ "he-IL": Ey,
+ "hr-HR": Dy,
+ "hu-HU": Oy,
+ "it-IT": ky,
+ "ja-JP": Ay,
+ "ko-KR": jy,
+ "lt-LT": My,
+ "lv-LV": Ny,
+ "nb-NO": Py,
+ "nl-NL": Fy,
+ "pl-PL": Iy,
+ "pt-BR": Ly,
+ "pt-PT": Ry,
+ "ro-RO": zy,
+ "ru-RU": By,
+ "sk-SK": Vy,
+ "sl-SI": Hy,
+ "sr-SP": Uy,
+ "sv-SE": Wy,
+ "tr-TR": Gy,
+ "uk-UA": Ky,
+ "zh-CN": qy,
+ "zh-TW": Jy
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Zy(e) {
+function Nee(e) {
return e && e.__esModule ? e.default : e;
}
-function Qy(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = ug(Zy(Xy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {
+function Pee(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = sg(Nee(Yy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = $y(i, a.current), o = $y(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = Xy(i, a.current), o = Xy(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
if (t.selectionManager.selectedKeys.size === 1 && s) {
let e = t.selectionManager.selectedKeys.keys().next().value;
if (e != null && t.collection.getItem(e)) {
@@ -12303,7 +12303,7 @@ function Qy(e, t) {
t && c.push(r.format("deselectedItem", { item: t }));
}
}
- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && o_(c.join(" ")), a.current = i;
+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && c_(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -12314,7 +12314,7 @@ function Qy(e, t) {
n,
r
]);
- s_(() => {
+ u_(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -12322,7 +12322,7 @@ function Qy(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function $y(e, t) {
+function Xy(e, t) {
let n = /* @__PURE__ */ new Set();
if (e === "all" || t === "all") return n;
for (let r of e.keys()) t.has(r) || n.add(r);
@@ -12330,13 +12330,13 @@ function $y(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function eb(e, t) {
+function Zy(e, t) {
let n = t?.isDisabled, [r, i] = (0, P.useState)(!1);
return cp(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = t_(e.current, { tabbable: !0 });
+ let t = n_(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -12355,12 +12355,12 @@ function eb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function tb(e) {
+function Fee(e) {
return e && e.__esModule ? e.default : e;
}
-function nb(e) {
- let t = ug(tb(Xy), "@react-aria/grid"), n = fm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return m_((0, P.useMemo)(() => {
+function Iee(e) {
+ let t = sg(Fee(Yy), "@react-aria/grid"), n = fm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return y_((0, P.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
}, [
@@ -12373,11 +12373,11 @@ function nb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function rb(e) {
+function Lee(e) {
let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = Zv({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new q_({
+ }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new ev({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -12394,7 +12394,7 @@ function rb(e) {
c,
l,
s
- ]), { collectionProps: d } = Vv({
+ ]), { collectionProps: d } = Hv({
...e,
ref: i,
selectionManager: t,
@@ -12404,11 +12404,11 @@ function rb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function ib(e) {
+function Qy(e) {
let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = kp();
t = Om(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && H_(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && X_(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -12451,22 +12451,22 @@ function ib(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
}, k = { ref: i };
a ? (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || ob(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || eb(e.key)) && p(e);
}, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !ab(e.key)) return;
+ if (e.pointerType === "keyboard" && !$y(e.key)) return;
O(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || ob(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || eb(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && ab(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && $y(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = G_(n.collection);
+ let A = wee(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = H(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -12482,9 +12482,9 @@ function ib(e) {
"onPressUp",
"onClick"
]) D[e] && (k[e] = Sm(k[e], D[e]));
- let { pressProps: j, isPressed: M } = Ng(k), N = x ? (e) => {
+ let { pressProps: j, isPressed: M } = Sg(k), N = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: F } = Av({
+ } : void 0, { longPressProps: F } = Iv({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -12533,22 +12533,22 @@ function ib(e) {
hasAction: S
};
}
-function ab(e) {
+function $y(e) {
return e === "Enter";
}
-function ob(e) {
+function eb(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Mee(e) {
+function Ree(e) {
return e && e.__esModule ? e.default : e;
}
-function Nee(e, t) {
+function zee(e, t) {
let { key: n } = e, r = t.selectionManager, i = Om(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": ug(Mee(Xy), "@react-aria/grid").format("select"),
+ "aria-label": sg(Ree(Yy), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -12556,22 +12556,22 @@ function Nee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Pee(e, t, n) {
- let r = _g(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function Bee(e, t, n) {
+ let r = lg(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = rb({
+ let { listProps: s } = Lee({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = A_({
+ }), { focusWithinProps: c } = R_({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
}), l = Om(e.id);
- V_.set(t, {
+ Y_.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -12581,7 +12581,7 @@ function Pee(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = O_({
+ let { labelProps: u, fieldProps: d } = I_({
...e,
id: l,
labelElementType: "span"
@@ -12597,7 +12597,7 @@ function Pee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Fee(e) {
+function Vee(e) {
let { heading: t, "aria-label": n } = e, r = Om();
return {
itemProps: { role: "presentation" },
@@ -12617,8 +12617,8 @@ function Fee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Iee(e, t, n) {
- let { key: r } = e, i = V_.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Am(), f = Am(), p = {
+function Hee(e, t, n) {
+ let { key: r } = e, i = Y_.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Am(), f = Am(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -12628,9 +12628,9 @@ function Iee(e, t, n) {
}, m = t.collection.getItem(r);
if (u) {
let e = Number(m?.index);
- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Yv(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = jee(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Aee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = ib({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = See(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Qy({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -12643,12 +12643,12 @@ function Iee(e, t, n) {
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = py({
+ }), { hoverProps: S } = fy({
isDisabled: a || !c,
onHoverStart() {
lm() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = _g(m?.props);
+ }), C = lg(m?.props);
delete C.id;
let w = Pp(m?.props);
return {
@@ -12670,15 +12670,15 @@ function Iee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Lee() {
+function tb() {
return window.ResizeObserver !== void 0;
}
-function sb(e) {
+function nb(e) {
let { ref: t, box: n, onResize: r } = e, i = Lh(r);
(0, P.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Lee()) {
+ if (tb()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -12694,189 +12694,189 @@ function sb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var cb = {};
-cb = { dismiss: "تجاهل" };
+var rb = {};
+rb = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var lb = {};
-lb = { dismiss: "Отхвърляне" };
+var ib = {};
+ib = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var ub = {};
-ub = { dismiss: "Odstranit" };
+var ab = {};
+ab = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var db = {};
-db = { dismiss: "Luk" };
+var ob = {};
+ob = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var fb = {};
-fb = { dismiss: "Schließen" };
+var sb = {};
+sb = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var pb = {};
-pb = { dismiss: "Απόρριψη" };
+var cb = {};
+cb = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var mb = {};
-mb = { dismiss: "Dismiss" };
+var lb = {};
+lb = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var hb = {};
-hb = { dismiss: "Descartar" };
+var ub = {};
+ub = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var gb = {};
-gb = { dismiss: "Lõpeta" };
+var db = {};
+db = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var _b = {};
-_b = { dismiss: "Hylkää" };
+var fb = {};
+fb = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var vb = {};
-vb = { dismiss: "Rejeter" };
+var pb = {};
+pb = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var yb = {};
-yb = { dismiss: "התעלם" };
+var mb = {};
+mb = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var bb = {};
-bb = { dismiss: "Odbaci" };
+var hb = {};
+hb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var xb = {};
-xb = { dismiss: "Elutasítás" };
+var gb = {};
+gb = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var Sb = {};
-Sb = { dismiss: "Ignora" };
+var _b = {};
+_b = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var Cb = {};
-Cb = { dismiss: "閉じる" };
+var vb = {};
+vb = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var wb = {};
-wb = { dismiss: "무시" };
+var yb = {};
+yb = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var Tb = {};
-Tb = { dismiss: "Atmesti" };
+var bb = {};
+bb = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var Eb = {};
-Eb = { dismiss: "Nerādīt" };
+var xb = {};
+xb = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var Db = {};
-Db = { dismiss: "Lukk" };
+var Sb = {};
+Sb = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var Ob = {};
-Ob = { dismiss: "Negeren" };
+var Cb = {};
+Cb = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var kb = {};
-kb = { dismiss: "Zignoruj" };
+var wb = {};
+wb = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var Ab = {};
-Ab = { dismiss: "Descartar" };
+var Tb = {};
+Tb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var jb = {};
-jb = { dismiss: "Dispensar" };
+var Eb = {};
+Eb = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var Mb = {};
-Mb = { dismiss: "Revocare" };
+var Db = {};
+Db = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var Nb = {};
-Nb = { dismiss: "Пропустить" };
+var Ob = {};
+Ob = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var Pb = {};
-Pb = { dismiss: "Zrušiť" };
+var kb = {};
+kb = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var Fb = {};
-Fb = { dismiss: "Opusti" };
+var Ab = {};
+Ab = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var Ib = {};
-Ib = { dismiss: "Odbaci" };
+var jb = {};
+jb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Lb = {};
-Lb = { dismiss: "Avvisa" };
+var Mb = {};
+Mb = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var Rb = {};
-Rb = { dismiss: "Kapat" };
+var Nb = {};
+Nb = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var zb = {};
-zb = { dismiss: "Скасувати" };
+var Pb = {};
+Pb = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var Bb = {};
-Bb = { dismiss: "取消" };
+var Fb = {};
+Fb = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var Vb = {};
-Vb = { dismiss: "關閉" };
+var Ib = {};
+Ib = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var Hb = {};
-Hb = {
- "ar-AE": cb,
- "bg-BG": lb,
- "cs-CZ": ub,
- "da-DK": db,
- "de-DE": fb,
- "el-GR": pb,
- "en-US": mb,
- "es-ES": hb,
- "et-EE": gb,
- "fi-FI": _b,
- "fr-FR": vb,
- "he-IL": yb,
- "hr-HR": bb,
- "hu-HU": xb,
- "it-IT": Sb,
- "ja-JP": Cb,
- "ko-KR": wb,
- "lt-LT": Tb,
- "lv-LV": Eb,
- "nb-NO": Db,
- "nl-NL": Ob,
- "pl-PL": kb,
- "pt-BR": Ab,
- "pt-PT": jb,
- "ro-RO": Mb,
- "ru-RU": Nb,
- "sk-SK": Pb,
- "sl-SI": Fb,
- "sr-SP": Ib,
- "sv-SE": Lb,
- "tr-TR": Rb,
- "uk-UA": zb,
- "zh-CN": Bb,
- "zh-TW": Vb
+var Lb = {};
+Lb = {
+ "ar-AE": rb,
+ "bg-BG": ib,
+ "cs-CZ": ab,
+ "da-DK": ob,
+ "de-DE": sb,
+ "el-GR": cb,
+ "en-US": lb,
+ "es-ES": ub,
+ "et-EE": db,
+ "fi-FI": fb,
+ "fr-FR": pb,
+ "he-IL": mb,
+ "hr-HR": hb,
+ "hu-HU": gb,
+ "it-IT": _b,
+ "ja-JP": vb,
+ "ko-KR": yb,
+ "lt-LT": bb,
+ "lv-LV": xb,
+ "nb-NO": Sb,
+ "nl-NL": Cb,
+ "pl-PL": wb,
+ "pt-BR": Tb,
+ "pt-PT": Eb,
+ "ro-RO": Db,
+ "ru-RU": Ob,
+ "sk-SK": kb,
+ "sl-SI": Ab,
+ "sr-SP": jb,
+ "sv-SE": Mb,
+ "tr-TR": Nb,
+ "uk-UA": Pb,
+ "zh-CN": Fb,
+ "zh-TW": Ib
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Ree(e) {
+function Uee(e) {
return e && e.__esModule ? e.default : e;
}
-function Ub(e) {
- let { onDismiss: t, ...n } = e, r = zh(n, ug(Ree(Hb), "@react-aria/overlays").format("dismiss")), i = () => {
+function Rb(e) {
+ let { onDismiss: t, ...n } = e, r = zh(n, sg(Uee(Lb), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ P.createElement(I_, null, /*#__PURE__*/ P.createElement("button", {
+ return /*#__PURE__*/ P.createElement(W_, null, /*#__PURE__*/ P.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -12888,22 +12888,22 @@ function Ub(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var Wb = [];
-function Gb(e, t) {
+var zb = [];
+function Bb(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, P.useRef)(void 0);
(0, P.useEffect)(() => {
- if (i && !Wb.includes(t)) return Wb.push(t), () => {
- let e = Wb.indexOf(t);
- e >= 0 && Wb.splice(e, 1);
+ if (i && !zb.includes(t)) return zb.push(t), () => {
+ let e = zb.indexOf(t);
+ e >= 0 && zb.splice(e, 1);
};
}, [i, t]);
let l = () => {
- Wb[Wb.length - 1] === t && n && n();
+ zb[zb.length - 1] === t && n && n();
}, u = (e) => {
- let n = Wb[Wb.length - 1];
+ let n = zb[zb.length - 1];
c.current = n, (!s || s(V(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(V(e))) && (Wb[Wb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ (!s || s(V(e))) && (zb[zb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
}, { keyboardProps: f } = Ym({ shortcuts: { Escape: () => {
if (!o) {
l();
@@ -12911,15 +12911,15 @@ function Gb(e, t) {
}
return !1;
} } });
- my({
+ py({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = A_({
+ let { focusWithinProps: p } = R_({
isDisabled: !r,
onBlurWithin: (e) => {
- !e.relatedTarget || cee(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
+ !e.relatedTarget || Kg(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -12932,26 +12932,26 @@ function Gb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Kb = typeof document < "u" && window.visualViewport, qb = 0, Jb;
-function Yb(e = {}) {
+var Vb = typeof document < "u" && window.visualViewport, Hb = 0, Ub;
+function Wb(e = {}) {
let { isDisabled: t } = e;
cp(() => {
- if (!t) return qb++, qb === 1 && (Jb = bp() && Sp() ? Bee() : zee()), () => {
- qb--, qb === 0 && Jb();
+ if (!t) return Hb++, Hb === 1 && (Ub = bp() && Sp() ? Gee() : Wee()), () => {
+ Hb--, Hb === 0 && Ub();
};
}, [t]);
}
-function zee() {
+function Wee() {
let e = window.innerWidth - document.documentElement.clientWidth;
return Sm(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Gf(document.documentElement, "scrollbar-gutter", "stable") : Gf(document.documentElement, "padding-right", `${e}px`)), Gf(document.documentElement, "overflow", "hidden"));
}
-function Bee() {
+function Gee() {
let e = Gf(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = V(e);
- t = c_(r) ? r : l_(r, !0), n = !1;
+ t = d_(r) ? r : f_(r, !0), n = !1;
let i = r.ownerDocument.defaultView.getSelection();
i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);
- }, i = document.createElement("style"), a = Tg();
+ }, i = document.createElement("style"), a = hg();
a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);
let o = (e) => {
if (!(e.touches.length === 2 || n)) {
@@ -12963,7 +12963,7 @@ function Bee() {
}
}, s = (e) => {
let t = V(e), n = e.relatedTarget;
- n && Fh(n) ? (n.focus({ preventScroll: !0 }), Xb(n, Fh(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && Fh(n) ? (n.focus({ preventScroll: !0 }), Gb(n, Fh(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -12973,7 +12973,7 @@ function Bee() {
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && Xb(this, n);
+ }), (!e || !e.preventScroll) && Gb(this, n);
}
});
let l = Sm(Wf(document, "touchstart", r, {
@@ -12991,18 +12991,18 @@ function Bee() {
});
};
}
-function Xb(e, t) {
- t || !Kb ? Zb(e) : Kb.addEventListener("resize", () => Zb(e), { once: !0 });
+function Gb(e, t) {
+ t || !Vb ? Kb(e) : Vb.addEventListener("resize", () => Kb(e), { once: !0 });
}
-function Zb(e) {
+function Kb(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
- let e = l_(n);
+ let e = f_(n);
if (e !== document.documentElement && e !== document.body && e !== n) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- Kb && (n = Math.min(n, Kb.offsetTop + Kb.height));
+ Vb && (n = Math.min(n, Vb.offsetTop + Vb.height));
let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);
e.scrollTo({
top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),
@@ -13015,14 +13015,14 @@ function Zb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function Vee(e, t, n) {
- let { overlayProps: r, underlayProps: i } = Gb({
+function Kee(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = Bb({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return Yb({ isDisabled: !t.isOpen }), iy(), (0, P.useEffect)(() => {
- if (t.isOpen && n.current) return B_([n.current], { shouldUseInert: !0 });
+ return Wb({ isDisabled: !t.isOpen }), ry(), (0, P.useEffect)(() => {
+ if (t.isOpen && n.current) return J_([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: H(r),
underlayProps: i
@@ -13030,32 +13030,32 @@ function Vee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var Qb = {
+var qb = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, $b = {
+}, Jb = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Hee = {
+}, qee = {
top: "left",
left: "top"
-}, ex = {
+}, Yb = {
top: "height",
left: "width"
-}, tx = {
+}, Xb = {
width: "totalWidth",
height: "totalHeight"
-}, nx = {}, Uee = () => typeof document < "u" ? window.visualViewport : null;
-function rx(e, t) {
+}, Zb = {}, Jee = () => typeof document < "u" ? window.visualViewport : null;
+function Qb(e, t) {
let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;
if (e.tagName === "BODY" || e.tagName === "HTML") {
let l = document.documentElement;
i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));
- } else ({width: n, height: r, top: o, left: s} = lx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ } else ({width: n, height: r, top: o, left: s} = ix(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
return Sp() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
@@ -13066,7 +13066,7 @@ function rx(e, t) {
left: s
};
}
-function Wee(e) {
+function Yee(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -13074,11 +13074,11 @@ function Wee(e) {
height: e.scrollHeight
};
}
-function ix(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[ex[e]], l = o[e] + r.scroll[Qb[e]] + a, u = o[e] + r.scroll[Qb[e]] + c - a, d = t - s + r.scroll[Qb[e]] + o[e] - r[Qb[e]], f = t - s + n + r.scroll[Qb[e]] + o[e] - r[Qb[e]];
+function $b(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[Yb[e]], l = o[e] + r.scroll[qb[e]] + a, u = o[e] + r.scroll[qb[e]] + c - a, d = t - s + r.scroll[qb[e]] + o[e] - r[qb[e]], f = t - s + n + r.scroll[qb[e]] + o[e] - r[qb[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function Gee(e) {
+function Xee(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -13087,55 +13087,55 @@ function Gee(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function ax(e) {
- if (nx[e]) return nx[e];
- let [t, n] = e.split(" "), r = Qb[t] || "right", i = Hee[r];
- Qb[n] || (n = "center");
- let a = ex[r], o = ex[i];
- return nx[e] = {
+function ex(e) {
+ if (Zb[e]) return Zb[e];
+ let [t, n] = e.split(" "), r = qb[t] || "right", i = qee[r];
+ qb[n] || (n = "center");
+ let a = Yb[r], o = Yb[i];
+ return Zb[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, nx[e];
+ }, Zb[e];
}
-function ox(e, t, n, r, i, a, o, s, c, l, u) {
+function tx(e, t, n, r, i, a, o, s, c, l, u) {
let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};
_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;
let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;
- if (_[m] = N_(_[m], v, y), d === p) {
- let t = s ? u[h] : u[tx[h]];
- _[$b[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = V_(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[Xb[h]];
+ _[Jb[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function Kee(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[tx.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function Zee(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[Xb.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),
bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))
};
return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));
}
-function sx(e, t, n, r, i, a, o, s) {
+function nx(e, t, n, r, i, a, o, s) {
let { placement: c, axis: l, size: u } = a;
- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[$b[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[$b[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Jb[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Jb[l]] - i);
}
-function qee(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = ax(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = ox(t, s, n, v, u, d, l, f, m, h, c), T = u, E = sx(s, l, t, i, a + u, v, c, g);
+function Qee(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = ex(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = tx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = nx(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = ax(`${$b[S]} ${C}`), r = ox(t, s, n, e, u, d, l, f, m, h, c);
- sx(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = ex(`${Jb[S]} ${C}`), r = tx(t, s, n, e, u, d, l, f, m, h, c);
+ nx(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
}
let D = "bottom";
v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));
- let O = ix(b, w[b], n[x], s, c, a, l);
+ let O = $b(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = Kee(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = ox(t, s, n, v, T, d, l, f, m, h, c), O = ix(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[Qb[b]], M = j + .5 * t[x], N = m / 2 + h, P = Qb[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), F = n[x] - P - m / 2 - h;
- A[b] = N_(N_(M, t[b] + m / 2 - (w[b] + i[Qb[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Qb[b]])), N, F), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = Zee(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = tx(t, s, n, v, T, d, l, f, m, h, c), O = $b(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[qb[b]], M = j + .5 * t[x], N = m / 2 + h, P = qb[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), F = n[x] - P - m / 2 - h;
+ A[b] = V_(V_(M, t[b] + m / 2 - (w[b] + i[qb[b]]), t[b] + t[x] - m / 2 - (w[b] + i[qb[b]])), N, F), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let I = S === "left" || S === "top" ? n[y] : 0, ee = {
x: S === "top" || S === "bottom" ? j : I,
y: S === "left" || S === "right" ? j : I
@@ -13149,17 +13149,17 @@ function qee(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ee
};
}
-function Jee(e) {
- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Uee(), h = r instanceof HTMLElement ? Yee(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? lx(n, !1, p) : ux(n, h, !1, p);
+function $ee(e) {
+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Jee(), h = r instanceof HTMLElement ? ete(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? ix(n, !1, p) : ax(n, h, !1, p);
if (!g) {
let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);
y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;
}
- let b = lx(r, !0), x = Gee(r);
+ let b = ix(r, !0), x = Xee(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = Wee(i), C = rx(s, m), w = rx(h, m), T;
+ let S = Yee(i), C = Qb(s, m), w = Qb(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = cx(h, !1);
+ let e = rx(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -13171,11 +13171,11 @@ function Jee(e) {
left: 0,
width: 0,
height: 0
- } : ux(s, h, !1);
+ } : ax(s, h, !1);
let E = Jf(s, h);
- return qee(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ return Qee(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function cx(e, t) {
+function rx(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {
top: n,
@@ -13184,8 +13184,8 @@ function cx(e, t) {
height: a
};
}
-function lx(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || cx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function ix(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || rx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -13193,29 +13193,29 @@ function lx(e, t, n) {
height: o
};
}
-function ux(e, t, n, r) {
+function ax(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || cx(e, n);
+ if (i.position === "fixed") a = r || rx(e, n);
else {
- a = lx(e, n, r);
- let i = lx(t, n), o = window.getComputedStyle(t);
+ a = ix(e, n, r);
+ let i = ix(t, n), o = window.getComputedStyle(t);
i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;
}
return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;
}
-function Yee(e) {
+function ete(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !dx(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !dx(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ox(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ox(t);) t = t.parentElement;
return t || document.documentElement;
}
-function dx(e) {
+function ox(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var fx = typeof document < "u" ? window.visualViewport : null;
-function Xee(e) {
+var sx = typeof document < "u" ? window.visualViewport : null;
+function tte(e) {
let { direction: t } = Xh(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, P.useState)(null), x = [
p,
s,
@@ -13233,12 +13233,12 @@ function Xee(e) {
g,
_,
n
- ], S = (0, P.useRef)(fx?.scale);
+ ], S = (0, P.useRef)(sx?.scale);
(0, P.useEffect)(() => {
- m && (S.current = fx?.scale);
+ m && (S.current = sx?.scale);
}, [m]);
let C = (0, P.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || fx?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || sx?.scale !== S.current) return;
let e = null;
if (o.current && Zf(o.current)) {
let t = Yf()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
@@ -13249,8 +13249,8 @@ function Xee(e) {
}
let h = i.current;
!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");
- let y = Jee({
- placement: Qee(s, t),
+ let y = $ee({
+ placement: rte(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -13260,7 +13260,7 @@ function Xee(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? cx(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? rx(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
@@ -13273,10 +13273,10 @@ function Xee(e) {
}
b(y);
}, x);
- cp(C, x), Zee(C), sb({
+ cp(C, x), nte(C), nb({
ref: i,
onResize: C
- }), sb({
+ }), nb({
ref: r,
onResize: C
});
@@ -13289,16 +13289,16 @@ function Xee(e) {
}, n = () => {
w.current && t();
};
- fx?.addEventListener("resize", t), fx?.addEventListener("scroll", n);
+ sx?.addEventListener("resize", t), sx?.addEventListener("scroll", n);
let r = Wf(Xf(window), "scroll", n);
return () => {
- fx?.removeEventListener("resize", t), fx?.removeEventListener("scroll", n), r();
+ sx?.removeEventListener("resize", t), sx?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, P.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return Nv({
+ return Eee({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -13324,25 +13324,25 @@ function Xee(e) {
updatePosition: C
};
}
-function Zee(e) {
+function nte(e) {
cp(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function Qee(e, t) {
+function rte(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function $ee(e, t) {
- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Gb({
+function ite(e, t) {
+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Bb({
isOpen: t.isOpen,
onClose: t.close,
shouldCloseOnBlur: !0,
isDismissable: !a || l,
isKeyboardDismissDisabled: o,
shouldCloseOnInteractOutside: s
- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Xee({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = tte({
...c,
targetRef: n,
overlayRef: r,
@@ -13350,15 +13350,15 @@ function $ee(e, t) {
onClose: a && !l ? t.close : null,
getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)
});
- Yb({ isDisabled: a || !t.isOpen }), (0, P.useEffect)(() => {
- if (t.isOpen && r.current) return a ? Oee(i?.current ?? r.current) : B_([i?.current ?? r.current], { shouldUseInert: !0 });
+ Wb({ isDisabled: a || !t.isOpen }), (0, P.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? bee(i?.current ?? r.current) : J_([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = A_(e);
+ let { focusWithinProps: g } = R_(e);
return {
popoverProps: H(u, f, g),
arrowProps: p,
@@ -13369,13 +13369,13 @@ function $ee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var px = /* @__PURE__ */ new WeakMap();
+var cx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function ete(e, t, n) {
+function ate(e, t, n) {
let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {
e.stopPropagation(), t.setSelectedValue(r);
- }, { pressProps: g, isPressed: _ } = Ng({
+ }, { pressProps: g, isPressed: _ } = Sg({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13383,7 +13383,7 @@ function ete(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = Ng({
+ }), { pressProps: v, isPressed: y } = Sg({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13393,11 +13393,11 @@ function ete(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = eh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = _g(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = eh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = lg(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = px.get(t);
- h_(n, t.defaultSelectedValue, t.setSelectedValue), g_({ validationBehavior: O }, t, n);
- let k = __();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = cx.get(t);
+ b_(n, t.defaultSelectedValue, t.setSelectedValue), x_({ validationBehavior: O }, t, n);
+ let k = T_();
return {
labelProps: H(v, (0, P.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -13429,13 +13429,13 @@ function ete(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function tte(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Xh(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = k_({
+function ote(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Xh(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = L_({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = _g(e, { labelable: !0 }), { focusWithinProps: v } = A_({
+ }), _ = lg(e, { labelable: !0 }), { focusWithinProps: v } = R_({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -13443,7 +13443,7 @@ function tte(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = t_(n.currentTarget, {
+ let r = n_(n.currentTarget, {
from: V(n),
accept: (e) => e instanceof zf(e).HTMLInputElement && e.type === "radio"
}), i;
@@ -13458,7 +13458,7 @@ function tte(e, t) {
},
allowRepeats: !0
}), x = Om(n);
- return px.set(t, {
+ return cx.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -13487,18 +13487,18 @@ function tte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var mx = /* @__PURE__ */ new WeakMap();
-function nte(e, t, n) {
+var lx = /* @__PURE__ */ new WeakMap();
+function ste(e, t, n) {
let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Zv({
usage: "search",
sensitivity: "base"
- }), u = (0, P.useMemo)(() => r || new q_(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, P.useMemo)(() => r || new ev(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = Iv({
+ ]), { menuTriggerProps: d, menuProps: f } = kee({
isDisabled: i,
type: "listbox"
}, t, n), { keyboardProps: p } = Ym({
@@ -13517,21 +13517,21 @@ function nte(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = Rv({
+ }), { typeSelectProps: m } = Bv({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
t.setSelectedKey(e);
}
- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = k_({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = L_({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = _g(e, { labelable: !0 }), C = H(m, d, y), w = Om();
- return mx.set(t, {
+ let S = lg(e, { labelable: !0 }), C = H(m, d, y), w = Om();
+ return lx.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -13592,13 +13592,13 @@ function nte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function rte(e, t, n) {
- let r = mx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = F_({ style: {
+function cte(e, t, n) {
+ let r = lx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = U_({ style: {
position: "fixed",
top: 0,
left: 0
} });
- h_(e.selectRef, t.defaultValue, t.setValue), g_({
+ b_(e.selectRef, t.defaultValue, t.setValue), x_({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -13628,8 +13628,8 @@ function rte(e, t, n) {
}
};
}
-function ite(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, P.useRef)(null), c = (0, P.useRef)(null), { containerProps: l, selectProps: u } = rte({
+function lte(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, P.useRef)(null), c = (0, P.useRef)(null), { containerProps: l, selectProps: u } = cte({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -13653,7 +13653,7 @@ function ite(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = mx.get(t) || {};
+ let { validationBehavior: e } = lx.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -13684,8 +13684,8 @@ function ite(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function ate(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = E_(e, t, n);
+function ute(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = P_(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -13699,10 +13699,10 @@ function ate(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var hx = class {
+var ux = class {
constructor(e) {
if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new ote(e.layout) : new K_(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new dte(e.layout) : new $_(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -13738,7 +13738,7 @@ var hx = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of Hv(n, this.collection)) {
+ for (let e of Uv(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -13772,13 +13772,13 @@ var hx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Hv(t, this.collection);
- return (this.direction === "rtl" ? Gv(e)?.key : Uv(e)?.key) ?? null;
+ let e = Uv(t, this.collection);
+ return (this.direction === "rtl" ? Kv(e)?.key : Wv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = Hv(n, this.collection), i = (this.direction === "rtl" ? Wv(r, t.index - 1) : Wv(r, t.index + 1)) ?? null;
+ let r = Uv(n, this.collection), i = (this.direction === "rtl" ? Gv(r, t.index - 1) : Gv(r, t.index + 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;
}
return null;
@@ -13787,13 +13787,13 @@ var hx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Hv(t, this.collection);
- return (this.direction === "rtl" ? Uv(e)?.key : Gv(e)?.key) ?? null;
+ let e = Uv(t, this.collection);
+ return (this.direction === "rtl" ? Wv(e)?.key : Kv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = Hv(n, this.collection), i = (this.direction === "rtl" ? Wv(r, t.index + 1) : Wv(r, t.index - 1)) ?? null;
+ let r = Uv(n, this.collection), i = (this.direction === "rtl" ? Gv(r, t.index + 1) : Gv(r, t.index - 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;
}
return null;
@@ -13804,13 +13804,13 @@ var hx = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? Uv(Hv(e, this.collection))?.key ?? null : null;
+ return e ? Wv(Uv(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = Uv(Hv(e, this.collection))?.key ?? null;
+ n = Wv(Uv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -13820,13 +13820,13 @@ var hx = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? Gv(Hv(e, this.collection))?.key ?? null : null;
+ return e ? Kv(Uv(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = Gv(Hv(e, this.collection))?.key ?? null;
+ n = Kv(Uv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -13862,13 +13862,13 @@ var hx = class {
if (!t) return null;
if (t.textValue) {
let n = t.textValue.slice(0, e.length);
- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Uv(Hv(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Wv(Uv(t, this.collection))?.key ?? null : t.key;
}
n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);
}
return null;
}
-}, ote = class {
+}, dte = class {
constructor(e) {
this.layout = e;
}
@@ -13881,16 +13881,16 @@ var hx = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, gx = /* @__PURE__ */ new WeakMap();
+}, dx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function ste(e, t, n) {
+function fte(e, t, n) {
let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
let h = Zv({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Xh(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new hx({
+ }), { direction: g } = Xh(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new ux({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -13907,7 +13907,7 @@ function ste(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = Vv({
+ ]), { collectionProps: y } = Hv({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -13916,7 +13916,7 @@ function ste(e, t, n) {
disallowTypeAhead: i,
escapeKeyBehavior: d
}), b = Om(e.id);
- gx.set(t, {
+ dx.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -13925,10 +13925,10 @@ function ste(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = nb({
+ let x = Iee({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = _g(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {
+ }), S = lg(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {
if (m.isFocused) {
Jf(e.currentTarget, V(e)) || m.setFocused(!1);
return;
@@ -13937,36 +13937,36 @@ function ste(e, t, n) {
}, [m]), w = (0, P.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = eb(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
+ }), [C, y.onBlur]), T = Zy(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), Qy({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), Pee({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var _x = /* @__PURE__ */ new WeakMap();
-function vx(e) {
+var fx = /* @__PURE__ */ new WeakMap();
+function px(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function cte(e, t) {
- let n = _x.get(e);
+function pte(e, t) {
+ let n = fx.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${vx(t)}`;
+ return `${n}-${px(t)}`;
}
-function yx(e, t, n) {
- let r = _x.get(e);
+function mx(e, t, n) {
+ let r = fx.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${vx(t)}-${vx(n)}`;
+ return `${r}-${px(t)}-${px(n)}`;
}
-function bx(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => yx(e, t, n)).join(" ");
+function hx(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => mx(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var xx = {};
-xx = {
+var gx = {};
+gx = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -13981,8 +13981,8 @@ xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var Sx = {};
-Sx = {
+var _x = {};
+_x = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -13997,8 +13997,8 @@ Sx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var Cx = {};
-Cx = {
+var vx = {};
+vx = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -14013,8 +14013,8 @@ Cx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var wx = {};
-wx = {
+var yx = {};
+yx = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -14029,8 +14029,8 @@ wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var Tx = {};
-Tx = {
+var bx = {};
+bx = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -14045,8 +14045,8 @@ Tx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Ex = {};
-Ex = {
+var xx = {};
+xx = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -14061,8 +14061,8 @@ Ex = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Dx = {};
-Dx = {
+var Sx = {};
+Sx = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -14077,8 +14077,8 @@ Dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Ox = {};
-Ox = {
+var Cx = {};
+Cx = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -14093,8 +14093,8 @@ Ox = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var kx = {};
-kx = {
+var wx = {};
+wx = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -14109,8 +14109,8 @@ kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Ax = {};
-Ax = {
+var Tx = {};
+Tx = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -14125,8 +14125,8 @@ Ax = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var jx = {};
-jx = {
+var Ex = {};
+Ex = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -14141,8 +14141,8 @@ jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var Mx = {};
-Mx = {
+var Dx = {};
+Dx = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -14157,8 +14157,8 @@ Mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Nx = {};
-Nx = {
+var Ox = {};
+Ox = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -14173,8 +14173,8 @@ Nx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Px = {};
-Px = {
+var kx = {};
+kx = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -14189,8 +14189,8 @@ Px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Fx = {};
-Fx = {
+var Ax = {};
+Ax = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -14205,8 +14205,8 @@ Fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Ix = {};
-Ix = {
+var jx = {};
+jx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -14221,8 +14221,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Lx = {};
-Lx = {
+var Mx = {};
+Mx = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -14237,8 +14237,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Rx = {};
-Rx = {
+var Nx = {};
+Nx = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -14253,8 +14253,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var zx = {};
-zx = {
+var Px = {};
+Px = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -14269,8 +14269,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Bx = {};
-Bx = {
+var Fx = {};
+Fx = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -14285,8 +14285,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var Vx = {};
-Vx = {
+var Ix = {};
+Ix = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -14301,8 +14301,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Hx = {};
-Hx = {
+var Lx = {};
+Lx = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -14317,8 +14317,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Ux = {};
-Ux = {
+var Rx = {};
+Rx = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -14333,8 +14333,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Wx = {};
-Wx = {
+var zx = {};
+zx = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -14349,8 +14349,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Gx = {};
-Gx = {
+var Bx = {};
+Bx = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -14365,8 +14365,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Kx = {};
-Kx = {
+var Vx = {};
+Vx = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -14381,8 +14381,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var qx = {};
-qx = {
+var Hx = {};
+Hx = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -14397,8 +14397,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var Jx = {};
-Jx = {
+var Ux = {};
+Ux = {
ascending: "naraščajoče",
ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,
collapse: "Strni",
@@ -14413,8 +14413,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var Yx = {};
-Yx = {
+var Wx = {};
+Wx = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -14429,8 +14429,8 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var Xx = {};
-Xx = {
+var Gx = {};
+Gx = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -14445,8 +14445,8 @@ Xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var Zx = {};
-Zx = {
+var Kx = {};
+Kx = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -14461,8 +14461,8 @@ Zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var Qx = {};
-Qx = {
+var qx = {};
+qx = {
ascending: "висхідний",
ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,
collapse: "Згорнути",
@@ -14477,8 +14477,8 @@ Qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var $x = {};
-$x = {
+var Jx = {};
+Jx = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -14493,8 +14493,8 @@ $x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var eS = {};
-eS = {
+var Yx = {};
+Yx = {
ascending: "遞增",
ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,
collapse: "收合",
@@ -14509,46 +14509,46 @@ eS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var tS = {};
-tS = {
- "ar-AE": xx,
- "bg-BG": Sx,
- "cs-CZ": Cx,
- "da-DK": wx,
- "de-DE": Tx,
- "el-GR": Ex,
- "en-US": Dx,
- "es-ES": Ox,
- "et-EE": kx,
- "fi-FI": Ax,
- "fr-FR": jx,
- "he-IL": Mx,
- "hr-HR": Nx,
- "hu-HU": Px,
- "it-IT": Fx,
- "ja-JP": Ix,
- "ko-KR": Lx,
- "lt-LT": Rx,
- "lv-LV": zx,
- "nb-NO": Bx,
- "nl-NL": Vx,
- "pl-PL": Hx,
- "pt-BR": Ux,
- "pt-PT": Wx,
- "ro-RO": Gx,
- "ru-RU": Kx,
- "sk-SK": qx,
- "sl-SI": Jx,
- "sr-SP": Yx,
- "sv-SE": Xx,
- "tr-TR": Zx,
- "uk-UA": Qx,
- "zh-CN": $x,
- "zh-TW": eS
+var Xx = {};
+Xx = {
+ "ar-AE": gx,
+ "bg-BG": _x,
+ "cs-CZ": vx,
+ "da-DK": yx,
+ "de-DE": bx,
+ "el-GR": xx,
+ "en-US": Sx,
+ "es-ES": Cx,
+ "et-EE": wx,
+ "fi-FI": Tx,
+ "fr-FR": Ex,
+ "he-IL": Dx,
+ "hr-HR": Ox,
+ "hu-HU": kx,
+ "it-IT": Ax,
+ "ja-JP": jx,
+ "ko-KR": Mx,
+ "lt-LT": Nx,
+ "lv-LV": Px,
+ "nb-NO": Fx,
+ "nl-NL": Ix,
+ "pl-PL": Lx,
+ "pt-BR": Rx,
+ "pt-PT": zx,
+ "ro-RO": Bx,
+ "ru-RU": Vx,
+ "sk-SK": Hx,
+ "sl-SI": Ux,
+ "sr-SP": Wx,
+ "sv-SE": Gx,
+ "tr-TR": Kx,
+ "uk-UA": qx,
+ "zh-CN": Jx,
+ "zh-TW": Yx
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var lte = class extends hx {
+var mte = class extends ux {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -14556,7 +14556,7 @@ var lte = class extends hx {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = Uv(Hv(n, this.collection));
+ let e = Wv(Uv(n, this.collection));
if (e) return e.key;
let t = this.getFirstKey();
return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);
@@ -14577,13 +14577,13 @@ var lte = class extends hx {
let t = this.findNextKey(e.key, (e) => e.type === "column");
if (t != null) return t;
let n = this.collection.headerRows[e.level];
- for (let e of Hv(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of Uv(n, this.collection)) if (e.type === "column") return e.key;
return null;
}
findPreviousColumnKey(e) {
let t = this.findPreviousKey(e.key, (e) => e.type === "column");
if (t != null) return t;
- let n = this.collection.headerRows[e.level], r = [...Hv(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...Uv(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -14612,7 +14612,7 @@ var lte = class extends hx {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of Hv(o, this.collection)) {
+ for (let r of Uv(o, this.collection)) {
let a = n.columns[r.index];
if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {
let a = r.textValue.slice(0, e.length);
@@ -14626,14 +14626,14 @@ var lte = class extends hx {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function ute(e) {
+function hte(e) {
return e && e.__esModule ? e.default : e;
}
-function dte(e, t, n) {
+function gte(e, t, n) {
let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Zv({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Xh(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new lte({
+ }), { direction: c } = Xh(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new mte({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -14653,34 +14653,34 @@ function dte(e, t, n) {
a,
o
]), d = Om(e.id);
- _x.set(t, d);
- let { gridProps: f } = ste({
+ fx.set(t, d);
+ let { gridProps: f } = fte({
...e,
id: d,
keyboardDelegate: u
}, t, n);
i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");
- let { column: p, direction: m } = t.sortDescriptor || {}, h = ug(ute(tS), "@react-aria/table"), g = (0, P.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = sg(hte(Xx), "@react-aria/table"), g = (0, P.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
m,
p,
t.collection.columns
- ]), _ = m_(g);
- return s_(() => {
- g && o_(g, "assertive", 500);
+ ]), _ = y_(g);
+ return u_(() => {
+ g && c_(g, "assertive", 500);
}, [g]), { gridProps: H(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function nS(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Xh(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = gx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = () => {
+function Zx(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Xh(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = dx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = () => {
if (n.current) {
- let e = t_(n.current);
+ let e = n_(n.current);
if (p === "child") {
if (Zf(n.current) && n.current !== Yf(Rf(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? rS(e) : e.firstChild();
+ let r = t.selectionManager.childFocusStrategy === "last" ? Qx(e) : e.firstChild();
if (r) {
xm(r);
return;
@@ -14688,7 +14688,7 @@ function nS(e, t, n) {
}
(m.current != null && r.key !== m.current || !Zf(n.current)) && xm(n.current);
}
- }, { itemProps: g, isPressed: _ } = ib({
+ }, { itemProps: g, isPressed: _ } = Qy({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -14702,29 +14702,29 @@ function nS(e, t, n) {
onKeyDownCapture: f !== "tab" || o ? (e) => {
let i = Yf(Rf(n.current));
if (!Jf(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = t_(n.current);
+ let a = n_(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) xm(t), f_(t, { containingElement: l_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) xm(t), g_(t, { containingElement: f_(n.current) });
else {
if (u.getKeyLeftOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (xm(n.current), f_(n.current, { containingElement: l_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : rS(a), t && (xm(t), f_(t, { containingElement: l_(n.current) })));
+ p === "cell" && l === "rtl" ? (xm(n.current), g_(n.current, { containingElement: f_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : Qx(a), t && (xm(t), g_(t, { containingElement: f_(n.current) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) xm(t), f_(t, { containingElement: l_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) xm(t), g_(t, { containingElement: f_(n.current) });
else {
if (u.getKeyRightOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (xm(n.current), f_(n.current, { containingElement: l_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? rS(a) : a.firstChild(), t && (xm(t), f_(t, { containingElement: l_(n.current) })));
+ p === "cell" && l === "ltr" ? (xm(n.current), g_(n.current, { containingElement: f_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? Qx(a) : a.firstChild(), t && (xm(t), g_(t, { containingElement: f_(n.current) })));
}
break;
}
@@ -14740,7 +14740,7 @@ function nS(e, t, n) {
return;
}
if (e.key === "Tab" && f === "tab") {
- let t = t_(n.current, { tabbable: !0 });
+ let t = n_(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -14769,7 +14769,7 @@ function nS(e, t, n) {
isPressed: _
};
}
-function rS(e) {
+function Qx(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -14778,23 +14778,23 @@ function rS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function fte(e, t, n) {
- let { gridCellProps: r, isPressed: i } = nS(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = yx(t, e.node.parentKey, a)), {
+function _te(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = Zx(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = mx(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function pte(e) {
+function vte(e) {
return e && e.__esModule ? e.default : e;
}
-function mte(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = nS({
+function yte(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Zx({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Ng({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Sg({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
@@ -14802,9 +14802,9 @@ function mte(e, t, n) {
ref: n
}), { focusableProps: l } = eh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !wp() && (u = d ? f : "none");
- let p = ug(pte(tS), "@react-aria/table"), m;
+ let p = sg(vte(Xx), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && wp() && (m = `${m}, ${p.format(f)}`));
- let h = m_(m), g = t.collection.size === 0;
+ let h = y_(m), g = t.collection.size === 0;
return (0, P.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -14815,7 +14815,7 @@ function mte(e, t, n) {
columnHeaderProps: {
...H(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: cte(t, r.key),
+ id: pte(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -14824,14 +14824,14 @@ function mte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function hte(e, t, n) {
+function bte(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function gte(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = gx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = ib({
+function xte(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = dx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Qy({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -14852,10 +14852,10 @@ function gte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function _te(e) {
+function Ste(e) {
return e && e.__esModule ? e.default : e;
}
-var iS = {
+var $x = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -14865,21 +14865,21 @@ var iS = {
rtl: "ArrowRight"
}
};
-function vte(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = gte(e, t, n), { direction: s } = Xh();
+function Cte(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = xte(e, t, n), { direction: s } = Xh();
i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];
- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = ug(_te(tS), "@react-aria/table"), u = zh({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = sg(Ste(Xx), "@react-aria/table"), u = zh({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": bx(t, r.key)
+ "aria-labelledby": hx(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = aS(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = aS(t.collection, a);
+ let n = eS(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = eS(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === iS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === iS.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
+ n.key === $x.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === $x.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -14901,41 +14901,41 @@ function vte(e, t, n) {
return {
rowProps: {
...H(a, d, m),
- "aria-labelledby": bx(t, r.key)
+ "aria-labelledby": hx(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function aS(e, t) {
+function eS(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function yte() {
+function wte() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function oS() {
- return yte();
+function tS() {
+ return wte();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function bte(e) {
+function Tte(e) {
return e && e.__esModule ? e.default : e;
}
-function xte(e, t) {
- let { key: n } = e, { checkboxProps: r } = Nee(e, t);
+function Ete(e, t) {
+ let { key: n } = e, { checkboxProps: r } = zee(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${bx(t, n)}`
+ "aria-labelledby": `${r.id} ${hx(t, n)}`
} };
}
-function Ste(e) {
+function Dte(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": ug(bte(tS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": sg(Tte(Xx), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
isSelected: n,
isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
isIndeterminate: !t && !n,
@@ -14944,21 +14944,21 @@ function Ste(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var sS = /* @__PURE__ */ new WeakMap();
-function cS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${sS.get(e)}-${n}-${t}`) : "";
+var nS = /* @__PURE__ */ new WeakMap();
+function rS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${nS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function Cte(e, t, n) {
- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = ib({
+function Ote(e, t, n) {
+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = Qy({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = cS(t, r, "tab"), m = cS(t, r, "tabpanel"), { tabIndex: h } = d, g = _g(u?.props, { labelable: !0 });
+ }), p = rS(t, r, "tab"), m = rS(t, r, "tabpanel"), { tabIndex: h } = d, g = lg(u?.props, { labelable: !0 });
delete g.id;
let _ = Pp(u?.props), { focusableProps: v } = eh({
...u?.props,
@@ -14980,7 +14980,7 @@ function Cte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var wte = class {
+var kte = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -15024,11 +15024,11 @@ var wte = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Tte(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Xh(), { collectionProps: l } = Vv({
+function Ate(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Xh(), { collectionProps: l } = Hv({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, P.useMemo)(() => new wte(a, c, r, s), [
+ keyboardDelegate: (0, P.useMemo)(() => new kte(a, c, r, s), [
a,
s,
r,
@@ -15039,7 +15039,7 @@ function Tte(e, t, n) {
scrollRef: n,
linkBehavior: "selection"
}), u = Om();
- return sS.set(t, u), { tabListProps: {
+ return nS.set(t, u), { tabListProps: {
...H(l, zh({
...e,
id: u
@@ -15051,12 +15051,12 @@ function Tte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Ete(e, t, n) {
- let r = eb(n) ? void 0 : 0, i = cS(t, e.id ?? t?.selectedKey, "tabpanel");
+function jte(e, t, n) {
+ let r = Zy(n) ? void 0 : 0, i = rS(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: H(zh({
...e,
id: i,
- "aria-labelledby": cS(t, t?.selectedKey, "tab")
+ "aria-labelledby": rS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -15066,7 +15066,7 @@ function Ete(e, t, n) {
}
//#endregion
//#region node_modules/scheduler/cjs/scheduler.production.js
-var Dte = /* @__PURE__ */ T(((e) => {
+var Mte = /* @__PURE__ */ T(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -15265,10 +15265,10 @@ var Dte = /* @__PURE__ */ T(((e) => {
}
};
};
-})), Ote = /* @__PURE__ */ T(((e, t) => {
- t.exports = Dte();
-})), kte = /* @__PURE__ */ T(((e) => {
- var t = Ote(), n = j(), r = oh();
+})), Nte = /* @__PURE__ */ T(((e, t) => {
+ t.exports = Mte();
+})), Pte = /* @__PURE__ */ T(((e) => {
+ var t = Nte(), n = j(), r = oh();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -23678,7 +23678,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
var n = !1, r = "", o = wc, s = Tc, c = Ec;
return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = yh(e, 1, !1, null, null, n, r, null, o, s, c, $h), e[xt] = t.current, $f(e), new eg(t);
};
-})), lS = (/* @__PURE__ */ T(((e, t) => {
+})), iS = (/* @__PURE__ */ T(((e, t) => {
function n() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
@@ -23686,8 +23686,8 @@ var Dte = /* @__PURE__ */ T(((e) => {
console.error(e);
}
}
- n(), t.exports = kte();
-})))(), Ate = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+ n(), t.exports = Pte();
+})))(), Fte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23695,7 +23695,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), jte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Ite = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23703,7 +23703,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.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" })), uS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.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" })), aS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23711,7 +23711,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.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" })), dS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.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" })), oS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23719,7 +23719,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.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" })), fS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.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" })), sS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23727,7 +23727,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Mte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Lte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23735,7 +23735,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), pS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), cS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23743,7 +23743,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), mS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), lS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23751,7 +23751,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Nte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Rte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23759,7 +23759,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.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" })), hS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.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" })), uS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23767,7 +23767,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), gS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), dS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23775,7 +23775,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), _S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), fS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23783,7 +23783,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), vS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), pS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23791,7 +23791,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Pte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), zte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23799,7 +23799,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), yS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), mS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23807,7 +23807,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), bS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), hS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23815,7 +23815,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Fte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Bte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23823,7 +23823,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Ite = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Vte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23831,7 +23831,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 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" })), xS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 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" })), gS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23839,7 +23839,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), SS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), _S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23847,7 +23847,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Lte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), vS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23855,7 +23855,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Rte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), yS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23863,7 +23863,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), zte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), bS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23871,7 +23871,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Bte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), xS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23879,7 +23879,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.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" })), Vte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.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" })), SS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23887,7 +23887,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Hte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), CS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23895,7 +23895,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.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" })), CS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.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" })), wS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23903,7 +23903,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.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" })), wS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.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" })), TS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23911,7 +23911,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), TS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), ES = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23919,7 +23919,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.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" })), ES = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.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" })), DS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23927,7 +23927,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Ute = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), OS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23935,7 +23935,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), DS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), kS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23943,7 +23943,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), OS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), AS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23951,7 +23951,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), kS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), jS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23959,7 +23959,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), AS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), MS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23967,7 +23967,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.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" })), jS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.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" })), NS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23975,7 +23975,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), Wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), PS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23983,100 +23983,100 @@ var Dte = /* @__PURE__ */ T(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Gte = (e, t) => {
+}, P.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), FS = (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;
-}, Kte = (e, t) => ({
+}, IS = (e, t) => ({
classGroupId: e,
validator: t
-}), MS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), LS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), NS = "-", PS = [], qte = "arbitrary..", Jte = (e) => {
- let t = Xte(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), RS = "-", zS = [], BS = "arbitrary..", VS = (e) => {
+ let t = WS(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return Yte(e);
- let n = e.split(NS);
- return FS(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return US(e);
+ let n = e.split(RS);
+ return HS(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? Gte(i, t) : t : i || PS;
+ return t ? i ? FS(i, t) : t : i || zS;
}
- return n[e] || PS;
+ return n[e] || zS;
}
};
-}, FS = (e, t, n) => {
+}, HS = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = FS(e, t + 1, i);
+ let n = HS(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(NS) : e.slice(t).join(NS), s = a.length;
+ let o = t === 0 ? e.join(RS) : e.slice(t).join(RS), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, Yte = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, US = (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 ? qte + r : void 0;
-})(), Xte = (e) => {
+ return r ? BS + r : void 0;
+})(), WS = (e) => {
let { theme: t, classGroups: n } = e;
- return Zte(n, t);
-}, Zte = (e, t) => {
- let n = MS();
+ return GS(n, t);
+}, GS = (e, t) => {
+ let n = LS();
for (let r in e) {
let i = e[r];
- IS(i, n, r, t);
+ KS(i, n, r, t);
}
return n;
-}, IS = (e, t, n, r) => {
+}, KS = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- Qte(i, t, n, r);
+ qS(i, t, n, r);
}
-}, Qte = (e, t, n, r) => {
+}, qS = (e, t, n, r) => {
if (typeof e == "string") {
- $te(e, t, n);
+ JS(e, t, n);
return;
}
if (typeof e == "function") {
- ene(e, t, n, r);
+ YS(e, t, n, r);
return;
}
- tne(e, t, n, r);
-}, $te = (e, t, n) => {
- let r = e === "" ? t : LS(t, e);
+ XS(e, t, n, r);
+}, JS = (e, t, n) => {
+ let r = e === "" ? t : ZS(t, e);
r.classGroupId = n;
-}, ene = (e, t, n, r) => {
- if (RS(e)) {
- IS(e(r), t, n, r);
+}, YS = (e, t, n, r) => {
+ if (QS(e)) {
+ KS(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(Kte(n, e));
-}, tne = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(IS(n, e));
+}, XS = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- IS(o, LS(t, a), n, r);
+ KS(o, ZS(t, a), n, r);
}
-}, LS = (e, t) => {
- let n = e, r = t.split(NS), i = r.length;
+}, ZS = (e, t) => {
+ let n = e, r = t.split(RS), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = MS(), n.nextPart.set(t, i)), n = i;
+ i || (i = LS(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, RS = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, zS = (e) => {
+}, QS = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, $S = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -24094,19 +24094,19 @@ var Dte = /* @__PURE__ */ T(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, BS = "!", VS = ":", HS = [], US = (e, t, n, r, i) => ({
+}, eC = "!", tC = ":", nC = [], rC = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), WS = (e) => {
+}), iC = (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 === VS) {
+ if (o === tC) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -24118,13 +24118,13 @@ var Dte = /* @__PURE__ */ T(((e) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(BS) ? (c = s.slice(0, -1), l = !0) : s.startsWith(BS) && (c = s.slice(1), l = !0);
+ s.endsWith(eC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(eC) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return US(t, l, c, u);
+ return rC(t, l, c, u);
};
if (t) {
- let e = t + VS, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : US(HS, !1, t, void 0, !0);
+ let e = t + tC, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : rC(nC, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -24134,7 +24134,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
});
}
return r;
-}, GS = (e) => {
+}, aC = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -24146,18 +24146,18 @@ var Dte = /* @__PURE__ */ T(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, KS = (e) => ({
- cache: zS(e.cacheSize),
- parseClassName: WS(e),
- sortModifiers: GS(e),
- postfixLookupClassGroupIds: qS(e),
- ...Jte(e)
-}), qS = (e) => {
+}, oC = (e) => ({
+ cache: $S(e.cacheSize),
+ parseClassName: iC(e),
+ sortModifiers: aC(e),
+ postfixLookupClassGroupIds: sC(e),
+ ...VS(e)
+}), sC = (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;
-}, JS = /\s+/, YS = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(JS), l = "";
+}, cC = /\s+/, lC = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(cC), 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) {
@@ -24181,7 +24181,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + BS : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + eC : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -24192,34 +24192,34 @@ var Dte = /* @__PURE__ */ T(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, nne = (...e) => {
+}, uC = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = XS(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = dC(n)) && (i && (i += " "), i += r);
return i;
-}, XS = (e) => {
+}, dC = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = XS(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = dC(e[r])) && (n && (n += " "), n += t);
return n;
-}, ZS = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = KS(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, fC = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = oC(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 = YS(e, n);
+ let a = lC(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(nne(...e));
-}, rne = [], QS = (e) => {
- let t = (t) => t[e] || rne;
+ return a = o, (...e) => a(uC(...e));
+}, pC = [], mC = (e) => {
+ let t = (t) => t[e] || pC;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, $S = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, eC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ine = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ane = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, one = /\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$/, sne = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, cne = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, lne = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, tC = (e) => ine.test(e), nC = (e) => !!e && !Number.isNaN(Number(e)), rC = (e) => !!e && Number.isInteger(Number(e)), iC = (e) => e.endsWith("%") && nC(e.slice(0, -1)), aC = (e) => ane.test(e), oC = () => !0, une = (e) => one.test(e) && !sne.test(e), sC = () => !1, dne = (e) => cne.test(e), fne = (e) => lne.test(e), pne = (e) => !U(e) && !W(e), cC = (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)), lC = (e) => wC(e, OC, sC), U = (e) => $S.test(e), uC = (e) => wC(e, kC, une), dC = (e) => wC(e, mne, nC), fC = (e) => wC(e, jC, oC), pC = (e) => wC(e, AC, sC), mC = (e) => wC(e, EC, sC), hC = (e) => wC(e, DC, fne), gC = (e) => wC(e, MC, dne), W = (e) => eC.test(e), _C = (e) => TC(e, kC), vC = (e) => TC(e, AC), yC = (e) => TC(e, EC), bC = (e) => TC(e, OC), xC = (e) => TC(e, DC), SC = (e) => TC(e, MC, !0), CC = (e) => TC(e, jC, !0), wC = (e, t, n) => {
- let r = $S.exec(e);
+}, hC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, gC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, _C = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, vC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yC = /\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$/, bC = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, xC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, SC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, CC = (e) => _C.test(e), wC = (e) => !!e && !Number.isNaN(Number(e)), TC = (e) => !!e && Number.isInteger(Number(e)), EC = (e) => e.endsWith("%") && wC(e.slice(0, -1)), DC = (e) => vC.test(e), OC = () => !0, kC = (e) => yC.test(e) && !bC.test(e), AC = () => !1, jC = (e) => xC.test(e), MC = (e) => SC.test(e), NC = (e) => !U(e) && !W(e), PC = (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)), FC = (e) => XC(e, ew, AC), U = (e) => hC.test(e), IC = (e) => XC(e, tw, kC), LC = (e) => XC(e, nw, wC), RC = (e) => XC(e, iw, OC), zC = (e) => XC(e, rw, AC), BC = (e) => XC(e, QC, AC), VC = (e) => XC(e, $C, MC), HC = (e) => XC(e, aw, jC), W = (e) => gC.test(e), UC = (e) => ZC(e, tw), WC = (e) => ZC(e, rw), GC = (e) => ZC(e, QC), KC = (e) => ZC(e, ew), qC = (e) => ZC(e, $C), JC = (e) => ZC(e, aw, !0), YC = (e) => ZC(e, iw, !0), XC = (e, t, n) => {
+ let r = hC.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, TC = (e, t, n = !1) => {
- let r = eC.exec(e);
+}, ZC = (e, t, n = !1) => {
+ let r = gC.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, EC = (e) => e === "position" || e === "percentage", DC = (e) => e === "image" || e === "url", OC = (e) => e === "length" || e === "size" || e === "bg-size", kC = (e) => e === "length", mne = (e) => e === "number", AC = (e) => e === "family-name", jC = (e) => e === "number" || e === "weight", MC = (e) => e === "shadow", NC = () => {
- let e = QS("color"), t = QS("font"), n = QS("text"), r = QS("font-weight"), i = QS("tracking"), a = QS("leading"), o = QS("breakpoint"), s = QS("container"), c = QS("spacing"), l = QS("radius"), u = QS("shadow"), d = QS("inset-shadow"), f = QS("text-shadow"), p = QS("drop-shadow"), m = QS("blur"), h = QS("perspective"), g = QS("aspect"), _ = QS("ease"), v = QS("animate"), y = () => [
+}, QC = (e) => e === "position" || e === "percentage", $C = (e) => e === "image" || e === "url", ew = (e) => e === "length" || e === "size" || e === "bg-size", tw = (e) => e === "length", nw = (e) => e === "number", rw = (e) => e === "family-name", iw = (e) => e === "number" || e === "weight", aw = (e) => e === "shadow", ow = () => {
+ let e = mC("color"), t = mC("font"), n = mC("text"), r = mC("font-weight"), i = mC("tracking"), a = mC("leading"), o = mC("breakpoint"), s = mC("container"), c = mC("spacing"), l = mC("radius"), u = mC("shadow"), d = mC("inset-shadow"), f = mC("text-shadow"), p = mC("drop-shadow"), m = mC("blur"), h = mC("perspective"), g = mC("aspect"), _ = mC("ease"), v = mC("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -24261,12 +24261,12 @@ var Dte = /* @__PURE__ */ T(((e) => {
U,
c
], T = () => [
- tC,
+ CC,
"full",
"auto",
...w()
], E = () => [
- rC,
+ TC,
"none",
"subgrid",
W,
@@ -24275,15 +24275,15 @@ var Dte = /* @__PURE__ */ T(((e) => {
"auto",
{ span: [
"full",
- rC,
+ TC,
W,
U
] },
- rC,
+ TC,
W,
U
], O = () => [
- rC,
+ TC,
"auto",
W,
U
@@ -24313,7 +24313,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- tC,
+ CC,
"auto",
"full",
"dvw",
@@ -24328,7 +24328,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
...w()
], P = () => [
s,
- tC,
+ CC,
"screen",
"full",
"dvw",
@@ -24339,7 +24339,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
"fit",
...w()
], F = () => [
- tC,
+ CC,
"screen",
"full",
"lh",
@@ -24356,8 +24356,8 @@ var Dte = /* @__PURE__ */ T(((e) => {
U
], ee = () => [
...b(),
- yC,
- mC,
+ GC,
+ BC,
{ position: [W, U] }
], te = () => ["no-repeat", { repeat: [
"",
@@ -24369,13 +24369,13 @@ var Dte = /* @__PURE__ */ T(((e) => {
"auto",
"cover",
"contain",
- bC,
- lC,
+ KC,
+ FC,
{ size: [W, U] }
], re = () => [
- iC,
- _C,
- uC
+ EC,
+ UC,
+ IC
], ie = () => [
"",
"none",
@@ -24385,9 +24385,9 @@ var Dte = /* @__PURE__ */ T(((e) => {
U
], ae = () => [
"",
- nC,
- _C,
- uC
+ wC,
+ UC,
+ IC
], oe = () => [
"solid",
"dashed",
@@ -24411,10 +24411,10 @@ var Dte = /* @__PURE__ */ T(((e) => {
"color",
"luminosity"
], ce = () => [
- nC,
- iC,
- yC,
- mC
+ wC,
+ EC,
+ GC,
+ BC
], le = () => [
"",
"none",
@@ -24423,20 +24423,20 @@ var Dte = /* @__PURE__ */ T(((e) => {
U
], L = () => [
"none",
- nC,
+ wC,
W,
U
], ue = () => [
"none",
- nC,
+ wC,
W,
U
], R = () => [
- nC,
+ wC,
W,
U
], z = () => [
- tC,
+ CC,
"full",
...w()
];
@@ -24450,17 +24450,17 @@ var Dte = /* @__PURE__ */ T(((e) => {
"bounce"
],
aspect: ["video"],
- blur: [aC],
- breakpoint: [aC],
- color: [oC],
- container: [aC],
- "drop-shadow": [aC],
+ blur: [DC],
+ breakpoint: [DC],
+ color: [OC],
+ container: [DC],
+ "drop-shadow": [DC],
ease: [
"in",
"out",
"in-out"
],
- font: [pne],
+ font: [NC],
"font-weight": [
"thin",
"extralight",
@@ -24472,7 +24472,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
"extrabold",
"black"
],
- "inset-shadow": [aC],
+ "inset-shadow": [DC],
leading: [
"none",
"tight",
@@ -24489,11 +24489,11 @@ var Dte = /* @__PURE__ */ T(((e) => {
"distant",
"none"
],
- radius: [aC],
- shadow: [aC],
- spacing: ["px", nC],
- text: [aC],
- "text-shadow": [aC],
+ radius: [DC],
+ shadow: [DC],
+ spacing: ["px", wC],
+ text: [DC],
+ "text-shadow": [DC],
tracking: [
"tighter",
"tight",
@@ -24507,7 +24507,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
aspect: [{ aspect: [
"auto",
"square",
- tC,
+ CC,
U,
W,
g
@@ -24520,9 +24520,9 @@ var Dte = /* @__PURE__ */ T(((e) => {
W,
U
] }],
- "container-named": [cC],
+ "container-named": [PC],
columns: [{ columns: [
- nC,
+ wC,
"auto",
U,
W,
@@ -24622,13 +24622,13 @@ var Dte = /* @__PURE__ */ T(((e) => {
"collapse"
],
z: [{ z: [
- rC,
+ TC,
"auto",
W,
U
] }],
basis: [{ basis: [
- tC,
+ CC,
"full",
"auto",
s,
@@ -24646,8 +24646,8 @@ var Dte = /* @__PURE__ */ T(((e) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- nC,
- tC,
+ wC,
+ CC,
"auto",
"initial",
"none",
@@ -24655,18 +24655,18 @@ var Dte = /* @__PURE__ */ T(((e) => {
] }],
grow: [{ grow: [
"",
- nC,
+ wC,
W,
U
] }],
shrink: [{ shrink: [
"",
- nC,
+ wC,
W,
U
] }],
order: [{ order: [
- rC,
+ TC,
"first",
"last",
"none",
@@ -24778,15 +24778,15 @@ var Dte = /* @__PURE__ */ T(((e) => {
"font-size": [{ text: [
"base",
n,
- _C,
- uC
+ UC,
+ IC
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- CC,
- fC
+ YC,
+ RC
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -24798,12 +24798,12 @@ var Dte = /* @__PURE__ */ T(((e) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- iC,
+ EC,
U
] }],
"font-family": [{ font: [
- vC,
- pC,
+ WC,
+ zC,
t
] }],
"font-features": [{ "font-features": [U] }],
@@ -24819,10 +24819,10 @@ var Dte = /* @__PURE__ */ T(((e) => {
U
] }],
"line-clamp": [{ "line-clamp": [
- nC,
+ wC,
"none",
W,
- dC
+ LC
] }],
leading: [{ leading: [
"none",
@@ -24860,15 +24860,15 @@ var Dte = /* @__PURE__ */ T(((e) => {
],
"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- nC,
+ wC,
"from-font",
"auto",
W,
- uC
+ IC
] }],
"text-decoration-color": [{ decoration: I() }],
"underline-offset": [{ "underline-offset": [
- nC,
+ wC,
"auto",
W,
U
@@ -24892,7 +24892,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- rC,
+ TC,
W,
U
] }],
@@ -24970,7 +24970,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
"l",
"tl"
] },
- rC,
+ TC,
W,
U
],
@@ -24981,13 +24981,13 @@ var Dte = /* @__PURE__ */ T(((e) => {
],
conic: [
"",
- rC,
+ TC,
W,
U
]
},
- xC,
- hC
+ qC,
+ VC
] }],
"bg-color": [{ bg: I() }],
"gradient-from-pos": [{ from: re() }],
@@ -25054,15 +25054,15 @@ var Dte = /* @__PURE__ */ T(((e) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- nC,
+ wC,
W,
U
] }],
"outline-w": [{ outline: [
"",
- nC,
- _C,
- uC
+ wC,
+ UC,
+ IC
] }],
"outline-color": [{ outline: I() }],
shadow: [{ shadow: [
@@ -25070,33 +25070,33 @@ var Dte = /* @__PURE__ */ T(((e) => {
"inner",
"none",
u,
- SC,
- gC
+ JC,
+ HC
] }],
"shadow-color": [{ shadow: I() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- SC,
- gC
+ JC,
+ HC
] }],
"inset-shadow-color": [{ "inset-shadow": I() }],
"ring-w": [{ ring: ae() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: I() }],
- "ring-offset-w": [{ "ring-offset": [nC, uC] }],
+ "ring-offset-w": [{ "ring-offset": [wC, IC] }],
"ring-offset-color": [{ "ring-offset": I() }],
"inset-ring-w": [{ "inset-ring": ae() }],
"inset-ring-color": [{ "inset-ring": I() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- SC,
- gC
+ JC,
+ HC
] }],
"text-shadow-color": [{ "text-shadow": I() }],
opacity: [{ opacity: [
- nC,
+ wC,
W,
U
] }],
@@ -25120,7 +25120,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [nC] }],
+ "mask-image-linear-pos": [{ "mask-linear": [wC] }],
"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": I() }],
@@ -25160,7 +25160,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [nC] }],
+ "mask-image-conic-pos": [{ "mask-conic": [wC] }],
"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": I() }],
@@ -25195,12 +25195,12 @@ var Dte = /* @__PURE__ */ T(((e) => {
] }],
blur: [{ blur: le() }],
brightness: [{ brightness: [
- nC,
+ wC,
W,
U
] }],
contrast: [{ contrast: [
- nC,
+ wC,
W,
U
] }],
@@ -25208,35 +25208,35 @@ var Dte = /* @__PURE__ */ T(((e) => {
"",
"none",
p,
- SC,
- gC
+ JC,
+ HC
] }],
"drop-shadow-color": [{ "drop-shadow": I() }],
grayscale: [{ grayscale: [
"",
- nC,
+ wC,
W,
U
] }],
"hue-rotate": [{ "hue-rotate": [
- nC,
+ wC,
W,
U
] }],
invert: [{ invert: [
"",
- nC,
+ wC,
W,
U
] }],
saturate: [{ saturate: [
- nC,
+ wC,
W,
U
] }],
sepia: [{ sepia: [
"",
- nC,
+ wC,
W,
U
] }],
@@ -25248,45 +25248,45 @@ var Dte = /* @__PURE__ */ T(((e) => {
] }],
"backdrop-blur": [{ "backdrop-blur": le() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- nC,
+ wC,
W,
U
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- nC,
+ wC,
W,
U
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- nC,
+ wC,
W,
U
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- nC,
+ wC,
W,
U
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- nC,
+ wC,
W,
U
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- nC,
+ wC,
W,
U
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- nC,
+ wC,
W,
U
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- nC,
+ wC,
W,
U
] }],
@@ -25309,7 +25309,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- nC,
+ wC,
"initial",
W,
U
@@ -25322,7 +25322,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
U
] }],
delay: [{ delay: [
- nC,
+ wC,
W,
U
] }],
@@ -25367,7 +25367,7 @@ var Dte = /* @__PURE__ */ T(((e) => {
"translate-z": [{ "translate-z": z() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- rC,
+ TC,
W,
U
] }],
@@ -25511,10 +25511,10 @@ var Dte = /* @__PURE__ */ T(((e) => {
] }],
fill: [{ fill: ["none", ...I()] }],
"stroke-w": [{ stroke: [
- nC,
- _C,
- uC,
- dC
+ wC,
+ UC,
+ IC,
+ LC
] }],
stroke: [{ stroke: ["none", ...I()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -25772,16 +25772,16 @@ var Dte = /* @__PURE__ */ T(((e) => {
"selection"
]
};
-}, hne = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (PC(e, "cacheSize", t), PC(e, "prefix", n), PC(e, "experimentalParseClassName", r), FC(e.theme, a.theme), FC(e.classGroups, a.classGroups), FC(e.conflictingClassGroups, a.conflictingClassGroups), FC(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), PC(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), PC(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), IC(e.theme, i.theme), IC(e.classGroups, i.classGroups), IC(e.conflictingClassGroups, i.conflictingClassGroups), IC(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), LC(e, i, "postfixLookupClassGroups"), LC(e, i, "orderSensitiveModifiers"), e), PC = (e, t, n) => {
+}, sw = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (cw(e, "cacheSize", t), cw(e, "prefix", n), cw(e, "experimentalParseClassName", r), lw(e.theme, a.theme), lw(e.classGroups, a.classGroups), lw(e.conflictingClassGroups, a.conflictingClassGroups), lw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), cw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), cw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), uw(e.theme, i.theme), uw(e.classGroups, i.classGroups), uw(e.conflictingClassGroups, i.conflictingClassGroups), uw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), dw(e, i, "postfixLookupClassGroups"), dw(e, i, "orderSensitiveModifiers"), e), cw = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, FC = (e, t) => {
- if (t) for (let n in t) PC(e, n, t[n]);
-}, IC = (e, t) => {
- if (t) for (let n in t) LC(e, t, n);
-}, LC = (e, t, n) => {
+}, lw = (e, t) => {
+ if (t) for (let n in t) cw(e, n, t[n]);
+}, uw = (e, t) => {
+ if (t) for (let n in t) dw(e, t, n);
+}, dw = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, gne = (e, ...t) => typeof e == "function" ? ZS(NC, e, ...t) : ZS(() => hne(NC(), e), ...t), _ne = [
+}, fw = (e, ...t) => typeof e == "function" ? fC(ow, e, ...t) : fC(() => sw(ow(), e), ...t), pw = [
"large-title",
"display-1",
"display-2",
@@ -25795,18 +25795,18 @@ var Dte = /* @__PURE__ */ T(((e) => {
"body-2",
"caption-1",
"caption-2"
-], vne = [
+], mw = [
"regular",
"medium",
"semibold",
"bold"
-], RC = gne({ extend: { classGroups: { "font-size": [{ text: _ne.flatMap((e) => vne.map((t) => `${e}-${t}`)) }] } } });
-function zC(e) {
+], hw = fw({ extend: { classGroups: { "font-size": [{ text: pw.flatMap((e) => mw.map((t) => `${e}-${t}`)) }] } } });
+function gw(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var BC = zC({
+var _w = gw({
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",
@@ -25825,16 +25825,16 @@ var BC = zC({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function VC({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function vw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, F.jsx)("span", {
ref: r,
- className: RC(BC.base, BC.variant[e], BC.color[t], n),
+ className: hw(_w.base, _w.variant[e], _w.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var HC = zC({
+var yw = gw({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -25893,40 +25893,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, F.jsxs)("button", {
ref: c,
type: s,
- className: RC(HC.base, HC.size[t], HC.variant[e], n && HC.iconOnlySize[t], o),
+ className: hw(yw.base, yw.size[t], yw.variant[e], n && yw.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, F.jsx)(r, {
- className: HC.icon[t],
+ className: yw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, F.jsx)("span", {
- className: HC.label[t],
+ className: yw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, F.jsx)(i, {
- className: HC.icon[t],
+ className: yw.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function UC({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function bw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, F.jsxs)("a", {
ref: s,
- className: RC(HC.base, HC.size[t], HC.variant[e], n && HC.iconOnlySize[t], o),
+ className: hw(yw.base, yw.size[t], yw.variant[e], n && yw.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, F.jsx)(r, {
- className: HC.icon[t],
+ className: yw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, F.jsx)("span", {
- className: HC.label[t],
+ className: yw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, F.jsx)(i, {
- className: HC.icon[t],
+ className: yw.icon[t],
"aria-hidden": !0
}) : null
]
@@ -25934,13 +25934,13 @@ function UC({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/api.ts
-var WC = class extends Error {
+var xw = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(a(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, GC = (e) => {
+}, Sw = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -25953,7 +25953,7 @@ var WC = class extends Error {
}
return "";
}, K = (e) => a(e);
-async function KC(e, t) {
+async function Cw(e, t) {
let n = await fetch(e, {
headers: { Accept: "application/json" },
credentials: "same-origin",
@@ -25962,7 +25962,7 @@ async function KC(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new WC(GC(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new xw(Sw(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function q(e, t, n = "POST", r) {
@@ -25979,52 +25979,52 @@ async function q(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new WC(GC(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new xw(Sw(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/card.tsx
-var yne = "min-w-0", bne = {
+var ww = "min-w-0", Tw = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, xne = {
+}, Ew = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Sne = {
+}, Dw = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Cne = {
+}, Ow = {
none: "",
default: "p-5"
-}, wne = "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", Tne = "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 qC(e = {}) {
+}, kw = "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", Aw = "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 jw(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 [
- yne,
- bne[t],
- xne[s],
- Cne[n],
- a ? Sne[a] : "",
- r ? wne : "",
- i ? Tne : "",
+ ww,
+ Tw[t],
+ Ew[s],
+ Ow[n],
+ a ? Dw[a] : "",
+ r ? kw : "",
+ i ? Aw : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Ene = {
+var Mw = {
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 JC({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function Nw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${Ene[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${Mw[i]}`,
children: [
a ? /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
@@ -26054,7 +26054,7 @@ function JC({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function YC({ label: e, inline: t = !1 }) {
+function Pw({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, F.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -26120,7 +26120,7 @@ function J({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function XC({ children: e }) {
+function Fw({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -26128,21 +26128,21 @@ function XC({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var ZC = 100, QC = .4;
-function $C({ 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 * ZC;
+var Iw = 100, Lw = .4;
+function Rw({ 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 * Iw;
return /* @__PURE__ */ (0, F.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${ZC} 1`,
+ viewBox: `0 0 ${Iw} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, F.jsx)("rect", {
- width: ZC,
+ width: Iw,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -26153,7 +26153,7 @@ function $C({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, F.jsx)("rect", {
x: a(e),
- width: QC,
+ width: Lw,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -26162,7 +26162,7 @@ function $C({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function ew(e = "") {
+function zw(e = "") {
let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(""), [i, a] = (0, P.useState)(e);
(0, P.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -26200,11 +26200,11 @@ var X = new lt({ defaultOptions: { queries: {
refetchOnWindowFocus: !1,
refetchOnMount: !1,
retryOnMount: !1
-} } }), tw = "/api/tasks", nw = ["tasks"], rw = (e, t) => KC(`${tw}?${new URLSearchParams({
+} } }), Bw = "/api/tasks", Vw = ["tasks"], Hw = (e, t) => Cw(`${Bw}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function iw(...e) {
+function Uw(...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) => {
@@ -26212,26 +26212,26 @@ function iw(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var aw = 2e3, ow = 1e4, sw = (e) => e?.running.length ? aw : ow, cw = (e) => KC(tw, e);
-async function lw(e) {
+var Ww = 2e3, Gw = 1e4, Kw = (e) => e?.running.length ? Ww : Gw, qw = (e) => Cw(Bw, e);
+async function Jw(e) {
await X.fetchQuery({
- queryKey: nw,
- queryFn: () => cw(e)
+ queryKey: Vw,
+ queryFn: () => qw(e)
});
}
-var uw = {
+var Yw = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, dw = {
+}, Xw = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, fw = (e) => dw[e] || e, pw = {
+}, Zw = (e) => Xw[e] || e, Qw = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -26261,7 +26261,7 @@ var uw = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function mw(e) {
+function $w(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -26270,7 +26270,7 @@ function mw(e) {
}
return t;
}
-function hw(e, t) {
+function eT(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -26292,19 +26292,19 @@ function hw(e, t) {
}
return n;
}
-var gw = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), _w = (e) => e.status === "pending" || e.status === "running";
-function vw(e) {
+var tT = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), nT = (e) => e.status === "pending" || e.status === "running";
+function rT(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 || Sw(e.result_summary) || (_w(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || sT(e.result_summary) || (nT(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function yw(e) {
+function iT(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 bw(e) {
+function aT(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -26314,7 +26314,7 @@ function bw(e) {
minute: "2-digit"
});
}
-var xw = /* @__PURE__ */ new Set([
+var oT = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -26323,28 +26323,28 @@ var xw = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function Sw(e) {
- return Object.entries(e || {}).filter(([e, t]) => !xw.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${pw[e] || e} ${t}`).join(" · ");
+function sT(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !oT.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Qw[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var Cw = {
+var cT = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function ww({ status: e }) {
- return /* @__PURE__ */ (0, F.jsx)(VC, {
- color: Cw[e] ?? "neutral",
- children: fw(e)
+function lT({ status: e }) {
+ return /* @__PURE__ */ (0, F.jsx)(vw, {
+ color: cT[e] ?? "neutral",
+ children: Zw(e)
});
}
-function Tw({ rows: e }) {
+function uT({ rows: e }) {
return /* @__PURE__ */ (0, F.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = vw(e);
+ let t = rT(e);
return /* @__PURE__ */ (0, F.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -26354,7 +26354,7 @@ function Tw({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, F.jsx)(ww, { status: e.status }),
+ /* @__PURE__ */ (0, F.jsx)(lT, { status: e.status }),
t ? /* @__PURE__ */ (0, F.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -26364,12 +26364,12 @@ function Tw({ rows: e }) {
})
});
}
-function Ew({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function dT({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, F.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: qC({
+ className: jw({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -26383,7 +26383,7 @@ function Ew({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, F.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, F.jsx)(ww, { status: e.status })]
+ }), /* @__PURE__ */ (0, F.jsx)(lT, { status: e.status })]
}),
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -26392,7 +26392,7 @@ function Ew({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, F.jsx)(Tw, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, F.jsx)(uT, { rows: i }) : null,
r ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
children: /* @__PURE__ */ (0, F.jsx)("p", {
@@ -26403,15 +26403,15 @@ function Ew({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function Dw({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = yw(e.elapsed_seconds), o = [uw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, F.jsx)(Ew, {
+function fT({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = iT(e.elapsed_seconds), o = [Yw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, F.jsx)(dT, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, F.jsx)($C, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Rw, {
label: i,
value: r,
max: n
@@ -26426,20 +26426,20 @@ function Dw({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, F.jsx)(YC, { label: i })
+ }) : /* @__PURE__ */ (0, F.jsx)(Pw, { label: i })
});
}
-function Ow({ run: e, followups: t, runs: n }) {
- let r = Sw(e.result_summary), i = yw(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- uw[e.trigger] || e.trigger,
+function pT({ run: e, followups: t, runs: n }) {
+ let r = sT(e.result_summary), i = iT(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ Yw[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${bw(a.finished_at)} – ${bw(e.finished_at)}`
+ `${aT(a.finished_at)} – ${aT(e.finished_at)}`
] : [
- uw[e.trigger] || e.trigger,
- bw(e.finished_at),
+ Yw[e.trigger] || e.trigger,
+ aT(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, F.jsx)(Ew, {
+ return /* @__PURE__ */ (0, F.jsx)(dT, {
run: e,
meta: o,
footer: e.error,
@@ -26450,7 +26450,7 @@ function Ow({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function kw({ title: e, children: t }) {
+function mT({ title: e, children: t }) {
let n = (0, P.useId)();
return /* @__PURE__ */ (0, F.jsxs)("section", {
"aria-labelledby": n,
@@ -26462,41 +26462,41 @@ function kw({ title: e, children: t }) {
}), t]
});
}
-function Aw({ live: e = !1, children: t }) {
+function hT({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, F.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function Dne(e) {
+function gT(e) {
let t = St({
- queryKey: nw,
- queryFn: ({ signal: e }) => cw(e),
- refetchInterval: (e) => sw(e.state.data)
+ queryKey: Vw,
+ queryFn: ({ signal: e }) => qw(e),
+ refetchInterval: (e) => Kw(e.state.data)
}), n = t.data, r = n?.finished, [i, a] = (0, P.useState)([]), [o, s] = (0, P.useState)(!1), [c, l] = (0, P.useState)(r);
- r !== c && (l(r), i.length && c && a(iw(i, c)));
+ r !== c && (l(r), i.length && c && a(Uw(i, c)));
let u = Ct({
- mutationFn: ({ oldest: e }) => rw(e),
+ mutationFn: ({ oldest: e }) => Hw(e),
onSuccess: (e, { shown: t }) => {
- a((n) => iw(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => Uw(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? K(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, F.jsx)(XC, { children: /* @__PURE__ */ (0, F.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, F.jsx)(Fw, { children: /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = iw(n.finished || [], i), p = [
+ let f = Uw(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = mw(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 = $w(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(_w)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = hw(w, (e) => gw(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, F.jsxs)(XC, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(nT)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = eT(w, (e) => tT(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, F.jsxs)(Fw, { children: [
d ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
children: d
@@ -26505,20 +26505,20 @@ function Dne(e) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, F.jsx)(JC, {
+ E ? /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: SS,
+ icon: _S,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(kw, {
+ /* @__PURE__ */ (0, F.jsx)(mT, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, F.jsxs)(Aw, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, F.jsxs)(hT, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, F.jsx)(Dw, {
+ children: [S.map((e) => /* @__PURE__ */ (0, F.jsx)(fT, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, F.jsx)(Ow, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, F.jsx)(pT, {
run: e,
followups: m.get(e.id)
}, e.id))]
@@ -26527,17 +26527,17 @@ function Dne(e) {
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, F.jsx)(kw, {
+ C.length ? /* @__PURE__ */ (0, F.jsx)(mT, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, F.jsx)(Aw, { children: C.map((e) => /* @__PURE__ */ (0, F.jsx)(Ow, {
+ children: /* @__PURE__ */ (0, F.jsx)(hT, { children: C.map((e) => /* @__PURE__ */ (0, F.jsx)(pT, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, F.jsxs)(kw, {
+ w.length || y ? /* @__PURE__ */ (0, F.jsxs)(mT, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, F.jsx)(Aw, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, F.jsx)(Ow, {
+ w.length ? /* @__PURE__ */ (0, F.jsx)(hT, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, F.jsx)(pT, {
run: e,
runs: t,
followups: m.get(e.id)
@@ -26549,7 +26549,7 @@ function Dne(e) {
y ? /* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: uS,
+ leadingIcon: aS,
className: "self-start",
...Y(u.isPending),
onClick: b,
@@ -26562,12 +26562,12 @@ function Dne(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var jw = Symbol("default");
-function Mw({ values: e, children: t }) {
+var _T = Symbol("default");
+function vT({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ P.createElement(n.Provider, { value: r }, t);
return t;
}
-function Nw(e) {
+function yT(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, P.useMemo)(() => {
let e, l, u;
@@ -26601,11 +26601,11 @@ function Nw(e) {
c
]);
}
-function Pw(e, t) {
+function bT(e, t) {
let n = (0, P.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || jw;
+ let e = t || _T;
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}.`);
@@ -26614,8 +26614,8 @@ function Pw(e, t) {
}
return n;
}
-function Fw(e, t, n) {
- let { ref: r, ...i } = Pw(n, e.slot) || {}, a = Xm((0, P.useMemo)(() => jm(t, r), [t, r])), o = H(i, e);
+function xT(e, t, n) {
+ let { ref: r, ...i } = bT(n, e.slot) || {}, a = Xm((0, P.useMemo)(() => jm(t, r), [t, r])), o = H(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,
@@ -26633,7 +26633,7 @@ function Fw(e, t, n) {
...e.style
}), [o, a];
}
-function Iw(e = !0) {
+function ST(e = !0) {
let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(!1), i = (0, P.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -26641,12 +26641,12 @@ function Iw(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function Lw(e) {
+function CT(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function One(e, t, n) {
+function Hte(e, t, n) {
let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => jm(n, a), [n, a]);
cp(() => {}, [e, r]);
let s = {
@@ -26655,19 +26655,19 @@ function One(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ P.createElement(e, s);
}
-var Rw = {}, zw = new Proxy({}, { get(e, t) {
+var wT = {}, TT = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = Rw[t];
- return n || (n = /*#__PURE__*/ (0, P.forwardRef)(One.bind(null, t)), Rw[t] = n), n;
-} }), Bw = /*#__PURE__*/ (0, P.createContext)(null), Vw = /*#__PURE__*/ (0, P.createContext)(null), kne = /*#__PURE__*/ (0, P.createContext)(null), Hw = {
+ let n = wT[t];
+ return n || (n = /*#__PURE__*/ (0, P.forwardRef)(Hte.bind(null, t)), wT[t] = n), n;
+} }), ET = /*#__PURE__*/ (0, P.createContext)(null), DT = /*#__PURE__*/ (0, P.createContext)(null), Ute = /*#__PURE__*/ (0, P.createContext)(null), OT = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return Uw(e, null, t);
+ return kT(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return Uw(e, t, n);
+ return kT(e, t, n);
}
};
-function Uw(e, t, n) {
+function kT(e, t, n) {
return jf({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -26678,11 +26678,11 @@ function Uw(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, Ane(e, t, n));
+ }), r, Wte(e, t, n));
}
});
}
-function Ane(e, t, n) {
+function Wte(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);
@@ -26701,25 +26701,25 @@ function Ane(e, t, n) {
}
return s;
}
-var Ww = /*#__PURE__*/ (0, P.createContext)(Hw);
-function jne(e) {
+var AT = /*#__PURE__*/ (0, P.createContext)(OT);
+function Gte(e) {
return (0, P.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var Gw = /*#__PURE__*/ (0, P.createContext)({}), Mne = /*#__PURE__*/ rh(function(e, t) {
- [e, t] = Fw(e, t, Gw);
- let { elementType: n = "label", ...r } = e, i = zw[n];
+var jT = /*#__PURE__*/ (0, P.createContext)({}), Kte = /*#__PURE__*/ rh(function(e, t) {
+ [e, t] = xT(e, t, jT);
+ let { elementType: n = "label", ...r } = e, i = TT[n];
return /*#__PURE__*/ P.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), Nne = /*#__PURE__*/ (0, P.createContext)(null), Kw = /*#__PURE__*/ (0, P.createContext)({}), Pne = /*#__PURE__*/ rh(function(e, t) {
- [e, t] = Fw(e, t, Kw);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = nee(e, t);
- i = Ine(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = oy(e), { hoverProps: l, isHovered: u } = py({
+}), qte = /*#__PURE__*/ (0, P.createContext)(null), MT = /*#__PURE__*/ (0, P.createContext)({}), Jte = /*#__PURE__*/ rh(function(e, t) {
+ [e, t] = xT(e, t, MT);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Ag(e, t);
+ i = Xte(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = ay(e), { hoverProps: l, isHovered: u } = fy({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -26729,7 +26729,7 @@ var Gw = /*#__PURE__*/ (0, P.createContext)({}), Mne = /*#__PURE__*/ rh(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = Nw({
+ }, f = yT({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -26738,15 +26738,15 @@ var Gw = /*#__PURE__*/ (0, P.createContext)({}), Mne = /*#__PURE__*/ rh(function
let g = (0, P.useRef)(r);
(0, P.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && o_(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && c_(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = _g(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ P.createElement(zw.button, {
+ let _ = lg(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ P.createElement(TT.button, {
...H(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -26760,62 +26760,62 @@ var Gw = /*#__PURE__*/ (0, P.createContext)({}), Mne = /*#__PURE__*/ rh(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ P.createElement(Nne.Provider, { value: { id: m } }, f.children));
-}), Fne = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function Ine(e, t) {
+ }, /*#__PURE__*/ P.createElement(qte.Provider, { value: { id: m } }, f.children));
+}), Yte = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function Xte(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !Fne.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !Yte.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 qw = /*#__PURE__*/ (0, P.createContext)({}), Jw = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = Fw(e, t, qw);
- let { children: n, level: r = 3, className: i, ...a } = e, o = zw[`h${r}`];
+var NT = /*#__PURE__*/ (0, P.createContext)({}), PT = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ [e, t] = xT(e, t, NT);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = TT[`h${r}`];
return /*#__PURE__*/ P.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), Yw = /*#__PURE__*/ (0, P.createContext)({}), Lne = /*#__PURE__*/ rh(function(e, t) {
- [e, t] = Fw(e, t, Yw);
- let { elementType: n = "span", ...r } = e, i = zw[n];
+}), FT = /*#__PURE__*/ (0, P.createContext)({}), Zte = /*#__PURE__*/ rh(function(e, t) {
+ [e, t] = xT(e, t, FT);
+ let { elementType: n = "span", ...r } = e, i = TT[n];
return /*#__PURE__*/ P.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), Xw = /*#__PURE__*/ (0, P.createContext)(null), Zw = /*#__PURE__*/ (0, P.createContext)(null), Qw = /*#__PURE__*/ (0, P.createContext)(null), $w = /*#__PURE__*/ (0, P.createContext)(null), Rne = /*#__PURE__*/ (0, P.createContext)(null), eT = /*#__PURE__*/ (0, P.createContext)(null);
-function zne(e, t) {
- let { validationBehavior: n } = Pw(Zw) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(Rne), a = Xm((0, P.useMemo)(() => jm(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...Lw(e),
+}), IT = /*#__PURE__*/ (0, P.createContext)(null), LT = /*#__PURE__*/ (0, P.createContext)(null), RT = /*#__PURE__*/ (0, P.createContext)(null), zT = /*#__PURE__*/ (0, P.createContext)(null), Qte = /*#__PURE__*/ (0, P.createContext)(null), BT = /*#__PURE__*/ (0, P.createContext)(null);
+function $te(e, t) {
+ let { validationBehavior: n } = bT(LT) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(Qte), a = Xm((0, P.useMemo)(() => jm(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...CT(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? Tee(o, i, a) : D_(o, M_(e), a), a];
+ return [i ? _ee(o, i, a) : F_(o, B_(e), a), a];
}
-var Bne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+var ene = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Fw(r, t, Qw);
- let [i, a] = zne(e, n);
- return /*#__PURE__*/ P.createElement(eT.Provider, { value: {
+ [e, t] = xT(r, t, RT);
+ let [i, a] = $te(e, n);
+ return /*#__PURE__*/ P.createElement(BT.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ P.createElement(Vne, {
+ } }, /*#__PURE__*/ P.createElement(tne, {
...e,
ref: t
}));
-}), Vne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, P.useContext)(eT), { isFocused: p, isFocusVisible: m, focusProps: h } = oy(), g = a || o, { hoverProps: _, isHovered: v } = py({
+}), tne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, P.useContext)(BT), { isFocused: p, isFocusVisible: m, focusProps: h } = ay(), g = a || o, { hoverProps: _, isHovered: v } = fy({
...e,
isDisabled: g
- }), y = Nw({
+ }), y = yT({
...e,
defaultClassName: u,
values: {
@@ -26830,8 +26830,8 @@ var Bne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = _g(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(zw.label, {
+ }), b = lg(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(TT.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -26845,20 +26845,20 @@ var Bne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ P.createElement(I_, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
+ }, /*#__PURE__*/ P.createElement(W_, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
...H(r, h),
ref: l
})), y.children);
-}), tT = /*#__PURE__*/ (0, P.createContext)({}), Hne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = Fw(e, t, tT);
+}), VT = /*#__PURE__*/ (0, P.createContext)({}), nne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ [e, t] = xT(e, t, VT);
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 } = py({
+ let { hoverProps: l, isHovered: u } = fy({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = oy({ within: !0 }), m = Nw({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = ay({ within: !0 }), m = yT({
...e,
values: {
isHovered: u,
@@ -26869,7 +26869,7 @@ var Bne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ P.createElement(zw.div, {
+ return /*#__PURE__*/ P.createElement(TT.div, {
...H(c, p, l),
...m,
ref: t,
@@ -26882,18 +26882,18 @@ var Bne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), nT = /*#__PURE__*/ (0, P.createContext)({}), Une = (e) => {
+}), HT = /*#__PURE__*/ (0, P.createContext)({}), rne = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Wne = /*#__PURE__*/ rh(function(e, t) {
- [e, t] = Fw(e, t, nT);
- let { hoverProps: n, isHovered: r } = py({
+}, ine = /*#__PURE__*/ rh(function(e, t) {
+ [e, t] = xT(e, t, HT);
+ let { hoverProps: n, isHovered: r } = fy({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = oy({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = ay({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Nw({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = yT({
...e,
values: {
isHovered: r,
@@ -26904,8 +26904,8 @@ var Bne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ P.createElement(zw.input, {
- ...H(Une(e), o, n),
+ return /*#__PURE__*/ P.createElement(TT.input, {
+ ...H(rne(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -26914,8 +26914,8 @@ var Bne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), rT = {};
-rT = {
+}), UT = {};
+UT = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -26923,8 +26923,8 @@ rT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var iT = {};
-iT = {
+var WT = {};
+WT = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -26932,8 +26932,8 @@ iT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var aT = {};
-aT = {
+var GT = {};
+GT = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -26941,8 +26941,8 @@ aT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var oT = {};
-oT = {
+var KT = {};
+KT = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -26950,8 +26950,8 @@ oT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var sT = {};
-sT = {
+var qT = {};
+qT = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -26959,8 +26959,8 @@ sT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var cT = {};
-cT = {
+var JT = {};
+JT = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -26968,8 +26968,8 @@ cT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var lT = {};
-lT = {
+var YT = {};
+YT = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -26977,8 +26977,8 @@ lT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var uT = {};
-uT = {
+var XT = {};
+XT = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -26986,8 +26986,8 @@ uT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var dT = {};
-dT = {
+var ZT = {};
+ZT = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -26995,8 +26995,8 @@ dT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var fT = {};
-fT = {
+var QT = {};
+QT = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -27004,8 +27004,8 @@ fT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var pT = {};
-pT = {
+var $T = {};
+$T = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -27013,8 +27013,8 @@ pT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var mT = {};
-mT = {
+var eE = {};
+eE = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -27022,8 +27022,8 @@ mT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var hT = {};
-hT = {
+var tE = {};
+tE = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -27031,8 +27031,8 @@ hT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var gT = {};
-gT = {
+var nE = {};
+nE = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -27040,8 +27040,8 @@ gT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var _T = {};
-_T = {
+var rE = {};
+rE = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -27049,8 +27049,8 @@ _T = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var vT = {};
-vT = {
+var iE = {};
+iE = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -27058,8 +27058,8 @@ vT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var yT = {};
-yT = {
+var aE = {};
+aE = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -27067,8 +27067,8 @@ yT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var bT = {};
-bT = {
+var oE = {};
+oE = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -27076,8 +27076,8 @@ bT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var xT = {};
-xT = {
+var sE = {};
+sE = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -27085,8 +27085,8 @@ xT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var ST = {};
-ST = {
+var cE = {};
+cE = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -27094,8 +27094,8 @@ ST = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var CT = {};
-CT = {
+var lE = {};
+lE = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -27103,8 +27103,8 @@ CT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var wT = {};
-wT = {
+var uE = {};
+uE = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -27112,8 +27112,8 @@ wT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var TT = {};
-TT = {
+var dE = {};
+dE = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -27121,8 +27121,8 @@ TT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var ET = {};
-ET = {
+var fE = {};
+fE = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -27130,8 +27130,8 @@ ET = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var DT = {};
-DT = {
+var pE = {};
+pE = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -27139,8 +27139,8 @@ DT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var OT = {};
-OT = {
+var mE = {};
+mE = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -27148,8 +27148,8 @@ OT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var kT = {};
-kT = {
+var hE = {};
+hE = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -27157,8 +27157,8 @@ kT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var AT = {};
-AT = {
+var gE = {};
+gE = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -27166,8 +27166,8 @@ AT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var jT = {};
-jT = {
+var _E = {};
+_E = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -27175,8 +27175,8 @@ jT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var MT = {};
-MT = {
+var vE = {};
+vE = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -27184,8 +27184,8 @@ MT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var NT = {};
-NT = {
+var yE = {};
+yE = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -27193,8 +27193,8 @@ NT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var PT = {};
-PT = {
+var bE = {};
+bE = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -27202,8 +27202,8 @@ PT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var FT = {};
-FT = {
+var xE = {};
+xE = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -27211,8 +27211,8 @@ FT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var IT = {};
-IT = {
+var SE = {};
+SE = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -27220,52 +27220,52 @@ IT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var LT = {};
-LT = {
- "ar-AE": rT,
- "bg-BG": iT,
- "cs-CZ": aT,
- "da-DK": oT,
- "de-DE": sT,
- "el-GR": cT,
- "en-US": lT,
- "es-ES": uT,
- "et-EE": dT,
- "fi-FI": fT,
- "fr-FR": pT,
- "he-IL": mT,
- "hr-HR": hT,
- "hu-HU": gT,
- "it-IT": _T,
- "ja-JP": vT,
- "ko-KR": yT,
- "lt-LT": bT,
- "lv-LV": xT,
- "nb-NO": ST,
- "nl-NL": CT,
- "pl-PL": wT,
- "pt-BR": TT,
- "pt-PT": ET,
- "ro-RO": DT,
- "ru-RU": OT,
- "sk-SK": kT,
- "sl-SI": AT,
- "sr-SP": jT,
- "sv-SE": MT,
- "tr-TR": NT,
- "uk-UA": PT,
- "zh-CN": FT,
- "zh-TW": IT
+var CE = {};
+CE = {
+ "ar-AE": UT,
+ "bg-BG": WT,
+ "cs-CZ": GT,
+ "da-DK": KT,
+ "de-DE": qT,
+ "el-GR": JT,
+ "en-US": YT,
+ "es-ES": XT,
+ "et-EE": ZT,
+ "fi-FI": QT,
+ "fr-FR": $T,
+ "he-IL": eE,
+ "hr-HR": tE,
+ "hu-HU": nE,
+ "it-IT": rE,
+ "ja-JP": iE,
+ "ko-KR": aE,
+ "lt-LT": oE,
+ "lv-LV": sE,
+ "nb-NO": cE,
+ "nl-NL": lE,
+ "pl-PL": uE,
+ "pt-BR": dE,
+ "pt-PT": fE,
+ "ro-RO": pE,
+ "ru-RU": mE,
+ "sk-SK": hE,
+ "sl-SI": gE,
+ "sr-SP": _E,
+ "sv-SE": vE,
+ "tr-TR": yE,
+ "uk-UA": bE,
+ "zh-CN": xE,
+ "zh-TW": SE
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var RT = /*#__PURE__*/ (0, P.createContext)({}), zT = /*#__PURE__*/ (0, P.createContext)(null), BT = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { render: n } = (0, P.useContext)(zT);
+var wE = /*#__PURE__*/ (0, P.createContext)({}), TE = /*#__PURE__*/ (0, P.createContext)(null), ane = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { render: n } = (0, P.useContext)(TE);
return /*#__PURE__*/ P.createElement(P.Fragment, null, n(e, t));
});
-function VT(e, t) {
+function EE(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, P.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ P.createElement(BT, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ P.createElement(ane, { target: e });
}, [
t?.target,
r,
@@ -27273,7 +27273,7 @@ function VT(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function HT(e, t, n) {
+function DE(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;
@@ -27296,14 +27296,14 @@ function HT(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var UT = /*#__PURE__*/ (0, P.createContext)({}), WT = /*#__PURE__*/ (0, P.createContext)(null);
-function GT(e) {
+var one = /*#__PURE__*/ (0, P.createContext)({}), sne = /*#__PURE__*/ (0, P.createContext)(null);
+function OE(e) {
let t = (0, P.useRef)({});
- return /*#__PURE__*/ P.createElement(WT.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ P.createElement(sne.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var KT = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), qT = /*#__PURE__*/ (0, P.createContext)({});
+var kE = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), cne = /*#__PURE__*/ (0, P.createContext)({});
(class extends Sf {
static {
this.type = "separator";
@@ -27319,13 +27319,13 @@ var KT = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), qT = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function JT(e) {
+function AE(e) {
let t = P.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 YT = class {
+var jE = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -27369,20 +27369,20 @@ var YT = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, XT = class e extends Set {
+}, ME = 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 ZT(e, t) {
+function lne(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function QT(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, P.useRef)(!1), [, s] = (0, P.useState)(!1), c = (0, P.useRef)(null), l = (0, P.useRef)(null), [, u] = (0, P.useState)(null), [d, f] = j_((0, P.useMemo)(() => $T(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => $T(e.defaultSelectedKeys, new XT()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, P.useState)(i);
+function NE(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, P.useRef)(!1), [, s] = (0, P.useState)(!1), c = (0, P.useRef)(null), l = (0, P.useRef)(null), [, u] = (0, P.useState)(null), [d, f] = z_((0, P.useMemo)(() => PE(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => PE(e.defaultSelectedKeys, new ME()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, P.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, P.useRef)(i);
return (0, P.useEffect)(() => {
@@ -27409,18 +27409,18 @@ function QT(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !ZT(e, d)) && f(e);
+ (r || !lne(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function $T(e, t) {
- return e ? e === "all" ? "all" : new XT(e) : t;
+function PE(e, t) {
+ return e ? e === "all" ? "all" : new ME(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var eE = class e {
+var FE = 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;
}
@@ -27476,7 +27476,7 @@ var eE = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Kv(this.collection, n, e) < 0) && (e = n);
+ (!e || n && qv(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -27484,7 +27484,7 @@ var eE = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Kv(this.collection, n, e) > 0) && (e = n);
+ (!e || n && qv(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -27503,10 +27503,10 @@ var eE = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new XT([t], t, t);
+ if (this.state.selectedKeys === "all") n = new ME([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new XT(e, r, t);
+ n = new ME(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);
}
@@ -27514,7 +27514,7 @@ var eE = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? Kv(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? qv(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
}
getKeyRangeInternal(e, t) {
if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
@@ -27540,19 +27540,19 @@ var eE = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new XT(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new ME(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 XT([t], t, t) : new XT();
+ let n = this.canSelectItem(t) ? new ME([t], t, t) : new ME();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new XT();
+ let t = new ME();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -27564,7 +27564,7 @@ var eE = class e {
for (; r != null;) {
if (this.canSelectItemIn(r, e)) {
let i = e.getItem(r);
- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Uv(Hv(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Wv(Uv(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -27575,7 +27575,7 @@ var eE = 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 XT());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new ME());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -27616,9 +27616,9 @@ var eE = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Gne = class {
+}, une = class {
build(e, t) {
- return this.context = t, tE(() => this.iterateCollection(e));
+ return this.context = t, IE(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -27700,10 +27700,10 @@ var eE = class e {
...a,
key: l,
index: s,
- wrapper: Kne(e.wrapper, a.wrapper)
+ wrapper: dne(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 <${nE(t.type)}> in <${nE(r?.type ?? "unknown parent type")}>. Only <${nE(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 <${LE(t.type)}> in <${LE(r?.type ?? "unknown parent type")}>. Only <${LE(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -27725,7 +27725,7 @@ var eE = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: tE(function* () {
+ childNodes: IE(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -27744,7 +27744,7 @@ var eE = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function tE(e) {
+function IE(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -27752,18 +27752,18 @@ function tE(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Kne(e, t) {
+function dne(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function nE(e) {
+function LE(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function rE(e, t, n) {
- let r = (0, P.useMemo)(() => new Gne(), []), { children: i, items: a, collection: o } = e;
+function RE(e, t, n) {
+ let r = (0, P.useMemo)(() => new une(), []), { children: i, items: a, collection: o } = e;
return (0, P.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -27778,27 +27778,27 @@ function rE(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function iE(e) {
- let { filter: t, layoutDelegate: n } = e, r = QT(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = rE(e, (0, P.useCallback)((e) => t ? new YT(t(e)) : new YT(e), [t]), (0, P.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, P.useMemo)(() => new eE(a, r, { layoutDelegate: n }), [
+function zE(e) {
+ let { filter: t, layoutDelegate: n } = e, r = NE(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = RE(e, (0, P.useCallback)((e) => t ? new jE(t(e)) : new jE(e), [t]), (0, P.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, P.useMemo)(() => new FE(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return aE(a, o), {
+ return BE(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function qne(e, t) {
+function fne(e, t) {
let n = (0, P.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return aE(n, r), {
+ return BE(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function aE(e, t) {
+function BE(e, t) {
let n = (0, P.useRef)(null);
(0, P.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -27826,7 +27826,7 @@ function aE(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function oE(e, t) {
+function VE(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = Lh((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -27834,7 +27834,7 @@ function oE(e, t) {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: l_(t?.current),
+ root: f_(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -27850,42 +27850,42 @@ function oE(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var sE = /*#__PURE__*/ (0, P.createContext)(null), cE = /*#__PURE__*/ (0, P.createContext)(null), Jne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = Fw(e, t, sE);
- let n = (0, P.useContext)(cE);
- return n ? /*#__PURE__*/ P.createElement(lE, {
+var HE = /*#__PURE__*/ (0, P.createContext)(null), UE = /*#__PURE__*/ (0, P.createContext)(null), pne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ [e, t] = xT(e, t, HE);
+ let n = (0, P.useContext)(UE);
+ return n ? /*#__PURE__*/ P.createElement(WE, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ P.createElement(ph, { content: /*#__PURE__*/ P.createElement(Th, e) }, (n) => /*#__PURE__*/ P.createElement(Yne, {
+ }) : /*#__PURE__*/ P.createElement(ph, { content: /*#__PURE__*/ P.createElement(Th, e) }, (n) => /*#__PURE__*/ P.createElement(mne, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Yne({ props: e, listBoxRef: t, collection: n }) {
+function mne({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, P.useContext)(Ww), i = iE({
+ let { layoutDelegate: r } = (0, P.useContext)(AT), i = zE({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ P.createElement(lE, {
+ return /*#__PURE__*/ P.createElement(WE, {
state: i,
props: e,
listBoxRef: t
});
}
-function lE({ state: e, props: t, listBoxRef: n }) {
- [t, n] = Fw(t, n, Bw);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = qne(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Xh(), { disabledBehavior: p, disabledKeys: m } = l, h = Zv({
+function WE({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = xT(t, n, ET);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = fne(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Xh(), { disabledBehavior: p, disabledKeys: m } = l, h = Zv({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(Ww), b = (0, P.useMemo)(() => t.keyboardDelegate || new q_({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(AT), b = (0, P.useMemo)(() => t.keyboardDelegate || new ev({
collection: c,
collator: h,
ref: n,
@@ -27906,7 +27906,7 @@ function lE({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Pee({
+ ]), { listBoxProps: x } = Bee({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -27938,7 +27938,7 @@ function lE({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = oy(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = ay(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -27946,7 +27946,7 @@ function lE({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, N = Nw({
+ }, N = yT({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -27956,8 +27956,8 @@ function lE({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let I = _g(t, { global: !0 });
- return /*#__PURE__*/ P.createElement(Ug, null, /*#__PURE__*/ P.createElement(zw.div, {
+ let I = lg(t, { global: !0 });
+ return /*#__PURE__*/ P.createElement(Ig, null, /*#__PURE__*/ P.createElement(TT.div, {
...H(I, N, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -27968,55 +27968,55 @@ function lE({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ P.createElement(Mw, { values: [
- [sE, t],
- [cE, s],
- [RT, {
+ }, /*#__PURE__*/ P.createElement(vT, { values: [
+ [HE, t],
+ [UE, s],
+ [wE, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [qT, { elementType: "div" }],
- [zT, { render: Qne }],
- [kne, {
+ [cne, { elementType: "div" }],
+ [TE, { render: _ne }],
+ [Ute, {
name: "ListBoxSection",
- render: Xne
+ render: hne
}]
- ] }, /*#__PURE__*/ P.createElement(GT, null, /*#__PURE__*/ P.createElement(y, {
+ ] }, /*#__PURE__*/ P.createElement(OE, null, /*#__PURE__*/ P.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: HT(l, r, C),
- renderDropIndicator: VT(r, C)
+ persistedKeys: DE(l, r, C),
+ renderDropIndicator: EE(r, C)
}))), F, E));
}
-function Xne(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, P.useContext)(cE), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(RT), { CollectionBranch: s } = (0, P.useContext)(Ww), [c, l] = Iw(), { headingProps: u, groupProps: d } = Fee({
+function hne(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, P.useContext)(UE), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(wE), { CollectionBranch: s } = (0, P.useContext)(AT), [c, l] = ST(), { headingProps: u, groupProps: d } = Vee({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = Nw({
+ }), f = yT({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = _g(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ P.createElement(zw.section, {
+ }), p = lg(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ P.createElement(TT.section, {
...H(p, f, d),
ref: t
- }, /*#__PURE__*/ P.createElement(UT.Provider, { value: {
+ }, /*#__PURE__*/ P.createElement(one.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ P.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: VT(a, o)
+ renderDropIndicator: EE(a, o)
})));
}
-var Zne = /*#__PURE__*/ xh(Tf, function(e, t, n) {
- let r = Xm(t), i = (0, P.useContext)(cE), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(RT), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Iee({
+var gne = /*#__PURE__*/ xh(Tf, function(e, t, n) {
+ let r = Xm(t), i = (0, P.useContext)(UE), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(wE), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Hee({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = py({
+ }, i, r), { hoverProps: p, isHovered: m } = fy({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
@@ -28032,7 +28032,7 @@ var Zne = /*#__PURE__*/ xh(Tf, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = Nw({
+ let y = o && o.isDragging(n.key), b = yT({
...e,
id: void 0,
children: e.children,
@@ -28050,7 +28050,7 @@ var Zne = /*#__PURE__*/ xh(Tf, function(e, t, n) {
(0, P.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? zw.a : zw.div, S = _g(e, { global: !0 });
+ let x = e.href ? TT.a : TT.div, S = lg(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ P.createElement(x, {
...H(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -28064,29 +28064,29 @@ var Zne = /*#__PURE__*/ xh(Tf, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ P.createElement(Mw, { values: [[Yw, { slots: {
- [jw]: u,
+ }, /*#__PURE__*/ P.createElement(vT, { values: [[FT, { slots: {
+ [_T]: u,
label: u,
description: d
- } }], [KT, { isSelected: f.isSelected }]] }, b.children));
+ } }], [kE, { isSelected: f.isSelected }]] }, b.children));
});
-function Qne(e, t) {
+function _ne(e, t) {
t = Xm(t);
- let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(RT), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ P.createElement(ere, {
+ let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(wE), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ P.createElement(yne, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function $ne(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Nw({
+function vne(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = yT({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(zw.div, {
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(TT.div, {
...n,
...a,
role: "option",
@@ -28094,10 +28094,10 @@ function $ne(e, t) {
"data-drop-target": r || void 0
}));
}
-var ere = /*#__PURE__*/ (0, P.forwardRef)($ne);
+var yne = /*#__PURE__*/ (0, P.forwardRef)(vne);
xh(wf, function(e, t, n) {
- let r = (0, P.useContext)(cE), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);
- oE((0, P.useMemo)(() => ({
+ let r = (0, P.useContext)(UE), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);
+ VE((0, P.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -28107,7 +28107,7 @@ xh(wf, function(e, t, n) {
o,
r?.collection
]), c);
- let l = Nw({
+ let l = yT({
...s,
id: void 0,
children: n.rendered,
@@ -28120,7 +28120,7 @@ xh(wf, function(e, t, n) {
width: 0,
height: 0
},
- inert: JT(!0)
+ inert: AE(!0)
}, /*#__PURE__*/ P.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -28129,8 +28129,8 @@ xh(wf, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(zw.div, {
- ...H(_g(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(TT.div, {
+ ...H(lg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -28138,11 +28138,11 @@ xh(wf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var tre = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });
+var bne = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function uE(e) {
- let [t, n] = j_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);
+function GE(e) {
+ let [t, n] = z_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -28161,13 +28161,13 @@ function uE(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function dE(e, t = !0) {
+function KE(e, t = !0) {
let [n, r] = (0, P.useState)(!0), i = n && t;
return cp(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), pE(e, i, (0, P.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), JE(e, i, (0, P.useCallback)(() => r(!1), [])), i;
}
-function fE(e, t) {
+function qE(e, t) {
let [n, r] = (0, P.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -28177,11 +28177,11 @@ function fE(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return pE(e, i, (0, P.useCallback)(() => {
+ return JE(e, i, (0, P.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function pE(e, t, n) {
+function JE(e, t, n) {
cp(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
@@ -28210,9 +28210,9 @@ function pE(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var mE = /*#__PURE__*/ (0, P.createContext)(null), hE = /*#__PURE__*/ (0, P.createContext)(null), gE = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = Fw(e, t, mE);
- let n = (0, P.useContext)(_E), r = uE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = fE(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ih(), { direction: c } = Xh();
+var YE = /*#__PURE__*/ (0, P.createContext)(null), XE = /*#__PURE__*/ (0, P.createContext)(null), ZE = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ [e, t] = xT(e, t, YE);
+ let n = (0, P.useContext)(QE), r = GE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = qE(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ih(), { direction: c } = Xh();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -28223,7 +28223,7 @@ var mE = /*#__PURE__*/ (0, P.createContext)(null), hE = /*#__PURE__*/ (0, P.crea
defaultChildren: null
})), /*#__PURE__*/ P.createElement(P.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ P.createElement(nre, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ P.createElement(xne, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -28232,13 +28232,13 @@ var mE = /*#__PURE__*/ (0, P.createContext)(null), hE = /*#__PURE__*/ (0, P.crea
dir: c
});
});
-function nre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useContext)(hE), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = $ee({
+function xne({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useContext)(XE), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = ite({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = dE(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = Nw({
+ }, e), m = i.popoverRef, h = KE(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = yT({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -28264,7 +28264,7 @@ function nre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, [_.children, r]), [S, C] = (0, P.useState)(null), w = (0, P.useCallback)(() => {
i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- cp(w, [w]), sb({
+ cp(w, [w]), nb({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -28273,8 +28273,8 @@ function nre({ 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__*/ P.createElement(zw.div, {
- ...H(_g(i, { global: !0 }), l),
+ }, E = /*#__PURE__*/ P.createElement(TT.div, {
+ ...H(lg(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
role: y ? "dialog" : void 0,
@@ -28289,17 +28289,17 @@ function nre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ P.createElement(Ub, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(tre.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ P.createElement(Rb, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(bne.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ P.createElement(Ub, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ P.createElement(ry, {
+ } }, x), /*#__PURE__*/ P.createElement(Rb, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ P.createElement(ny, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, E) : /*#__PURE__*/ P.createElement(ry, {
+ }, E) : /*#__PURE__*/ P.createElement(ny, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -28314,60 +28314,60 @@ function nre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ P.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ P.createElement(hE.Provider, { value: o }, E)));
+ }, /*#__PURE__*/ P.createElement(XE.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var rre = /*#__PURE__*/ (0, P.createContext)(null), _E = /*#__PURE__*/ (0, P.createContext)(null), vE = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+var Sne = /*#__PURE__*/ (0, P.createContext)(null), QE = /*#__PURE__*/ (0, P.createContext)(null), $E = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = Fw(e, t, rre);
- let { dialogProps: r, titleProps: i, contentProps: a } = ay({
+ [e, t] = xT(e, t, Sne);
+ let { dialogProps: r, titleProps: i, contentProps: a } = iy({
...e,
"aria-labelledby": n
- }, t), o = (0, P.useContext)(_E);
+ }, t), o = (0, P.useContext)(QE);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = Nw({
+ let s = yT({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = _g(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(zw.section, {
+ }), c = lg(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(TT.section, {
...H(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ P.createElement(Mw, { values: [
- [qw, { slots: {
- [jw]: {},
+ }, /*#__PURE__*/ P.createElement(vT, { values: [
+ [NT, { slots: {
+ [_T]: {},
title: {
...i,
level: 2
}
} }],
- [Yw, { slots: {
- [jw]: {},
+ [FT, { slots: {
+ [_T]: {},
description: a
} }],
- [Kw, { slots: {
- [jw]: {},
+ [MT, { slots: {
+ [_T]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), yE = typeof document < "u" && window.visualViewport;
-function ire() {
+}), eD = typeof document < "u" && window.visualViewport;
+function Cne() {
let e = Kp(), [t, n] = (0, P.useState)(() => e ? {
width: 0,
height: 0
- } : bE());
+ } : tD());
return (0, P.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- yE && yE.scale > 1 || e(bE());
+ eD && eD.scale > 1 || e(tD());
}, r, i = (t) => {
- yE && yE.scale > 1 || Fh(V(t)) && (r = requestAnimationFrame(() => {
+ eD && eD.scale > 1 || Fh(V(t)) && (r = requestAnimationFrame(() => {
let t = Yf();
(!t || !Fh(t)) && e({
width: document.documentElement.clientWidth,
@@ -28375,26 +28375,26 @@ function ire() {
});
}));
};
- return e(bE()), bp() && Sp() && window.addEventListener("blur", i, !0), yE ? yE.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), bp() && Sp() && window.removeEventListener("blur", i, !0), yE ? yE.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(tD()), bp() && Sp() && window.addEventListener("blur", i, !0), eD ? eD.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), bp() && Sp() && window.removeEventListener("blur", i, !0), eD ? eD.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function bE() {
+function tD() {
return {
- width: yE ? Math.min(yE.width * yE.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: yE ? yE.height * yE.scale : document.documentElement.clientHeight
+ width: eD ? Math.min(eD.width * eD.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: eD ? eD.height * eD.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var are = /*#__PURE__*/ (0, P.createContext)(null), xE = /*#__PURE__*/ (0, P.createContext)(null), ore = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- if ((0, P.useContext)(xE)) return /*#__PURE__*/ P.createElement(CE, {
+var wne = /*#__PURE__*/ (0, P.createContext)(null), nD = /*#__PURE__*/ (0, P.createContext)(null), Tne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ if ((0, P.useContext)(nD)) return /*#__PURE__*/ P.createElement(iD, {
...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__*/ P.createElement(SE, {
+ return /*#__PURE__*/ P.createElement(rD, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -28404,15 +28404,15 @@ var are = /*#__PURE__*/ (0, P.createContext)(null), xE = /*#__PURE__*/ (0, P.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ P.createElement(CE, {
+ }, /*#__PURE__*/ P.createElement(iD, {
...f,
modalRef: t
}, s));
});
-function sre(e, t) {
- [e, t] = Fw(e, t, are);
- let n = (0, P.useContext)(_E), r = uE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Xm(t), o = (0, P.useRef)(null), s = fE(a, i.isOpen), c = fE(o, i.isOpen), l = s || c || e.isExiting || !1, u = Kp();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ P.createElement(cre, {
+function Ene(e, t) {
+ [e, t] = xT(e, t, wne);
+ let n = (0, P.useContext)(QE), r = GE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Xm(t), o = (0, P.useRef)(null), s = qE(a, i.isOpen), c = qE(o, i.isOpen), l = s || c || e.isExiting || !1, u = Kp();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ P.createElement(Dne, {
...e,
state: i,
isExiting: l,
@@ -28420,9 +28420,9 @@ function sre(e, t) {
modalRef: o
});
}
-var SE = /*#__PURE__*/ (0, P.forwardRef)(sre);
-function cre({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Vee(t, r, n), o = dE(t.overlayRef) || t.isEntering || !1, s = Nw({
+var rD = /*#__PURE__*/ (0, P.forwardRef)(Ene);
+function Dne({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Kee(t, r, n), o = KE(t.overlayRef) || t.isEntering || !1, s = yT({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -28430,9 +28430,9 @@ function cre({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = ire(), l, u;
+ }), c = Cne(), l, u;
if (typeof document < "u") {
- let e = c_(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = d_(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;
}
let d = {
@@ -28442,25 +28442,25 @@ function cre({ UNSTABLE_portalContainer: e, ...t }) {
"--page-width": l === void 0 ? void 0 : l + "px",
"--page-height": u === void 0 ? void 0 : u + "px"
};
- return /*#__PURE__*/ P.createElement(ry, {
+ return /*#__PURE__*/ P.createElement(ny, {
isExiting: t.isExiting,
portalContainer: e
- }, /*#__PURE__*/ P.createElement(zw.div, {
- ...H(_g(t, { global: !0 }), a),
+ }, /*#__PURE__*/ P.createElement(TT.div, {
+ ...H(lg(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ P.createElement(Mw, { values: [[xE, {
+ }, /*#__PURE__*/ P.createElement(vT, { values: [[nD, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [_E, r]] }, s.children)));
+ }], [QE, r]] }, s.children)));
}
-function CE(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, P.useContext)(xE), a = (0, P.useContext)(_E), o = Xm((0, P.useMemo)(() => jm(e.modalRef, n), [e.modalRef, n])), s = dE(o), c = Nw({
+function iD(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, P.useContext)(nD), a = (0, P.useContext)(QE), o = Xm((0, P.useMemo)(() => jm(e.modalRef, n), [e.modalRef, n])), s = KE(o), c = yT({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -28469,19 +28469,19 @@ function CE(e) {
state: a
}
});
- return /*#__PURE__*/ P.createElement(zw.div, {
- ...H(_g(e, { global: !0 }), t),
+ return /*#__PURE__*/ P.createElement(TT.div, {
+ ...H(lg(e, { global: !0 }), t),
...c,
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ P.createElement(Ub, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ P.createElement(Rb, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var lre = Math.round(Math.random() * 1e10), ure = 0;
-function dre(e) {
- let t = (0, P.useMemo)(() => e.name || `radio-group-${lre}-${++ure}`, [e.name]), [n, r] = j_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = S_({
+var One = Math.round(Math.random() * 1e10), kne = 0;
+function Ane(e) {
+ let t = (0, P.useMemo)(() => e.name || `radio-group-${One}-${++kne}`, [e.name]), [n, r] = z_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = A_({
...e,
value: n
}), c = (t) => {
@@ -28504,16 +28504,16 @@ function dre(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var fre = /*#__PURE__*/ (0, P.createContext)(null), pre = /*#__PURE__*/ (0, P.createContext)(null), wE = /*#__PURE__*/ (0, P.createContext)(null), TE = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = Fw(e, t, fre);
- let { validationBehavior: n } = Pw(Zw) || {}, r = e.validationBehavior ?? n ?? "native", i = dre({
+var jne = /*#__PURE__*/ (0, P.createContext)(null), Mne = /*#__PURE__*/ (0, P.createContext)(null), aD = /*#__PURE__*/ (0, P.createContext)(null), oD = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ [e, t] = xT(e, t, jne);
+ let { validationBehavior: n } = bT(LT) || {}, r = e.validationBehavior ?? n ?? "native", i = Ane({
...e,
validationBehavior: r
- }), [a, o] = Iw(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = tte({
+ }), [a, o] = ST(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = ote({
...e,
label: o,
validationBehavior: r
- }, i), f = Nw({
+ }, i), f = yT({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -28524,8 +28524,8 @@ var fre = /*#__PURE__*/ (0, P.createContext)(null), pre = /*#__PURE__*/ (0, P.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = _g(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(zw.div, {
+ }), p = lg(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(TT.div, {
...H(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -28534,39 +28534,39 @@ var fre = /*#__PURE__*/ (0, P.createContext)(null), pre = /*#__PURE__*/ (0, P.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ P.createElement(Mw, { values: [
- [wE, i],
- [Gw, {
+ }, /*#__PURE__*/ P.createElement(vT, { values: [
+ [aD, i],
+ [jT, {
...c,
ref: a,
elementType: "span"
}],
- [Yw, { slots: {
+ [FT, { slots: {
description: l,
errorMessage: u
} }],
- [Xw, d]
- ] }, /*#__PURE__*/ P.createElement(GT, null, f.children)));
-}), EE = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ [IT, d]
+ ] }, /*#__PURE__*/ P.createElement(OE, null, f.children)));
+}), sD = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Fw(r, t, pre);
- let i = P.useContext(wE), a = Xm((0, P.useMemo)(() => jm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = ete({
- ...Lw(e),
+ [e, t] = xT(r, t, Mne);
+ let i = P.useContext(aD), a = Xm((0, P.useMemo)(() => jm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = ate({
+ ...CT(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ P.createElement(DE.Provider, { value: {
+ return /*#__PURE__*/ P.createElement(cD.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ P.createElement(mre, {
+ } }, /*#__PURE__*/ P.createElement(Nne, {
...e,
ref: t
}));
-}), DE = /*#__PURE__*/ (0, P.createContext)(null), mre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, P.useContext)(DE), l = P.useContext(wE), { isFocused: u, isFocusVisible: d, focusProps: f } = oy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = py({
+}), cD = /*#__PURE__*/ (0, P.createContext)(null), Nne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, P.useContext)(cD), l = P.useContext(aD), { isFocused: u, isFocusVisible: d, focusProps: f } = ay(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = fy({
...e,
isDisabled: p
- }), g = Nw({
+ }), g = yT({
...e,
defaultClassName: s,
values: {
@@ -28580,8 +28580,8 @@ var fre = /*#__PURE__*/ (0, P.createContext)(null), pre = /*#__PURE__*/ (0, P.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = _g(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(zw.label, {
+ }), _ = lg(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(TT.label, {
...H(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -28593,19 +28593,19 @@ var fre = /*#__PURE__*/ (0, P.createContext)(null), pre = /*#__PURE__*/ (0, P.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ P.createElement(I_, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
+ }, /*#__PURE__*/ P.createElement(W_, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
...H(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function hre(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = uE(e), [i, a] = (0, P.useState)(null), o = (0, P.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function Pne(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = GE(e), [i, a] = (0, P.useState)(null), o = (0, P.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = j_((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = z_((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -28617,12 +28617,12 @@ function hre(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = iE({
+ }, d = zE({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, P.useMemo)(() => gre(l), [l]),
+ selectedKeys: (0, P.useMemo)(() => Fne(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -28632,7 +28632,7 @@ function hre(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, P.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = S_({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, P.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = A_({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, P.useState)(!1), [_] = (0, P.useState)(l);
@@ -28659,16 +28659,16 @@ function hre(e) {
setFocused: g
};
}
-function gre(e) {
+function Fne(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 _re(e) {
+function Ine(e) {
return e && e.__esModule ? e.default : e;
}
-var OE = /*#__PURE__*/ (0, P.createContext)(null), kE = /*#__PURE__*/ (0, P.createContext)(null), vre = /*#__PURE__*/ rh(function(e, t) {
- [e, t] = Fw(e, t, OE);
+var lD = /*#__PURE__*/ (0, P.createContext)(null), uD = /*#__PURE__*/ (0, P.createContext)(null), Lne = /*#__PURE__*/ rh(function(e, t) {
+ [e, t] = xT(e, t, lD);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, P.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -28683,24 +28683,24 @@ var OE = /*#__PURE__*/ (0, P.createContext)(null), kE = /*#__PURE__*/ (0, P.crea
i,
a
]);
- return /*#__PURE__*/ P.createElement(ph, { content: o }, (n) => /*#__PURE__*/ P.createElement(bre, {
+ return /*#__PURE__*/ P.createElement(ph, { content: o }, (n) => /*#__PURE__*/ P.createElement(zne, {
props: e,
collection: n,
selectRef: t
}));
-}), yre = [
- Gw,
- Kw,
- Yw
+}), Rne = [
+ jT,
+ MT,
+ FT
];
-function bre({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = Pw(Zw) || {}, i = e.validationBehavior ?? r ?? "native", a = hre({
+function zne({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = bT(LT) || {}, i = e.validationBehavior ?? r ?? "native", a = Pne({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = oy({ within: !0 }), c = (0, P.useRef)(null), [l, u] = Iw(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = nte({
- ...Lw(e),
+ }), { isFocusVisible: o, focusProps: s } = ay({ within: !0 }), c = (0, P.useRef)(null), [l, u] = ST(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = ste({
+ ...CT(e),
label: u,
validationBehavior: i
}, a, c), y = (0, P.useMemo)(() => ({
@@ -28717,48 +28717,48 @@ function bre({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = Nw({
+ ]), b = yT({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = _g(e, { global: !0 });
+ }), x = lg(e, { global: !0 });
delete x.id;
let S = (0, P.useRef)(null);
- return /*#__PURE__*/ P.createElement(Mw, { values: [
- [OE, e],
- [kE, a],
- [AE, p],
- [Gw, {
+ return /*#__PURE__*/ P.createElement(vT, { values: [
+ [lD, e],
+ [uD, a],
+ [dD, p],
+ [jT, {
...d,
ref: l,
elementType: "span"
}],
- [Kw, {
+ [MT, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [_E, a],
- [mE, {
+ [QE, a],
+ [YE, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: yre
+ clearContexts: Rne
}],
- [sE, {
+ [HE, {
...m,
ref: S
}],
- [cE, a],
- [Yw, { slots: {
+ [UE, a],
+ [FT, { slots: {
description: h,
errorMessage: g
} }],
- [Xw, v]
- ] }, /*#__PURE__*/ P.createElement(zw.div, {
+ [IT, v]
+ ] }, /*#__PURE__*/ P.createElement(TT.div, {
...H(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -28768,14 +28768,14 @@ function bre({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, b.children, /*#__PURE__*/ P.createElement(ite, {
+ }, b.children, /*#__PURE__*/ P.createElement(lte, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var AE = /*#__PURE__*/ (0, P.createContext)(null), xre = /*#__PURE__*/ rh(function(e, t) {
- [e, t] = Fw(e, t, AE);
- let n = (0, P.useContext)(kE), { placeholder: r } = Pw(OE), i = n.selectedItems.map((e) => {
+for (var dD = /*#__PURE__*/ (0, P.createContext)(null), Bne = /*#__PURE__*/ rh(function(e, t) {
+ [e, t] = xT(e, t, dD);
+ let n = (0, P.useContext)(uD), { placeholder: r } = bT(lD), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -28787,7 +28787,7 @@ for (var AE = /*#__PURE__*/ (0, P.createContext)(null), xre = /*#__PURE__*/ rh(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = sy(), o = (0, P.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, P.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = oy(), o = (0, P.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, P.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -28802,7 +28802,7 @@ for (var AE = /*#__PURE__*/ (0, P.createContext)(null), xre = /*#__PURE__*/ rh(f
a,
o,
i
- ]), u = ug(_re(LT), "react-aria-components"), d = Nw({
+ ]), u = sg(Ine(CE), "react-aria-components"), d = yT({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -28813,33 +28813,33 @@ for (var AE = /*#__PURE__*/ (0, P.createContext)(null), xre = /*#__PURE__*/ rh(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = _g(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(zw.span, {
+ }), f = lg(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(TT.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ P.createElement(Yw.Provider, { value: void 0 }, d.children));
-}), Sre = /*#__PURE__*/ (0, P.createContext)(null), jE = /*#__PURE__*/ (0, P.createContext)(null), Cre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ P.createElement(FT.Provider, { value: void 0 }, d.children));
+}), Vne = /*#__PURE__*/ (0, P.createContext)(null), fD = /*#__PURE__*/ (0, P.createContext)(null), Hne = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Fw(r, t, Sre);
- let i = Xm((0, P.useMemo)(() => jm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = M_(e), o = ate({
- ...Lw(e),
+ [e, t] = xT(r, t, Vne);
+ let i = Xm((0, P.useMemo)(() => jm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = B_(e), o = ute({
+ ...CT(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ P.createElement(Mw, { values: [[jE, a], [ME, {
+ return /*#__PURE__*/ P.createElement(vT, { values: [[fD, a], [pD, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ P.createElement(wre, {
+ }]] }, /*#__PURE__*/ P.createElement(Une, {
...e,
ref: t
}));
-}), ME = /*#__PURE__*/ (0, P.createContext)(null), wre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, P.useContext)(ME), { isFocused: f, isFocusVisible: p, focusProps: m } = oy(), h = a || o, g = (0, P.useContext)(jE), { hoverProps: _, isHovered: v } = py({
+}), pD = /*#__PURE__*/ (0, P.createContext)(null), Une = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, P.useContext)(pD), { isFocused: f, isFocusVisible: p, focusProps: m } = ay(), h = a || o, g = (0, P.useContext)(fD), { hoverProps: _, isHovered: v } = fy({
...e,
isDisabled: h
- }), y = Nw({
+ }), y = yT({
...e,
defaultClassName: u,
values: {
@@ -28854,8 +28854,8 @@ for (var AE = /*#__PURE__*/ (0, P.createContext)(null), xre = /*#__PURE__*/ rh(f
isRequired: d || !1,
state: g
}
- }), b = _g(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(zw.label, {
+ }), b = lg(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(TT.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -28868,11 +28868,11 @@ for (var AE = /*#__PURE__*/ (0, P.createContext)(null), xre = /*#__PURE__*/ rh(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ P.createElement(I_, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
+ }, /*#__PURE__*/ P.createElement(W_, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
...H(r, m),
ref: l
})), y.children);
-}), NE = 10, PE = 5, Tre = class {
+}), mD = 10, hD = 5, Wne = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -28882,7 +28882,7 @@ for (var AE = /*#__PURE__*/ (0, P.createContext)(null), xre = /*#__PURE__*/ rh(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) > PE && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > NE && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > hD && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > mD && (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);
@@ -28961,11 +28961,11 @@ for (var AE = /*#__PURE__*/ (0, P.createContext)(null), xre = /*#__PURE__*/ rh(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > PE && i) {
+ if (Math.abs(r - c.lastSwitchY) > hD && 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 > NE && a) {
+ if (l > mD && 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;
}
@@ -28980,7 +28980,7 @@ for (var AE = /*#__PURE__*/ (0, P.createContext)(null), xre = /*#__PURE__*/ rh(f
boundaryContext: null
};
}
-}, Ere = class {
+}, Gne = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -29050,8 +29050,8 @@ for (var AE = /*#__PURE__*/ (0, P.createContext)(null), xre = /*#__PURE__*/ rh(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, FE = "row-header-column-" + Math.random().toString(36).slice(2), IE = "row-header-column-" + Math.random().toString(36).slice(2); FE === IE;) IE = "row-header-column-" + Math.random().toString(36).slice(2);
-function LE(e, t) {
+}, gD = "row-header-column-" + Math.random().toString(36).slice(2), _D = "row-header-column-" + Math.random().toString(36).slice(2); gD === _D;) _D = "row-header-column-" + Math.random().toString(36).slice(2);
+function vD(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -29135,13 +29135,13 @@ function LE(e, t) {
textValue: ""
}));
}
-var Dre = class extends Ere {
+var Kne = class extends Gne {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: FE,
+ key: gD,
value: null,
textValue: "",
level: 0,
@@ -29156,7 +29156,7 @@ var Dre = class extends Ere {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: IE,
+ key: _D,
value: null,
textValue: "",
level: 0,
@@ -29183,7 +29183,7 @@ var Dre = class extends Ere {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = LE(s, a);
+ let l = vD(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -29209,10 +29209,10 @@ var Dre = class extends Ere {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return Uv(this.body.childNodes)?.key ?? null;
+ return Wv(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return Gv(this.body.childNodes)?.key ?? null;
+ return Kv(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -29244,19 +29244,19 @@ var Dre = class extends Ere {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Ore(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || QT(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function qne(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || NE(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = Hv(n, t);
- e = r === "last" ? Gv(i)?.key ?? null : Uv(i)?.key ?? null;
+ let i = Uv(n, t);
+ e = r === "last" ? Kv(i)?.key ?? null : Wv(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, P.useMemo)(() => new eE(t, r), [t, r]), s = (0, P.useRef)(null);
+ let o = (0, P.useMemo)(() => new FE(t, r), [t, r]), s = (0, P.useRef)(null);
return (0, P.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;
@@ -29276,7 +29276,7 @@ function Ore(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...Hv(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...Uv(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
r.setFocusedKey(a);
} else r.setFocusedKey(null);
}
@@ -29295,11 +29295,11 @@ function Ore(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var kre = {
+var Jne = {
ascending: "descending",
descending: "ascending"
};
-function Are(e) {
+function Yne(e) {
let [t, n] = (0, P.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, P.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -29310,11 +29310,11 @@ function Are(e) {
i,
r,
a
- ]), c = rE(e, (0, P.useCallback)((e) => new Dre(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Ore({
+ ]), c = RE(e, (0, P.useCallback)((e) => new Kne(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = qne({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = j_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = z_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -29326,7 +29326,7 @@ function Are(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? kre[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Jne[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -29339,7 +29339,7 @@ function Are(e) {
treeColumn: o
};
}
-function jre(e, t) {
+function Xne(e, t) {
let n = (0, P.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -29349,7 +29349,7 @@ function jre(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Mre = class extends Ef {
+var Zne = class extends Ef {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -29364,7 +29364,7 @@ var Mre = class extends Ef {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new WE(-2);
+ return new TD(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -29390,7 +29390,7 @@ var Mre = class extends Ef {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = LE(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 = vD(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;
@@ -29471,11 +29471,11 @@ var Mre = class extends Ef {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new VE(-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 SD(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Nre = /*#__PURE__*/ (0, P.createContext)(null), Pre = /*#__PURE__*/ (0, P.createContext)(null), RE = /*#__PURE__*/ (0, P.createContext)(null), zE = /*#__PURE__*/ (0, P.createContext)(null), Fre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = Fw(e, t, Pre);
- let n = QT(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, P.useMemo)(() => ({
+}, Qne = /*#__PURE__*/ (0, P.createContext)(null), $ne = /*#__PURE__*/ (0, P.createContext)(null), yD = /*#__PURE__*/ (0, P.createContext)(null), bD = /*#__PURE__*/ (0, P.createContext)(null), ere = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ [e, t] = xT(e, t, $ne);
+ let n = NE(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, P.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -29485,26 +29485,26 @@ var Mre = class extends Ef {
i,
a,
o
- ]), c = /*#__PURE__*/ P.createElement(Rre.Provider, { value: s }, /*#__PURE__*/ P.createElement(Th, e));
+ ]), c = /*#__PURE__*/ P.createElement(rre.Provider, { value: s }, /*#__PURE__*/ P.createElement(Th, e));
return /*#__PURE__*/ P.createElement(ph, {
content: c,
- createCollection: () => new Mre()
- }, (r) => /*#__PURE__*/ P.createElement(Lre, {
+ createCollection: () => new Zne()
+ }, (r) => /*#__PURE__*/ P.createElement(nre, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Ire = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(Ww);
- return n ? /*#__PURE__*/ P.createElement(zw.div, {
+}), tre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, P.useContext)(AT);
+ return n ? /*#__PURE__*/ P.createElement(TT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(zw.table, {
+ }) : /*#__PURE__*/ P.createElement(TT.table, {
...e,
ref: t
});
-}), BE = {
+}), xD = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -29514,26 +29514,26 @@ var Mre = class extends Ef {
rtl: "ArrowRight"
}
};
-function Lre({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = Fw(e, t, Bw);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, P.useContext)(Nre);
+function nre({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = xT(e, t, ET);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, P.useContext)(Qne);
t = Xm((0, P.useMemo)(() => jm(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = j_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ let [l, u] = z_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, P.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Are({
+ let d = Yne({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = jre(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(Ww), { dragAndDropHooks: _ } = e, { gridProps: v } = dte({
+ }), f = Xne(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(AT), { dragAndDropHooks: _ } = e, { gridProps: v } = gte({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, P.useRef)(b), (0, P.useRef)(x), (0, P.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = Xh(), [k] = (0, P.useState)(() => new Tre());
+ let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = Xh(), [k] = (0, P.useState)(() => new Wne());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -29548,7 +29548,7 @@ function Lre({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new q_({
+ let e = new ev({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -29568,12 +29568,12 @@ function Lre({ 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 === BE.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === BE.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === xD.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === xD.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 } = oy(), N = Nw({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = ay(), N = yT({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -29589,19 +29589,19 @@ function Lre({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let te = _g(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(Mw, { values: [
- [RE, f],
- [zE, ee],
- [RT, {
+ let te = lg(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(vT, { values: [
+ [yD, f],
+ [bD, ee],
+ [wE, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [zT, { render: Jre }],
- [Bw, null],
- [Vw, null]
- ] }, /*#__PURE__*/ P.createElement(Ug, null, /*#__PURE__*/ P.createElement(Ire, {
+ [TE, { render: pre }],
+ [ET, null],
+ [DT, null]
+ ] }, /*#__PURE__*/ P.createElement(Ig, null, /*#__PURE__*/ P.createElement(tre, {
...H(te, N, v, A, w?.collectionProps),
style: I,
ref: t,
@@ -29611,46 +29611,46 @@ function Lre({ 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__*/ P.createElement(GT, null, /*#__PURE__*/ P.createElement(g, {
+ }, /*#__PURE__*/ P.createElement(OE, null, /*#__PURE__*/ P.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: HT(y, _, C)
+ persistedKeys: DE(y, _, C)
})))), E);
}
-var Rre = /*#__PURE__*/ (0, P.createContext)(null), VE = class extends Sf {
+var rre = /*#__PURE__*/ (0, P.createContext)(null), SD = class extends Sf {
static {
this.type = "tableheader";
}
-}, zre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(Ww);
- return n ? /*#__PURE__*/ P.createElement(zw.div, {
+}, ire = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, P.useContext)(AT);
+ return n ? /*#__PURE__*/ P.createElement(TT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(zw.thead, {
+ }) : /*#__PURE__*/ P.createElement(TT.thead, {
...e,
ref: t
});
-}), HE = /*#__PURE__*/ Sh(VE, (e, t) => {
- let n = (0, P.useContext)(RE).collection, r = jf({
+}), CD = /*#__PURE__*/ Sh(SD, (e, t) => {
+ let n = (0, P.useContext)(yD).collection, r = jf({
items: n.headerRows,
children: (0, P.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ P.createElement(Vre, { item: e });
+ case "headerrow": return /*#__PURE__*/ P.createElement(ore, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = oS(), { hoverProps: a, isHovered: o } = py({
+ }), { rowGroupProps: i } = tS(), { hoverProps: a, isHovered: o } = fy({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = Nw({
+ }), s = yT({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ P.createElement(zre, {
- ...H(_g(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ P.createElement(ire, {
+ ...H(lg(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
@@ -29658,8 +29658,8 @@ var Rre = /*#__PURE__*/ (0, P.createContext)(null), VE = class extends Sf {
}, (e) => /*#__PURE__*/ P.createElement(Th, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Bre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(Ww);
+}, e.children)), are = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, P.useContext)(AT);
return n ? /*#__PURE__*/ P.createElement("div", {
...e,
ref: t
@@ -29668,41 +29668,41 @@ var Rre = /*#__PURE__*/ (0, P.createContext)(null), VE = class extends Sf {
ref: t
});
});
-function Vre({ item: e }) {
- let t = (0, P.useRef)(null), n = (0, P.useContext)(RE), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(Ww), { rowProps: a } = hte({
+function ore({ item: e }) {
+ let t = (0, P.useRef)(null), n = (0, P.useContext)(yD), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(AT), { rowProps: a } = bte({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Ste(n);
- return /*#__PURE__*/ P.createElement(Bre, {
+ }, n, t), { checkboxProps: o } = Dte(n);
+ return /*#__PURE__*/ P.createElement(are, {
...a,
ref: t
- }, /*#__PURE__*/ P.createElement(Mw, { values: [[Qw, { slots: { selection: o } }], [$w, { slots: { selection: o } }]] }, /*#__PURE__*/ P.createElement(i, {
+ }, /*#__PURE__*/ P.createElement(vT, { values: [[RT, { slots: { selection: o } }], [zT, { slots: { selection: o } }]] }, /*#__PURE__*/ P.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Hre = class extends Sf {
+var sre = class extends Sf {
static {
this.type = "column";
}
-}, Ure = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(Ww);
- return n ? /*#__PURE__*/ P.createElement(zw.div, {
+}, cre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, P.useContext)(AT);
+ return n ? /*#__PURE__*/ P.createElement(TT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(zw.th, {
+ }) : /*#__PURE__*/ P.createElement(TT.th, {
...e,
ref: t
});
-}), UE = /*#__PURE__*/ xh(Hre, (e, t, n) => {
- let r = Xm(t), i = (0, P.useContext)(RE), { isVirtualized: a } = (0, P.useContext)(Ww), { columnHeaderProps: o, isPressed: s } = mte({
+}), wD = /*#__PURE__*/ xh(sre, (e, t, n) => {
+ let r = Xm(t), i = (0, P.useContext)(yD), { isVirtualized: a } = (0, P.useContext)(AT), { columnHeaderProps: o, isPressed: s } = yte({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = oy(), d = (0, P.useContext)(zE), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ay(), d = (0, P.useContext)(bD), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = py({ isDisabled: !e.allowsSorting }), h = Nw({
+ let { hoverProps: p, isHovered: m } = fy({ isDisabled: !e.allowsSorting }), h = yT({
...e,
id: void 0,
children: n.rendered,
@@ -29728,8 +29728,8 @@ var Hre = class extends Sf {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = _g(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ P.createElement(Ure, {
+ let _ = lg(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ P.createElement(cre, {
...H(_, o, u, p),
...h,
style: g,
@@ -29741,28 +29741,28 @@ var Hre = class extends Sf {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ P.createElement(Mw, { values: [[Wre, {
+ }, /*#__PURE__*/ P.createElement(vT, { values: [[lre, {
column: n,
triggerRef: r
- }], [Ww, Hw]] }, h.children));
-}), Wre = /*#__PURE__*/ (0, P.createContext)(null), WE = class extends Cf {
+ }], [AT, OT]] }, h.children));
+}), lre = /*#__PURE__*/ (0, P.createContext)(null), TD = class extends Cf {
static {
this.type = "tablebody";
}
-}, Gre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(Ww);
- return n ? /*#__PURE__*/ P.createElement(zw.div, {
+}, ure = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, P.useContext)(AT);
+ return n ? /*#__PURE__*/ P.createElement(TT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(zw.tbody, {
+ }) : /*#__PURE__*/ P.createElement(TT.tbody, {
...e,
ref: t
});
-}), GE = /*#__PURE__*/ Sh(WE, (e, t, n) => {
- let r = (0, P.useContext)(RE), { isVirtualized: i } = (0, P.useContext)(Ww), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(Ww), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(RT), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), ED = /*#__PURE__*/ Sh(TD, (e, t, n) => {
+ let r = (0, P.useContext)(yD), { isVirtualized: i } = (0, P.useContext)(AT), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(AT), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(wE), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = Nw({
+ }, p = yT({
...e,
id: void 0,
children: void 0,
@@ -29771,25 +29771,25 @@ var Hre = class extends Sf {
}), 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__*/ P.createElement(qE, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ P.createElement(OD, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ P.createElement(YE, {
+ }, /*#__PURE__*/ P.createElement(AD, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = oS(), _ = _g(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(Gre, {
+ let { rowGroupProps: g } = tS(), _ = lg(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(ure, {
...H(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ P.createElement($re, null), /*#__PURE__*/ P.createElement(o, {
+ }, l && /*#__PURE__*/ P.createElement(vre, null), /*#__PURE__*/ P.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: VT(s, c)
+ renderDropIndicator: EE(s, c)
}), m);
});
(class extends Cf {
@@ -29797,7 +29797,7 @@ var Hre = class extends Sf {
this.type = "tablefooter";
}
});
-var KE = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Kre = class extends Sf {
+var DD = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), dre = class extends Sf {
static {
this.type = "item";
}
@@ -29809,31 +29809,31 @@ var KE = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Kr
}
return null;
}
-}, qE = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(Ww);
- return n ? /*#__PURE__*/ P.createElement(zw.div, {
+}, OD = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, P.useContext)(AT);
+ return n ? /*#__PURE__*/ P.createElement(TT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(zw.tr, {
+ }) : /*#__PURE__*/ P.createElement(TT.tr, {
...e,
ref: t
});
-}), JE = /*#__PURE__*/ Sh(Kre, (e, t, n) => {
- let r = Xm(t), i = (0, P.useContext)(RE), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(RT), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(Ww), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = vte({
+}), kD = /*#__PURE__*/ Sh(dre, (e, t, n) => {
+ let r = Xm(t), i = (0, P.useContext)(yD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(wE), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(AT), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Cte({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = oy(), { isFocusVisible: _, focusProps: v } = oy({ within: !0 }), { hoverProps: y, isHovered: b } = py({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = ay(), { isFocusVisible: _, focusProps: v } = ay({ within: !0 }), { hoverProps: y, isHovered: b } = fy({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = xte({ key: n.key }, i), S;
+ }), { checkboxProps: x } = Ete({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, P.useRef)(null), { visuallyHiddenProps: T } = F_();
+ let C, w = (0, P.useRef)(null), { visuallyHiddenProps: T } = U_();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -29843,7 +29843,7 @@ var KE = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Kr
(0, P.useEffect)(() => {
o && E.current;
}, []);
- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = Nw({
+ 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 = yT({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -29864,11 +29864,11 @@ var KE = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Kr
isExpanded: j,
level: n.level + 1
}
- }), N = _g(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, C && !C.isHidden && /*#__PURE__*/ P.createElement(qE, {
+ }), N = lg(e, { global: !0 });
+ return delete N.id, delete N.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, C && !C.isHidden && /*#__PURE__*/ P.createElement(OD, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ P.createElement(YE, {
+ }, /*#__PURE__*/ P.createElement(AD, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -29877,7 +29877,7 @@ var KE = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Kr
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ P.createElement(qE, {
+ }))), /*#__PURE__*/ P.createElement(OD, {
...H(N, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -29893,17 +29893,17 @@ var KE = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Kr
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ P.createElement(Mw, { values: [
- [Qw, { slots: {
- [jw]: {},
+ }, /*#__PURE__*/ P.createElement(vT, { values: [
+ [RT, { slots: {
+ [_T]: {},
selection: x
} }],
- [$w, { slots: {
- [jw]: {},
+ [zT, { slots: {
+ [_T]: {},
selection: x
} }],
- [Kw, { slots: {
- [jw]: {},
+ [MT, { slots: {
+ [_T]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -29911,8 +29911,8 @@ var KE = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Kr
style: { pointerEvents: "none" }
}
} }],
- [KT, { isSelected: p.isSelected }],
- [KE, { isFocusVisibleWithinRow: _ }]
+ [kE, { isSelected: p.isSelected }],
+ [DD, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ P.createElement(l, {
collection: i.collection,
parent: n
@@ -29925,29 +29925,29 @@ var KE = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Kr
items: e.columns,
idScope: e.id
}, e.children);
-}), qre = class extends Sf {
+}), fre = class extends Sf {
static {
this.type = "cell";
}
-}, YE = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(Ww);
- return n ? /*#__PURE__*/ P.createElement(zw.div, {
+}, AD = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, P.useContext)(AT);
+ return n ? /*#__PURE__*/ P.createElement(TT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(zw.td, {
+ }) : /*#__PURE__*/ P.createElement(TT.td, {
...e,
ref: t
});
-}), XE = /*#__PURE__*/ xh(qre, (e, t, n) => {
- let r = Xm(t), i = (0, P.useContext)(RE), { dragState: a } = (0, P.useContext)(RT), { isVirtualized: o } = (0, P.useContext)(Ww);
+}), jD = /*#__PURE__*/ xh(fre, (e, t, n) => {
+ let r = Xm(t), i = (0, P.useContext)(yD), { dragState: a } = (0, P.useContext)(wE), { isVirtualized: o } = (0, P.useContext)(AT);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = fte({
+ let { gridCellProps: s, isPressed: c } = _te({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = oy(), { hoverProps: f, isHovered: p } = py({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)(KE), 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 = Nw({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ay(), { hoverProps: f, isHovered: p } = fy({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)(DD), 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 = yT({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -29966,8 +29966,8 @@ var KE = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Kr
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = _g(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ P.createElement(YE, {
+ }), S = lg(e, { global: !0 });
+ return delete S.id, /*#__PURE__*/ P.createElement(AD, {
...H(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -29981,14 +29981,14 @@ var KE = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Kr
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ P.createElement(Ww.Provider, { value: Hw }, x.children));
+ }, /*#__PURE__*/ P.createElement(AT.Provider, { value: OT }, x.children));
});
-function Jre(e, t) {
+function pre(e, t) {
t = Xm(t);
- let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(RT), i = (0, P.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(wE), i = (0, P.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ P.createElement(Qre, {
+ return /*#__PURE__*/ P.createElement(_re, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -29997,40 +29997,40 @@ function Jre(e, t) {
ref: t
});
}
-var Yre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(Ww);
- return n ? /*#__PURE__*/ P.createElement(zw.div, {
+var mre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, P.useContext)(AT);
+ return n ? /*#__PURE__*/ P.createElement(TT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(zw.tr, {
+ }) : /*#__PURE__*/ P.createElement(TT.tr, {
...e,
ref: t
});
-}), Xre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(Ww);
- return n ? /*#__PURE__*/ P.createElement(zw.div, {
+}), hre = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, P.useContext)(AT);
+ return n ? /*#__PURE__*/ P.createElement(TT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(zw.td, {
+ }) : /*#__PURE__*/ P.createElement(TT.td, {
...e,
ref: t
});
});
-function Zre(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(RE), { visuallyHiddenProps: c } = F_(), l = Nw({
+function gre(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(yD), { visuallyHiddenProps: c } = U_(), l = yT({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ P.createElement(Yre, {
- ..._g(e, { global: !0 }),
+ return /*#__PURE__*/ P.createElement(mre, {
+ ...lg(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ P.createElement(Xre, {
+ }, /*#__PURE__*/ P.createElement(hre, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -30041,14 +30041,14 @@ function Zre(e, t) {
ref: i
}), l.children));
}
-var Qre = /*#__PURE__*/ (0, P.forwardRef)(Zre);
-function $re() {
- let e = (0, P.useContext)(RE), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(RT), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = F_();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ P.createElement(qE, {
+var _re = /*#__PURE__*/ (0, P.forwardRef)(gre);
+function vre() {
+ let e = (0, P.useContext)(yD), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(wE), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = U_();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ P.createElement(OD, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ P.createElement(YE, {
+ }, /*#__PURE__*/ P.createElement(AD, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -30060,8 +30060,8 @@ function $re() {
})));
}
xh(wf, function(e, t, n) {
- let r = (0, P.useContext)(RE), { isVirtualized: i } = (0, P.useContext)(Ww), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);
- oE((0, P.useMemo)(() => ({
+ let r = (0, P.useContext)(yD), { isVirtualized: i } = (0, P.useContext)(AT), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);
+ VE((0, P.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -30071,7 +30071,7 @@ xh(wf, function(e, t, n) {
s,
r?.collection
]), u);
- let d = Nw({
+ let d = yT({
...c,
id: void 0,
children: n.rendered,
@@ -30079,10 +30079,10 @@ xh(wf, 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__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(qE, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(OD, {
style: { height: 0 },
- inert: JT(!0)
- }, /*#__PURE__*/ P.createElement(YE, { style: {
+ inert: AE(!0)
+ }, /*#__PURE__*/ P.createElement(AD, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ P.createElement("div", {
@@ -30093,14 +30093,14 @@ xh(wf, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ P.createElement(qE, {
- ...H(_g(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ P.createElement(OD, {
+ ...H(lg(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ P.createElement(YE, {
+ }, /*#__PURE__*/ P.createElement(AD, {
role: "rowheader",
...p,
style: m
@@ -30108,8 +30108,8 @@ xh(wf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function eie(e) {
- let [t, n] = j_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = iE({
+function yre(e) {
+ let [t, n] = z_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = zE({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -30132,24 +30132,24 @@ function eie(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function tie(e) {
- let t = eie({
+function bre(e) {
+ let t = yre({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? ZE(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? MD(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, P.useRef)(i);
return (0, P.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = ZE(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 = MD(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 ZE(e, t) {
+function MD(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);
@@ -30159,24 +30159,24 @@ function ZE(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var QE = /*#__PURE__*/ (0, P.createContext)(null), $E = /*#__PURE__*/ (0, P.createContext)(null), eD = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = Fw(e, t, QE);
+var ND = /*#__PURE__*/ (0, P.createContext)(null), PD = /*#__PURE__*/ (0, P.createContext)(null), FD = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ [e, t] = xT(e, t, ND);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, P.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ P.createElement(ph, { content: n }, (n) => /*#__PURE__*/ P.createElement(nie, {
+ }) : n, [n, r]), /*#__PURE__*/ P.createElement(ph, { content: n }, (n) => /*#__PURE__*/ P.createElement(xre, {
props: e,
collection: n,
tabsRef: t
}));
});
-function nie({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = tie({
+function xre({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = bre({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = oy({ within: !0 }), c = (0, P.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = ay({ within: !0 }), c = (0, P.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -30184,12 +30184,12 @@ function nie({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = Nw({
+ ]), l = yT({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = _g(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(zw.div, {
+ }), u = lg(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(TT.div, {
...H(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -30197,20 +30197,20 @@ function nie({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ P.createElement(Mw, { values: [[QE, e], [$E, i]] }, l.children));
+ }, /*#__PURE__*/ P.createElement(vT, { values: [[ND, e], [PD, i]] }, l.children));
}
-var tD = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- return (0, P.useContext)($E) ? /*#__PURE__*/ P.createElement(rie, {
+var ID = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ return (0, P.useContext)(PD) ? /*#__PURE__*/ P.createElement(Sre, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ P.createElement(Th, e);
});
-function rie({ props: e, forwardedRef: t }) {
- let n = (0, P.useContext)($E), { CollectionRoot: r } = (0, P.useContext)(Ww), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Pw(QE), o = Xm(t), { tabListProps: s } = Tte({
+function Sre({ props: e, forwardedRef: t }) {
+ let n = (0, P.useContext)(PD), { CollectionRoot: r } = (0, P.useContext)(AT), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = bT(ND), o = Xm(t), { tabListProps: s } = Ate({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = Nw({
+ }, n, o), c = yT({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -30218,30 +30218,30 @@ function rie({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = _g(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ P.createElement(zw.div, {
+ }), l = lg(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ P.createElement(TT.div, {
...H(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ P.createElement(GT, null, /*#__PURE__*/ P.createElement(r, {
+ }, /*#__PURE__*/ P.createElement(OE, null, /*#__PURE__*/ P.createElement(r, {
collection: n.collection,
- persistedKeys: jne(n.selectionManager.focusedKey)
+ persistedKeys: Gte(n.selectionManager.focusedKey)
})));
}
-var nD = /*#__PURE__*/ xh(class extends Sf {
+var LD = /*#__PURE__*/ xh(class extends Sf {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, P.useContext)($E), i = Xm(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Cte({
+ let r = (0, P.useContext)(PD), i = Xm(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Ote({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = oy(), { hoverProps: f, isHovered: p } = py({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ay(), { hoverProps: f, isHovered: p } = fy({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = Nw({
+ }), m = yT({
...e,
id: void 0,
children: n.rendered,
@@ -30254,7 +30254,7 @@ var nD = /*#__PURE__*/ xh(class extends Sf {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? zw.a : zw.div, g = _g(e, { global: !0 });
+ }), h = n.props.href ? TT.a : TT.div, g = lg(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ P.createElement(h, {
...H(g, m, a, l, f),
ref: i,
@@ -30264,58 +30264,58 @@ var nD = /*#__PURE__*/ xh(class extends Sf {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ P.createElement(KT.Provider, { value: { isSelected: o } }, m.children));
-}), rD = /*#__PURE__*/ rh(function(e, t) {
- let n = (0, P.useContext)($E), r = Xm(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ P.createElement(kE.Provider, { value: { isSelected: o } }, m.children));
+}), RD = /*#__PURE__*/ rh(function(e, t) {
+ let n = (0, P.useContext)(PD), r = Xm(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = fE(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(iD, {
+ let s = qE(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(Cre, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function iD(e) {
- let t = (0, P.useContext)($E), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Ete(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = oy(), d = t.selectedKey === e.id, f = dE(r) && !i, p = Nw({
+function Cre(e) {
+ let t = (0, P.useContext)(PD), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = jte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ay(), d = t.selectedKey === e.id, f = KE(r) && !i, p = yT({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: JT(!d),
+ isInert: AE(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = _g(o, { global: !0 });
+ }), m = lg(o, { global: !0 });
delete m.id;
let h = d ? H(m, s, c, p) : H(m, p);
- return /*#__PURE__*/ P.createElement(zw.div, {
+ return /*#__PURE__*/ P.createElement(TT.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: JT(!d || e.inert),
+ inert: AE(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ P.createElement(Mw, { values: [[QE, null], [$E, null]] }, /*#__PURE__*/ P.createElement(Ww.Provider, { value: Hw }, p.children)));
+ }, /*#__PURE__*/ P.createElement(vT, { values: [[ND, null], [PD, null]] }, /*#__PURE__*/ P.createElement(AT.Provider, { value: OT }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var aD = /*#__PURE__*/ (0, P.createContext)({}), oD = /*#__PURE__*/ (0, P.createContext)(null), sD = /*#__PURE__*/ rh(function(e, t) {
- [e, t] = Fw(e, t, oD);
- let { validationBehavior: n } = Pw(Zw) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);
- [e, i] = Fw(e, i, Vw);
- let [a, o] = Iw(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Eee({
- ...Lw(e),
+var wre = /*#__PURE__*/ (0, P.createContext)({}), Tre = /*#__PURE__*/ (0, P.createContext)(null), Ere = /*#__PURE__*/ rh(function(e, t) {
+ [e, t] = xT(e, t, Tre);
+ let { validationBehavior: n } = bT(LT) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);
+ [e, i] = xT(e, i, DT);
+ let [a, o] = ST(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = vee({
+ ...CT(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, P.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = Nw({
+ }, [i]), h = yT({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -30324,8 +30324,8 @@ var aD = /*#__PURE__*/ (0, P.createContext)({}), oD = /*#__PURE__*/ (0, P.create
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = _g(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ P.createElement(zw.div, {
+ }), g = lg(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ P.createElement(TT.div, {
...g,
...h,
ref: t,
@@ -30334,31 +30334,31 @@ var aD = /*#__PURE__*/ (0, P.createContext)({}), oD = /*#__PURE__*/ (0, P.create
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ P.createElement(Mw, { values: [
- [Gw, {
+ }, /*#__PURE__*/ P.createElement(vT, { values: [
+ [jT, {
...l,
ref: a
}],
- [nT, {
+ [HT, {
...u,
ref: m
}],
- [aD, {
+ [wre, {
...u,
ref: m
}],
- [tT, {
+ [VT, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [Yw, { slots: {
+ [FT, { slots: {
description: d,
errorMessage: f
} }],
- [Xw, p]
+ [IT, p]
] }, h.children));
-}), cD = zC({
+}), zD = gw({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -30379,25 +30379,25 @@ var aD = /*#__PURE__*/ (0, P.createContext)({}), oD = /*#__PURE__*/ (0, P.create
small: "size-4 shrink-0"
}
});
-function lD({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function BD({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, F.jsx)("button", {
ref: i,
type: r,
- className: RC(cD.base, cD.size[t], n),
+ className: hw(zD.base, zD.size[t], n),
...a,
children: /* @__PURE__ */ (0, F.jsx)(e, {
- className: cD.icon[t],
+ className: zD.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function uD({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, F.jsxs)(Mne, {
+function Dre({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, F.jsxs)(Kte, {
"data-label": "true",
...a,
- className: RC("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: hw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, F.jsx)("span", {
@@ -30405,7 +30405,7 @@ function uD({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, F.jsx)(Rte, {
+ n && /* @__PURE__ */ (0, F.jsx)(yS, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -30414,33 +30414,33 @@ function uD({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function dD({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, F.jsx)(Lne, {
+function Ore({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, F.jsx)(Zte, {
slot: e ? "errorMessage" : "description",
...n,
- className: RC("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: hw("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 fD = (0, P.createContext)({});
-function pD({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, F.jsx)(fD.Provider, {
+var VD = (0, P.createContext)({});
+function HD({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, F.jsx)(VD.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, F.jsx)(sD, {
+ children: /* @__PURE__ */ (0, F.jsx)(Ere, {
...a,
"data-input-size": e,
- className: RC("group flex h-max w-full flex-col items-start gap-1", r),
+ className: hw("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-pD.displayName = "TextField";
-var mD = zC({
+HD.displayName = "TextField";
+var UD = gw({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -30469,44 +30469,44 @@ var mD = zC({
].join(" "),
icon: "size-5 shrink-0"
});
-function hD({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, P.useContext)(fD), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, F.jsx)(Hne, {
+function WD({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, P.useContext)(VD), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, F.jsx)(nne, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => RC(mD.field, d ? mD.fieldWithAddonSize[u] : mD.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 }) => hw(UD.field, d ? UD.fieldWithAddonSize[u] : UD.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
children: /* @__PURE__ */ (0, F.jsxs)("div", {
- className: mD.content,
+ className: UD.content,
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
- className: mD.leftSection,
+ className: UD.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, F.jsx)(t, {
- className: mD.icon,
+ className: UD.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, F.jsx)(Wne, {
+ }) : null, /* @__PURE__ */ (0, F.jsx)(ine, {
ref: o,
...c,
- className: RC(mD.input, l.inputClassName, a)
+ className: hw(UD.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, F.jsx)(n, {
- className: mD.icon,
+ className: UD.icon,
"aria-hidden": !0
}) : null]
})
});
}
-hD.displayName = "InputBase";
-function gD({ 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, F.jsx)(pD, {
+WD.displayName = "InputBase";
+function GD({ 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, F.jsx)(HD, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- e && /* @__PURE__ */ (0, F.jsx)(uD, {
+ e && /* @__PURE__ */ (0, F.jsx)(Dre, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, F.jsx)(hD, {
+ /* @__PURE__ */ (0, F.jsx)(WD, {
ref: c,
groupRef: l,
placeholder: r,
@@ -30515,15 +30515,15 @@ function gD({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, F.jsx)(dD, {
+ t && /* @__PURE__ */ (0, F.jsx)(Ore, {
isInvalid: d,
children: t
})
] })
});
}
-gD.displayName = "Input";
-function _D(e) {
+GD.displayName = "Input";
+function KD(e) {
return {
x0: 0,
y0: 0,
@@ -30531,7 +30531,7 @@ function _D(e) {
y1: e.height
};
}
-function vD(e) {
+function qD(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -30539,40 +30539,40 @@ function vD(e) {
y1: Math.round(e.y1)
};
}
-function yD(e) {
+function JD(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function bD(e, t) {
- if (!yD(e)) return {
+function YD(e, t) {
+ if (!JD(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return _D(e);
+ if (t == null || !(t > 0)) return KD(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return vD({
+ return qD({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function xD(e, t) {
- if (!yD(e) || !(t > 0)) return _D(e);
+function kre(e, t) {
+ if (!JD(e) || !(t > 0)) return KD(e);
let n = Math.min(e.width, e.height * t);
- return vD({
+ return qD({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function SD(e, t, n) {
- if (!yD(t) || !(n > 0)) return _D(t);
- let r = CD(e, t), i = bD({
+function Are(e, t, n) {
+ if (!JD(t) || !(n > 0)) return KD(t);
+ let r = XD(e, t), i = YD({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -30583,8 +30583,8 @@ function SD(e, t, n) {
y1: r.y0 + i.y1
};
}
-function CD(e, t, n = null, r = "width") {
- if (!yD(t)) return {
+function XD(e, t, n = null, r = "width") {
+ if (!JD(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -30593,43 +30593,43 @@ function CD(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return vD({
+ return qD({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function wD(e, t, n, r) {
+function ZD(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return vD({
+ return qD({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function TD(e, t, n, r = null) {
- if (!yD(n) || !(t > 0)) return e;
+function QD(e, t, n, r = null) {
+ if (!JD(n) || !(t > 0)) return e;
let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;
- return CD({
+ return XD({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function ED(e, t, n, r, i = null) {
+function jre(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return CD(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return XD(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function DD(e, t) {
- return yD(t) ? {
+function Mre(e, t) {
+ return JD(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -30641,8 +30641,8 @@ function DD(e, t) {
height: 0
};
}
-function OD(e, t) {
- if (!yD(t)) return {
+function Nre(e, t) {
+ if (!JD(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -30652,7 +30652,7 @@ function OD(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function kD(e, t) {
+function Pre(e, t) {
let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);
return {
left: `${-e.x0 / n * 100}%`,
@@ -30661,25 +30661,25 @@ function kD(e, t) {
height: `${t.height / r * 100}%`
};
}
-function AD(e, t, n) {
+function $D(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var jD = {
+var Fre = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function MD({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- return /* @__PURE__ */ (0, F.jsx)(SE, {
+function eO({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+ return /* @__PURE__ */ (0, F.jsx)(rD, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, F.jsx)(ore, {
- className: `flex max-h-full w-full ${jD[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, F.jsx)(vE, {
+ children: /* @__PURE__ */ (0, F.jsx)(Tne, {
+ className: `flex max-h-full w-full ${Fre[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, F.jsx)($E, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
children: i
@@ -30687,7 +30687,7 @@ function MD({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function ND({ children: e }) {
+function tO({ children: e }) {
return /* @__PURE__ */ (0, F.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",
@@ -30696,7 +30696,7 @@ function ND({ children: e }) {
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function PD() {
+function nO() {
let e = (0, P.useRef)(null);
return (0, P.useEffect)(() => {
c(e.current);
@@ -30704,8 +30704,8 @@ function PD() {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var FD = .02, ID = 1.08;
-function LD({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var Ire = .02, rO = 1.08;
+function iO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, P.useRef)(null), c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1);
(0, P.useEffect)(() => {
u(!1);
@@ -30716,8 +30716,8 @@ function LD({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: AD(e, n.clientWidth, r.width),
- dy: AD(t, n.clientHeight, r.height)
+ dx: $D(e, n.clientWidth, r.width),
+ dy: $D(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -30735,29 +30735,29 @@ function LD({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
if (!n || !a || !r) return;
let o = d(e.clientX - n.x, e.clientY - n.y);
if (n.mode === "move") {
- i(wD(n.box, o.dx, o.dy, r));
+ i(ZD(n.box, o.dx, o.dy, r));
return;
}
- i(ED(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ i(jre(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
function m(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function h(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * FD), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * Ire), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(wD(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(ZD(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(TD(n, e.key === "-" ? 1 / ID : ID, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(QD(n, e.key === "-" ? 1 / rO : rO, r, t)));
}
- let g = n && r ? DD(CD(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? Mre(XD(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -30776,7 +30776,7 @@ function LD({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- yD({
+ JD({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -30815,7 +30815,7 @@ function LD({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(TD(n, e.deltaY > 0 ? ID : 1 / ID, r, t));
+ !n || !r || i(QD(n, e.deltaY > 0 ? rO : 1 / rO, r, t));
},
className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",
children: /* @__PURE__ */ (0, F.jsx)("span", {
@@ -30837,61 +30837,61 @@ function LD({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var RD = "/api/avatar-choices", zD = "/api/avatar-pick", BD = "/api/avatar-code-cover", VD = "/avatar-choice", HD = (e, t) => [
+var Lre = "/api/avatar-choices", aO = "/api/avatar-pick", Rre = "/api/avatar-code-cover", zre = "/avatar-choice", oO = (e, t) => [
"avatar-choices",
e,
t
-], UD = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, WD = (e, t, n) => `${VD}${UD(e, t)}&ref=${encodeURIComponent(n)}`, GD = (e, t, n) => KC(RD + UD(e, t), n), KD = (e) => q(BD, { code: e });
-function qD(e, t, n) {
+], sO = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, cO = (e, t, n) => `${zre}${sO(e, t)}&ref=${encodeURIComponent(n)}`, Bre = (e, t, n) => Cw(Lre + sO(e, t), n), Vre = (e) => q(Rre, { code: e });
+function lO(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? SD(e.focus, t, n) : bD(t, n);
+ return e.focus && r ? Are(e.focus, t, n) : YD(t, n);
}
-var JD = (e) => e.crop && yD({
+var Hre = (e) => e.crop && JD({
width: e.width,
height: e.height
});
-async function YD(e, t, n) {
+async function Ure(e, t, n) {
if (!("file" in n)) {
- await q(zD, {
+ await q(aO, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${zD}${UD(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${aO}${sO(e, t)}&name=${encodeURIComponent(r.name)}`, {
method: "POST",
credentials: "same-origin",
body: r
});
if (i.ok) return;
let a = await i.json().catch(() => null);
- throw new WC(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new xw(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function XD(e, t) {
+function Wre(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 ZD = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function QD(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${ZD(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var Gre = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function Kre(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Gre(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var $D = (e) => e.cast > 1, eO = (e) => $D(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, tO = {
+var uO = (e) => e.cast > 1, qre = (e) => uO(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Jre = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function nO(e) {
+function Yre(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 rO = (e) => `${tO[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + ($D(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), iO = 8, aO = 3 / 4;
-function oO({ kind: e, entityId: t, name: n, onPicked: r }) {
+var Xre = (e) => `${Jre[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (uO(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Zre = 8, Qre = 3 / 4;
+function $re({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, P.useState)(!1);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -30901,17 +30901,17 @@ function oO({ kind: e, entityId: t, name: n, onPicked: r }) {
"aria-label": `更换${n}的头像`,
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",
- children: /* @__PURE__ */ (0, F.jsx)(Ate, {
+ children: /* @__PURE__ */ (0, F.jsx)(Fte, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, F.jsx)(MD, {
+ }), /* @__PURE__ */ (0, F.jsx)(eO, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, F.jsx)(sO, {
+ children: /* @__PURE__ */ (0, F.jsx)(eie, {
kind: e,
entityId: t,
name: n,
@@ -30920,50 +30920,50 @@ function oO({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function sO({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, P.useRef)(null), o = PD(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(null), h = HD(e, t), g = (0, P.useRef)(!1), _ = St({
+function eie({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, P.useRef)(null), o = nO(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(null), h = oO(e, t), g = (0, P.useRef)(!1), _ = St({
queryKey: h,
- queryFn: ({ signal: n }) => GD(e, t, n),
+ queryFn: ({ signal: n }) => Bre(e, t, n),
retryOnMount: !0
});
(0, P.useEffect)(() => () => {
- g.current && X.removeQueries({ queryKey: HD(e, t) });
+ g.current && X.removeQueries({ queryKey: oO(e, t) });
}, [e, t]);
let v = Ct({
- mutationFn: (n) => YD(e, t, n),
+ mutationFn: (n) => Ure(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
}), y = Ct({
- mutationFn: (e) => KD(e),
+ mutationFn: (e) => Vre(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 ? K(v.error) : "") || (!p && y.error ? K(y.error) : "") || (_.error ? K(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : QD(x);
+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? K(v.error) : "") || (!p && y.error ? K(y.error) : "") || (_.error ? K(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : Kre(x);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, F.jsx)(ND, { children: /* @__PURE__ */ (0, F.jsx)(AS, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, F.jsx)(tO, { children: /* @__PURE__ */ (0, F.jsx)(MS, { className: "size-6" }) }),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, F.jsx)(Jw, {
+ children: [/* @__PURE__ */ (0, F.jsx)(PT, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
- }), !p && S.length ? /* @__PURE__ */ (0, F.jsxs)(VC, {
+ }), !p && S.length ? /* @__PURE__ */ (0, F.jsxs)(vw, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? eO(p) : XD(n, x)
+ children: p ? qre(p) : Wre(n, x)
}),
T ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "neutral",
@@ -30975,14 +30975,14 @@ function sO({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, F.jsx)(lD, {
- icon: hS,
+ /* @__PURE__ */ (0, F.jsx)(BD, {
+ icon: uS,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, F.jsx)(lO, {
+ }), p ? /* @__PURE__ */ (0, F.jsx)(nie, {
kind: e,
entityId: t,
choice: p,
@@ -31005,7 +31005,7 @@ function sO({ 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: iO }, (e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: Zre }, (e, t) => /* @__PURE__ */ (0, F.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",
@@ -31018,15 +31018,15 @@ function sO({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: rO(n),
+ title: Xre(n),
...Y(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, F.jsx)(cO, {
- src: WD(e, t, n.ref),
+ /* @__PURE__ */ (0, F.jsx)(tie, {
+ src: cO(e, t, n.ref),
choice: n
}),
/* @__PURE__ */ (0, F.jsx)("span", {
@@ -31035,15 +31035,15 @@ function sO({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, F.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, F.jsx)(VC, {
+ children: /* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- $D(n) ? /* @__PURE__ */ (0, F.jsx)("span", {
+ uO(n) ? /* @__PURE__ */ (0, F.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, F.jsxs)(VC, {
+ children: /* @__PURE__ */ (0, F.jsxs)(vw, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -31062,7 +31062,7 @@ function sO({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, F.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, F.jsx)(gD, {
+ children: /* @__PURE__ */ (0, F.jsx)(GD, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -31097,7 +31097,7 @@ function sO({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, F.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, F.jsx)(gD, {
+ children: /* @__PURE__ */ (0, F.jsx)(GD, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -31117,7 +31117,7 @@ function sO({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function cO({ src: e, choice: t }) {
+function tie({ src: e, choice: t }) {
let n = (0, P.useRef)(null), [r, i] = (0, P.useState)(!1);
(0, P.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -31125,7 +31125,7 @@ function cO({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = JD(t) ? kD(qD(t, a, aO), a) : null, s = r ? !0 : void 0;
+ }, o = Hre(t) ? Pre(lO(t, a, Qre), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, F.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, F.jsx)("img", {
@@ -31150,23 +31150,23 @@ function cO({ src: e, choice: t }) {
})]
});
}
-function lO({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, P.useState)(o[0]), [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(null), p = WD(e, t, s), m = PD();
+function nie({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, P.useState)(o[0]), [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(null), p = cO(e, t, s), m = nO();
function h(e) {
c(e), u(null), f(null);
}
- let g = d && l ? OD(d, l) : null;
+ let g = d && l ? Nre(d, l) : null;
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {
ref: m,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [/* @__PURE__ */ (0, F.jsx)(LD, {
+ children: [/* @__PURE__ */ (0, F.jsx)(iO, {
src: p,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), yD(e) && f(s === n.ref ? qD(n, e, 1) : bD(e, 1));
+ u(e), JD(e) && f(s === n.ref ? lO(n, e, 1) : YD(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, F.jsx)("div", {
@@ -31180,7 +31180,7 @@ function lO({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
"data-crop-base": !0,
onClick: () => h(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: nO(e)
+ children: Yre(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, F.jsxs)("div", {
@@ -31214,56 +31214,56 @@ function lO({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
}
//#endregion
//#region src/jav-artwork.ts
-function uO(e) {
+function rie(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
function dO(e, t) {
- return e.is_jav && e.code && e.has_cover && (uO(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+ return e.is_jav && e.code && e.has_cover && (rie(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
function fO(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var pO = (e, t) => [
+var iie = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], mO = (e, t) => [
+], aie = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function hO(e, t, n, r, i) {
+async function oie(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 KC(`/api/items?${a}`, i), s = {
+ let o = await Cw(`/api/items?${a}`, i), s = {
...o,
items: o.items || [],
offset: t
};
- return !t && !s.items.length && !r && (s.libraryEmpty = (await KC("/api/items?limit=1&thumb=0", i)).total === 0), s;
+ return !t && !s.items.length && !r && (s.libraryEmpty = (await Cw("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var gO = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, _O = (e, t) => {
+var sie = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, cie = (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 vO(e) {
+function pO(e) {
let t = fO(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: pO(t, e.revision || 0),
+ queryKey: iie(t, e.revision || 0),
queryFn: async ({ pageParam: i, signal: a }) => {
- let o = await hO(t, i, n, r, a);
+ let o = await oie(t, i, n, r, a);
return e.cache(o.items), o;
},
initialPageParam: 0,
- getNextPageParam: gO(n)
+ getNextPageParam: sie(n)
};
}
-function yO(e) {
+function mO(e) {
return {
- queryKey: mO(e.entityKey || "", e.revision || 0),
+ queryKey: aie(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -31278,13 +31278,13 @@ function yO(e) {
};
},
initialPageParam: 0,
- getNextPageParam: _O
+ getNextPageParam: cie
};
}
-async function bO(e, t) {
+async function lie(e, t) {
if (e.mode === "items") return;
if (e.mode === "entity") {
- let n = yO(e);
+ let n = mO(e);
if (e.initial) {
X.setQueryData(n.queryKey, {
pages: [{
@@ -31305,7 +31305,7 @@ async function bO(e, t) {
});
return;
}
- let n = vO(e);
+ let n = pO(e);
await X.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -31314,7 +31314,7 @@ async function bO(e, t) {
})
});
}
-function xO(e, t, n) {
+function uie(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -31329,28 +31329,28 @@ function xO(e, t, n) {
return !0;
}) : [...e];
}
-var SO = (e, t) => !!e && !!dO(e, t);
-function CO(e, t) {
+var hO = (e, t) => !!e && !!dO(e, t);
+function die(e, t) {
let n = (e.performers || [])[0];
return (e.is_jav && n ? n : e.creator) || n || e.studio || e.code || t((e.tags || [])[0] || "") || "为你推荐";
}
-function wO(e, t) {
- let n = (e) => SO(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) => SO(e, t)) || e[e.length - 1];
+function fie(e, t) {
+ let n = (e) => hO(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) => hO(e, t)) || e[e.length - 1];
}
-function TO(e, { collapse: t, mix: n, javImage: r }) {
+function pie(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 = xO(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = uie(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 = wO(e, r);
+ let t = fie(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -31363,16 +31363,16 @@ function TO(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function EO(e, t, n) {
+function mie(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 DO(e, t) {
+function hie(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 OO(e, t) {
+function gie(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -31387,7 +31387,7 @@ function OO(e, t) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function kO(e, t) {
+function gO(e, t) {
let [n, r] = (0, P.useState)(e ? "skeleton" : "none"), [i] = (0, P.useState)(() => e ? t() : ""), a = (0, P.useRef)(null);
return (0, P.useLayoutEffect)(() => {
a.current && u(a.current);
@@ -31413,7 +31413,7 @@ function kO(e, t) {
fading: n === "fade"
};
}
-function AO({ message: e, onRetry: t }) {
+function _O({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -31427,21 +31427,21 @@ function AO({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/catalog-grid/artwork.ts
-var jO = {
+var vO = {
kind: "",
html: ""
};
-function MO(e, n, r, i, a) {
+function yO(e, n, r, i, a) {
let o = dO(e, i);
- if (!o) return jO;
+ if (!o) return vO;
let s = e.has_cover && e.code ? `/cover?code=${encodeURIComponent(e.code)}&thumb=1` : "", c = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", l = a(e, n, r), u = (l.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), d = o === "cover" ? l : `<img class="poster" src="${c}" alt="" loading="${r ? "eager" : "lazy"}"${u}>`;
return {
kind: o === "cover" ? "cover" : "thumb",
html: d.replace("<img ", `<img data-jav-image="${e.id}" data-jav-cover="${t(s)}" data-jav-thumb="${t(c)}" data-jav-image-layout="${n}" `)
};
}
-function NO(e, n, r, i, a) {
- if (e.is_jav) return MO(e, n, r, i, a);
+function _ie(e, n, r, i, a) {
+ if (e.is_jav) return yO(e, n, r, i, a);
let o = r ? "eager" : "lazy";
return e.follow_thumb_url ? {
kind: "thumb",
@@ -31449,29 +31449,29 @@ function NO(e, n, r, i, a) {
} : e.has_thumb || e.has_local_poster ? {
kind: "thumb",
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${o}">`
- } : jO;
+ } : vO;
}
//#endregion
//#region src/react/components/media-card.tsx
-var PO = .75, FO = 9 / 16;
-function IO({ name: e }) {
+var bO = .75, vie = 9 / 16;
+function xO({ name: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
}
-var LO = {
+var yie = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, RO = (e) => e.is_jav ? "女优" : "艺人";
-function zO(e, t, n) {
- return t === "short" || n.portrait ? FO : n.active && e.is_jav && n.size === "big" ? PO : 16 / 9;
+}, bie = (e) => e.is_jav ? "女优" : "艺人";
+function xie(e, t, n) {
+ return t === "short" || n.portrait ? vie : n.active && e.is_jav && n.size === "big" ? bO : 16 / 9;
}
-function BO(e, t) {
- let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = RO(e);
+function Sie(e, t) {
+ let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = bie(e);
return {
avatar: c ? /* @__PURE__ */ (0, F.jsx)("div", {
"data-media-avatars": "",
@@ -31517,7 +31517,7 @@ function BO(e, t) {
})
};
}
-function VO() {
+function Cie() {
return /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -31536,7 +31536,7 @@ function VO() {
})]
});
}
-function HO({ item: e, actions: t }) {
+function wie({ item: e, actions: t }) {
let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-media-later": "",
@@ -31554,15 +31554,15 @@ function HO({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, F.jsx)(IO, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, F.jsx)(xO, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function UO(e, t) {
+function SO(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 WO({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
+function Tie({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
let d = (0, P.useRef)(null), f = (0, P.useRef)({
item: e,
helpers: c
@@ -31574,7 +31574,7 @@ function WO({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekSe
let p = (0, P.useCallback)((e) => {
let { item: t, helpers: n } = f.current;
d.current && d.current !== e && n.releaseHover(d.current), d.current = e, e && (!t.medium || t.medium === "video") && n.wireHover(e, t);
- }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = NO(e, i.active && e.is_jav ? i.size : "small", !1, i.javImage, c.coverHtml), v = m?.title || e.name || "", y = c.displayName(e, v), b = m?.total_size ?? e.size, x = m?.total_duration ?? e.duration, S = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = BO(e, c), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
+ }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = _ie(e, i.active && e.is_jav ? i.size : "small", !1, i.javImage, c.coverHtml), v = m?.title || e.name || "", y = c.displayName(e, v), b = m?.total_size ?? e.size, x = m?.total_duration ?? e.duration, S = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = Sie(e, c), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -31608,7 +31608,7 @@ function WO({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekSe
u(e, r);
}, O = /* @__PURE__ */ (0, F.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(zO(e, t, i)) },
+ style: { "--card-ratio": String(xie(e, t, i)) },
children: [
_.html ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-media-art": _.kind,
@@ -31623,11 +31623,11 @@ function WO({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekSe
}),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, F.jsx)(IO, { name: "check" })
+ children: /* @__PURE__ */ (0, F.jsx)(xO, { name: "check" })
}),
/* @__PURE__ */ (0, F.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, F.jsx)(IO, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, F.jsx)(xO, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]
}),
m ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-media-group": "",
@@ -31654,8 +31654,8 @@ function WO({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekSe
"data-media-scrub": "",
children: /* @__PURE__ */ (0, F.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, F.jsx)(VO, {}),
- /* @__PURE__ */ (0, F.jsx)(HO, {
+ /* @__PURE__ */ (0, F.jsx)(Cie, {}),
+ /* @__PURE__ */ (0, F.jsx)(wie, {
item: e,
actions: l
}),
@@ -31665,27 +31665,27 @@ function WO({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekSe
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), UO(d.current, -s);
+ e.stopPropagation(), SO(d.current, -s);
},
title: `后退 ${s} 秒`,
"aria-label": `后退 ${s} 秒`,
- children: /* @__PURE__ */ (0, F.jsx)(IO, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, F.jsx)(xO, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), UO(d.current, s);
+ e.stopPropagation(), SO(d.current, s);
},
title: `前进 ${s} 秒`,
"aria-label": `前进 ${s} 秒`,
- children: /* @__PURE__ */ (0, F.jsx)(IO, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, F.jsx)(xO, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, F.jsx)(IO, { name: "expand" })
+ children: /* @__PURE__ */ (0, F.jsx)(xO, { name: "expand" })
})
]
})
@@ -31761,8 +31761,8 @@ function WO({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekSe
]
});
}
-function GO({ item: e, selected: n, selectMode: i, helpers: a, actions: o, onOpen: s }) {
- let c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : LO[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", v = (t) => {
+function Eie({ item: e, selected: n, selectMode: i, helpers: a, actions: o, onOpen: s }) {
+ let c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : yie[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", v = (t) => {
t.preventDefault(), t.stopPropagation(), !l && (u(!0), o.resourceOperation(e, h).catch(() => {}).finally(() => u(!1)));
}, y = (t) => {
if (c.current) {
@@ -31788,7 +31788,7 @@ function GO({ item: e, selected: n, selectMode: i, helpers: a, actions: o, onOpe
children: [
/* @__PURE__ */ (0, F.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, F.jsx)(IO, { name: m }), /* @__PURE__ */ (0, F.jsx)("b", { children: p })]
+ children: [/* @__PURE__ */ (0, F.jsx)(xO, { name: m }), /* @__PURE__ */ (0, F.jsx)("b", { children: p })]
}),
d ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-media-art": "thumb",
@@ -31800,11 +31800,11 @@ function GO({ item: e, selected: n, selectMode: i, helpers: a, actions: o, onOpe
}),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, F.jsx)(IO, { name: "check" })
+ children: /* @__PURE__ */ (0, F.jsx)(xO, { name: "check" })
}),
/* @__PURE__ */ (0, F.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, F.jsx)(IO, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, F.jsx)(xO, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -31814,7 +31814,7 @@ function GO({ item: e, selected: n, selectMode: i, helpers: a, actions: o, onOpe
onClick: v,
"aria-busy": l || void 0,
"aria-disabled": l || void 0,
- children: l ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: _(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, F.jsx)("span", { children: b })] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(IO, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, F.jsx)("span", { children: g })] })
+ children: l ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: _(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, F.jsx)("span", { children: b })] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(xO, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, F.jsx)("span", { children: g })] })
})
]
}), /* @__PURE__ */ (0, F.jsxs)("div", {
@@ -31823,7 +31823,7 @@ function GO({ item: e, selected: n, selectMode: i, helpers: a, actions: o, onOpe
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, F.jsx)(IO, { name: m })
+ children: /* @__PURE__ */ (0, F.jsx)(xO, { name: m })
}), /* @__PURE__ */ (0, F.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, F.jsx)("span", {
@@ -31852,14 +31852,14 @@ function GO({ item: e, selected: n, selectMode: i, helpers: a, actions: o, onOpe
})]
});
}
-function KO(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, F.jsx)(GO, { ...e }) : /* @__PURE__ */ (0, F.jsx)(WO, { ...e });
+function Die(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, F.jsx)(Eie, { ...e }) : /* @__PURE__ */ (0, F.jsx)(Tie, { ...e });
}
-var qO = (0, P.memo)(KO), JO = { "text-aa": 1.435 }, YO = /* @__PURE__ */ new Map();
-function XO(e) {
- let t = YO.get(e);
+var CO = (0, P.memo)(Die), Oie = { "text-aa": 1.435 }, wO = /* @__PURE__ */ new Map();
+function TO(e) {
+ let t = wO.get(e);
if (t) return t;
- let n = JO[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, F.jsx)("svg", {
+ let n = Oie[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, F.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -31873,16 +31873,16 @@ function XO(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, YO.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, wO.set(e, r), r;
}
//#endregion
//#region src/react/components/use-stack-flip.ts
-var ZO = 1100, QO = 340, $O = 5e3;
-function ek(e, t) {
+var kie = 1100, Aie = 340, jie = 5e3;
+function Mie(e, t) {
return new Promise((n) => {
let r = new Image(), i = !1, a = (e) => {
i || (i = !0, clearTimeout(s), r.onload = null, r.onerror = null, t.cancels.delete(o), n(e));
- }, o = () => a(!1), s = setTimeout(o, $O);
+ }, o = () => a(!1), s = setTimeout(o, jie);
t.cancels.add(o), r.onerror = o, r.onload = () => {
if (!r.naturalWidth) {
a(!1);
@@ -31892,7 +31892,7 @@ function ek(e, t) {
}, r.src = e;
});
}
-function iie({ load: e, canFlip: t }) {
+function Nie({ load: e, canFlip: t }) {
let [n, r] = (0, P.useState)([]), [i, a] = (0, P.useState)(0), [o, s] = (0, P.useState)(null), c = (0, P.useRef)({
live: !1,
generation: 0,
@@ -31934,11 +31934,11 @@ function iie({ load: e, canFlip: t }) {
return;
}
if (!n() || !l.current.canFlip() || i.length < 2) return;
- let o = await Promise.all(i.map((t) => ek(t, e)));
+ let o = await Promise.all(i.map((t) => Mie(t, e)));
if (!n() || !l.current.canFlip()) return;
let u = i.filter((e, t) => o[t]);
u.length < 2 || (e.count = u.length, e.at = 0, r(u), a(0), s(null), d(420, () => {
- f(), e.cycle = setInterval(f, ZO);
+ f(), e.cycle = setInterval(f, kie);
}));
};
return (0, P.useEffect)(() => u, [u]), {
@@ -31947,7 +31947,7 @@ function iie({ load: e, canFlip: t }) {
leaving: o,
onPointerEnter: () => {
let e = c.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(QO, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(Aie, () => {
e.armed = null, p();
});
},
@@ -31958,8 +31958,8 @@ function iie({ load: e, canFlip: t }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var tk = XO("play");
-function aie({ src: e }) {
+var EO = TO("play");
+function Pie({ src: e }) {
let [t, n] = (0, P.useState)(!1);
return t ? null : /* @__PURE__ */ (0, F.jsx)("img", {
"data-mix-poster": "",
@@ -31970,8 +31970,8 @@ function aie({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var nk = "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 oie({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
+var DO = "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 Fie({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
return e.length ? /* @__PURE__ */ (0, F.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, F.jsx)("button", {
@@ -31979,18 +31979,18 @@ function oie({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => r(e.kind, e.name),
- className: `${nk} cursor-pointer outline-none`,
+ className: `${DO} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: n(e) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, F.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${nk} mt-0.5`,
+ className: `${DO} mt-0.5`,
children: t
});
}
-function rk({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, faceHtml: m, badge: h, glyph: g, wholeCard: _, ...v }) {
- let y = iie({
+function OO({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, faceHtml: m, badge: h, glyph: g, wholeCard: _, ...v }) {
+ let y = Nie({
load: i,
canFlip: a
}), b = (0, P.useRef)(y.onPointerLeave);
@@ -32020,7 +32020,7 @@ function rk({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
p?.html ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-media-art": p.kind,
dangerouslySetInnerHTML: { __html: p.html }
- }) : r ? /* @__PURE__ */ (0, F.jsx)(aie, { src: r }, r) : /* @__PURE__ */ (0, F.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, F.jsx)(Pie, { src: r }, r) : /* @__PURE__ */ (0, F.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -32050,7 +32050,7 @@ function rk({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, F.jsxs)("span", {
"data-mix-badge": "",
className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",
- children: [/* @__PURE__ */ (0, F.jsx)(tk, {
+ children: [/* @__PURE__ */ (0, F.jsx)(EO, {
"aria-hidden": !0,
className: "size-3.75"
}), h ?? `${n} 个视频`]
@@ -32063,8 +32063,8 @@ function rk({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
g ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, F.jsx)(tk, {})
- }) : /* @__PURE__ */ (0, F.jsx)(oie, {
+ children: /* @__PURE__ */ (0, F.jsx)(EO, {})
+ }) : /* @__PURE__ */ (0, F.jsx)(Fie, {
faces: o,
fallback: e.slice(0, 1),
faceAvatar: s,
@@ -32089,21 +32089,21 @@ function rk({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-var ik = "";
-function sie(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(lie, { ...e });
+var kO = "";
+function Iie(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(Rie, { ...e });
let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${fO(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, F.jsx)(uie, { ...e }, t);
+ return /* @__PURE__ */ (0, F.jsx)(zie, { ...e }, t);
}
-function cie({ name: e }) {
+function Lie({ name: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
}
-function lie(e) {
- let { actions: t } = e, n = (0, P.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, F.jsx)(qO, {
+function Rie(e) {
+ let { actions: t } = e, n = (0, P.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, F.jsx)(CO, {
item: i,
variant: r,
layout: e.layout,
@@ -32123,8 +32123,8 @@ function lie(e) {
children: i
});
}
-function uie(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", o = !i && e.filters?.state === "trash", s = i ? yO(e) : vO(e), c = wt({
+function zie(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", o = !i && e.filters?.state === "trash", s = i ? mO(e) : pO(e), c = wt({
queryKey: s.queryKey,
queryFn: ({ pageParam: e, signal: t }) => s.queryFn({
pageParam: e,
@@ -32136,7 +32136,7 @@ function uie(e) {
(0, P.useEffect)(() => {
c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));
}, [c.isPending]);
- let { tiles: u, pageStarts: d } = (0, P.useMemo)(() => TO(c.data?.pages || [], {
+ let { tiles: u, pageStarts: d } = (0, P.useMemo)(() => pie(c.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !o,
javImage: r.javImage
@@ -32146,14 +32146,14 @@ function uie(e) {
e.mix,
o,
r.javImage
- ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = kO(c.isPending, e.skeletonHtml), g = (0, P.useRef)(null), _ = fie(e, c.data, u, d, g);
+ ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = gO(c.isPending, e.skeletonHtml), g = (0, P.useRef)(null), _ = AO(e, c.data, u, d, g);
(0, P.useLayoutEffect)(() => {
if (!c.data) return;
e.onCount?.(p, f);
let t = o ? null : e.countRow?.querySelector("[data-count-readout]");
if (!t) return;
let n = `${p.toLocaleString()} 个符合 · 显示 ${f}`;
- ik && (t.dataset.popCount = ik), ik = n, h(t, n);
+ kO && (t.dataset.popCount = kO), kO = n, h(t, n);
}, [
c.data,
p,
@@ -32162,12 +32162,12 @@ function uie(e) {
let v = (0, P.useCallback)((e, t) => n.open(e, t), [n]), y = (0, P.useCallback)((e, t) => n.openResource(e, t), [n]), b = (0, P.useCallback)((e) => n.openShort(e), [n]), x = (0, P.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)(mie, {
+ }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)(MO, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, F.jsx)(qO, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, F.jsx)(CO, {
item: i.item,
variant: o && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -32184,7 +32184,7 @@ function uie(e) {
"data-grid-reveal": m.fading ? "" : void 0,
children: [m.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, F.jsx)(AO, {
+ if (!c.data) return /* @__PURE__ */ (0, F.jsx)(_O, {
message: a(c.error),
onRetry: () => void c.refetch()
});
@@ -32201,15 +32201,15 @@ function uie(e) {
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: OO(u, _).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", {
+ children: gie(u, _).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(S)
- }), t.strip ? /* @__PURE__ */ (0, F.jsx)(pie, {
+ }), t.strip ? /* @__PURE__ */ (0, F.jsx)(Vie, {
cut: t.strip,
props: e,
onOpen: b
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(die, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(Bie, {
entity: i,
load: x,
enabled: () => e.canLoadMore?.() !== !1
@@ -32217,7 +32217,7 @@ function uie(e) {
})()]
});
}
-function die({ entity: e, load: t, enabled: n }) {
+function Bie({ entity: e, load: t, enabled: n }) {
let r = (0, P.useRef)(null), i = (0, P.useRef)(!1), o = (0, P.useRef)(!1), [s, c] = (0, P.useState)({
busy: !1,
error: ""
@@ -32278,12 +32278,12 @@ function die({ entity: e, load: t, enabled: n }) {
...p,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: f("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, F.jsx)(AO, {
+ }), s.error ? /* @__PURE__ */ (0, F.jsx)(_O, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function fie(e, t, n, r, i) {
+function AO(e, t, n, r, i) {
let [a, o] = (0, P.useState)([]), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(0), u = (0, P.useRef)(0), d = (0, P.useRef)([]);
return (0, P.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, P.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -32292,7 +32292,7 @@ function fie(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- KC(`/api/items?${DO(e.filters || {}, l.current)}`, r.signal).then((t) => {
+ Cw(`/api/items?${hie(e.filters || {}, l.current)}`, r.signal).then((t) => {
let n = t.items || [];
if (!n.length) {
l.current = 0;
@@ -32308,7 +32308,7 @@ function fie(e, t, n, r, i) {
}, [t]), (0, P.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 = EO(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 = mie(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, {
@@ -32318,7 +32318,7 @@ function fie(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function pie({ cut: e, props: t, onOpen: n }) {
+function Vie({ cut: e, props: t, onOpen: n }) {
let r = (0, P.useRef)(null), { wireDrag: i } = t;
return (0, P.useEffect)(() => {
r.current && i(r.current);
@@ -32334,12 +32334,12 @@ function pie({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, F.jsx)(cie, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, F.jsx)(Lie, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, F.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, F.jsx)(qO, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, F.jsx)(CO, {
item: e,
variant: "short",
layout: t.layout,
@@ -32353,9 +32353,9 @@ function pie({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function ak(e, t, n, r) {
+function jO(e, t, n, r) {
let i = t.active && !!e.is_jav;
- return e.is_jav ? MO(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
+ return e.is_jav ? yO(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
kind: "",
html: ""
} : {
@@ -32363,18 +32363,18 @@ function ak(e, t, n, r) {
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${n ? "eager" : "lazy"}">`
};
}
-function mie({ seed: e, layout: t, helpers: n, actions: r }) {
+function MO({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, P.useRef)(/* @__PURE__ */ new Map()), a = (0, P.useRef)(t);
a.current = t;
- let o = CO(e, n.tagLabel), s = (0, P.useCallback)(async () => {
- let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => SO(e, t.javImage)).slice(0, 9);
- return i.current = new Map(o.map((e) => [String(e.id), ak(e, t, !0, n).html])), o.map((e) => String(e.id));
+ let o = die(e, n.tagLabel), s = (0, P.useCallback)(async () => {
+ let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => hO(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(o.map((e) => [String(e.id), jO(e, t, !0, n).html])), o.map((e) => String(e.id));
}, [
e,
r,
n
]), c = t.active && !!e.is_jav;
- return /* @__PURE__ */ (0, F.jsx)(rk, {
+ return /* @__PURE__ */ (0, F.jsx)(OO, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -32383,8 +32383,8 @@ function mie({ seed: e, layout: t, helpers: n, actions: r }) {
glyph: !0,
wholeCard: !0,
poster: null,
- artwork: ak(e, t, !1, n),
- ratio: c && t.size === "big" ? PO : 16 / 9,
+ artwork: jO(e, t, !1, n),
+ ratio: c && t.size === "big" ? bO : 16 / 9,
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -32397,7 +32397,7 @@ function mie({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var hie = zC({
+var Hie = gw({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -32459,23 +32459,23 @@ var hie = zC({
}
}
});
-function gie({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = hie[t];
+function Uie({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Hie[t];
return /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
- className: RC("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? RC("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: hw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? hw("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, F.jsx)("span", {
- className: RC("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
- children: /* @__PURE__ */ (0, F.jsx)("span", { className: RC("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: hw("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, F.jsx)("span", { className: hw("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 ok({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, F.jsx)(Cre, {
+function NO({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, F.jsx)(Hne, {
ref: i,
...a,
- className: (t) => RC("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(gie, {
+ className: (t) => hw("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ children: (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Uie, {
state: e,
size: n,
shape: r
@@ -32487,23 +32487,23 @@ function ok({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/overlay-host.ts
-function _ie(e) {
+function Wie(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function vie(e) {
+function Gie(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return _ie(n ?? t.body);
+ return Wie(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var yie = "/api/cover-crop", bie = (e, t) => q(yie, {
+var PO = "/api/cover-crop", FO = (e, t) => q(PO, {
code: e,
box: t
-}), sk = .704;
-function ck({ className: e }) {
+}), IO = .704;
+function LO({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -32516,7 +32516,7 @@ function ck({ className: e }) {
children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-crop" })
});
}
-function xie({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function RO({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, P.useState)(!1), o = (0, P.useRef)(null);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("button", {
ref: o,
@@ -32527,15 +32527,15 @@ function xie({ code: e, coverUrl: t, box: n, onSaved: r }) {
title: "裁剪封面:框出正封那一块",
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, F.jsx)(ck, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, F.jsx)(ey, {
- getContainer: () => vie(o.current),
- children: /* @__PURE__ */ (0, F.jsx)(MD, {
+ children: /* @__PURE__ */ (0, F.jsx)(LO, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, F.jsx)($v, {
+ getContainer: () => Gie(o.current),
+ children: /* @__PURE__ */ (0, F.jsx)(eO, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, F.jsx)(Sie, {
+ children: /* @__PURE__ */ (0, F.jsx)(zO, {
code: e,
coverUrl: t,
box: n,
@@ -32545,9 +32545,9 @@ function xie({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function Sie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(null), [l, u] = (0, P.useState)(!0), d = PD(), f = Ct({
- mutationFn: (t) => bie(e, t),
+function zO({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(null), [l, u] = (0, P.useState)(!0), d = nO(), f = Ct({
+ mutationFn: (t) => FO(e, t),
onSuccess: () => {
i(), r();
}
@@ -32559,19 +32559,19 @@ function Sie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : xD(e, sk);
- c(CD(t, e, null));
+ } : kre(e, IO);
+ c(XD(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, F.jsx)(ND, { children: /* @__PURE__ */ (0, F.jsx)(ck, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, F.jsx)(tO, { children: /* @__PURE__ */ (0, F.jsx)(LO, { className: "size-6" }) }),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(Jw, {
+ /* @__PURE__ */ (0, F.jsx)(PT, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -32586,8 +32586,8 @@ function Sie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, F.jsx)(lD, {
- icon: hS,
+ /* @__PURE__ */ (0, F.jsx)(BD, {
+ icon: uS,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -32597,24 +32597,24 @@ function Sie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, F.jsx)("div", {
ref: d,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, F.jsx)(LD, {
+ children: /* @__PURE__ */ (0, F.jsx)(iO, {
src: t,
- aspect: l ? sk : null,
+ aspect: l ? IO : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- yD(e) && p(e);
+ JD(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, F.jsx)(ok, {
+ children: [/* @__PURE__ */ (0, F.jsx)(NO, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(CD(s, a, sk));
+ u(e), e && s && a && c(XD(s, a, IO));
},
children: /* @__PURE__ */ (0, F.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -32643,32 +32643,32 @@ function Sie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/media-sources.ts
-var Cie = "/api/sources", lk = ["media-sources"], uk = (e) => KC(Cie, e);
-async function dk(e) {
+var Kie = "/api/sources", BO = ["media-sources"], VO = (e) => Cw(Kie, e);
+async function HO(e) {
await X.fetchQuery({
- queryKey: lk,
- queryFn: () => uk(e)
+ queryKey: BO,
+ queryFn: () => VO(e)
});
}
-var wie = [
+var qie = [
"local",
"115",
"pikpak"
-], Tie = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Eie = "/api/duplicates?limit=120", fk = ["duplicates"], Die = "/api/batch", pk = (e) => KC(Eie, e);
-async function Oie(e) {
+], Jie = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Yie = "/api/duplicates?limit=120", UO = ["duplicates"], Xie = "/api/batch", WO = (e) => Cw(Yie, e);
+async function Zie(e) {
await Promise.all([X.fetchQuery({
- queryKey: fk,
- queryFn: () => pk(e)
- }), dk(e)]);
+ queryKey: UO,
+ queryFn: () => WO(e)
+ }), HO(e)]);
}
-var mk = {
+var GO = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, kie = (e, t) => t.filter((t) => e.some((e) => e.location === t)), hk = (e, t) => kie(e, t).filter((t) => e.some((e) => e.location !== t)), Aie = (e, t) => t.filter((t) => e.some((e) => hk(e.files, [t]).length));
-function jie(e, t) {
+}, Qie = (e, t) => t.filter((t) => e.some((e) => e.location === t)), KO = (e, t) => Qie(e, t).filter((t) => e.some((e) => e.location !== t)), qO = (e, t) => t.filter((t) => e.some((e) => KO(e.files, [t]).length));
+function JO(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -32687,47 +32687,47 @@ function jie(e, t) {
}
return n;
}
-function Mie(e, t) {
+function YO(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 gk(e, t) {
- for (let n = 0; n < e.length; n += 200) await q(Die, {
+async function XO(e, t) {
+ for (let n = 0; n < e.length; n += 200) await q(Xie, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var _k = "/api/library-processing", vk = ["library-processing"], yk = (e) => KC(_k, e);
-async function bk(e) {
+var ZO = "/api/library-processing", QO = ["library-processing"], $O = (e) => Cw(ZO, e);
+async function ek(e) {
await X.fetchQuery({
- queryKey: vk,
- queryFn: () => yk(e)
+ queryKey: QO,
+ queryFn: () => $O(e)
});
}
-var Nie = 2e3, Pie = 1e4, xk = "连接中断,正在重新读取处理进度";
-function Fie(e, t) {
- return e?.status === "running" ? Nie : t ? Pie : !1;
+var tk = 2e3, nk = 1e4, rk = "连接中断,正在重新读取处理进度";
+function ik(e, t) {
+ return e?.status === "running" ? tk : t ? nk : !1;
}
-var Iie = {
+var $ie = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, Sk = {
+}, ak = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function Lie(e) {
- let t = Object.entries(e).filter(([e, t]) => Sk[e] && t > 0).map(([e, t]) => `${Sk[e]} ${t} 部`);
+function eae(e) {
+ let t = Object.entries(e).filter(([e, t]) => ak[e] && t > 0).map(([e, t]) => `${ak[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function Ck(e) {
- let t = Iie[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+function ok(e) {
+ let t = $ie[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 Rie(e) {
+function tae(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -32741,21 +32741,21 @@ function Rie(e) {
log: e.issues_log || ""
} : null;
}
-var wk = "peach.library-processing.announced", zie = 120;
-function Bie(e, t, n) {
+var sk = "peach.library-processing.announced", nae = 120;
+function rae(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < zie;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < nae;
if (!(!n && !r)) {
try {
- if (e.job_id && localStorage.getItem(wk) === e.job_id) return;
- e.job_id && localStorage.setItem(wk, e.job_id);
+ if (e.job_id && localStorage.getItem(sk) === e.job_id) return;
+ e.job_id && localStorage.setItem(sk, 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 Tk = "/api/media-repair", Ek = ["media-repair"], Dk = ["media-repair", "libraries"], Vie = {
+var ck = "/api/media-repair", lk = ["media-repair"], uk = ["media-repair", "libraries"], iae = {
status: "idle",
library: "",
stage: "",
@@ -32767,33 +32767,33 @@ var Tk = "/api/media-repair", Ek = ["media-repair"], Dk = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, Ok = (e) => KC(Tk, e), kk = async (e) => (await KC("/api/libraries", e)).libraries || [];
-async function Hie(e) {
+}, dk = (e) => Cw(ck, e), fk = async (e) => (await Cw("/api/libraries", e)).libraries || [];
+async function aae(e) {
await Promise.all([X.fetchQuery({
- queryKey: Ek,
- queryFn: () => Ok(e)
+ queryKey: lk,
+ queryFn: () => dk(e)
}), X.fetchQuery({
- queryKey: Dk,
- queryFn: () => kk(e)
+ queryKey: uk,
+ queryFn: () => fk(e)
})]);
}
-var Ak = (e) => Number(e).toLocaleString();
-function Uie(e) {
+var pk = (e) => Number(e).toLocaleString();
+function oae(e) {
if (e.status === "running") {
- let t = e.total ? `${Ak(e.checked)} / ${Ak(e.total)}` : "准备中";
+ let t = e.total ? `${pk(e.checked)} / ${pk(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${Ak(e.repaired)} 部,${Ak(e.failed)} 部修不了` : `修好 ${Ak(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${pk(e.repaired)} 部,${pk(e.failed)} 部修不了` : `修好 ${pk(e.repaired)} 部` : "";
}
-var Wie = (e) => `${Ak(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Gie = "/api/quality-goals?limit=200", jk = ["quality-goals"], Mk = (e) => KC(Gie, e);
-async function Kie(e) {
+var sae = (e) => `${pk(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, cae = "/api/quality-goals?limit=200", mk = ["quality-goals"], hk = (e) => Cw(cae, e);
+async function lae(e) {
await X.fetchQuery({
- queryKey: jk,
- queryFn: () => Mk(e)
+ queryKey: mk,
+ queryFn: () => hk(e)
});
}
-var qie = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
-function Nk(e, t, n = 1) {
+var uae = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
+function gk(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;
@@ -32813,21 +32813,21 @@ function Nk(e, t, n = 1) {
t
];
}
-function Pk(e, t) {
+function _k(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function Fk(e, t) {
+function vk(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function Jie(e, t, n, r, i, a = i || !e.has(r)) {
+function dae(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 Ik(e) {
+function yk(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);
@@ -32836,7 +32836,7 @@ function Ik(e) {
}
//#endregion
//#region src/react/review/review.ts
-var Yie = "/api/review", Xie = "/api/review/decision", Zie = "/api/review/genre", Lk = ["review"], Rk = {
+var fae = "/api/review", pae = "/api/review/decision", mae = "/api/review/genre", bk = ["review"], xk = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -32846,15 +32846,15 @@ var Yie = "/api/review", Xie = "/api/review/decision", Zie = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, Qie = Object.keys(Rk), $ie = "metadata_fields", zk = (e) => typeof e == "string" && Object.hasOwn(Rk, e), eae = {
+}, hae = Object.keys(xk), gae = "metadata_fields", Sk = (e) => typeof e == "string" && Object.hasOwn(xk, e), Ck = {
creator_tags: "creator",
western_identity: "creator"
};
-function tae(e, t) {
+function wk(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 Bk(e, t) {
+function Tk(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -32871,43 +32871,43 @@ function Bk(e, t) {
}
return [...n.values()];
}
-function nae(e, t, n) {
- return n && Bk(e, t).find((e) => e.key === n)?.rows || e;
+function Ek(e, t, n) {
+ return n && Tk(e, t).find((e) => e.key === n)?.rows || e;
}
-function rae(e, t) {
- let n = Pk(e.length, 20), r = Fk(t, n);
+function Dk(e, t) {
+ let n = _k(e.length, 20), r = vk(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function iae(e) {
+function Ok(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 aae(e, t, n, r, i, a) {
- return Jie(e, t, n, r, i, a);
+function kk(e, t, n, r, i, a) {
+ return dae(e, t, n, r, i, a);
}
-function Vk(e, t) {
+function Ak(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function Hk(e, t) {
+function jk(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var Uk = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function oae(e, t) {
- let n = Hk(e, t), r = Uk(e, t);
+var Mk = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Nk(e, t) {
+ let n = jk(e, t), r = Mk(e, t);
return r ? `${n} · ${r}` : n;
}
-var sae = (e) => e.reason || e.evidence || e.note || e.decision_note || "", cae = (e) => String(e.tags || "").split("|").filter(Boolean), lae = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function uae(e) {
+var Pk = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Fk = (e) => String(e.tags || "").split("|").filter(Boolean), Ik = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function Lk(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function Wk(e, t, n, r) {
+function Rk(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -32923,19 +32923,19 @@ function Wk(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var dae = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Gk = (e) => KC(Yie, e), Kk = (e) => q(Xie, e), fae = (e, t) => q(Zie, {
+var zk = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Bk = (e) => Cw(fae, e), Vk = (e) => q(pae, e), Hk = (e, t) => q(mae, {
genre: e,
tag: t
});
-async function pae(e) {
+async function Uk(e) {
await X.fetchQuery({
- queryKey: Lk,
- queryFn: () => Gk(e)
+ queryKey: bk,
+ queryFn: () => Bk(e)
});
}
-function qk(e, t) {
+function Wk(e, t) {
let n = new Set(t);
- n.size && X.setQueryData(Lk, (t) => {
+ n.size && X.setQueryData(bk, (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 : {
@@ -32951,16 +32951,16 @@ function qk(e, t) {
};
});
}
-var mae = () => X.invalidateQueries({
- queryKey: Lk,
+var Gk = () => X.invalidateQueries({
+ queryKey: bk,
exact: !0
});
-function hae(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Ik(e.fetched_at)} 的缓存` : e?.error || t;
+function Kk(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${yk(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var gae = "/api/links", Jk = "/api/links/check", Yk = "/api/links/prune", Xk = ["links"], Zk = ["links", "check"], Qk = ["links", "prune"], $k = {
+var qk = "/api/links", Jk = "/api/links/check", Yk = "/api/links/prune", Xk = ["links"], Zk = ["links", "check"], Qk = ["links", "prune"], $k = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
@@ -32971,10 +32971,10 @@ async function eA(e) {
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var tA = (e) => KC(gae, e), nA = (e) => q(Jk, { status_only: !0 }, "POST", e), _ae = ({ retry: e, checkId: t }) => eA(q(Jk, e ? {
+var tA = (e) => Cw(qk, e), nA = (e) => q(Jk, { status_only: !0 }, "POST", e), _ae = ({ retry: e, checkId: t }) => eA(q(Jk, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), rA = (e) => KC(Yk, e), vae = (e) => eA(q(Yk, {
+} : { restart: !0 })), rA = (e) => Cw(Yk, e), vae = (e) => eA(q(Yk, {
confirm: !0,
check_id: e,
background: !0
@@ -32985,7 +32985,7 @@ function bae(e) {
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var xae = "/api/organize", Sae = "/api/organize/preview", Cae = "/api/organize/apply", wae = "/api/organize/rollback", Tae = "/api/settings", aA = ["organize"], oA = (e) => KC(xae, e);
+var xae = "/api/organize", Sae = "/api/organize/preview", Cae = "/api/organize/apply", wae = "/api/organize/rollback", Tae = "/api/settings", aA = ["organize"], oA = (e) => Cw(xae, e);
async function Eae(e) {
await X.fetchQuery({
queryKey: aA,
@@ -33034,14 +33034,14 @@ var uA = "/api/resource-sync/scan", dA = "/api/resource-sync/apply", fA = ["reso
}, "POST", e), Nae = () => q(uA, {
background: !0,
restart: !0
-}), hA = (e) => KC(dA, e), Pae = (e) => q(dA, {
+}), hA = (e) => Cw(dA, e), Pae = (e) => q(dA, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), gA = (e) => (e?.sources ?? []).some((e) => wie.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+}), gA = (e) => (e?.sources ?? []).some((e) => qie.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
async function Fae(e) {
- gA(X.getQueryData(lk)) && await Promise.all([X.fetchQuery({
+ gA(X.getQueryData(BO)) && await Promise.all([X.fetchQuery({
queryKey: fA,
queryFn: () => mA(e)
}), X.fetchQuery({
@@ -33080,12 +33080,12 @@ var Hae = (e, t) => {
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], CA = (e) => KC(Uae, e), wA = (e) => KC(Wae, e), TA = (e) => {
+], CA = (e) => Cw(Uae, e), wA = (e) => Cw(Wae, e), TA = (e) => {
let t = sessionStorage.getItem("peach.library");
- return KC(t ? `${xA}&library=${encodeURIComponent(t)}` : xA, e);
+ return Cw(t ? `${xA}&library=${encodeURIComponent(t)}` : xA, e);
}, EA = (e) => Number(e || 0).toLocaleString();
function Kae(e) {
- let t = Rk, 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 = xk, 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(" · ")
@@ -33098,7 +33098,7 @@ function qae(e) {
}
var Jae = [
[yA, ({ signal: e }) => CA(e)],
- [jk, ({ signal: e }) => Mk(e)],
+ [mk, ({ signal: e }) => hk(e)],
[SA, ({ signal: e }) => TA(e)],
[Xk, ({ signal: e }) => tA(e)],
[Zk, ({ signal: e }) => nA(e)],
@@ -33122,12 +33122,12 @@ async function Yae(e) {
queryFn: () => wA(e)
}),
X.fetchQuery({
- queryKey: fk,
- queryFn: () => pk(e)
+ queryKey: UO,
+ queryFn: () => WO(e)
}),
- dk(e).then(() => Fae(e)),
- bk(e),
- Hie(e),
+ HO(e).then(() => Fae(e)),
+ ek(e),
+ aae(e),
Eae(e)
]);
}
@@ -33145,14 +33145,14 @@ var Xae = [
"bg-chart-8/10"
];
function DA(e = {}) {
- return `${qC({
+ return `${jw({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
var OA = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";
function kA({ interactive: e = !1 } = {}) {
- return qC({
+ return jw({
padding: "none",
radius: "plain",
interactive: e,
@@ -33221,7 +33221,7 @@ function jA({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var MA = zC({
+var MA = gw({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -33246,7 +33246,7 @@ var MA = zC({
}
});
function NA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = RC(MA.base, MA.size[t], MA.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
+ let c = hw(MA.base, MA.size[t], MA.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
n ? /* @__PURE__ */ (0, F.jsx)(n, {
className: MA.icon[t],
"aria-hidden": !0
@@ -33295,67 +33295,67 @@ var PA = [
}).medium;
//#endregion
//#region src/management.ts
-var toe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", noe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", roe = qC({
+var LA = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", RA = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", zA = jw({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), ioe = {
+}), BA = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, aoe = {
+}, VA = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
-}, ooe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", soe = {
+}, HA = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", UA = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, coe = qC({
+}, WA = jw({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), LA = "border-t border-border-button-default p-4 first:border-t-0";
-function RA({ tone: e = "neutral", status: t, children: n }) {
+}), GA = "border-t border-border-button-default p-4 first:border-t-0";
+function KA({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
- className: `${ooe} ${soe[e]}`,
+ className: `${HA} ${UA[e]}`,
children: [t ? /* @__PURE__ */ (0, F.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
}) : null, n]
});
}
-function zA({ id: e, children: t }) {
+function qA({ id: e, children: t }) {
return /* @__PURE__ */ (0, F.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function BA({ id: e, gap: t = "none", children: n }) {
+function JA({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, F.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function VA({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function YA({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, F.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${roe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${zA} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, F.jsx)("div", {
- className: ioe[e],
+ className: BA[e],
children: a
}), i ? /* @__PURE__ */ (0, F.jsx)("footer", {
- className: aoe[e],
+ className: VA[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function loe({ className: e }) {
+function XA({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33368,8 +33368,8 @@ function loe({ className: e }) {
children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-folder-open" })
});
}
-var uoe = "打开文件管理器失败,请重试";
-function HA({ path: e, prefix: t, className: n, onRevealed: r }) {
+var ZA = "打开文件管理器失败,请重试";
+function QA({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(""), c = (0, P.useRef)(!0);
(0, P.useEffect)(() => () => {
c.current = !1;
@@ -33380,7 +33380,7 @@ function HA({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof WC ? e.message : uoe);
+ c.current && s(e instanceof xw ? e.message : ZA);
} finally {
c.current && a(!1);
}
@@ -33391,10 +33391,10 @@ function HA({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, F.jsxs)("p", {
- className: RC("min-w-0 break-all", n),
+ className: hw("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, F.jsx)(lD, {
- icon: loe,
+ }), /* @__PURE__ */ (0, F.jsx)(BD, {
+ icon: XA,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -33409,21 +33409,21 @@ function HA({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function doe({ className: e, children: t }) {
+function $A({ className: e, children: t }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
- className: RC("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: hw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function UA({ className: e, children: t }) {
+function ej({ className: e, children: t }) {
return /* @__PURE__ */ (0, F.jsx)("p", {
- className: RC("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: hw("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function WA({ label: e, description: t, children: n }) {
+function tj({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
- className: RC("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: hw("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, F.jsx)("p", {
@@ -33438,14 +33438,14 @@ function WA({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/settings/section.tsx
-function GA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function nj({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n ? /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, F.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, F.jsx)(UA, { children: e })
+ children: /* @__PURE__ */ (0, F.jsx)(ej, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, F.jsx)(UA, { children: e }), /* @__PURE__ */ (0, F.jsx)(doe, { children: i })] });
+ }) : /* @__PURE__ */ (0, F.jsx)(ej, { children: e }), /* @__PURE__ */ (0, F.jsx)($A, { children: i })] });
return r ? /* @__PURE__ */ (0, F.jsx)("form", {
id: t,
"aria-label": e,
@@ -33460,13 +33460,13 @@ function GA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function KA({ children: e }) {
+function rj({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function qA({ divided: e = !1, children: t }) {
+function ij({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -33475,7 +33475,7 @@ function qA({ divided: e = !1, children: t }) {
children: t
});
}
-function JA({ status: e, children: t }) {
+function aj({ status: e, children: t }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",
children: [e ? /* @__PURE__ */ (0, F.jsx)("div", {
@@ -33484,43 +33484,43 @@ function JA({ status: e, children: t }) {
}) : null, t]
});
}
-function YA({ role: e, children: t }) {
+function oj({ role: e, children: t }) {
return /* @__PURE__ */ (0, F.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function XA({ children: e }) {
+function sj({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function ZA({ children: e }) {
+function cj({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function QA({ href: e, children: t }) {
+function lj({ href: e, children: t }) {
return /* @__PURE__ */ (0, F.jsx)(NA, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
- trailingIcon: yS,
+ trailingIcon: mS,
children: t
});
}
-function $A({ children: e }) {
+function uj({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function ej({ term: e, children: t }) {
+function dj({ term: e, children: t }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, F.jsx)("dt", {
@@ -33532,7 +33532,7 @@ function ej({ term: e, children: t }) {
})]
});
}
-function tj({ summary: e, defaultOpen: t = !1, children: n }) {
+function fj({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, P.useId)(), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(!1), [s, c] = (0, P.useState)(t);
return /* @__PURE__ */ (0, F.jsxs)("details", {
ref: (e) => {
@@ -33545,7 +33545,7 @@ function tj({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (g(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, F.jsx)(fS, {
+ children: [/* @__PURE__ */ (0, F.jsx)(sS, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -33560,7 +33560,7 @@ function tj({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function foe({ name: e }) {
+function pj({ name: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33569,29 +33569,29 @@ function foe({ name: e }) {
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
}
-function nj({ mark: e }) {
+function mj({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, F.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, F.jsx)(foe, { name: e });
+ }) : /* @__PURE__ */ (0, F.jsx)(pj, { name: e });
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function rj({ toast: e, mode: t, monitor: n }) {
+function hj({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = St({
- queryKey: vk,
- queryFn: ({ signal: e }) => yk(e),
- refetchInterval: (e) => Fie(e.state.data, r)
+ queryKey: QO,
+ queryFn: ({ signal: e }) => $O(e),
+ refetchInterval: (e) => ik(e.state.data, r)
}), [a, o] = (0, P.useState)(null), s = (0, P.useRef)(void 0), c = i.data;
return (0, P.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") && Bie(c, e, r);
+ r && o(c), (r || t === "notice") && rae(c, e, r);
}, [
c,
t,
@@ -33604,29 +33604,29 @@ function rj({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var poe = [
+var gj = [
{
label: "扫描并补全资料",
- icon: _S,
+ icon: fS,
command: {}
},
{
label: "只扫描",
- icon: xS,
+ icon: gS,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: Ite,
+ icon: Vte,
command: { stage: "collect" }
}
-], moe = RC(FA, IA, "text-body-2-medium"), hoe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", goe = (e) => {
+], _j = hw(FA, IA, "text-body-2-medium"), vj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", yj = (e) => {
let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;
if (!t && !n && !r && !i) return "";
let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];
return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;
-}, _oe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + goe(e);
-function voe({ busy: e, onRun: t }) {
+}, bj = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + yj(e);
+function xj({ busy: e, onRun: t }) {
let n = (0, P.useRef)(null), [r, i] = (0, P.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -33635,14 +33635,14 @@ function voe({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, F.jsx)(G, {
- leadingIcon: _S,
+ leadingIcon: fS,
onClick: () => a({}),
...Y(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, F.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: uS,
+ leadingIcon: aS,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -33651,19 +33651,19 @@ function voe({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, F.jsx)(gE, {
+ }), /* @__PURE__ */ (0, F.jsx)(ZE, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
className: PA,
- children: /* @__PURE__ */ (0, F.jsx)(vE, {
+ children: /* @__PURE__ */ (0, F.jsx)($E, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: poe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, F.jsxs)("button", {
+ children: gj.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
- className: moe,
+ className: _j,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, F.jsx)(t, {
"aria-hidden": !0,
@@ -33673,8 +33673,8 @@ function voe({ busy: e, onRun: t }) {
})
})] });
}
-function yoe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = Rie(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Lie(e.notes || {}), c = PD();
+function Sj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = tae(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = eae(e.notes || {}), c = nO();
return /* @__PURE__ */ (0, F.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -33682,7 +33682,7 @@ function yoe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "warning",
title: "处理较慢",
- children: hoe
+ children: vj
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
@@ -33694,7 +33694,7 @@ function yoe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, F.jsxs)(tj, {
+ children: /* @__PURE__ */ (0, F.jsxs)(fj, {
summary: a.label,
children: [/* @__PURE__ */ (0, F.jsx)("div", {
className: "relative",
@@ -33725,7 +33725,7 @@ function yoe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, F.jsx)(HA, {
+ children: /* @__PURE__ */ (0, F.jsx)(QA, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33739,13 +33739,13 @@ function yoe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "success",
title: "处理完成",
- children: _oe(n)
+ children: bj(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, F.jsx)(HA, {
+ children: /* @__PURE__ */ (0, F.jsx)(QA, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33757,38 +33757,38 @@ function yoe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function ij(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = rj(e), o = Ct({
- mutationFn: (e) => q(_k, e),
+function Cj(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = hj(e), o = Ct({
+ mutationFn: (e) => q(ZO, e),
onSuccess: (e) => {
- a(), X.setQueryData(vk, e), X.invalidateQueries({ queryKey: vk });
+ a(), X.setQueryData(QO, e), X.invalidateQueries({ queryKey: QO });
}
});
(0, P.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? xk : K(r.error) : "", l = o.isPending || s.status === "running", u = Ck(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? rk : K(r.error) : "", l = o.isPending || s.status === "running", u = ok(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, F.jsx)(VA, {
+ children: [/* @__PURE__ */ (0, F.jsx)(YA, {
layout: "split",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsx)(NA, {
href: "/scraping",
size: "small",
- trailingIcon: dS,
+ trailingIcon: oS,
children: "来源和凭证"
}),
s.candidates ? /* @__PURE__ */ (0, F.jsx)(NA, {
href: "/review",
size: "small",
- trailingIcon: dS,
+ trailingIcon: oS,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, F.jsx)(voe, {
+ /* @__PURE__ */ (0, F.jsx)(xj, {
busy: l,
onRun: d
})
@@ -33796,14 +33796,14 @@ function ij(e) {
children: /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(BA, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, F.jsx)(JA, { children: "扫描与采集" }),
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: toe
+ children: LA
}),
s.status === "running" ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-col gap-1.5",
- children: s.total ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)($C, {
+ children: s.total ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Rw, {
label: u,
value: s.checked || 0,
max: s.total
@@ -33817,11 +33817,11 @@ function ij(e) {
s.total,
" 个视频"
]
- })] }) : /* @__PURE__ */ (0, F.jsx)(YC, { label: u })
+ })] }) : /* @__PURE__ */ (0, F.jsx)(Pw, { label: u })
}) : null
]
})
- }), /* @__PURE__ */ (0, F.jsx)(yoe, {
+ }), /* @__PURE__ */ (0, F.jsx)(Sj, {
state: s,
problem: c,
settled: i,
@@ -33837,7 +33837,7 @@ function ij(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function boe(e) {
+function wj(e) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -33851,7 +33851,7 @@ function boe(e) {
})
});
}
-function xoe(e) {
+function Tj(e) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -33865,7 +33865,7 @@ function xoe(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Soe(e, t, n) {
+function Ej(e, t, n) {
(0, P.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -33879,7 +33879,7 @@ function Soe(e, t, n) {
n
]);
}
-function Coe(e, t) {
+function Dj(e, t) {
let n = (0, P.useRef)(!1);
return (0, P.useEffect)(() => {
if (!e) return;
@@ -33893,33 +33893,33 @@ function Coe(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var aj = (0, P.createContext)("md");
-function oj({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var Oj = (0, P.createContext)("md");
+function kj({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, P.useRef)(null), u = (0, P.useRef)(null), [d, f] = (0, P.useState)(!1);
- Soe(d, () => f(!1), [l, u]);
- let p = Coe(d, l);
- return /* @__PURE__ */ (0, F.jsx)(vre, {
+ Ej(d, () => f(!1), [l, u]);
+ let p = Dj(d, l);
+ return /* @__PURE__ */ (0, F.jsx)(Lne, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: RC("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)(Pne, {
+ className: hw("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)(Jte, {
ref: l,
- className: RC("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
- children: [/* @__PURE__ */ (0, F.jsx)(xre, {
- className: RC("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: hw("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
+ children: [/* @__PURE__ */ (0, F.jsx)(Bne, {
+ className: hw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, F.jsx)(boe, { className: RC("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, F.jsx)(gE, {
+ }), /* @__PURE__ */ (0, F.jsx)(wj, { className: hw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, F.jsx)(ZE, {
ref: u,
isNonModal: !0,
offset: 4,
- className: RC($ae, PA, "p-2", n),
- children: /* @__PURE__ */ (0, F.jsx)(Jne, {
+ className: hw($ae, PA, "p-2", n),
+ children: /* @__PURE__ */ (0, F.jsx)(pne, {
items: a,
- className: RC(eoe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, F.jsx)(aj.Provider, {
+ className: hw(eoe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, F.jsx)(Oj.Provider, {
value: r,
children: i
})
@@ -33927,19 +33927,19 @@ function oj({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function sj({ className: e, children: t, ...n }) {
- let r = (0, P.useContext)(aj);
- return /* @__PURE__ */ (0, F.jsx)(Zne, {
+function Aj({ className: e, children: t, ...n }) {
+ let r = (0, P.useContext)(Oj);
+ return /* @__PURE__ */ (0, F.jsx)(gne, {
...n,
- className: (t) => RC(FA, 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) => hw(FA, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/background-job.ts
-var cj = 2e3, woe = (e) => e, Toe = (e, t) => t;
-function lj(e) {
- let { queryKey: t, jobOf: n = woe, withJob: r = Toe, idlePollMs: i } = e, [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(e);
+var jj = 2e3, Mj = (e) => e, Nj = (e, t) => t;
+function Pj(e) {
+ let { queryKey: t, jobOf: n = Mj, withJob: r = Nj, idlePollMs: i } = e, [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(e);
(0, P.useEffect)(() => {
l.current = e;
});
@@ -33948,7 +33948,7 @@ function lj(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? cj : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? jj : i ?? !1;
}
}), d = Ct({
mutationFn: (e) => l.current.start(e),
@@ -33979,32 +33979,32 @@ function lj(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Eoe = (e) => s[e] || e, uj = (e) => X.setQueryData(Ek, e);
-function Doe() {
+var Fj = (e) => s[e] || e, Ij = (e) => X.setQueryData(lk, e);
+function Lj() {
let e = St({
- queryKey: Ek,
- queryFn: ({ signal: e }) => Ok(e),
- refetchInterval: (e) => e.state.data?.status === "running" && cj
+ queryKey: lk,
+ queryFn: ({ signal: e }) => dk(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && jj
}), t = St({
- queryKey: Dk,
- queryFn: ({ signal: e }) => kk(e)
- }), [n, r] = (0, P.useState)(""), i = ew(), a = e.data ?? Vie, 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], u = () => {
+ queryKey: uk,
+ queryFn: ({ signal: e }) => fk(e)
+ }), [n, r] = (0, P.useState)(""), i = zw(), a = e.data ?? iae, 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], u = () => {
c && l({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => uj(await q(Tk, {
+ onConfirm: async () => Ij(await q(ck, {
library: c.id,
restart: !0
}))
});
- }, d = () => void i.run("stop", (e) => q(Tk, { stop: !0 }, "POST", e), uj), f = Uie(a), p = a.status === "complete", m = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, d = () => void i.run("stop", (e) => q(ck, { stop: !0 }, "POST", e), Ij), f = oae(a), p = a.status === "complete", m = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, F.jsx)(VA, {
+ children: [/* @__PURE__ */ (0, F.jsx)(YA, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(oj, {
+ footer: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(kj, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -34012,10 +34012,10 @@ function Doe() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, F.jsxs)(sj, {
+ children: o.map((e) => /* @__PURE__ */ (0, F.jsxs)(Aj, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, F.jsx)(nj, { mark: Eoe(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, F.jsx)(mj, { mark: Fj(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, F.jsx)(G, {
onClick: d,
@@ -34029,12 +34029,12 @@ function Doe() {
children: /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(BA, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, F.jsx)(JA, { children: "媒体修复" }),
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: noe
+ children: RA
}),
- s && a.total ? /* @__PURE__ */ (0, F.jsx)($C, {
+ s && a.total ? /* @__PURE__ */ (0, F.jsx)(Rw, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -34058,7 +34058,7 @@ function Doe() {
p && a.missing_tool ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "warning",
title: "缺少 untrunc",
- children: Wie(a)
+ children: sae(a)
}) : null,
m ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
@@ -34070,7 +34070,7 @@ function Doe() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var dj = {
+var Rj = {
md: {
box: "size-4",
glyph: "size-4",
@@ -34084,11 +34084,11 @@ var dj = {
gap: "gap-1.5"
}
};
-function fj({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = dj[t], c = n || r, l = o && !a;
+function zj({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Rj[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
- className: RC("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? RC("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : RC("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: hw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? hw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : hw("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -34112,36 +34112,36 @@ function fj({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function pj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = dj[n];
- return /* @__PURE__ */ (0, F.jsx)(Bne, {
+function Bj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = Rj[n];
+ return /* @__PURE__ */ (0, F.jsx)(ene, {
ref: r,
...i,
- className: (t) => RC("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(fj, {
+ className: (t) => hw("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ children: (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(zj, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, F.jsx)("span", {
- className: RC(a.label, "text-text-primary"),
+ className: hw(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function mj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function Vj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
- className: RC("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, F.jsx)(Fre, {
+ className: hw("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, F.jsx)(ere, {
ref: r,
...i,
- className: RC("bui-table", e === "sm" && "bui-table-sm", t)
+ className: hw("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/row-click.ts
-var Ooe = [
+var Hj = [
"a",
"button",
"input",
@@ -34154,15 +34154,15 @@ var Ooe = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function hj(e, t) {
+function Uj(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Ooe);
+ let r = n.closest(Hj);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function gj({ children: e, follow: t = !1, onRowClick: n }) {
+function Wj({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -34170,15 +34170,15 @@ function gj({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && hj(e, r) && n(r.dataset.key);
+ r && Uj(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var _j = XO("unlink"), vj = XO("rotate-cw"), yj = "站点返回 404 或 410,确认这个地址不存在。", bj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", xj = "删除前会逐条重验一次;此操作不可撤销。", Sj = "暂时无法读取进度,正在重新连接…", Cj = (e) => Number(e || 0).toLocaleString();
-function wj({ label: e, value: t, note: n }) {
+var Gj = TO("unlink"), Kj = TO("rotate-cw"), qj = "站点返回 404 或 410,确认这个地址不存在。", Jj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Yj = "删除前会逐条重验一次;此操作不可撤销。", toe = "暂时无法读取进度,正在重新连接…", Xj = (e) => Number(e || 0).toLocaleString();
+function Zj({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -34197,11 +34197,11 @@ function wj({ label: e, value: t, note: n }) {
]
});
}
-function Tj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function Qj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
if (!t.length) return null;
let o = r ?? [], s = o.length > 0 && o.length === t.length;
return /* @__PURE__ */ (0, F.jsxs)("div", {
- className: LA,
+ className: GA,
children: [
/* @__PURE__ */ (0, F.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -34214,13 +34214,13 @@ function Tj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "mb-3 text-caption-1-regular text-text-secondary",
children: n
}),
- /* @__PURE__ */ (0, F.jsx)(gj, { children: /* @__PURE__ */ (0, F.jsxs)(mj, {
+ /* @__PURE__ */ (0, F.jsx)(Wj, { children: /* @__PURE__ */ (0, F.jsxs)(Vj, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, F.jsxs)(HE, { children: [
- i ? /* @__PURE__ */ (0, F.jsx)(UE, {
+ children: [/* @__PURE__ */ (0, F.jsxs)(CD, { children: [
+ i ? /* @__PURE__ */ (0, F.jsx)(wD, {
id: "pick",
- children: /* @__PURE__ */ (0, F.jsx)(pj, {
+ children: /* @__PURE__ */ (0, F.jsx)(Bj, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -34228,44 +34228,44 @@ function Tj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, F.jsx)(UE, {
+ /* @__PURE__ */ (0, F.jsx)(wD, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, F.jsx)(UE, {
+ /* @__PURE__ */ (0, F.jsx)(wD, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, F.jsx)(UE, {
+ /* @__PURE__ */ (0, F.jsx)(wD, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, F.jsx)(UE, {
+ /* @__PURE__ */ (0, F.jsx)(wD, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, F.jsx)(UE, {
+ /* @__PURE__ */ (0, F.jsx)(wD, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, F.jsx)(GE, { children: t.map((e) => /* @__PURE__ */ (0, F.jsxs)(JE, {
+ ] }), /* @__PURE__ */ (0, F.jsx)(ED, { children: t.map((e) => /* @__PURE__ */ (0, F.jsxs)(kD, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, F.jsx)(XE, { children: /* @__PURE__ */ (0, F.jsx)(pj, {
+ i ? /* @__PURE__ */ (0, F.jsx)(jD, { children: /* @__PURE__ */ (0, F.jsx)(Bj, {
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, F.jsx)(XE, { children: e.entity }),
- /* @__PURE__ */ (0, F.jsx)(XE, { children: $k[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, F.jsx)(XE, { children: e.label || "" }),
- /* @__PURE__ */ (0, F.jsx)(XE, { children: /* @__PURE__ */ (0, F.jsx)("span", {
+ /* @__PURE__ */ (0, F.jsx)(jD, { children: e.entity }),
+ /* @__PURE__ */ (0, F.jsx)(jD, { children: $k[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, F.jsx)(jD, { children: e.label || "" }),
+ /* @__PURE__ */ (0, F.jsx)(jD, { children: /* @__PURE__ */ (0, F.jsx)("span", {
className: "tabular-nums text-text-error-primary",
children: e.note
}) }),
- /* @__PURE__ */ (0, F.jsx)(XE, { children: /* @__PURE__ */ (0, F.jsxs)("a", {
+ /* @__PURE__ */ (0, F.jsx)(jD, { children: /* @__PURE__ */ (0, F.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -34275,7 +34275,7 @@ function Tj({ 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, F.jsx)(yS, {
+ }), /* @__PURE__ */ (0, F.jsx)(mS, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -34287,24 +34287,24 @@ function Tj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function Ej({ line: e, value: t, total: n }) {
+function $j({ line: e, value: t, total: n }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
- className: `${LA} flex flex-col gap-1.5`,
- children: n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)($C, {
+ className: `${GA} flex flex-col gap-1.5`,
+ children: n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Rw, {
label: e,
value: t || 0,
max: n
}), /* @__PURE__ */ (0, F.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, F.jsx)(YC, { label: e })
+ })] }) : /* @__PURE__ */ (0, F.jsx)(Pw, { label: e })
});
}
-function Dj() {
+function noe() {
let e = St({
queryKey: Xk,
queryFn: ({ signal: e }) => tA(e)
- }), [t, n] = (0, P.useState)([]), r = lj({
+ }), [t, n] = (0, P.useState)([]), r = Pj({
queryKey: Qk,
queryFn: ({ signal: e }) => rA(e),
start: vae,
@@ -34317,7 +34317,7 @@ function Dj() {
exact: !0
});
}
- }), i = lj({
+ }), i = Pj({
queryKey: Zk,
queryFn: ({ signal: e }) => nA(e),
start: _ae,
@@ -34360,7 +34360,7 @@ function Dj() {
else if (i.query.isError && a) b = /* @__PURE__ */ (0, F.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: Sj
+ children: toe
});
else if (a?.status === "failed") b = /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
@@ -34370,48 +34370,48 @@ function Dj() {
else if (a && a.status !== "idle") {
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
b = /* @__PURE__ */ (0, F.jsxs)("div", {
- className: coe,
+ className: WA,
children: [
- a.status === "running" ? /* @__PURE__ */ (0, F.jsx)(Ej, {
+ a.status === "running" ? /* @__PURE__ */ (0, F.jsx)($j, {
line: bae(a),
value: a.checked,
total: a.total
}) : null,
- c ? /* @__PURE__ */ (0, F.jsx)(Ej, {
+ c ? /* @__PURE__ */ (0, F.jsx)($j, {
line: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
total: r.job?.total
}) : null,
- /* @__PURE__ */ (0, F.jsx)(Tj, {
+ /* @__PURE__ */ (0, F.jsx)(Qj, {
title: "地址已失效",
items: d,
- hint: yj
+ hint: qj
}),
- /* @__PURE__ */ (0, F.jsx)(Tj, {
+ /* @__PURE__ */ (0, F.jsx)(Qj, {
title: "本次未访问成功",
items: f,
- hint: bj,
+ hint: Jj,
picked: p.length ? t : void 0,
onPick: p.length ? n : void 0,
children: p.length ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, F.jsxs)(RA, { children: [/* @__PURE__ */ (0, F.jsx)(G, {
- leadingIcon: vj,
+ children: /* @__PURE__ */ (0, F.jsxs)(KA, { children: [/* @__PURE__ */ (0, F.jsx)(G, {
+ leadingIcon: Kj,
disabled: !t.length,
...Y(s),
onClick: () => g(t),
children: e
}), /* @__PURE__ */ (0, F.jsx)(G, {
- leadingIcon: vj,
+ leadingIcon: Kj,
...Y(s),
onClick: () => g(p.map((e) => e.id)),
children: `全部重试(${p.length})`
})] })
}) : null
}),
- u && d.length ? /* @__PURE__ */ (0, F.jsx)(RA, {
+ u && d.length ? /* @__PURE__ */ (0, F.jsx)(KA, {
tone: "error",
- status: xj,
+ status: Yj,
children: /* @__PURE__ */ (0, F.jsx)(G, {
variant: "danger",
...Y(c),
@@ -34420,7 +34420,7 @@ function Dj() {
})
}) : null,
u && !d.length && !f.length ? /* @__PURE__ */ (0, F.jsx)("p", {
- className: `${LA} text-body-regular text-notification-success-foreground`,
+ className: `${GA} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -34431,20 +34431,20 @@ function Dj() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, F.jsx)(zA, {
+ /* @__PURE__ */ (0, F.jsx)(qA, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, F.jsxs)(VA, {
+ /* @__PURE__ */ (0, F.jsxs)(YA, {
layout: "split",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, F.jsx)(G, {
- leadingIcon: _j,
+ leadingIcon: Gj,
...Y(s),
onClick: () => g(),
children: s ? "检查中" : u ? "重新检查" : "检查死链"
}),
- children: [/* @__PURE__ */ (0, F.jsx)(BA, {
+ children: [/* @__PURE__ */ (0, F.jsx)(JA, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -34454,13 +34454,13 @@ function Dj() {
children: K(e.error)
}) : m ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, F.jsx)(wj, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Zj, {
label: "链接总数",
- value: Cj(m.total),
- note: `分布在 ${Cj(m.entities)} 个女优、厂牌与系列`
- }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(wj, {
+ value: Xj(m.total),
+ note: `分布在 ${Xj(m.entities)} 个女优、厂牌与系列`
+ }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(Zj, {
label: $k[e] || e,
- value: Cj(t)
+ value: Xj(t)
}, e))]
}), h ? /* @__PURE__ */ (0, F.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -34483,11 +34483,11 @@ function Dj() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Oj = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, kj = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Aj = 8;
-function jj({ plan: e }) {
+var roe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, ioe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", aoe = 8;
+function ooe({ plan: e }) {
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, Aj).map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {
+ children: e.rows.slice(0, aoe).map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, F.jsx)("span", {
@@ -34513,7 +34513,7 @@ function jj({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function Mj({ toast: t, failure: n }) {
+function soe({ toast: t, failure: n }) {
let r = St({
queryKey: aA,
queryFn: ({ signal: e }) => oA(e)
@@ -34541,7 +34541,7 @@ function Mj({ toast: t, failure: n }) {
let t = jae.test(K(e)) ? "dir" : "file";
_(t), (t === "dir" ? y : v).current?.focus();
}
- }), S = lj({
+ }), S = Pj({
queryKey: aA,
queryFn: ({ signal: e }) => oA(e),
start: Oae,
@@ -34560,7 +34560,7 @@ function Mj({ toast: t, failure: n }) {
x.isPending || !u || (_(null), x.mutate(b()));
}, k = () => void l({
title: "按模板整理文件",
- body: Oj(E),
+ body: roe(E),
confirmLabel: "整理文件",
onConfirm: () => S.start.mutateAsync({
kind: "apply",
@@ -34568,7 +34568,7 @@ function Mj({ toast: t, failure: n }) {
})
}), A = () => void l({
title: "回滚上一批整理",
- body: kj,
+ body: ioe,
confirmLabel: "回滚整理",
onConfirm: () => S.start.mutateAsync({ kind: "rollback" })
}), j = null, M = S.job, N = S.outcome;
@@ -34576,7 +34576,7 @@ function Mj({ toast: t, failure: n }) {
let e = M.message || M.stage || "正在整理文件…";
j = M.total ? /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, F.jsx)($C, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Rw, {
label: e,
value: M.checked || 0,
max: M.total
@@ -34584,7 +34584,7 @@ function Mj({ toast: t, failure: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e
})]
- }) : /* @__PURE__ */ (0, F.jsx)(YC, { label: e });
+ }) : /* @__PURE__ */ (0, F.jsx)(Pw, { label: e });
} else if (N?.status === "failed") j = /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "任务失败",
@@ -34601,7 +34601,7 @@ function Mj({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: K(S.start.error)
- }) : x.isPending ? j = /* @__PURE__ */ (0, F.jsx)(YC, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, F.jsx)(J, {
+ }) : x.isPending ? j = /* @__PURE__ */ (0, F.jsx)(Pw, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "模板不可用",
children: K(x.error)
@@ -34609,8 +34609,8 @@ function Mj({ toast: t, failure: n }) {
tone: "neutral",
title: "预览结果",
children: Mae(w)
- }), T ? /* @__PURE__ */ (0, F.jsx)(jj, { plan: w }) : null] }));
- return /* @__PURE__ */ (0, F.jsxs)(VA, {
+ }), T ? /* @__PURE__ */ (0, F.jsx)(ooe, { plan: w }) : null] }));
+ return /* @__PURE__ */ (0, F.jsxs)(YA, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -34634,7 +34634,7 @@ function Mj({ toast: t, failure: n }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, F.jsx)(BA, {
+ /* @__PURE__ */ (0, F.jsx)(JA, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -34654,20 +34654,20 @@ function Mj({ toast: t, failure: n }) {
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- a.length ? /* @__PURE__ */ (0, F.jsx)(oj, {
+ a.length ? /* @__PURE__ */ (0, F.jsx)(kj, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: u || null,
onSelectionChange: (e) => {
e !== null && (c(String(e)), _(null), x.reset());
},
- children: a.map((t) => /* @__PURE__ */ (0, F.jsxs)(sj, {
+ children: a.map((t) => /* @__PURE__ */ (0, F.jsxs)(Aj, {
id: t.location,
textValue: e[t.location] || t.location,
- children: [/* @__PURE__ */ (0, F.jsx)(nj, { mark: s[t.location] || "database" }), e[t.location] || t.location]
+ children: [/* @__PURE__ */ (0, F.jsx)(mj, { mark: s[t.location] || "database" }), e[t.location] || t.location]
}, t.location))
}) : null,
- /* @__PURE__ */ (0, F.jsx)(gD, {
+ /* @__PURE__ */ (0, F.jsx)(GD, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: m.file,
@@ -34678,7 +34678,7 @@ function Mj({ toast: t, failure: n }) {
h({ file: e }), _(null);
}
}),
- /* @__PURE__ */ (0, F.jsx)(gD, {
+ /* @__PURE__ */ (0, F.jsx)(GD, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: m.dir,
@@ -34718,36 +34718,36 @@ function Mj({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var Nj = XO("git-compare"), Pj = XO("rotate-cw"), Fj = "暂时无法读取进度,正在重新连接…", Ij = "清理失效条目", Lj = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", Rj = (e) => Number(e || 0).toLocaleString();
-function zj({ scan: e }) {
+var coe = TO("git-compare"), loe = TO("rotate-cw"), uoe = "暂时无法读取进度,正在重新连接…", eM = "清理失效条目", tM = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", nM = (e) => Number(e || 0).toLocaleString();
+function doe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", {
- className: Lj,
+ className: tM,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, F.jsx)("article", {
className: kA(),
children: /* @__PURE__ */ (0, F.jsx)(AA, {
label: Lae[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, F.jsx)(nj, { mark: s[e.location] ?? "database" }),
+ mark: /* @__PURE__ */ (0, F.jsx)(mj, { mark: s[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, F.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${Rj(e.missing)} 项` : "—",
+ figure: e.online ? `${nM(e.missing)} 项` : "—",
meta: Vae(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, F.jsxs)("div", {
- className: Lj,
+ className: tM,
children: [
/* @__PURE__ */ (0, F.jsx)("article", {
className: kA(),
children: /* @__PURE__ */ (0, F.jsx)(AA, {
label: "待永久删除",
- figure: `${Rj(e.missing)} 项`,
+ figure: `${nM(e.missing)} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
@@ -34755,7 +34755,7 @@ function zj({ scan: e }) {
className: kA(),
children: /* @__PURE__ */ (0, F.jsx)(AA, {
label: "空文件夹",
- figure: `${Rj(e.empty)} 个`,
+ figure: `${nM(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
@@ -34763,15 +34763,15 @@ function zj({ scan: e }) {
className: kA(),
children: /* @__PURE__ */ (0, F.jsx)(AA, {
label: "可清理的缓存",
- figure: `${Rj(t.files)} 个`,
+ figure: `${nM(t.files)} 个`,
meta: t.files ? r(t.bytes) : ""
})
})
]
})] });
}
-function Bj({ toast: e }) {
- let t = lj({
+function foe({ toast: e }) {
+ let t = Pj({
queryKey: pA,
queryFn: ({ signal: e }) => hA(e),
start: Pae,
@@ -34784,17 +34784,17 @@ function Bj({ toast: e }) {
exact: !0
}), t.status !== "complete") return;
let { done: n, left: r } = vA(t);
- r ? e(`已完成 ${Rj(n)} 项,${Rj(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ r ? e(`已完成 ${nM(n)} 项,${nM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = lj({
+ }), n = Pj({
queryKey: fA,
queryFn: ({ signal: e }) => mA(e),
start: Nae,
onStarted: () => t.dismiss()
}), i = n.job, a = n.running || n.start.isPending, o = t.running || t.start.isPending, s = i?.status === "complete" || i?.status === "failed", c = a ? "扫描中" : s ? "重新扫描" : "检查文件", u = (e) => void l({
- title: Ij,
+ title: eM,
body: Bae(e),
- confirmLabel: Ij,
+ confirmLabel: eM,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), d = t.outcome, f = (e) => {
@@ -34811,7 +34811,7 @@ function Bj({ toast: e }) {
children: d.error || "任务失败"
});
else if (d) p = f(d);
- else if (t.running) p = /* @__PURE__ */ (0, F.jsx)(YC, { label: t.job?.message || "正在复核并清理失效条目…" });
+ else if (t.running) p = /* @__PURE__ */ (0, F.jsx)(Pw, { label: t.job?.message || "正在复核并清理失效条目…" });
else if (n.start.isError) p = /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "扫描失败",
@@ -34820,20 +34820,20 @@ function Bj({ toast: e }) {
else if (n.query.isError && i) p = /* @__PURE__ */ (0, F.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: Fj
+ children: uoe
});
else if (i?.status === "running") {
let e = Rae(i);
p = /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-col gap-1.5 rounded-2lg border border-separator-border px-4 py-3.5",
- children: i.total_sources ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)($C, {
+ children: i.total_sources ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Rw, {
label: e,
value: i.completed_sources || 0,
max: i.total_sources
}), /* @__PURE__ */ (0, F.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, F.jsx)(YC, { label: "正在检查本地磁盘和网盘…" })
+ })] }) : /* @__PURE__ */ (0, F.jsx)(Pw, { label: "正在检查本地磁盘和网盘…" })
});
} else if (i?.status === "failed") p = /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
@@ -34848,7 +34848,7 @@ function Bj({ toast: e }) {
else if (i?.status === "complete") {
let e = Iae(i);
p = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(zj, { scan: i }),
+ /* @__PURE__ */ (0, F.jsx)(doe, { scan: i }),
e ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "neutral",
title: "清理内容",
@@ -34860,7 +34860,7 @@ function Bj({ toast: e }) {
variant: "danger",
...Y(o),
onClick: () => u(i),
- children: o ? "正在复核并清理…" : Ij
+ children: o ? "正在复核并清理…" : eM
}) : /* @__PURE__ */ (0, F.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -34877,23 +34877,23 @@ function Bj({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, F.jsx)(zA, {
+ /* @__PURE__ */ (0, F.jsx)(qA, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, F.jsxs)(VA, {
+ /* @__PURE__ */ (0, F.jsxs)(YA, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, F.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: s && !a ? Pj : Nj,
+ leadingIcon: s && !a ? loe : coe,
...Y(a),
onClick: () => {
a || n.start.mutate();
},
children: c
}),
- children: [/* @__PURE__ */ (0, F.jsx)(BA, {
+ children: [/* @__PURE__ */ (0, F.jsx)(JA, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -34912,10 +34912,10 @@ function Bj({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function Vj(e, t) {
+function rM(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function Hj({ section: e, label: t, icon: n, value: r, open: i }) {
+function iM({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
className: kA({ interactive: !0 }),
@@ -34929,26 +34929,26 @@ function Hj({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var Uj = XO("square-check-big"), Wj = XO("sparkles"), Gj = XO("file-stack"), Kj = XO("file-archive"), qj = XO("trash"), Jj = [
+var poe = TO("square-check-big"), moe = TO("sparkles"), hoe = TO("file-stack"), goe = TO("file-archive"), _oe = TO("trash"), voe = [
yA,
- jk,
- fk
-], Yj = () => {
- for (let e of Jj) X.invalidateQueries({
+ mk,
+ UO
+], yoe = () => {
+ for (let e of voe) X.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function Xj({ toast: e, failure: t, open: n }) {
+function boe({ toast: e, failure: t, open: n }) {
let i = St({
queryKey: yA,
queryFn: ({ signal: e }) => CA(e)
}), a = St({
- queryKey: jk,
- queryFn: ({ signal: e }) => Mk(e)
+ queryKey: mk,
+ queryFn: ({ signal: e }) => hk(e)
}), o = St({
- queryKey: fk,
- queryFn: ({ signal: e }) => pk(e)
+ queryKey: UO,
+ queryFn: ({ signal: e }) => WO(e)
}), s = St({
queryKey: bA,
queryFn: ({ signal: e }) => wA(e)
@@ -34956,53 +34956,53 @@ function Xj({ toast: e, failure: t, open: n }) {
queryKey: SA,
queryFn: ({ signal: e }) => TA(e)
}), l = St({
- queryKey: lk,
- queryFn: ({ signal: e }) => uk(e)
+ queryKey: BO,
+ queryFn: ({ signal: e }) => VO(e)
}), u = (t) => e(t);
- return /* @__PURE__ */ (0, F.jsxs)(XC, { children: [
+ return /* @__PURE__ */ (0, F.jsxs)(Fw, { children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
className: Qae,
children: [
- /* @__PURE__ */ (0, F.jsx)(Hj, {
+ /* @__PURE__ */ (0, F.jsx)(iM, {
section: "review",
label: "人工复核",
- icon: Uj,
+ icon: poe,
open: n,
- value: Vj(i, Kae)
+ value: rM(i, Kae)
}),
- /* @__PURE__ */ (0, F.jsx)(Hj, {
+ /* @__PURE__ */ (0, F.jsx)(iM, {
section: "quality",
label: "高清版",
- icon: Wj,
+ icon: moe,
open: n,
- value: Vj(a, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: rM(a, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, F.jsx)(Hj, {
+ /* @__PURE__ */ (0, F.jsx)(iM, {
section: "duplicates",
label: "重复文件",
- icon: Gj,
+ icon: hoe,
open: n,
- value: Vj(o, (e) => Number(e.total || 0) ? {
+ value: rM(o, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${r(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, F.jsx)(Hj, {
+ /* @__PURE__ */ (0, F.jsx)(iM, {
section: "ads",
label: "垃圾文件",
- icon: Kj,
+ icon: goe,
open: n,
- value: Vj(s, (e) => ({
+ value: rM(s, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
meta: qae(e)
}))
}),
- /* @__PURE__ */ (0, F.jsx)(Hj, {
+ /* @__PURE__ */ (0, F.jsx)(iM, {
section: "trash",
label: "回收站",
- icon: qj,
+ icon: _oe,
open: n,
- value: Vj(c, (e) => ({
+ value: rM(c, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${r(e.bytes || 0)}` : ""
}))
@@ -35015,29 +35015,29 @@ function Xj({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, F.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, F.jsx)(ij, {
+ children: /* @__PURE__ */ (0, F.jsx)(Cj, {
toast: u,
monitor: !0,
- onComplete: Yj
+ onComplete: yoe
})
}),
/* @__PURE__ */ (0, F.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, F.jsx)(Doe, {})
+ children: /* @__PURE__ */ (0, F.jsx)(Lj, {})
}),
- /* @__PURE__ */ (0, F.jsx)(Mj, {
+ /* @__PURE__ */ (0, F.jsx)(soe, {
toast: u,
failure: t
})
]
}),
- /* @__PURE__ */ (0, F.jsx)(Dj, {}),
- gA(l.data) ? /* @__PURE__ */ (0, F.jsx)(Bj, { toast: e }) : null
+ /* @__PURE__ */ (0, F.jsx)(noe, {}),
+ gA(l.data) ? /* @__PURE__ */ (0, F.jsx)(foe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function Zj({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function aM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -35064,7 +35064,7 @@ function Zj({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/components/use-stuck.ts
-function Qj(e) {
+function oM(e) {
(0, P.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -35082,9 +35082,9 @@ function Qj(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function $j({ title: e, children: t }) {
+function xoe({ title: e, children: t }) {
let n = (0, P.useRef)(null);
- return Qj(n), /* @__PURE__ */ (0, F.jsxs)("div", {
+ return oM(n), /* @__PURE__ */ (0, F.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -35097,9 +35097,9 @@ function $j({ title: e, children: t }) {
}), t]
});
}
-function eM({ label: e, topLabel: t, top: n, bottom: r }) {
+function Soe({ label: e, topLabel: t, top: n, bottom: r }) {
let i = (0, P.useRef)(null);
- return Qj(i), /* @__PURE__ */ (0, F.jsxs)("div", {
+ return oM(i), /* @__PURE__ */ (0, F.jsxs)("div", {
ref: i,
role: "group",
"aria-label": e,
@@ -35119,22 +35119,22 @@ function eM({ label: e, topLabel: t, top: n, bottom: r }) {
})]
});
}
-var tM = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function nM({ children: e, pressed: t, onPress: n, ...r }) {
+var Coe = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
+function woe({ children: e, pressed: t, onPress: n, ...r }) {
return /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
...r,
"aria-pressed": t,
- className: tM,
+ className: Coe,
onClick: n,
children: e
});
}
-var rM = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function iM({ children: e, onPress: t, busy: n = !1 }) {
+var Toe = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function sM({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
- className: rM,
+ className: Toe,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -35145,20 +35145,20 @@ function iM({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var aM = XO("play"), oM = XO("file-stack"), sM = qC({
+var Eoe = TO("play"), Doe = TO("file-stack"), Ooe = jw({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
}), cM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", lM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", uM = "font-mono text-caption-1-regular leading-5 text-text-secondary", dM = () => {
X.invalidateQueries({
- queryKey: fk,
+ queryKey: UO,
exact: !0
}), X.invalidateQueries({
queryKey: SA,
exact: !0
});
};
-function fM(e) {
+function koe(e) {
return e.identical ? /* @__PURE__ */ (0, F.jsx)("span", {
className: `${lM} text-(--keep)`,
children: "sha1 一致"
@@ -35167,7 +35167,7 @@ function fM(e) {
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function pM({ file: t, openItem: i }) {
+function Aoe({ file: t, openItem: i }) {
let a = () => i(t.id);
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -35177,7 +35177,7 @@ function pM({ file: t, openItem: i }) {
onClick: a,
"aria-label": `预览 ${t.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, F.jsx)(aM, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Eoe, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, F.jsx)("img", {
@@ -35211,7 +35211,7 @@ function pM({ file: t, openItem: i }) {
}),
/* @__PURE__ */ (0, F.jsxs)("span", {
className: `${uM} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, F.jsx)(nj, { mark: s[t.location] || "database" }), /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(mj, { mark: s[t.location] || "database" }), /* @__PURE__ */ (0, F.jsx)("span", {
className: "whitespace-nowrap",
children: e[t.location] || t.location || t.drive
})]
@@ -35233,19 +35233,19 @@ function pM({ file: t, openItem: i }) {
]
});
}
-function mM({ openItem: t, toast: n, failure: i }) {
+function joe({ openItem: t, toast: n, failure: i }) {
let a = St({
- queryKey: fk,
- queryFn: ({ signal: e }) => pk(e)
+ queryKey: UO,
+ queryFn: ({ signal: e }) => WO(e)
}), o = St({
- queryKey: lk,
- queryFn: ({ signal: e }) => uk(e)
+ queryKey: BO,
+ queryFn: ({ signal: e }) => VO(e)
}), [s, c] = (0, P.useState)(""), u = Ct({
- mutationFn: (e) => gk(e, "dispose"),
+ mutationFn: (e) => XO(e, "dispose"),
onSuccess: (e, t) => {
dM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
try {
- await gk(t, "restore");
+ await XO(t, "restore");
} catch (e) {
i("撤销移入回收站", e);
} finally {
@@ -35263,12 +35263,12 @@ function mM({ openItem: t, toast: n, failure: i }) {
children: a.error ? K(a.error) : "读取重复文件失败"
})
});
- let f = d.groups ?? [], p = Tie(o.data), m = ({ groups: e, keep: t, key: n }) => {
+ let f = d.groups ?? [], p = Jie(o.data), m = ({ groups: e, keep: t, key: n }) => {
if (u.isPending) return;
- let i = jie(e, t);
+ let i = JO(e, t);
i.length && l({
title: "移入回收站",
- body: `将把 ${i.length} 个重复文件的馆藏记录移入回收站,每组保留${mk[t] ?? mk.largest}。文件共 ${r(Mie(e, i))},记录可从回收站还原。`,
+ body: `将把 ${i.length} 个重复文件的馆藏记录移入回收站,每组保留${GO[t] ?? GO.largest}。文件共 ${r(YO(e, i))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (c(n), u.mutateAsync(i))
});
@@ -35276,15 +35276,15 @@ function mM({ openItem: t, toast: n, failure: i }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, F.jsx)(Zj, {
+ /* @__PURE__ */ (0, F.jsx)(aM, {
label: "重复内容",
figure: `${Number(d.total || 0).toLocaleString()} 组`,
detail: `${d.files} 个文件 · 可回收 ${r(d.reclaimable)}`
}),
- f.length ? /* @__PURE__ */ (0, F.jsxs)($j, {
+ f.length ? /* @__PURE__ */ (0, F.jsxs)(xoe, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, F.jsx)(iM, {
+ /* @__PURE__ */ (0, F.jsx)(sM, {
busy: s === "all:largest",
onPress: () => m({
groups: f,
@@ -35293,7 +35293,7 @@ function mM({ openItem: t, toast: n, failure: i }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, F.jsx)(iM, {
+ /* @__PURE__ */ (0, F.jsx)(sM, {
busy: s === "all:longest",
onPress: () => m({
groups: f,
@@ -35302,7 +35302,7 @@ function mM({ openItem: t, toast: n, failure: i }) {
}),
children: "全部保留最长"
}),
- Aie(f, p).map((t) => /* @__PURE__ */ (0, F.jsx)(iM, {
+ qO(f, p).map((t) => /* @__PURE__ */ (0, F.jsx)(sM, {
busy: s === `all:${t}`,
onPress: () => m({
groups: f,
@@ -35325,7 +35325,7 @@ function mM({ openItem: t, toast: n, failure: i }) {
let a = [n], o = (e) => `${i}:${e}`;
return /* @__PURE__ */ (0, F.jsxs)("section", {
"aria-label": n.code,
- className: sM,
+ className: Ooe,
children: [/* @__PURE__ */ (0, F.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: [
@@ -35337,7 +35337,7 @@ function mM({ openItem: t, toast: n, failure: i }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${n.count} 个 · 可回收 ${r(n.reclaimable)}`
}),
- fM(n),
+ koe(n),
n.cross_drive ? /* @__PURE__ */ (0, F.jsx)("span", {
className: `${lM} text-text-secondary`,
children: `跨盘 ${n.drives.join(" ")}`
@@ -35367,7 +35367,7 @@ function mM({ openItem: t, toast: n, failure: i }) {
}),
children: "留最长"
}),
- hk(n.files, p).map((t) => /* @__PURE__ */ (0, F.jsx)(G, {
+ KO(n.files, p).map((t) => /* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
size: "small",
...h(o(t)),
@@ -35392,13 +35392,13 @@ function mM({ openItem: t, toast: n, failure: i }) {
]
})
]
- }), /* @__PURE__ */ (0, F.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, F.jsx)(pM, {
+ }), /* @__PURE__ */ (0, F.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, F.jsx)(Aoe, {
file: e,
openItem: t
}, e.id)) })]
}, `${n.code}-${i}`);
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
- icon: oM,
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
+ icon: Doe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -35407,7 +35407,7 @@ function mM({ openItem: t, toast: n, failure: i }) {
}
//#endregion
//#region src/follow-sort.ts
-var hM = [
+var fM = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -35415,7 +35415,7 @@ var hM = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], gM = "checked", _M = {
+], Moe = "checked", pM = {
checked: "desc",
added: "desc",
name: "asc",
@@ -35423,32 +35423,32 @@ var hM = [
source: "asc",
provider: "asc",
status: "asc"
-}, vM = (e) => hM.some(([t]) => t === e);
-function yM(e, t) {
- let n = vM(e) ? e : gM;
+}, Noe = (e) => fM.some(([t]) => t === e);
+function mM(e, t) {
+ let n = Noe(e) ? e : Moe;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : _M[n]
+ dir: t === "asc" || t === "desc" ? t : pM[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var bM = "/api/follow", xM = "/api/follow/credentials", SM = "/api/follow/check", CM = "/api/follow/source", wM = "/api/follow/resolve", TM = "/api/follow/suggest", EM = "/api/follow/author-alias", DM = "/api/follow/credential", OM = "/api/follow/status", kM = "/api/feeds", AM = "/api/feeds/source", jM = "/api/feeds/check", MM = "/api/feeds/lookup", NM = ["follow-manage"], PM = ["follow-manage", "credentials"], FM = ["follow-manage", "check"], IM = ["follow-manage", "resolve"], LM = ["follow-manage", "feeds"], RM = (e) => [
+var hM = "/api/follow", Poe = "/api/follow/credentials", gM = "/api/follow/check", _M = "/api/follow/source", vM = "/api/follow/resolve", Foe = "/api/follow/suggest", yM = "/api/follow/author-alias", Ioe = "/api/follow/credential", Loe = "/api/follow/status", Roe = "/api/feeds", bM = "/api/feeds/source", zoe = "/api/feeds/check", Boe = "/api/feeds/lookup", xM = ["follow-manage"], SM = ["follow-manage", "credentials"], Voe = ["follow-manage", "check"], Hoe = ["follow-manage", "resolve"], CM = ["follow-manage", "feeds"], Uoe = (e) => [
"follow-manage",
"suggest",
e
-], zM = [["default", "默认视图"], ["table", "表格视图"]], BM = [
+], wM = [["default", "默认视图"], ["table", "表格视图"]], TM = [
10,
20,
50,
100
-], VM = Object.fromEntries(hM), HM = {
+], Woe = Object.fromEntries(fM), EM = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, UM = (e) => zM.some(([t]) => t === e), WM = (e) => BM.includes(Number(e)) ? Number(e) : 20, GM = {
+}, Goe = (e) => wM.some(([t]) => t === e), Koe = (e) => TM.includes(Number(e)) ? Number(e) : 20, qoe = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -35456,25 +35456,25 @@ var bM = "/api/follow", xM = "/api/follow/credentials", SM = "/api/follow/check"
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, KM = (e, t) => `按${VM[e]}${GM[e][t === "asc" ? 0 : 1]}排序`;
-function qM(e) {
+}, Joe = (e, t) => `按${Woe[e]}${qoe[e][t === "asc" ? 0 : 1]}排序`;
+function DM(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function JM(e) {
+function Yoe(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var YM = (e) => e.last_status === "error" || e.last_status === "unauthorized", XM = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), ZM = {
- source: XM,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || XM(e, t),
- status: (e, t) => qM(e) - qM(t) || XM(e, t)
-}, QM = (e) => Date.parse(e || "") || 0, $M = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function eN(e, t = []) {
+var OM = (e) => e.last_status === "error" || e.last_status === "unauthorized", kM = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), AM = {
+ source: kM,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || kM(e, t),
+ status: (e, t) => DM(e) - DM(t) || kM(e, t)
+}, jM = (e) => Date.parse(e || "") || 0, MM = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function NM(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || $M(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || MM(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 $M(i.canonical_name);
+ if (i) return MM(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);
@@ -35482,18 +35482,18 @@ function eN(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 tN(e) {
+function Xoe(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function nN(e) {
+function Zoe(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 rN(e) {
+function PM(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -35501,32 +35501,32 @@ function rN(e) {
}
return t.map((e) => n.get(e));
}
-function iN(e, t, n, r = []) {
- let i = rN(e), a = n === _M[t] ? 1 : -1, o = (e) => eN(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = ZM[t];
+function Qoe(e, t, n, r = []) {
+ let i = PM(e), a = n === pM[t] ? 1 : -1, o = (e) => NM(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = AM[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) => QM(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => QM(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => jM(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => jM(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 aN(e, t, n, r = []) {
+function $oe(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = eN(e, r);
+ let t = NM(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = ZM[t];
+ }), a = AM[t];
if (a) {
- let e = n === _M[t] ? 1 : -1;
+ let e = n === pM[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function oN(e, t, n) {
- let r = Pk(e, t), i = Fk(n, r), a = (i - 1) * t;
+function ese(e, t, n) {
+ let r = _k(e, t), i = vk(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -35535,91 +35535,91 @@ function oN(e, t, n) {
end: Math.min(a + t, e)
};
}
-function sN(e, t) {
+function tse(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function cN(e, t) {
+function FM(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 lN(e, t, n) {
+function IM(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var uN = (e) => KC(`${bM}?summary=1`, e), dN = (e) => KC(xM, e), fN = (e) => KC(SM, e), pN = (e) => KC(wM, e), mN = (e, t) => KC(`${TM}?q=${encodeURIComponent(e)}`, t), hN = (e) => q(SM, {
+var LM = (e) => Cw(`${hM}?summary=1`, e), RM = (e) => Cw(Poe, e), nse = (e) => Cw(gM, e), rse = (e) => Cw(vM, e), ise = (e, t) => Cw(`${Foe}?q=${encodeURIComponent(e)}`, t), zM = (e) => q(gM, {
...e?.length ? { sources: e } : {},
background: !0
-}), gN = (e) => q(wM, {
+}), ase = (e) => q(vM, {
lines: e,
background: !0
-}), _N = (e, t) => q(CM, {
+}), BM = (e, t) => q(_M, {
action: "enabled",
id: e,
enabled: t
-}), vN = (e) => q(CM, {
+}), VM = (e) => q(_M, {
action: "remove",
id: e
-}), yN = (e) => q(CM, {
+}), ose = (e) => q(_M, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), bN = (e, t) => q(EM, {
+}), HM = (e, t) => q(yM, {
action: "add",
canonical: e,
alias: t
-}), xN = (e) => q(EM, {
+}), sse = (e) => q(yM, {
action: "remove",
alias: e
-}), SN = (e, t) => q(DM, {
+}), cse = (e, t) => q(Ioe, {
provider: e,
values: t
-}), CN = (e, t) => q(OM, {
+}), lse = (e, t) => q(Loe, {
item: e,
to: t
-}), wN = () => KC(`${bM}?status=new&limit=1000`);
-async function TN(e) {
- let t = await KC(kM, e);
+}), use = () => Cw(`${hM}?status=new&limit=1000`);
+async function UM(e) {
+ let t = await Cw(Roe, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var EN = (e, t, n) => q(AM, {
+var WM = (e, t, n) => q(bM, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), DN = (e, t) => q(AM, {
+}, "POST", n), GM = (e, t) => q(bM, {
action: "remove",
id: e
-}, "POST", t), ON = (e) => q(jM, { all: !0 }, "POST", e), kN = (e, t) => KC(`${MM}?q=${encodeURIComponent(e)}`, t), AN = (e, t, n) => q(AM, {
+}, "POST", t), KM = (e, t) => q(zoe, t?.length ? { sources: t } : { all: !0 }, "POST", e), dse = (e, t) => Cw(`${Boe}?q=${encodeURIComponent(e)}`, t), fse = (e, t, n) => q(bM, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
-async function jN(e, t = "") {
+async function pse(e, t = "") {
await Promise.all([
X.fetchQuery({
- queryKey: NM,
- queryFn: () => uN(e)
+ queryKey: xM,
+ queryFn: () => LM(e)
}),
X.fetchQuery({
- queryKey: PM,
- queryFn: () => dN(e)
+ queryKey: SM,
+ queryFn: () => RM(e)
}),
t === "feeds" ? X.fetchQuery({
- queryKey: LM,
- queryFn: () => TN(e)
+ queryKey: CM,
+ queryFn: () => UM(e)
}) : null
]);
}
-function MN(e, t) {
- X.setQueryData(NM, (n) => n && {
+function qM(e, t) {
+ X.setQueryData(xM, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -35627,24 +35627,24 @@ function MN(e, t) {
} : n)
});
}
-function NN(e) {
+function JM(e) {
let t = new Set(e);
- X.setQueryData(NM, (e) => e && {
+ X.setQueryData(xM, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var PN = () => X.invalidateQueries({
- queryKey: NM,
+var YM = () => X.invalidateQueries({
+ queryKey: xM,
exact: !0
});
-function FN(e) {
+function mse(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 IN = (e) => (e?.results || []).filter((e) => !e.ok), LN = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", RN = (e) => e.last_checked_at ? Ik(e.last_checked_at) : "未检查", zN = /* @__PURE__ */ new Set([
+var hse = (e) => (e?.results || []).filter((e) => !e.ok), gse = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", XM = (e) => e.last_checked_at ? yk(e.last_checked_at) : "未检查", _se = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -35657,16 +35657,16 @@ var IN = (e) => (e?.results || []).filter((e) => !e.ok), LN = (e) => (e?.results
"gofile",
"f95zone",
"simpcity"
-]), BN = (e) => zN.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", VN = {
+]), vse = (e) => _se.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", yse = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, HN = (e) => !!e.present && !e.missing.length, UN = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", WN = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", GN = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", KN = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", qN = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
+}, ZM = (e) => !!e.present && !e.missing.length, QM = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", $M = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", bse = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", xse = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", Sse = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function JN({ provider: e, label: t }) {
- let n = BN(e), [r, i] = (0, P.useState)(!1);
+function eN({ provider: e, label: t }) {
+ let n = vse(e), [r, i] = (0, P.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: t }) : null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("img", {
src: n,
alt: "",
@@ -35675,10 +35675,10 @@ function JN({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, F.jsx)(I_, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, F.jsx)(W_, { children: t }) : null] });
}
-function YN({ group: e, name: t }) {
- let { src: n, fallback: r } = nN(e), [i, a] = (0, P.useState)(0), o = [n, r].filter(Boolean)[i];
+function tN({ group: e, name: t }) {
+ let { src: n, fallback: r } = Zoe(e), [i, a] = (0, P.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, F.jsx)("img", {
src: o,
alt: "",
@@ -35691,18 +35691,18 @@ function YN({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, F.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: tN(t)
+ children: Xoe(t)
});
}
-function XN({ source: e }) {
- let t = YM(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, F.jsx)(VC, {
+function nN({ source: e }) {
+ let t = OM(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+ return /* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: t,
- children: JM(e)
+ children: Yoe(e)
});
}
-function ZN({ source: e }) {
+function rN({ source: e }) {
return /* @__PURE__ */ (0, F.jsx)("a", {
href: e.url,
target: "_blank",
@@ -35714,11 +35714,11 @@ function ZN({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var QN = RC(FA, IA, "text-body-2-medium"), $N = "粘贴来源链接,或输入创作者名、id…", eP = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", tP = "识别中…", nP = "站内没有查到来源", rP = (e, t) => `${e}:${t.url}`;
-function iP({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var iN = hw(FA, IA, "text-body-2-medium"), Cse = "粘贴来源链接,或输入创作者名、id…", wse = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Tse = "识别中…", Ese = "站内没有查到来源", aN = (e, t) => `${e}:${t.url}`;
+function Dse({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, P.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, F.jsxs)(gE, {
+ }, [t, r]), /* @__PURE__ */ (0, F.jsxs)(ZE, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -35730,17 +35730,17 @@ function iP({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCl
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: RC(PA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: hw(PA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, F.jsx)(YC, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, F.jsx)(Pw, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, F.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? RC(QN, "bg-background-secondary-default") : QN,
+ className: t === r ? hw(iN, "bg-background-secondary-default") : iN,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -35760,7 +35760,7 @@ function iP({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCl
})] }, `${e.group}-${e.value}`))]
});
}
-function aP({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function Ose({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, P.useRef)(null), [a, o] = (0, P.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);
@@ -35768,20 +35768,20 @@ function aP({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(G, {
ref: i,
variant: "secondary",
- leadingIcon: Fte,
+ leadingIcon: Bte,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, F.jsx)(gE, {
+ }), /* @__PURE__ */ (0, F.jsx)(ZE, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
className: PA,
- children: /* @__PURE__ */ (0, F.jsxs)(vE, {
+ children: /* @__PURE__ */ (0, F.jsxs)($E, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, F.jsxs)("div", {
@@ -35797,16 +35797,16 @@ function aP({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, F.jsx)(YA, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, F.jsx)(oj, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, F.jsx)(pj, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Bj, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, F.jsx)(JN, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, F.jsx)(eN, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, F.jsx)(G, {
variant: "ghost",
@@ -35822,7 +35822,7 @@ function aP({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function oP({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function kse({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: e.line,
@@ -35830,7 +35830,7 @@ function oP({ 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, F.jsxs)("div", {
- className: qC({
+ className: jw({
padding: "none",
className: "flex flex-col gap-2 p-4"
}),
@@ -35840,15 +35840,15 @@ function oP({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = rP(t, e);
- return /* @__PURE__ */ (0, F.jsx)(pj, {
+ let n = aN(t, e);
+ return /* @__PURE__ */ (0, F.jsx)(Bj, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, F.jsx)(JN, { provider: e.provider }),
+ /* @__PURE__ */ (0, F.jsx)(eN, { provider: e.provider }),
/* @__PURE__ */ (0, F.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -35864,22 +35864,22 @@ function oP({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, F.jsx)(YA, { children: nP }),
+ }) : /* @__PURE__ */ (0, F.jsx)(oj, { children: Ese }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, F.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, F.jsx)(QA, {
+ }), /* @__PURE__ */ (0, F.jsx)(lj, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, F.jsx)(YA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, F.jsx)(oj, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function sP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function Ase({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, P.useState)(""), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(!1), [p, m] = (0, P.useState)(null), [h, g] = (0, P.useState)(-1), _ = (0, P.useRef)(null), v = (0, P.useRef)(null), [y, b] = (0, P.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, P.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, P.useState)(""), [T, E] = (0, P.useState)(0);
(0, P.useEffect)(() => {
let e = a.trim();
@@ -35891,18 +35891,18 @@ function sP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
return () => clearTimeout(t);
}, [a]);
let D = St({
- queryKey: RM(l),
- queryFn: ({ signal: e }) => mN(l, e),
+ queryKey: Uoe(l),
+ queryFn: ({ signal: e }) => ise(l, e),
enabled: l.length > 0 && d
}), O = (0, P.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = lj({
- queryKey: IM,
- queryFn: ({ signal: e }) => pN(e),
- start: (e) => gN([e]),
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = Pj({
+ queryKey: Hoe,
+ queryFn: ({ signal: e }) => rse(e),
+ start: (e) => ase([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(K(e)),
onFinish: (e) => {
@@ -35936,14 +35936,14 @@ function sP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
}
}, ie = j?.results || [], ae = ie.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: rP(t, e)
+ key: aN(t, e)
})).filter((e) => !x.has(e.key))), oe = Ct({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
for (let r of e) {
try {
- let e = await yN(r.candidate);
+ let e = await ose(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${K(e)}`);
@@ -35951,7 +35951,7 @@ function sP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
E((e) => e + 1);
}
if (n.length) try {
- await hN(n);
+ await zM(n);
} catch (e) {
t.push(K(e));
}
@@ -35961,7 +35961,7 @@ function sP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
};
},
onSuccess: (e) => {
- if (PN(), e.failures.length) {
+ if (YM(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -35970,7 +35970,7 @@ function sP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
onError: (e) => w(K(e))
}), se = e.suggestions || [], ce = !s.includes("/");
return /* @__PURE__ */ (0, F.jsxs)("div", {
- className: qC({
+ className: jw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -35990,15 +35990,15 @@ function sP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, F.jsx)(gD, {
+ children: [/* @__PURE__ */ (0, F.jsx)(GD, {
"aria-label": "来源链接、名字或 id",
- placeholder: $N,
+ placeholder: Cse,
value: a,
- leadingIcon: ES,
+ leadingIcon: DS,
isDisabled: n,
onChange: o,
onKeyDown: re
- }), te ? /* @__PURE__ */ (0, F.jsx)(iP, {
+ }), te ? /* @__PURE__ */ (0, F.jsx)(Dse, {
field: _,
menu: v,
options: O,
@@ -36008,7 +36008,7 @@ function sP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
onClose: ne
}) : null]
}),
- /* @__PURE__ */ (0, F.jsx)(aP, {
+ /* @__PURE__ */ (0, F.jsx)(Ose, {
credentials: t,
hidden: y,
onHidden: b,
@@ -36026,11 +36026,11 @@ function sP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
/* @__PURE__ */ (0, F.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? k?.total ? /* @__PURE__ */ (0, F.jsx)($C, {
+ children: [A || M.isPending ? k?.total ? /* @__PURE__ */ (0, F.jsx)(Rw, {
label: k.message || `查找中:${k.checked || 0}/${k.total}`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, F.jsx)(YC, { label: ce ? eP : tP }) : null, C ? /* @__PURE__ */ (0, F.jsx)(J, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Pw, { label: ce ? wse : Tse }) : null, C ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "这一次没有完成",
children: C
@@ -36039,8 +36039,8 @@ function sP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
ie.length ? /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, F.jsx)(ZA, { children: "查找结果" }),
- ie.map((e, t) => /* @__PURE__ */ (0, F.jsx)(oP, {
+ /* @__PURE__ */ (0, F.jsx)(cj, { children: "查找结果" }),
+ ie.map((e, t) => /* @__PURE__ */ (0, F.jsx)(kse, {
row: e,
at: t,
hidden: y,
@@ -36095,16 +36095,16 @@ function sP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var cP = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, lP = (e) => e.alias;
-function uP(e, t, n) {
+var jse = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, oN = (e) => e.alias;
+function Mse(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 dP({ sources: e, name: t, canonicalKey: n }) {
+function sN({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, F.jsx)(YN, {
- group: uP(e, t, n),
+ children: [/* @__PURE__ */ (0, F.jsx)(tN, {
+ group: Mse(e, t, n),
name: t
}), /* @__PURE__ */ (0, F.jsx)("b", {
className: "text-body-medium",
@@ -36112,15 +36112,15 @@ function dP({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+function Nse({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
let [a, o] = (0, P.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), [u, d] = (0, P.useState)(""), [f, p] = (0, P.useState)(""), m = Ct({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await bN(n.canonical, n.alias);
+ await HM(n.canonical, n.alias);
} catch (n) {
- throw t && PN(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && YM(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -36130,19 +36130,19 @@ function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), PN(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), YM(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(K(e))
}), h = Ct({
- mutationFn: (e) => bN(e.canonical, e.alias),
+ mutationFn: (e) => HM(e.canonical, e.alias),
onSuccess: () => {
- c(""), d(""), p(""), PN(), i("已保存创作者别名");
+ c(""), d(""), p(""), YM(), i("已保存创作者别名");
},
onError: (e) => c(K(e))
}), g = Ct({
- mutationFn: (e) => xN(e),
+ mutationFn: (e) => sse(e),
onSuccess: () => {
- c(""), PN(), i("已移除创作者别名");
+ c(""), YM(), i("已移除创作者别名");
},
onError: (e) => c(K(e))
}), _ = (e, t) => {
@@ -36152,9 +36152,9 @@ function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => m.mutateAsync(e)
});
- }, v = t.filter((e) => a.has(lP(e))), y = t.length > 0 && v.length === t.length, b = Y(m.isPending);
+ }, v = t.filter((e) => a.has(oN(e))), y = t.length > 0 && v.length === t.length, b = Y(m.isPending);
return /* @__PURE__ */ (0, F.jsxs)("div", {
- className: qC({
+ className: jw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -36165,10 +36165,10 @@ function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, F.jsx)(ZA, { children: "手动添加别名" }), /* @__PURE__ */ (0, F.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, F.jsx)(cj, { children: "手动添加别名" }), /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(gD, {
+ /* @__PURE__ */ (0, F.jsx)(GD, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: u,
@@ -36176,7 +36176,7 @@ function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, F.jsx)(gD, {
+ /* @__PURE__ */ (0, F.jsx)(GD, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: f,
@@ -36197,13 +36197,13 @@ function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, F.jsx)(XA, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, F.jsx)(sj, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(ZA, { children: "待合并" }),
+ /* @__PURE__ */ (0, F.jsx)(cj, { children: "待合并" }),
/* @__PURE__ */ (0, F.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -36225,44 +36225,44 @@ function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, F.jsx)(gj, { children: /* @__PURE__ */ (0, F.jsxs)(mj, {
+ }), /* @__PURE__ */ (0, F.jsx)(Wj, { children: /* @__PURE__ */ (0, F.jsxs)(Vj, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, F.jsxs)(HE, { children: [
- /* @__PURE__ */ (0, F.jsx)(UE, {
+ children: [/* @__PURE__ */ (0, F.jsxs)(CD, { children: [
+ /* @__PURE__ */ (0, F.jsx)(wD, {
id: "select",
- children: /* @__PURE__ */ (0, F.jsx)(pj, {
+ children: /* @__PURE__ */ (0, F.jsx)(Bj, {
slot: null,
isSelected: y,
isIndeterminate: v.length > 0 && !y,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(lP)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(oN)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, F.jsx)(UE, {
+ /* @__PURE__ */ (0, F.jsx)(wD, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, F.jsx)(UE, {
+ /* @__PURE__ */ (0, F.jsx)(wD, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, F.jsx)(UE, {
+ /* @__PURE__ */ (0, F.jsx)(wD, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, F.jsx)(UE, {
+ /* @__PURE__ */ (0, F.jsx)(wD, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, F.jsx)(GE, { children: t.map((e) => {
- let t = lP(e);
- return /* @__PURE__ */ (0, F.jsxs)(JE, {
+ ] }), /* @__PURE__ */ (0, F.jsx)(ED, { children: t.map((e) => {
+ let t = oN(e);
+ return /* @__PURE__ */ (0, F.jsxs)(kD, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, F.jsx)(XE, { children: /* @__PURE__ */ (0, F.jsx)(pj, {
+ /* @__PURE__ */ (0, F.jsx)(jD, { children: /* @__PURE__ */ (0, F.jsx)(Bj, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -36271,16 +36271,16 @@ function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, F.jsx)(XE, { children: /* @__PURE__ */ (0, F.jsx)(dP, {
+ /* @__PURE__ */ (0, F.jsx)(jD, { children: /* @__PURE__ */ (0, F.jsx)(sN, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, F.jsx)(XE, { children: e.alias }),
- /* @__PURE__ */ (0, F.jsx)(XE, { children: /* @__PURE__ */ (0, F.jsx)("span", {
+ /* @__PURE__ */ (0, F.jsx)(jD, { children: e.alias }),
+ /* @__PURE__ */ (0, F.jsx)(jD, { children: /* @__PURE__ */ (0, F.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, F.jsx)(XE, { children: /* @__PURE__ */ (0, F.jsx)(G, {
+ /* @__PURE__ */ (0, F.jsx)(jD, { children: /* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -36297,27 +36297,27 @@ function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, F.jsx)(ZA, { children: "已保存别名" }), /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(cj, { children: "已保存别名" }), /* @__PURE__ */ (0, F.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, F.jsx)(gj, { children: /* @__PURE__ */ (0, F.jsxs)(mj, {
+ }), e.length ? /* @__PURE__ */ (0, F.jsx)(Wj, { children: /* @__PURE__ */ (0, F.jsxs)(Vj, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, F.jsxs)(HE, { children: [/* @__PURE__ */ (0, F.jsx)(UE, {
+ children: [/* @__PURE__ */ (0, F.jsxs)(CD, { children: [/* @__PURE__ */ (0, F.jsx)(wD, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, F.jsx)(UE, {
+ }), /* @__PURE__ */ (0, F.jsx)(wD, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, F.jsx)(GE, { children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(JE, {
+ })] }), /* @__PURE__ */ (0, F.jsx)(ED, { children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(kD, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, F.jsx)(XE, { children: /* @__PURE__ */ (0, F.jsx)(dP, {
+ children: [/* @__PURE__ */ (0, F.jsx)(jD, { children: /* @__PURE__ */ (0, F.jsx)(sN, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, F.jsx)(XE, { children: /* @__PURE__ */ (0, F.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, F.jsx)(jD, { children: /* @__PURE__ */ (0, F.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, F.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",
@@ -36325,13 +36325,13 @@ function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: hS,
+ leadingIcon: uS,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...Y(g.isPending),
onClick: () => void l({
title: "移除创作者别名",
- body: cP(e.name),
+ body: jse(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => g.mutateAsync(e.name)
})
@@ -36339,9 +36339,9 @@ function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ }) }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: AS,
+ icon: MS,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -36351,33 +36351,33 @@ function fP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var pP = "这些账号信息存在哪里", mP = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", hP = "将清除这个来源在本机和共享副本中的登录凭据。", gP = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function _P(e, t) {
+var Pse = "这些账号信息存在哪里", Fse = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", Ise = "将清除这个来源在本机和共享副本中的登录凭据。", Lse = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function Rse(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function vP({ row: e }) {
- if (HN(e)) return /* @__PURE__ */ (0, F.jsx)(VC, {
+function zse({ row: e }) {
+ if (ZM(e)) return /* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, F.jsx)(VC, {
+ return /* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: t,
- children: VN[e.requirement] || ""
+ children: yse[e.requirement] || ""
});
}
-function yP({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, P.useState)({}), [a, o] = (0, P.useState)(""), s = HN(e), c = Ct({
- mutationFn: (t) => SN(e.provider, t),
+function Bse({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, P.useState)({}), [a, o] = (0, P.useState)(""), s = ZM(e), c = Ct({
+ mutationFn: (t) => cse(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
o(e.note);
return;
}
o(""), i({}), X.invalidateQueries({
- queryKey: PM,
+ queryKey: SM,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -36393,17 +36393,17 @@ function yP({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, F.jsxs)(YA, { children: [e.why, e.where ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [" ", /* @__PURE__ */ (0, F.jsx)(QA, {
+ /* @__PURE__ */ (0, F.jsxs)(oj, { children: [e.why, e.where ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [" ", /* @__PURE__ */ (0, F.jsx)(lj, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, F.jsx)(YA, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, F.jsx)(oj, { children: e.howto }) : null,
/* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-wrap items-end gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, F.jsx)(gD, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, F.jsx)(GD, {
type: "password",
label: n,
- placeholder: _P(e, n),
+ placeholder: Rse(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -36431,7 +36431,7 @@ function yP({ row: e, readOnly: t, toast: n }) {
...Y(c.isPending),
onClick: () => void l({
title: "清除来源凭据",
- body: hP,
+ body: Ise,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -36439,9 +36439,9 @@ function yP({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, F.jsx)(XA, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, F.jsx)(YA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, F.jsx)(HA, {
+ a ? /* @__PURE__ */ (0, F.jsx)(sj, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, F.jsx)(oj, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, F.jsx)(QA, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -36449,25 +36449,25 @@ function yP({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "凭据文件权限过宽",
- children: gP
+ children: Lse
}) : null
]
});
}
-function bP({ row: e, readOnly: t, toast: n }) {
+function Vse({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
children: [
/* @__PURE__ */ (0, F.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, F.jsx)(JN, { provider: e.provider })
+ children: /* @__PURE__ */ (0, F.jsx)(eN, { provider: e.provider })
}),
/* @__PURE__ */ (0, F.jsx)("b", {
className: "text-body-medium text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, F.jsx)(vP, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, F.jsx)(VC, {
+ /* @__PURE__ */ (0, F.jsx)(zse, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -36476,13 +36476,13 @@ function bP({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, F.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, F.jsx)(YA, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, F.jsx)(oj, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, F.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, F.jsx)(tj, {
- summary: HN(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !HN(e),
- children: /* @__PURE__ */ (0, F.jsx)(yP, {
+ children: [r, /* @__PURE__ */ (0, F.jsx)(fj, {
+ summary: ZM(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !ZM(e),
+ children: /* @__PURE__ */ (0, F.jsx)(Bse, {
row: e,
readOnly: t,
toast: n
@@ -36490,10 +36490,10 @@ function bP({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function xP({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !HN(e));
+function Hse({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !ZM(e));
return r.length ? /* @__PURE__ */ (0, F.jsxs)("div", {
- className: qC({
+ className: jw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -36509,11 +36509,11 @@ function xP({ data: e, readOnly: t, toast: n }) {
}) : null]
}),
/* @__PURE__ */ (0, F.jsx)("div", {
- className: qC({
+ className: jw({
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: r.map((e) => /* @__PURE__ */ (0, F.jsx)(bP, {
+ children: r.map((e) => /* @__PURE__ */ (0, F.jsx)(Vse, {
row: e,
readOnly: t,
toast: n
@@ -36524,13 +36524,13 @@ function xP({ data: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, F.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: pP
+ children: Pse
}),
/* @__PURE__ */ (0, F.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: mP
+ children: Fse
}),
- /* @__PURE__ */ (0, F.jsx)(HA, {
+ /* @__PURE__ */ (0, F.jsx)(QA, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -36539,16 +36539,16 @@ function xP({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: Bte,
+ icon: xS,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function SP() {
+function cN() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -36561,24 +36561,24 @@ function SP() {
group: (e) => e
};
}
-function CP(e, t) {
+function lN(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function wP(e, t) {
+function uN(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: CP(n, t[e])
+ [e]: lN(n, t[e])
}));
};
}
-function TP(e) {
+function dN(e) {
return e instanceof Function;
}
-function EP(e) {
+function Use(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function DP(e, t) {
+function Wse(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -36588,7 +36588,7 @@ function DP(e, t) {
};
return r(e), n;
}
-function OP(e, t, n) {
+function fN(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -36610,21 +36610,21 @@ function OP(e, t, n) {
return i;
};
}
-function kP(e, t, n, r) {
+function pN(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function AP(e, t, n, r) {
+function Gse(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: OP(() => [
+ getContext: fN(() => [
e,
n,
t,
@@ -36636,13 +36636,13 @@ function AP(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), kP(e.options, "debugCells", "cell.getContext"))
+ }), pN(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function jP(e, t, n, r) {
+function Kse(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -36659,17 +36659,17 @@ function jP(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: OP(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], kP(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: OP(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: fN(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], pN(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: fN(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, kP(e.options, "debugColumns", "column.getLeafColumns"))
+ }, pN(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var MP = "debugHeaders";
-function NP(e, t, n) {
+var mN = "debugHeaders";
+function hN(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -36697,42 +36697,42 @@ function NP(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var PP = { createTable: (e) => {
- e.getHeaderGroups = OP(() => [
+var qse = { createTable: (e) => {
+ e.getHeaderGroups = fN(() => [
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 FP(t, [
+ return gN(t, [
...a,
...s,
...o
], e);
- }, kP(e.options, MP, "getHeaderGroups")), e.getCenterHeaderGroups = OP(() => [
+ }, pN(e.options, mN, "getHeaderGroups")), e.getCenterHeaderGroups = fN(() => [
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))), FP(t, n, e, "center")), kP(e.options, MP, "getCenterHeaderGroups")), e.getLeftHeaderGroups = OP(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), gN(t, n, e, "center")), pN(e.options, mN, "getCenterHeaderGroups")), e.getLeftHeaderGroups = fN(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => FP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), kP(e.options, MP, "getLeftHeaderGroups")), e.getRightHeaderGroups = OP(() => [
+ ], (t, n, r) => gN(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), pN(e.options, mN, "getLeftHeaderGroups")), e.getRightHeaderGroups = fN(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => FP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), kP(e.options, MP, "getRightHeaderGroups")), e.getFooterGroups = OP(() => [e.getHeaderGroups()], (e) => [...e].reverse(), kP(e.options, MP, "getFooterGroups")), e.getLeftFooterGroups = OP(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), kP(e.options, MP, "getLeftFooterGroups")), e.getCenterFooterGroups = OP(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), kP(e.options, MP, "getCenterFooterGroups")), e.getRightFooterGroups = OP(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), kP(e.options, MP, "getRightFooterGroups")), e.getFlatHeaders = OP(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), kP(e.options, MP, "getFlatHeaders")), e.getLeftFlatHeaders = OP(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), kP(e.options, MP, "getLeftFlatHeaders")), e.getCenterFlatHeaders = OP(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), kP(e.options, MP, "getCenterFlatHeaders")), e.getRightFlatHeaders = OP(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), kP(e.options, MP, "getRightFlatHeaders")), e.getCenterLeafHeaders = OP(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => gN(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), pN(e.options, mN, "getRightHeaderGroups")), e.getFooterGroups = fN(() => [e.getHeaderGroups()], (e) => [...e].reverse(), pN(e.options, mN, "getFooterGroups")), e.getLeftFooterGroups = fN(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), pN(e.options, mN, "getLeftFooterGroups")), e.getCenterFooterGroups = fN(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), pN(e.options, mN, "getCenterFooterGroups")), e.getRightFooterGroups = fN(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), pN(e.options, mN, "getRightFooterGroups")), e.getFlatHeaders = fN(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), pN(e.options, mN, "getFlatHeaders")), e.getLeftFlatHeaders = fN(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), pN(e.options, mN, "getLeftFlatHeaders")), e.getCenterFlatHeaders = fN(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), pN(e.options, mN, "getCenterFlatHeaders")), e.getRightFlatHeaders = fN(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), pN(e.options, mN, "getRightFlatHeaders")), e.getCenterLeafHeaders = fN(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), kP(e.options, MP, "getCenterLeafHeaders")), e.getLeftLeafHeaders = OP(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), pN(e.options, mN, "getCenterLeafHeaders")), e.getLeftLeafHeaders = fN(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), kP(e.options, MP, "getLeftLeafHeaders")), e.getRightLeafHeaders = OP(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), pN(e.options, mN, "getLeftLeafHeaders")), e.getRightLeafHeaders = fN(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), kP(e.options, MP, "getRightLeafHeaders")), e.getLeafHeaders = OP(() => [
+ }), pN(e.options, mN, "getRightLeafHeaders")), e.getLeafHeaders = fN(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -36740,9 +36740,9 @@ var PP = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), kP(e.options, MP, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), pN(e.options, mN, "getLeafHeaders"));
} };
-function FP(e, t, n, r) {
+function gN(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;
@@ -36760,7 +36760,7 @@ function FP(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 = NP(n, c, {
+ let i = hN(n, c, {
id: [
r,
t,
@@ -36777,7 +36777,7 @@ function FP(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) => NP(n, e, {
+ s(t.map((e, t) => hN(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -36795,7 +36795,7 @@ function FP(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var IP = (e, t, n, r, i, a, o) => {
+var Jse = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -36816,7 +36816,7 @@ var IP = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => DP(s.subRows, (e) => e.subRows),
+ getLeafRows: () => Wse(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -36827,95 +36827,95 @@ var IP = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: OP(() => [e.getAllLeafColumns()], (t) => t.map((t) => AP(e, s, t, t.id)), kP(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: OP(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), kP(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: fN(() => [e.getAllLeafColumns()], (t) => t.map((t) => Gse(e, s, t, t.id)), pN(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: fN(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), pN(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;
-}, LP = { createColumn: (e, t) => {
+}, Yse = { 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();
};
-} }, RP = (e, t, n) => {
+} }, _N = (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));
};
-RP.autoRemove = (e) => JP(e);
-var zP = (e, t, n) => {
+_N.autoRemove = (e) => DN(e);
+var vN = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-zP.autoRemove = (e) => JP(e);
-var BP = (e, t, n) => {
+vN.autoRemove = (e) => DN(e);
+var yN = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-BP.autoRemove = (e) => JP(e);
-var VP = (e, t, n) => e.getValue(t)?.includes(n);
-VP.autoRemove = (e) => JP(e);
-var HP = (e, t, n) => !n.some((n) => {
+yN.autoRemove = (e) => DN(e);
+var bN = (e, t, n) => e.getValue(t)?.includes(n);
+bN.autoRemove = (e) => DN(e);
+var xN = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-HP.autoRemove = (e) => JP(e) || !(e != null && e.length);
-var UP = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-UP.autoRemove = (e) => JP(e) || !(e != null && e.length);
-var WP = (e, t, n) => e.getValue(t) === n;
-WP.autoRemove = (e) => JP(e);
-var GP = (e, t, n) => e.getValue(t) == n;
-GP.autoRemove = (e) => JP(e);
-var KP = (e, t, n) => {
+xN.autoRemove = (e) => DN(e) || !(e != null && e.length);
+var SN = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+SN.autoRemove = (e) => DN(e) || !(e != null && e.length);
+var CN = (e, t, n) => e.getValue(t) === n;
+CN.autoRemove = (e) => DN(e);
+var wN = (e, t, n) => e.getValue(t) == n;
+wN.autoRemove = (e) => DN(e);
+var TN = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-KP.resolveFilterValue = (e) => {
+TN.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];
-}, KP.autoRemove = (e) => JP(e) || JP(e[0]) && JP(e[1]);
-var qP = {
- includesString: RP,
- includesStringSensitive: zP,
- equalsString: BP,
- arrIncludes: VP,
- arrIncludesAll: HP,
- arrIncludesSome: UP,
- equals: WP,
- weakEquals: GP,
- inNumberRange: KP
+}, TN.autoRemove = (e) => DN(e) || DN(e[0]) && DN(e[1]);
+var EN = {
+ includesString: _N,
+ includesStringSensitive: vN,
+ equalsString: yN,
+ arrIncludes: bN,
+ arrIncludesAll: xN,
+ arrIncludesSome: SN,
+ equals: CN,
+ weakEquals: wN,
+ inNumberRange: TN
};
-function JP(e) {
+function DN(e) {
return e == null || e === "";
}
-var YP = {
+var ON = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: wP("columnFilters", e),
+ onColumnFiltersChange: uN("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? qP.includesString : typeof n == "number" ? qP.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? qP.equals : Array.isArray(n) ? qP.arrIncludes : qP.weakEquals;
- }, e.getFilterFn = () => TP(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? qP[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" ? EN.includesString : typeof n == "number" ? EN.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? EN.equals : Array.isArray(n) ? EN.arrIncludes : EN.weakEquals;
+ }, e.getFilterFn = () => dN(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? EN[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 = CP(n, i ? i.value : void 0);
- if (XP(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = lN(n, i ? i.value : void 0);
+ if (kN(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -36930,19 +36930,19 @@ var YP = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => CP(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => lN(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && XP(t.getFilterFn(), e.value, t));
+ return !(t && kN(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 XP(e, t, n) {
+function kN(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var ZP = {
+var AN = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -36978,7 +36978,7 @@ var ZP = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!EP(n)) return;
+ if (!Use(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];
@@ -36986,7 +36986,7 @@ var ZP = {
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
-}, QP = {
+}, jN = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -36999,7 +36999,7 @@ var ZP = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: wP("grouping", e),
+ onGroupingChange: uN("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -37012,11 +37012,11 @@ var ZP = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return ZP.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return ZP.extent;
+ if (typeof n == "number") return AN.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return AN.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return TP(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? ZP[e.columnDef.aggregationFn];
+ return dN(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? AN[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -37038,27 +37038,27 @@ var ZP = {
};
}
};
-function $P(e, t, n) {
+function MN(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 eF = {
+var NN = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: wP("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: uN("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = OP((e) => [dF(t, e)], (t) => t.findIndex((t) => t.id === e.id), kP(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => dF(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = dF(t, n);
+ e.getIndex = fN((e) => [WN(t, e)], (t) => t.findIndex((t) => t.id === e.id), pN(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => WN(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = WN(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 = OP(() => [
+ }, e._getOrderColumnsFn = fN(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -37073,18 +37073,18 @@ var eF = {
}
i = [...i, ...n];
}
- return $P(i, t, n);
- }, kP(e.options, "debugTable", "_getOrderColumnsFn"));
+ return MN(i, t, n);
+ }, pN(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, tF = () => ({
+}, PN = () => ({
left: [],
right: []
-}), nF = {
+}), FN = {
getInitialState: (e) => ({
- columnPinning: tF(),
+ columnPinning: PN(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: wP("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: uN("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -37108,75 +37108,75 @@ var eF = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = OP(() => [
+ e.getCenterVisibleCells = fN(() => [
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));
- }, kP(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = OP(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, pN(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = fN(() => [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"
- })), kP(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = OP(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), pN(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = fN(() => [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"
- })), kP(t.options, "debugRows", "getRightVisibleCells"));
+ })), pN(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 ? tF() : e.initialState?.columnPinning ?? tF()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? PN() : e.initialState?.columnPinning ?? PN()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = OP(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), kP(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = OP(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), kP(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = OP(() => [
+ }, e.getLeftLeafColumns = fN(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), pN(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = fN(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), pN(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = fN(() => [
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));
- }, kP(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, pN(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function rF(e) {
+function IN(e) {
return e || (typeof document < "u" ? document : null);
}
-var iF = {
+var LN = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, aF = () => ({
+}, RN = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), oF = {
- getDefaultColumnDef: () => iF,
+}), zN = {
+ getDefaultColumnDef: () => LN,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: aF(),
+ columnSizingInfo: RN(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: wP("columnSizing", e),
- onColumnSizingInfoChange: wP("columnSizingInfo", e)
+ onColumnSizingChange: uN("columnSizing", e),
+ onColumnSizingInfoChange: uN("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? iF.minSize, n ?? e.columnDef.size ?? iF.size), e.columnDef.maxSize ?? iF.maxSize);
- }, e.getStart = OP((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? LN.minSize, n ?? e.columnDef.size ?? LN.size), e.columnDef.maxSize ?? LN.maxSize);
+ }, e.getStart = fN((e) => [
e,
- dF(t, e),
+ WN(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), kP(t.options, "debugColumns", "getStart")), e.getAfter = OP((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), pN(t.options, "debugColumns", "getStart")), e.getAfter = fN((e) => [
e,
- dF(t, e),
+ WN(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), kP(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), pN(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -37198,8 +37198,8 @@ var iF = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), lF(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 = lF(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), HN(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 = HN(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) => {
@@ -37224,7 +37224,7 @@ var iF = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = rF(n), m = {
+ }, p = IN(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -37234,8 +37234,8 @@ var iF = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = cF() ? { passive: !1 } : !1;
- lF(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 = VN() ? { passive: !1 } : !1;
+ HN(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,
@@ -37251,12 +37251,12 @@ var iF = {
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 ? aF() : e.initialState.columnSizingInfo ?? aF());
+ e.setColumnSizingInfo(t ? RN() : e.initialState.columnSizingInfo ?? RN());
}, 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;
}
-}, sF = null;
-function cF() {
- if (typeof sF == "boolean") return sF;
+}, BN = null;
+function VN() {
+ if (typeof BN == "boolean") return BN;
let e = !1;
try {
let t = { get passive() {
@@ -37266,17 +37266,17 @@ function cF() {
} catch {
e = !1;
}
- return sF = e, sF;
+ return BN = e, BN;
}
-function lF(e) {
+function HN(e) {
return e.type === "touchstart";
}
-var uF = {
+var UN = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: wP("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: uN("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -37291,7 +37291,7 @@ var uF = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = OP(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), kP(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = OP(() => [
+ e._getAllVisibleCells = fN(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), pN(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = fN(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -37299,10 +37299,10 @@ var uF = {
...e,
...t,
...n
- ], kP(t.options, "debugRows", "getVisibleCells"));
+ ], pN(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => OP(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), kP(e.options, "debugColumns", t));
+ let t = (t, n) => fN(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), pN(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) => {
@@ -37315,20 +37315,20 @@ var uF = {
};
}
};
-function dF(e, t) {
+function WN(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var fF = { createTable: (e) => {
+var GN = { 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();
};
-} }, pF = {
+} }, KN = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: wP("globalFilter", e),
+ onGlobalFilterChange: uN("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -37340,22 +37340,22 @@ var fF = { 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 = () => qP.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => EN.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return TP(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? qP[t];
+ return dN(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? EN[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, mF = {
+}, qN = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: wP("expanded", e),
+ onExpandedChange: uN("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -37426,18 +37426,18 @@ var fF = { createTable: (e) => {
};
};
}
-}, hF = 0, gF = 10, _F = () => ({
- pageIndex: hF,
- pageSize: gF
-}), vF = {
+}, JN = 0, YN = 10, XN = () => ({
+ pageIndex: JN,
+ pageSize: YN
+}), ZN = {
getInitialState: (e) => ({
...e,
pagination: {
- ..._F(),
+ ...XN(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: wP("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: uN("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -37453,11 +37453,11 @@ var fF = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => CP(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? _F() : e.initialState.pagination ?? _F());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => lN(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? XN() : e.initialState.pagination ?? XN());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = CP(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = lN(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
@@ -37465,13 +37465,13 @@ var fF = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? hF : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? hF);
+ e.setPageIndex(t ? JN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? JN);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? gF : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? gF);
+ e.setPageSize(t ? YN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? YN);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, CP(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, lN(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -37479,28 +37479,28 @@ var fF = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = CP(t, e.options.pageCount ?? -1);
+ let r = lN(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = OP(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = fN(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, kP(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, pN(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;
}
-}, yF = () => ({
+}, QN = () => ({
top: [],
bottom: []
-}), bF = {
+}), $N = {
getInitialState: (e) => ({
- rowPinning: yF(),
+ rowPinning: QN(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: wP("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: uN("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -37539,7 +37539,7 @@ var fF = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? yF() : e.initialState?.rowPinning ?? yF()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? QN() : e.initialState?.rowPinning ?? QN()), 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) => {
@@ -37548,22 +37548,22 @@ var fF = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = OP(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), kP(e.options, "debugRows", "getTopRows")), e.getBottomRows = OP(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), kP(e.options, "debugRows", "getBottomRows")), e.getCenterRows = OP(() => [
+ })), e.getTopRows = fN(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), pN(e.options, "debugRows", "getTopRows")), e.getBottomRows = fN(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), pN(e.options, "debugRows", "getBottomRows")), e.getCenterRows = fN(() => [
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));
- }, kP(e.options, "debugRows", "getCenterRows"));
+ }, pN(e.options, "debugRows", "getCenterRows"));
}
-}, xF = {
+}, eP = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: wP("rowSelection", e),
+ onRowSelectionChange: uN("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -37582,21 +37582,21 @@ var fF = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- SF(i, t.id, r, !0, e);
+ tP(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = OP(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? CF(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = fN(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? nP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, kP(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = OP(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? CF(e, n) : {
+ }, pN(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = fN(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? nP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, kP(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = OP(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? CF(e, n) : {
+ }, pN(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = fN(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? nP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, kP(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, pN(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 = () => {
@@ -37620,17 +37620,17 @@ var fF = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return SF(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return tP(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return wF(e, n);
+ return rP(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return TF(e, n) === "some";
+ return iP(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return TF(e, n) === "all";
+ return iP(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) => {
@@ -37638,16 +37638,16 @@ var fF = { createTable: (e) => {
};
};
}
-}, SF = (e, t, n, r, i) => {
+}, tP = (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) => SF(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) => tP(e, t.id, n, r, i));
};
-function CF(e, t) {
+function nP(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = wF(e, n);
+ let o = rP(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -37660,32 +37660,32 @@ function CF(e, t) {
rowsById: i
};
}
-function wF(e, t) {
+function rP(e, t) {
return t[e.id] ?? !1;
}
-function TF(e, t, n) {
+function iP(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() && (wF(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = TF(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (rP(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = iP(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var EF = /([0-9]+)/gm, DF = (e, t, n) => FF(PF(e.getValue(n)).toLowerCase(), PF(t.getValue(n)).toLowerCase()), OF = (e, t, n) => FF(PF(e.getValue(n)), PF(t.getValue(n))), kF = (e, t, n) => NF(PF(e.getValue(n)).toLowerCase(), PF(t.getValue(n)).toLowerCase()), AF = (e, t, n) => NF(PF(e.getValue(n)), PF(t.getValue(n))), jF = (e, t, n) => {
+var aP = /([0-9]+)/gm, oP = (e, t, n) => mP(pP(e.getValue(n)).toLowerCase(), pP(t.getValue(n)).toLowerCase()), sP = (e, t, n) => mP(pP(e.getValue(n)), pP(t.getValue(n))), cP = (e, t, n) => fP(pP(e.getValue(n)).toLowerCase(), pP(t.getValue(n)).toLowerCase()), lP = (e, t, n) => fP(pP(e.getValue(n)), pP(t.getValue(n))), uP = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, MF = (e, t, n) => NF(e.getValue(n), t.getValue(n));
-function NF(e, t) {
+}, dP = (e, t, n) => fP(e.getValue(n), t.getValue(n));
+function fP(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function PF(e) {
+function pP(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function FF(e, t) {
- let n = e.split(EF).filter(Boolean), r = t.split(EF).filter(Boolean);
+function mP(e, t) {
+ let n = e.split(aP).filter(Boolean), r = t.split(aP).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])) {
@@ -37699,22 +37699,22 @@ function FF(e, t) {
}
return n.length - r.length;
}
-var IF = {
- alphanumeric: DF,
- alphanumericCaseSensitive: OF,
- text: kF,
- textCaseSensitive: AF,
- datetime: jF,
- basic: MF
-}, LF = [
- PP,
- uF,
- eF,
- nF,
- LP,
- YP,
- fF,
- pF,
+var hP = {
+ alphanumeric: oP,
+ alphanumericCaseSensitive: sP,
+ text: cP,
+ textCaseSensitive: lP,
+ datetime: uP,
+ basic: dP
+}, gP = [
+ qse,
+ UN,
+ NN,
+ FN,
+ Yse,
+ ON,
+ GN,
+ KN,
{
getInitialState: (e) => ({
sorting: [],
@@ -37725,7 +37725,7 @@ var IF = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: wP("sorting", e),
+ onSortingChange: uN("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -37733,13 +37733,13 @@ var IF = {
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 IF.datetime;
- if (typeof n == "string" && (r = !0, n.split(EF).length > 1)) return IF.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return hP.datetime;
+ if (typeof n == "string" && (r = !0, n.split(aP).length > 1)) return hP.alphanumeric;
}
- return r ? IF.text : IF.basic;
+ return r ? hP.text : hP.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return TP(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? IF[e.columnDef.sortingFn];
+ return dN(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? hP[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -37776,15 +37776,15 @@ var IF = {
}, 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());
}
},
- QP,
- mF,
- vF,
- bF,
- xF,
- oF
+ jN,
+ qN,
+ ZN,
+ $N,
+ eP,
+ zN
];
-function RF(e) {
- let t = [...LF, ...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 _P(e) {
+ let t = [...gP, ...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 ?? {} };
@@ -37810,7 +37810,7 @@ function RF(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = CP(e, n.options);
+ let t = lN(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -37825,7 +37825,7 @@ function RF(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: OP(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: fN(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -37836,20 +37836,20 @@ function RF(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), kP(e, "debugColumns", "_getDefaultColumnDef")),
+ }), pN(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: OP(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: fN(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = jP(n, e, i, r), o = e;
+ let a = Kse(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, kP(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: OP(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), kP(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: OP(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), kP(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: OP(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), kP(e, "debugColumns", "getAllLeafColumns")),
+ }, pN(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: fN(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), pN(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: fN(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), pN(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: fN(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), pN(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -37859,8 +37859,8 @@ function RF(e) {
}
return n;
}
-function zF() {
- return (e) => OP(() => [e.options.data], (t) => {
+function vP() {
+ return (e) => fN(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -37869,7 +37869,7 @@ function zF() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = IP(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = Jse(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));
@@ -37878,9 +37878,9 @@ function zF() {
return o;
};
return n.rows = r(t), n;
- }, kP(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, pN(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function BF(e) {
+function yP(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -37891,8 +37891,8 @@ function BF(e) {
rowsById: e.rowsById
};
}
-function VF(e) {
- return (e) => OP(() => [
+function bP(e) {
+ return (e) => fN(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -37905,7 +37905,7 @@ function VF(e) {
rows: a,
flatRows: o,
rowsById: s
- } : BF({
+ } : yP({
rows: a,
flatRows: o,
rowsById: s
@@ -37914,32 +37914,32 @@ function VF(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, kP(e.options, "debugTable", "getPaginationRowModel"));
+ }, pN(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function HF(e, t) {
- return e ? UF(e) ? /*#__PURE__*/ P.createElement(e, t) : e : null;
+function xP(e, t) {
+ return e ? SP(e) ? /*#__PURE__*/ P.createElement(e, t) : e : null;
}
-function UF(e) {
- return WF(e) || typeof e == "function" || GF(e);
+function SP(e) {
+ return CP(e) || typeof e == "function" || wP(e);
}
-function WF(e) {
+function CP(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function GF(e) {
+function wP(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function KF(e) {
+function TP(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = P.useState(() => ({ current: RF(t) })), [r, i] = P.useState(() => n.current.initialState);
+ }, [n] = P.useState(() => ({ current: _P(t) })), [r, i] = P.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -37954,7 +37954,7 @@ function KF(e) {
}
//#endregion
//#region src/react/components/selection-dock.tsx
-function qF({ children: e, count: t, label: n }) {
+function EP({ children: e, count: t, label: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
role: "group",
"aria-label": n,
@@ -37969,8 +37969,8 @@ function qF({ children: e, count: t, label: n }) {
}
//#endregion
//#region src/react/follow-manage/add-feed.tsx
-var JF = "输入女优名,到 JavDB 找她的演员页";
-function YF(e, t) {
+var DP = "输入女优名,到 JavDB 找她的演员页";
+function OP(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 {
@@ -37989,10 +37989,10 @@ function YF(e, t) {
blocked: !1
};
}
-function XF({ card: e, picked: t, onPick: n }) {
+function kP({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, F.jsx)(pj, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Bj, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, F.jsxs)("span", {
@@ -38002,7 +38002,7 @@ function XF({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, F.jsx)(VC, {
+ e.record ? /* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: "neutral",
children: e.record
@@ -38013,16 +38013,16 @@ function XF({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, F.jsx)(QA, {
+ }), /* @__PURE__ */ (0, F.jsx)(lj, {
href: e.url,
children: e.id
})]
});
}
-function ZF({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, P.useState)(""), [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(/* @__PURE__ */ new Set()), l = ew(), u = () => {
+function AP({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, P.useState)(""), [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(/* @__PURE__ */ new Set()), l = zw(), u = () => {
let t = r.trim();
- !t || e || l.run("lookup", (e) => kN(t, e), (e) => {
+ !t || e || l.run("lookup", (e) => dse(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -38030,12 +38030,12 @@ function ZF({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => AN(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => fse(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? YF(a, s) : null;
+ }, m = a ? OP(a, s) : null;
return /* @__PURE__ */ (0, F.jsxs)("div", {
- className: qC({
+ className: jw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -38048,11 +38048,11 @@ function ZF({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, F.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, F.jsx)(gD, {
+ children: /* @__PURE__ */ (0, F.jsx)(GD, {
"aria-label": "女优名",
- placeholder: JF,
+ placeholder: DP,
value: r,
- leadingIcon: ES,
+ leadingIcon: DS,
isDisabled: e,
onChange: i,
onKeyDown: d
@@ -38073,16 +38073,16 @@ function ZF({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, F.jsx)(ZA, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, F.jsx)(XF, {
+ /* @__PURE__ */ (0, F.jsx)(cj, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, F.jsx)(kP, {
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, F.jsx)(YA, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, F.jsx)(YA, {
+ }, e.id)) : /* @__PURE__ */ (0, F.jsx)(oj, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, F.jsx)(oj, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -38109,7 +38109,7 @@ function ZF({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var QF = {
+var jP = {
select: "选择",
name: "名称",
kind: "类型",
@@ -38118,53 +38118,62 @@ var QF = {
interval: "频率",
fetched: "上次拉取",
fresh: "上次新增",
- enabled: "启用",
actions: "操作"
-}, $F = /* @__PURE__ */ new Set([
- "select",
- "enabled",
- "actions"
-]), eI = () => X.invalidateQueries({
- queryKey: LM,
+}, MP = /* @__PURE__ */ new Set(["select", "actions"]), NP = () => X.invalidateQueries({
+ queryKey: CM,
exact: !0
-}), tI = (e) => e.name || e.url, nI = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function rI(e) {
+}), PP = (e) => e.name || e.url, FP = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function IP(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function iI({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, F.jsx)(VC, {
+function LP({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, F.jsx)(VC, {
+ }) : e.enabled ? /* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, F.jsx)(VC, {
+ }) : /* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function aI(e, t) {
+function RP({ source: e }) {
+ return e.has_image && e.entity_id ? /* @__PURE__ */ (0, F.jsx)("img", {
+ src: `/entity-image?kind=performer&id=${e.entity_id}&thumb=1`,
+ alt: "",
+ width: 32,
+ height: 32,
+ loading: "lazy",
+ className: "size-8 shrink-0 rounded-full bg-background-tertiary-default object-cover"
+ }) : /* @__PURE__ */ (0, F.jsx)("span", {
+ "aria-hidden": !0,
+ className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
+ children: PP(e).slice(0, 1)
+ });
+}
+function zP(e, t) {
let n = e.length === 1 ? e[0] : null;
return l({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${tI(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${PP(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function oI({ readOnly: e, toast: t }) {
+function BP({ readOnly: e, toast: t }) {
let n = St({
- queryKey: LM,
- queryFn: ({ signal: e }) => TN(e)
- }), r = ew(), a = n.data, o = (0, P.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, P.useState)(/* @__PURE__ */ new Set());
+ queryKey: CM,
+ queryFn: ({ signal: e }) => UM(e)
+ }), r = zw(), a = n.data, o = (0, P.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, P.useState)(/* @__PURE__ */ new Set());
(0, P.useEffect)(() => {
c((e) => {
let t = new Set(o.map((e) => e.id)), n = new Set([...e].filter((e) => t.has(e)));
@@ -38174,7 +38183,7 @@ function oI({ readOnly: e, toast: t }) {
let l = Ct({
mutationFn: async (e) => {
let t = await i(e.ids, 4, async (t) => {
- e.action === "remove" ? await DN(t) : await EN(t, e.action === "enabled");
+ e.action === "remove" ? await GM(t) : await WM(t, e.action === "enabled");
});
return {
...e,
@@ -38183,7 +38192,7 @@ function oI({ readOnly: e, toast: t }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;
- if (c(/* @__PURE__ */ new Set()), eI(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (c(/* @__PURE__ */ new Set()), NP(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : K(e.error)}`);
}
@@ -38191,35 +38200,39 @@ function oI({ readOnly: e, toast: t }) {
onError: (e) => r.setError(K(e))
}), u = (0, P.useRef)({
readOnly: e,
+ busy: null,
toggle: () => {},
+ fetch: () => {},
remove: () => {}
});
u.current = {
readOnly: e,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => EN(e.id, t, n), () => void eI()),
- remove: (e) => void aI([e], async () => {
- await DN(e.id), t(`已移除订阅源「${tI(e)}」`), eI();
+ busy: r.busy,
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => WM(e.id, t, n), () => void NP()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => KM(t, [e.id]), () => void NP()),
+ remove: (e) => void zP([e], async () => {
+ await GM(e.id), t(`已移除订阅源「${PP(e)}」`), NP();
})
};
let d = (0, P.useMemo)(() => {
- let e = SP(), t = (e) => () => QF[e] || e;
+ let e = cN(), t = (e) => () => jP[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, F.jsx)(pj, {
+ cell: (e) => /* @__PURE__ */ (0, F.jsx)(Bj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${tI(e.row.original)}`
+ "aria-label": `选择 ${PP(e.row.original)}`
})
}),
- e.accessor(tI, {
+ e.accessor(PP, {
id: "name",
header: t("name"),
- cell: (e) => /* @__PURE__ */ (0, F.jsx)("span", {
- className: "whitespace-nowrap text-body-medium text-text-primary",
- children: e.getValue()
+ cell: (e) => /* @__PURE__ */ (0, F.jsxs)("span", {
+ className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
+ children: [/* @__PURE__ */ (0, F.jsx)(RP, { source: e.row.original }), e.getValue()]
})
}),
e.accessor((e) => e.kind_label, {
@@ -38239,15 +38252,15 @@ function oI({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: rI(e.getValue())
+ children: IP(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, F.jsx)(iI, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, F.jsx)(LP, { source: e.row.original })
}),
- e.accessor((e) => nI(e.interval_minutes), {
+ e.accessor((e) => FP(e.interval_minutes), {
id: "interval",
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, F.jsx)("span", {
@@ -38255,7 +38268,7 @@ function oI({ readOnly: e, toast: t }) {
children: e.getValue()
})
}),
- e.accessor((e) => e.last_fetched_at ? Ik(e.last_fetched_at) : "还没拉过", {
+ e.accessor((e) => e.last_fetched_at ? yk(e.last_fetched_at) : "还没拉过", {
id: "fetched",
header: t("fetched"),
cell: (e) => /* @__PURE__ */ (0, F.jsx)("span", {
@@ -38271,31 +38284,42 @@ function oI({ readOnly: e, toast: t }) {
children: `${e.getValue()} 条`
})
}),
- e.display({
- id: "enabled",
- header: t("enabled"),
- cell: (e) => /* @__PURE__ */ (0, F.jsx)(ok, {
- "aria-label": `启用 ${tI(e.row.original)}`,
- isSelected: e.row.original.enabled,
- isDisabled: u.current.readOnly,
- onChange: (t) => u.current.toggle(e.row.original, t)
- })
- }),
e.display({
id: "actions",
header: t("actions"),
- cell: (e) => /* @__PURE__ */ (0, F.jsx)(G, {
- variant: "secondary",
- size: "xs",
- iconOnly: !0,
- leadingIcon: vS,
- "aria-label": `移除 ${tI(e.row.original)}`,
- disabled: u.current.readOnly,
- onClick: () => u.current.remove(e.row.original)
+ cell: (e) => /* @__PURE__ */ (0, F.jsxs)("span", {
+ className: "flex items-center gap-1",
+ children: [
+ /* @__PURE__ */ (0, F.jsx)(NO, {
+ "aria-label": `启用 ${PP(e.row.original)}`,
+ isSelected: e.row.original.enabled,
+ isDisabled: u.current.readOnly,
+ onChange: (t) => u.current.toggle(e.row.original, t)
+ }),
+ /* @__PURE__ */ (0, F.jsx)(G, {
+ variant: "secondary",
+ size: "xs",
+ iconOnly: !0,
+ leadingIcon: TS,
+ "aria-label": `拉取 ${PP(e.row.original)}`,
+ disabled: u.current.readOnly,
+ ...Y(u.current.busy === `check-${e.row.original.id}`),
+ onClick: () => u.current.fetch(e.row.original)
+ }),
+ /* @__PURE__ */ (0, F.jsx)(G, {
+ variant: "secondary",
+ size: "xs",
+ iconOnly: !0,
+ leadingIcon: pS,
+ "aria-label": `移除 ${PP(e.row.original)}`,
+ disabled: u.current.readOnly,
+ onClick: () => u.current.remove(e.row.original)
+ })
+ ]
})
})
];
- }, []), f = (0, P.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), p = KF({
+ }, []), f = (0, P.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), p = TP({
data: o,
columns: d,
getRowId: (e) => String(e.id),
@@ -38305,28 +38329,28 @@ function oI({ readOnly: e, toast: t }) {
let t = typeof e == "function" ? e(f) : e;
c(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
- getCoreRowModel: zF()
+ getCoreRowModel: vP()
});
if (!a) return n.error ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "打不开订阅源",
children: K(n.error)
- }) : /* @__PURE__ */ (0, F.jsx)(YA, { children: "正在读订阅源。" });
- let m = () => void r.run("check", (e) => ON(e), () => void eI()), h = (e) => c((t) => {
+ }) : /* @__PURE__ */ (0, F.jsx)(oj, { children: "正在读订阅源。" });
+ let m = () => void r.run("check", (e) => KM(e), () => void NP()), h = (e) => c((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), g = o.filter((e) => s.has(e.id)), _ = o.filter((e) => e.last_error);
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, F.jsx)(ZF, {
+ /* @__PURE__ */ (0, F.jsx)(AP, {
readOnly: e,
toast: t,
- onAdded: () => void eI()
+ onAdded: () => void NP()
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, F.jsx)(YA, {
+ children: [/* @__PURE__ */ (0, F.jsx)(oj, {
role: "status",
children: a.unread ? `有 ${a.unread} 条新作还没看` : "新作都看过了"
}), /* @__PURE__ */ (0, F.jsx)(G, {
@@ -38340,11 +38364,11 @@ function oI({ readOnly: e, toast: t }) {
className: "flex flex-col gap-3",
children: [_.map((e) => /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
- title: `${tI(e)} 拉取失败`,
+ title: `${PP(e)} 拉取失败`,
children: e.last_error
- }, e.id)), r.error ? /* @__PURE__ */ (0, F.jsx)(XA, { children: r.error }) : null]
+ }, e.id)), r.error ? /* @__PURE__ */ (0, F.jsx)(sj, { children: r.error }) : null]
}) : null,
- g.length ? /* @__PURE__ */ (0, F.jsxs)(qF, {
+ g.length ? /* @__PURE__ */ (0, F.jsxs)(EP, {
label: "订阅源批量操作",
count: `已选 ${g.length} 条订阅源`,
children: [
@@ -38375,7 +38399,7 @@ function oI({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...Y(l.isPending),
- onClick: () => void aI(g, () => l.mutateAsync({
+ onClick: () => void zP(g, () => l.mutateAsync({
ids: g.map((e) => e.id),
action: "remove"
})),
@@ -38389,26 +38413,26 @@ function oI({ readOnly: e, toast: t }) {
})
]
}) : null,
- o.length ? /* @__PURE__ */ (0, F.jsx)(gj, {
+ o.length ? /* @__PURE__ */ (0, F.jsx)(Wj, {
onRowClick: (e) => h(Number(e)),
- children: /* @__PURE__ */ (0, F.jsxs)(mj, {
+ children: /* @__PURE__ */ (0, F.jsxs)(Vj, {
"aria-label": "订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, F.jsx)(HE, { children: p.getHeaderGroups()[0].headers.map((e) => {
- let t = HF(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, F.jsx)(UE, {
+ children: [/* @__PURE__ */ (0, F.jsx)(CD, { children: p.getHeaderGroups()[0].headers.map((e) => {
+ let t = xP(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, F.jsx)(wD, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: $F.has(e.column.id) ? /* @__PURE__ */ (0, F.jsx)(I_, { children: t }) : t
+ children: MP.has(e.column.id) ? /* @__PURE__ */ (0, F.jsx)(W_, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, F.jsx)(GE, { children: p.getRowModel().rows.map((e) => /* @__PURE__ */ (0, F.jsx)(JE, {
+ }) }), /* @__PURE__ */ (0, F.jsx)(ED, { children: p.getRowModel().rows.map((e) => /* @__PURE__ */ (0, F.jsx)(kD, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(XE, { children: HF(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(jD, { children: xP(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
- icon: TS,
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
+ icon: ES,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -38418,19 +38442,19 @@ function oI({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var sI = Object.fromEntries(Object.entries(HM).map(([e, t]) => [t, e])), cI = 740;
-function lI() {
+var VP = Object.fromEntries(Object.entries(EM).map(([e, t]) => [t, e])), HP = 740;
+function UP() {
let [e, t] = (0, P.useState)(!1), n = (0, P.useRef)(null), r = (0, P.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < cI));
- r.observe(e), n.current = r, t(e.clientWidth < cI);
+ let r = new ResizeObserver(() => t(e.clientWidth < HP));
+ r.observe(e), n.current = r, t(e.clientWidth < HP);
}, []);
return (0, P.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var uI = {
+var WP = {
select: "选择",
author: "创作者",
source: "来源",
@@ -38439,7 +38463,7 @@ var uI = {
checked: "上次检查",
actions: "操作"
};
-function dI({ page: e, pages: t, onPage: n }) {
+function GP({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, F.jsxs)("nav", {
"aria-label": "关注列表分页",
className: "flex flex-wrap items-center justify-center gap-2",
@@ -38453,7 +38477,7 @@ function dI({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, F.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: Nk(e, t).map((t, r) => /* @__PURE__ */ (0, F.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, F.jsx)("span", {
+ children: gk(e, t).map((t, r) => /* @__PURE__ */ (0, F.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -38476,22 +38500,22 @@ function dI({ page: e, pages: t, onPage: n }) {
]
});
}
-function fI({ source: e, selected: t, onToggle: n, handlers: r }) {
+function KP({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
onClick: (e) => {
- hj(e, e.currentTarget) && n(!t);
+ Uj(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, F.jsx)(pj, {
+ /* @__PURE__ */ (0, F.jsx)(Bj, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, F.jsx)(ZN, { source: e }), e.last_error ? /* @__PURE__ */ (0, F.jsx)("small", {
+ children: [/* @__PURE__ */ (0, F.jsx)(rN, { source: e }), e.last_error ? /* @__PURE__ */ (0, F.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -38499,15 +38523,21 @@ function fI({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, F.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, F.jsx)(JN, {
+ children: /* @__PURE__ */ (0, F.jsx)(eN, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, F.jsx)(XN, { source: e }),
+ /* @__PURE__ */ (0, F.jsx)(nN, { source: e }),
/* @__PURE__ */ (0, F.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: RN(e)
+ children: XM(e)
+ }),
+ /* @__PURE__ */ (0, F.jsx)(NO, {
+ "aria-label": `启用 ${e.label}`,
+ isSelected: e.enabled,
+ isDisabled: r.readOnly,
+ onChange: (t) => r.toggle(e, t)
}),
/* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
@@ -38515,7 +38545,7 @@ function fI({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: wS,
+ leadingIcon: TS,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...Y(r.busy),
@@ -38524,7 +38554,7 @@ function fI({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: vS,
+ leadingIcon: pS,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -38533,11 +38563,11 @@ function fI({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function pI({ 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(YM).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = cN(r, c);
+function qP({ 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(OM).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = FM(r, c);
return /* @__PURE__ */ (0, F.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: qC({
+ className: jw({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -38547,7 +38577,7 @@ function pI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, F.jsx)(YN, {
+ /* @__PURE__ */ (0, F.jsx)(tN, {
group: e,
name: t
}),
@@ -38559,7 +38589,7 @@ function pI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: wS,
+ leadingIcon: TS,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...Y(i.busy),
@@ -38568,7 +38598,7 @@ function pI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
/* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, F.jsx)(JN, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, F.jsx)(I_, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, F.jsx)(eN, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, F.jsx)(W_, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, F.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -38577,7 +38607,7 @@ function pI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
/* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: mS,
+ leadingIcon: lS,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -38588,7 +38618,7 @@ function pI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? pS : uS,
+ leadingIcon: n ? cS : aS,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -38598,7 +38628,7 @@ function pI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, F.jsx)(fI, {
+ children: e.map((e) => /* @__PURE__ */ (0, F.jsx)(KP, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -38607,43 +38637,49 @@ function pI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
})]
});
}
-function mI(e) {
- let { data: t, sort: n, dir: r, page: a, layout: o, pageSize: s, selected: c, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, P.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, P.useState)(/* @__PURE__ */ new Set()), [C, w] = lI(), [T, E] = (0, P.useState)(""), D = (0, P.useMemo)(() => iN(v, n, r, y), [
+function JP(e) {
+ let { data: t, sort: n, dir: r, page: a, layout: o, pageSize: s, selected: c, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, P.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, P.useState)(/* @__PURE__ */ new Set()), [C, w] = UP(), [T, E] = (0, P.useState)(""), D = (0, P.useMemo)(() => Qoe(v, n, r, y), [
v,
n,
r,
y
- ]), O = (0, P.useMemo)(() => aN(D, n, r, y), [
+ ]), O = (0, P.useMemo)(() => $oe(D, n, r, y), [
D,
n,
r,
y
- ]), { job: k, running: A, outcome: j, start: M } = lj({
- queryKey: FM,
- queryFn: ({ signal: e }) => fN(e),
- start: (e) => hN(e),
+ ]), { job: k, running: A, outcome: j, start: M } = Pj({
+ queryKey: Voe,
+ queryFn: ({ signal: e }) => nse(e),
+ start: (e) => zM(e),
onError: (e) => E(K(e)),
onFinish: (e) => {
- PN(), g(e.status === "failed" ? e.error || "检查失败" : FN(e));
+ YM(), g(e.status === "failed" ? e.error || "检查失败" : mse(e));
}
}), N = (e) => {
A || M.isPending || (E(""), M.mutate(e));
- }, I = (e, t) => h(lN(c, [e], t)), ee = (e, t) => h(lN(c, e, t)), te = Ct({
- mutationFn: (e) => vN(e),
+ }, I = (e, t) => h(IM(c, [e], t)), ee = (e, t) => h(IM(c, e, t)), te = Ct({
+ mutationFn: (e) => VM(e),
onSuccess: (e, t) => {
- NN([t]), h(lN(c, [t], !1)), g("已取消关注来源");
+ JM([t]), h(IM(c, [t], !1)), g("已取消关注来源");
},
onError: (e) => E(K(e))
- }), ne = (e) => void l({
+ }), ne = Ct({
+ mutationFn: (e) => BM(e.id, e.enabled),
+ onSuccess: (e, t) => {
+ qM(t.id, { enabled: t.enabled }), E("");
+ },
+ onError: (e) => E(K(e))
+ }), re = (e) => void l({
title: "取消关注来源",
body: "将移除这个来源及已抓取的条目,媒体文件保留。",
confirmLabel: "取消关注来源",
danger: !0,
onConfirm: () => te.mutateAsync(e.id)
- }), re = Ct({
+ }), ie = Ct({
mutationFn: async (e) => {
let t = await i(e.ids, 4, async (t) => {
- e.action === "remove" ? await vN(t) : await _N(t, e.action === "enabled");
+ e.action === "remove" ? await VM(t) : await BM(t, e.action === "enabled");
});
return {
...e,
@@ -38652,9 +38688,9 @@ function mI(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") NN(e.done);
- else for (let t of e.done) MN(t, { enabled: e.action === "enabled" });
- h(lN(c, e.done, !1));
+ if (e.action === "remove") JM(e.done);
+ else for (let t of e.done) qM(t, { enabled: e.action === "enabled" });
+ h(IM(c, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
E(`${t.length}/${e.ids.length} 个来源未更新:${K(t[0]?.error)}`);
@@ -38665,45 +38701,50 @@ function mI(e) {
g(`已${n} ${e.done.length} 个关注来源`);
},
onError: (e) => E(K(e))
- }), ie = Ct({
+ }), ae = Ct({
mutationFn: async (e) => {
- let t = ((await wN()).groups || []).flatMap((e) => [
+ let t = ((await use()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await i(t, 6, (t) => CN(t, e))).filter((e) => !e.ok)
+ failed: (await i(t, 6, (t) => lse(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (PN(), e.failed.length) {
+ if (YM(), e.failed.length) {
E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
E(""), g(`已批量标记 ${e.ids.length} 项`);
},
onError: (e) => E(K(e))
- }), ae = (0, P.useRef)({
+ }), oe = (e, t) => ne.mutate({
+ id: e.id,
+ enabled: t
+ }), se = (0, P.useRef)({
check: N,
- remove: ne,
+ toggle: oe,
+ remove: re,
busy: !1,
readOnly: u
});
- ae.current = {
+ se.current = {
check: N,
- remove: ne,
+ toggle: oe,
+ remove: re,
busy: A || M.isPending,
readOnly: u
};
- let oe = ae.current, se = (0, P.useMemo)(() => {
- let e = SP(), t = (e) => () => uI[e] || e;
+ let ce = se.current, le = (0, P.useMemo)(() => {
+ let e = cN(), t = (e) => () => WP[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, F.jsx)(pj, {
+ cell: (e) => /* @__PURE__ */ (0, F.jsx)(Bj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -38715,7 +38756,7 @@ function mI(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, F.jsx)(YN, {
+ children: [/* @__PURE__ */ (0, F.jsx)(tN, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, F.jsx)("span", {
@@ -38729,7 +38770,7 @@ function mI(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, F.jsx)(ZN, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, F.jsx)("small", {
+ children: [/* @__PURE__ */ (0, F.jsx)(rN, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, F.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -38740,87 +38781,96 @@ function mI(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, F.jsx)(JN, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, F.jsx)(eN, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, F.jsx)(XN, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, F.jsx)(nN, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => RN(e.row.original.source)
+ cell: (e) => XM(e.row.original.source)
}),
e.display({
id: "actions",
header: t("actions"),
cell: (e) => /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex items-center gap-1",
- children: [/* @__PURE__ */ (0, F.jsx)(G, {
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: wS,
- "aria-label": `检查 ${e.row.original.source.label} 的更新`,
- disabled: !e.row.original.source.enabled || oe.readOnly,
- ...Y(oe.busy),
- onClick: () => ae.current.check([e.row.original.source.id])
- }), /* @__PURE__ */ (0, F.jsx)(G, {
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: vS,
- "aria-label": `移除 ${e.row.original.source.label}`,
- disabled: oe.readOnly,
- onClick: () => ae.current.remove(e.row.original.source)
- })]
+ children: [
+ /* @__PURE__ */ (0, F.jsx)(NO, {
+ "aria-label": `启用 ${e.row.original.source.label}`,
+ isSelected: e.row.original.source.enabled,
+ isDisabled: ce.readOnly,
+ onChange: (t) => se.current.toggle(e.row.original.source, t)
+ }),
+ /* @__PURE__ */ (0, F.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: TS,
+ "aria-label": `检查 ${e.row.original.source.label} 的更新`,
+ disabled: !e.row.original.source.enabled || ce.readOnly,
+ ...Y(ce.busy),
+ onClick: () => se.current.check([e.row.original.source.id])
+ }),
+ /* @__PURE__ */ (0, F.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: pS,
+ "aria-label": `移除 ${e.row.original.source.label}`,
+ disabled: ce.readOnly,
+ onClick: () => se.current.remove(e.row.original.source)
+ })
+ ]
})
})
];
- }, [oe]), ce = (0, P.useMemo)(() => {
- let e = sI[n];
+ }, [ce]), L = (0, P.useMemo)(() => {
+ let e = VP[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), le = (0, P.useMemo)(() => Object.fromEntries([...c].map((e) => [String(e), !0])), [c]), L = o === "table", ue = oN(L ? O.length : D.length, s, a), R = KF({
+ }, [n, r]), ue = (0, P.useMemo)(() => Object.fromEntries([...c].map((e) => [String(e), !0])), [c]), R = o === "table", z = ese(R ? O.length : D.length, s, a), de = TP({
data: O,
- columns: se,
+ columns: le,
getRowId: (e) => String(e.source.id),
state: {
- sorting: ce,
- rowSelection: le,
+ sorting: L,
+ rowSelection: ue,
pagination: {
- pageIndex: ue.page - 1,
+ pageIndex: z.page - 1,
pageSize: s
}
},
manualSorting: !0,
enableRowSelection: !0,
onSortingChange: (e) => {
- let t = (typeof e == "function" ? e(ce) : e)[0];
+ let t = (typeof e == "function" ? e(L) : e)[0];
if (!t) return;
- let n = HM[t.id];
+ let n = EM[t.id];
n && d(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
- let t = typeof e == "function" ? e(le) : e;
+ let t = typeof e == "function" ? e(ue) : e;
h(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
onPaginationChange: (e) => {
let t = {
- pageIndex: ue.page - 1,
+ pageIndex: z.page - 1,
pageSize: s
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === s ? n.pageIndex !== t.pageIndex && f(n.pageIndex + 1) : m(n.pageSize);
},
- getCoreRowModel: zF(),
- getPaginationRowModel: VF()
- }), z = R.getRowModel().rows, de = L ? z.map((e) => e.original.source.id) : D.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), fe = cN(c, de), pe = [...c], me = IN(j), he = LN(j), ge = D.length > 0 && x.size >= D.length;
+ getCoreRowModel: vP(),
+ getPaginationRowModel: bP()
+ }), fe = de.getRowModel().rows, pe = R ? fe.map((e) => e.original.source.id) : D.slice(z.start, z.end).flatMap((e) => e.map((e) => e.id)), me = FM(c, pe), he = [...c], ge = hse(j), _e = gse(j), ve = D.length > 0 && x.size >= D.length;
return v.length ? /* @__PURE__ */ (0, F.jsxs)("div", {
- className: qC({
+ className: jw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -38839,11 +38889,11 @@ function mI(e) {
}),
/* @__PURE__ */ (0, F.jsx)(G, {
variant: "primary",
- leadingIcon: wS,
+ leadingIcon: TS,
disabled: u,
"aria-label": "检查全部",
iconOnly: w,
- ...Y(oe.busy),
+ ...Y(ce.busy),
onClick: () => N([]),
children: "检查全部"
}),
@@ -38854,28 +38904,28 @@ function mI(e) {
children: [/* @__PURE__ */ (0, F.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Vte,
- "aria-label": zM[0][1],
- "aria-pressed": !L,
+ leadingIcon: SS,
+ "aria-label": wM[0][1],
+ "aria-pressed": !R,
onClick: () => p("default")
}), /* @__PURE__ */ (0, F.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Ute,
- "aria-label": zM[1][1],
- "aria-pressed": L,
+ leadingIcon: OS,
+ "aria-label": wM[1][1],
+ "aria-pressed": R,
onClick: () => p("table")
})]
}),
- /* @__PURE__ */ (0, F.jsx)(oj, {
+ /* @__PURE__ */ (0, F.jsx)(kj, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- d(t, _M[t]);
+ d(t, pM[t]);
},
- children: hM.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(sj, {
+ children: fM.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(Aj, {
id: e,
children: t
}, e))
@@ -38883,17 +38933,17 @@ function mI(e) {
/* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? Mte : jte,
- "aria-label": KM(n, r),
+ leadingIcon: r === "asc" ? Lte : Ite,
+ "aria-label": Joe(n, r),
onClick: () => d(n, r === "asc" ? "desc" : "asc")
}),
- L ? null : /* @__PURE__ */ (0, F.jsx)(G, {
+ R ? null : /* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: ge ? uS : pS,
- "aria-label": ge ? "全部展开" : "全部收起",
- onClick: () => S(ge ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
- children: ge ? "全部展开" : "全部收起"
+ leadingIcon: ve ? aS : cS,
+ "aria-label": ve ? "全部展开" : "全部收起",
+ onClick: () => S(ve ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
+ children: ve ? "全部展开" : "全部收起"
})
]
}),
@@ -38901,50 +38951,50 @@ function mI(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? k?.total ? /* @__PURE__ */ (0, F.jsx)($C, {
+ A ? k?.total ? /* @__PURE__ */ (0, F.jsx)(Rw, {
label: k.message || `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, F.jsx)(YC, { label: k?.message || "正在准备检查任务" }) : null,
+ }) : /* @__PURE__ */ (0, F.jsx)(Pw, { label: k?.message || "正在准备检查任务" }) : null,
T ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "操作未完成",
children: T
}) : null,
- me.length ? /* @__PURE__ */ (0, F.jsx)(J, {
+ ge.length ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
- title: `${me.length} 个来源检查失败`,
+ title: `${ge.length} 个来源检查失败`,
extra: /* @__PURE__ */ (0, F.jsx)("ul", {
className: "flex flex-col gap-0.5 text-body-2-regular",
- children: me.map((e, t) => /* @__PURE__ */ (0, F.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))
+ children: ge.map((e, t) => /* @__PURE__ */ (0, F.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))
}),
children: "这些来源这一轮没有取到更新。"
}) : null,
- he ? /* @__PURE__ */ (0, F.jsx)(J, {
+ _e ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "warning",
- children: `候选已入库,但这一次的原始响应没有留档:${he}`
+ children: `候选已入库,但这一次的原始响应没有留档:${_e}`
}) : null
]
}),
- pe.length ? /* @__PURE__ */ (0, F.jsxs)(qF, {
+ he.length ? /* @__PURE__ */ (0, F.jsxs)(EP, {
label: "关注来源批量操作",
- count: `已选 ${pe.length} 个来源`,
+ count: `已选 ${he.length} 个来源`,
children: [
/* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
size: "small",
disabled: u,
- ...Y(oe.busy),
- onClick: () => N(pe),
+ ...Y(ce.busy),
+ onClick: () => N(he),
children: "检查所选"
}),
/* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
size: "small",
disabled: u,
- ...Y(re.isPending),
- onClick: () => re.mutate({
- ids: pe,
+ ...Y(ie.isPending),
+ onClick: () => ie.mutate({
+ ids: he,
action: "enabled"
}),
children: "启用"
@@ -38953,9 +39003,9 @@ function mI(e) {
variant: "secondary",
size: "small",
disabled: u,
- ...Y(re.isPending),
- onClick: () => re.mutate({
- ids: pe,
+ ...Y(ie.isPending),
+ onClick: () => ie.mutate({
+ ids: he,
action: "paused"
}),
children: "暂停"
@@ -38964,14 +39014,14 @@ function mI(e) {
variant: "danger",
size: "small",
disabled: u,
- ...Y(re.isPending),
+ ...Y(ie.isPending),
onClick: () => void l({
- title: `删除 ${pe.length} 个关注来源`,
+ title: `删除 ${he.length} 个关注来源`,
body: "将移除所选关注来源及其已抓取条目,媒体文件保留。",
confirmLabel: "删除所选来源",
danger: !0,
- onConfirm: () => re.mutateAsync({
- ids: pe,
+ onConfirm: () => ie.mutateAsync({
+ ids: he,
action: "remove"
})
}),
@@ -38985,23 +39035,23 @@ function mI(e) {
})
]
}) : null,
- L ? /* @__PURE__ */ (0, F.jsx)(gj, {
+ R ? /* @__PURE__ */ (0, F.jsx)(Wj, {
follow: !0,
onRowClick: (e) => I(Number(e), !c.has(Number(e))),
- children: /* @__PURE__ */ (0, F.jsxs)(mj, {
+ children: /* @__PURE__ */ (0, F.jsxs)(Vj, {
"aria-label": "关注来源",
size: "sm",
- sortDescriptor: ce[0] ? {
- column: ce[0].id,
- direction: ce[0].desc ? "descending" : "ascending"
+ sortDescriptor: L[0] ? {
+ column: L[0].id,
+ direction: L[0].desc ? "descending" : "ascending"
} : void 0,
- onSortChange: (e) => R.setSorting([{
+ onSortChange: (e) => de.setSorting([{
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, F.jsx)(HE, { children: R.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in HM, n = HF(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, F.jsx)(UE, {
+ children: [/* @__PURE__ */ (0, F.jsx)(CD, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in EM, n = xP(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, F.jsx)(wD, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -39010,33 +39060,33 @@ function mI(e) {
children: [n, /* @__PURE__ */ (0, F.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, F.jsx)(xoe, {})
+ children: /* @__PURE__ */ (0, F.jsx)(Tj, {})
})]
- }) : /* @__PURE__ */ (0, F.jsx)(I_, { children: n })
+ }) : /* @__PURE__ */ (0, F.jsx)(W_, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, F.jsx)(GE, {
+ }) }), /* @__PURE__ */ (0, F.jsx)(ED, {
renderEmptyState: () => "这一页没有来源",
- children: z.map((e) => /* @__PURE__ */ (0, F.jsx)(JE, {
+ children: fe.map((e) => /* @__PURE__ */ (0, F.jsx)(kD, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(XE, { children: HF(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(jD, { children: xP(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(pj, {
- isSelected: fe.all,
- isIndeterminate: fe.some,
- onChange: (e) => ee(de, e),
+ }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Bj, {
+ isSelected: me.all,
+ isIndeterminate: me.some,
+ onChange: (e) => ee(pe, e),
"aria-label": "全选本页来源",
children: "全选本页"
}), /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-col gap-3",
- children: D.slice(ue.start, ue.end).map((e) => {
+ children: D.slice(z.start, z.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, F.jsx)(pI, {
+ return /* @__PURE__ */ (0, F.jsx)(qP, {
group: e,
- name: eN(e, y),
- handlers: oe,
+ name: NM(e, y),
+ handlers: ce,
selected: c,
open: !x.has(t),
onOpen: (e) => {
@@ -39053,24 +39103,24 @@ function mI(e) {
children: [
/* @__PURE__ */ (0, F.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${ue.start + 1}–${ue.end} / ${ue.total} ${L ? "个来源" : "位创作者"}`
+ children: `${z.start + 1}–${z.end} / ${z.total} ${R ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, F.jsx)(oj, {
+ /* @__PURE__ */ (0, F.jsx)(kj, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(s),
onSelectionChange: (e) => {
- e !== null && R.setPageSize(Number(e));
+ e !== null && de.setPageSize(Number(e));
},
- children: BM.map((e) => /* @__PURE__ */ (0, F.jsx)(sj, {
+ children: TM.map((e) => /* @__PURE__ */ (0, F.jsx)(Aj, {
id: String(e),
- children: `每页 ${e} ${L ? "条" : "位"}`
+ children: `每页 ${e} ${R ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, F.jsx)(dI, {
- page: ue.page,
- pages: ue.pages,
- onPage: (e) => R.setPageIndex(e - 1)
+ /* @__PURE__ */ (0, F.jsx)(GP, {
+ page: z.page,
+ pages: z.pages,
+ onPage: (e) => de.setPageIndex(e - 1)
})
]
}),
@@ -39091,12 +39141,12 @@ function mI(e) {
variant: "secondary",
size: "small",
disabled: u,
- ...Y(ie.isPending),
+ ...Y(ae.isPending),
onClick: () => void l({
title: "标记已看",
body: "将把当前未看作品标记为已看。",
confirmLabel: "标记已看",
- onConfirm: () => ie.mutateAsync("seen")
+ onConfirm: () => ae.mutateAsync("seen")
}),
children: "全部标记已看"
}),
@@ -39104,23 +39154,23 @@ function mI(e) {
variant: "secondary",
size: "small",
disabled: u,
- ...Y(ie.isPending),
+ ...Y(ae.isPending),
onClick: () => void l({
title: "标记已忽略",
body: "将把当前未看作品标记为已忽略。",
confirmLabel: "标记已忽略",
- onConfirm: () => ie.mutateAsync("ignored")
+ onConfirm: () => ae.mutateAsync("ignored")
}),
children: "全部忽略"
})
]
}) : null
]
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: TS,
+ icon: ES,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, F.jsx)(UC, {
+ actions: /* @__PURE__ */ (0, F.jsx)(bw, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -39131,15 +39181,15 @@ function mI(e) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var hI = [
+var YP = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "订阅源"],
["source", "来源和凭证"]
-], gI = (e) => hI.some(([t]) => t === e);
-function _I({ term: e, figure: t, unit: n }) {
+], XP = (e) => YP.some(([t]) => t === e);
+function ZP({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
- className: qC({
+ className: jw({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -39155,20 +39205,20 @@ function _I({ term: e, figure: t, unit: n }) {
})]
});
}
-function vI(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, P.useState)(gI(e.tab) ? e.tab : "list"), [u, d] = (0, P.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, P.useState)(() => yM(e.sort, e.dir).sort), [m, h] = (0, P.useState)(() => yM(e.sort, e.dir).dir), [g, _] = (0, P.useState)(UM(e.layout) ? e.layout : "default"), [v, y] = (0, P.useState)(WM(e.pageSize)), [b, x] = (0, P.useState)(/* @__PURE__ */ new Set()), S = St({
- queryKey: NM,
- queryFn: ({ signal: e }) => uN(e)
+function QP(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, P.useState)(XP(e.tab) ? e.tab : "list"), [u, d] = (0, P.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, P.useState)(() => mM(e.sort, e.dir).sort), [m, h] = (0, P.useState)(() => mM(e.sort, e.dir).dir), [g, _] = (0, P.useState)(Goe(e.layout) ? e.layout : "default"), [v, y] = (0, P.useState)(Koe(e.pageSize)), [b, x] = (0, P.useState)(/* @__PURE__ */ new Set()), S = St({
+ queryKey: xM,
+ queryFn: ({ signal: e }) => LM(e)
}), C = St({
- queryKey: PM,
- queryFn: ({ signal: e }) => dN(e)
+ queryKey: SM,
+ queryFn: ({ signal: e }) => RM(e)
}), w = S.data || { sources: [] }, T = C.data || {
root: "",
providers: []
}, E = w.sources;
(0, P.useEffect)(() => {
x((e) => {
- let t = sN(e, E);
+ let t = tse(e, E);
return t.size === e.size ? e : t;
});
}, [E]);
@@ -39178,10 +39228,10 @@ function vI(e) {
tab: e.tab ?? c,
page: e.page ?? u,
sort: n === "checked" ? "" : n,
- dir: r === _M[n] ? "" : r
+ dir: r === pM[n] ? "" : r
});
- }, O = rN(E), k = E.filter(YM).length, A = E.filter((e) => e.enabled).length, j = (T.providers || []).filter((e) => e.requirement === "required" && !HN(e)).length;
- return /* @__PURE__ */ (0, F.jsxs)(XC, { children: [
+ }, O = PM(E), k = E.filter(OM).length, A = E.filter((e) => e.enabled).length, j = (T.providers || []).filter((e) => e.requirement === "required" && !ZM(e)).length;
+ return /* @__PURE__ */ (0, F.jsxs)(Fw, { children: [
a ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
@@ -39199,49 +39249,49 @@ function vI(e) {
className: OA,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, F.jsx)(_I, {
+ /* @__PURE__ */ (0, F.jsx)(ZP, {
term: "关注创作者",
figure: O.length,
unit: "位"
}),
- /* @__PURE__ */ (0, F.jsx)(_I, {
+ /* @__PURE__ */ (0, F.jsx)(ZP, {
term: "启用来源",
figure: A,
unit: `/ ${E.length}`
}),
- /* @__PURE__ */ (0, F.jsx)(_I, {
+ /* @__PURE__ */ (0, F.jsx)(ZP, {
term: "检查失败",
figure: k,
unit: "个来源"
}),
- /* @__PURE__ */ (0, F.jsx)(_I, {
+ /* @__PURE__ */ (0, F.jsx)(ZP, {
term: "未看更新",
figure: w.counts?.new || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, F.jsxs)(eD, {
+ /* @__PURE__ */ (0, F.jsxs)(FD, {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- gI(t) && (l(t), D({ tab: t }));
+ XP(t) && (l(t), D({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, F.jsx)(tD, {
+ /* @__PURE__ */ (0, F.jsx)(ID, {
"aria-label": "关注管理区域",
- className: UN,
- children: hI.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nD, {
+ className: QM,
+ children: YP.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(LD, {
id: e,
- className: WN,
+ className: $M,
children: e === "source" && j ? `${t}(${j})` : t
}, e))
}),
- /* @__PURE__ */ (0, F.jsx)(rD, {
+ /* @__PURE__ */ (0, F.jsx)(RD, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, F.jsx)(mI, {
+ children: /* @__PURE__ */ (0, F.jsx)(JP, {
data: w,
sort: f,
dir: m,
@@ -39271,10 +39321,10 @@ function vI(e) {
}
})
}),
- /* @__PURE__ */ (0, F.jsxs)(rD, {
+ /* @__PURE__ */ (0, F.jsxs)(RD, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, F.jsx)(sP, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Ase, {
data: w,
credentials: T,
readOnly: a,
@@ -39282,7 +39332,7 @@ function vI(e) {
openCredentials: () => {
l("source"), D({ tab: "source" });
}
- }), /* @__PURE__ */ (0, F.jsx)(fP, {
+ }), /* @__PURE__ */ (0, F.jsx)(Nse, {
groups: w.author_aliases || [],
readOnly: a,
toast: r,
@@ -39290,18 +39340,18 @@ function vI(e) {
sources: w.sources
})]
}),
- /* @__PURE__ */ (0, F.jsx)(rD, {
+ /* @__PURE__ */ (0, F.jsx)(RD, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, F.jsx)(oI, {
+ children: /* @__PURE__ */ (0, F.jsx)(BP, {
readOnly: a,
toast: r
})
}),
- /* @__PURE__ */ (0, F.jsx)(rD, {
+ /* @__PURE__ */ (0, F.jsx)(RD, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, F.jsx)(xP, {
+ children: /* @__PURE__ */ (0, F.jsx)(Hse, {
data: T,
readOnly: a,
toast: r
@@ -39313,43 +39363,43 @@ function vI(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var yI = "/api/follow/authors", bI = "/api/follow/tags", xI = (e) => [
+var $P = "/api/follow/authors", eF = "/api/follow/tags", tF = (e) => [
"follow",
"authors",
e
-], koe = (e, t) => [
+], nF = (e, t) => [
"follow",
"tags",
e,
t
];
-function Aoe(e, t, n) {
+function rF(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${yI}?${r}`;
+ return e && r.set("q", e), `${$P}?${r}`;
}
-function joe(e, t, n, r) {
+function iF(e, t, n, r) {
let i = new URLSearchParams({
types: "all",
limit: String(n),
offset: String(r)
});
- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${bI}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${eF}?${i}`;
}
-var Moe = (e, t, n, r) => KC(Aoe(e, t, n), r), Noe = (e, t, n, r, i) => KC(joe(e, t, n, r), i), Poe = "/api/index", SI = {
+var aF = (e, t, n, r) => Cw(rF(e, t, n), r), oF = (e, t, n, r, i) => Cw(iF(e, t, n, r), i), sF = "/api/index", cF = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Foe = {
+}, lF = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, CI = [
+}, uF = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -39359,26 +39409,26 @@ var Moe = (e, t, n, r) => KC(Aoe(e, t, n), r), Noe = (e, t, n, r, i) => KC(joe(e
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], wI = [
+], dF = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], TI = {
+], fF = {
people: 120,
tags: 180
-}, EI = (e) => e !== "tags", DI = (e) => e === "studios" || e === "agencies";
-function OI(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? wI : CI).some(([t]) => t === e.category);
+}, pF = (e) => e !== "tags", mF = (e) => e === "studios" || e === "agencies";
+function hF(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? dF : uF).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function kI(e) {
+function gF(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -39397,50 +39447,50 @@ function kI(e) {
q: n
};
}
-var AI = (e, t, n = "all") => [
+var _F = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function jI(e, t, n, r, i) {
+function vF(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${Poe}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${sF}?${a}`;
}
-function MI(e) {
- let t = e.what === "people" || e.what === "online-authors" ? TI.people : TI.tags, n = {
+function yF(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? fF.people : fF.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: AI(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => KC(jI(e.kind, e.q, "all", t, n), r)
+ queryKey: _F(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => Cw(vF(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: AI("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => KC(jI("tags", e.q, e.category, t, n), r)
+ queryKey: _F("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Cw(vF("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: xI(e.q),
- queryFn: ({ pageParam: n, signal: r }) => Moe(e.q, t, n, r)
+ queryKey: tF(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => aF(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: koe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => Noe(e.q, e.category, t, n, r)
+ queryKey: nF(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => oF(e.q, e.category, t, n, r)
};
}
}
-async function Ioe(e, t) {
- let n = MI(kI(OI(e)));
+async function bF(e, t) {
+ let n = yF(gF(hF(e)));
X.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -39454,13 +39504,13 @@ async function Ioe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var Loe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Roe = (e, t) => `${e}${t ? "+" : ""} 项`, NI = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", zoe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), Boe = {
+var xF = (e) => e ? e.pages.flatMap((e) => e.items) : [], SF = (e, t) => `${e}${t ? "+" : ""} 项`, CF = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", wF = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), TF = {
numeric: !0,
sensitivity: "base"
};
-function Voe(e, t) {
+function EF(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Boe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", TF))) {
let e = t(r.k).normalize("NFKC").trim().charAt(0).toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -39468,15 +39518,15 @@ function Voe(e, t) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function Hoe({ value: e }) {
+function DF({ value: e }) {
return /* @__PURE__ */ (0, F.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
children: e.toLocaleString()
});
}
-var Uoe = "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 PI({ tabs: e, value: t, label: n, onChange: r }) {
+var OF = "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 kF({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, P.useRef)(null), a = (0, P.useRef)(null);
return (0, P.useLayoutEffect)(() => {
let e = i.current;
@@ -39504,14 +39554,14 @@ function PI({ tabs: e, value: t, label: n, onChange: r }) {
},
className: "relative mb-5.5 flex flex-none gap-1 overflow-x-auto border-b border-border-button-default max-board-narrow:gap-0",
children: [e.map((e) => {
- let n = e.symbol ? XO(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? TO(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: Uoe,
+ className: OF,
onClick: () => {
i || r(e.value);
},
@@ -39527,7 +39577,7 @@ function PI({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function FI({ html: e, face: t, company: n, big: r }) {
+function AF({ html: e, face: t, company: n, big: r }) {
let i = (0, P.useRef)(null);
return (0, P.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -39539,18 +39589,18 @@ function FI({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var Woe = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function II({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var jF = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function MF({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
...a,
"data-index-cell": "",
onClick: i,
- className: qC({
+ className: jw({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${Woe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${jF} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -39567,8 +39617,8 @@ function II({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function Goe({ kind: e, items: t, layout: n, props: r }) {
- let i = Foe[e], a = DI(e), o = n === "big";
+function NF({ kind: e, items: t, layout: n, props: r }) {
+ let i = lF[e], a = mF(e), o = n === "big";
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -39576,14 +39626,14 @@ function Goe({ kind: e, items: t, layout: n, props: r }) {
className: `${a ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
let n = r.personAvatar(t, i, o);
- return /* @__PURE__ */ (0, F.jsx)(II, {
+ return /* @__PURE__ */ (0, F.jsx)(MF, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: zoe(e, t),
+ readout: wF(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, F.jsx)(FI, {
+ children: /* @__PURE__ */ (0, F.jsx)(AF, {
html: n.html,
face: n.face,
company: a,
@@ -39593,21 +39643,21 @@ function Goe({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function Koe({ items: e, layout: t, props: n }) {
+function PF({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, F.jsx)(II, {
+ children: e.map((e) => /* @__PURE__ */ (0, F.jsx)(MF, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
readout: `${e.n.toLocaleString()} 项更新`,
big: r,
onPress: () => n.openFollowAuthor(e.key),
- children: /* @__PURE__ */ (0, F.jsx)(FI, {
+ children: /* @__PURE__ */ (0, F.jsx)(AF, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -39617,23 +39667,23 @@ function Koe({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var LI = () => /* @__PURE__ */ (0, F.jsx)("span", {
+var FF = () => /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function qoe({ tag: e, actions: t }) {
+function IF({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": NI(t.online, e.cat),
+ "data-tag-cat": CF(t.online, e.cat),
"aria-pressed": n,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, F.jsx)(LI, {}),
+ /* @__PURE__ */ (0, F.jsx)(FF, {}),
/* @__PURE__ */ (0, F.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -39645,23 +39695,23 @@ function qoe({ tag: e, actions: t }) {
]
});
}
-function Joe({ groups: e, actions: t }) {
+function LF({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, F.jsxs)("section", {
"data-alpha-group": r,
- className: qC({
+ className: jw({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, F.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, F.jsx)(Hoe, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, F.jsx)(DF, { value: n.length })]
}), /* @__PURE__ */ (0, F.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, F.jsx)(qoe, {
+ children: n.map((e) => /* @__PURE__ */ (0, F.jsx)(IF, {
tag: e,
actions: t
}, e.k))
@@ -39669,8 +39719,8 @@ function Joe({ groups: e, actions: t }) {
}, e))
});
}
-var Yoe = "\xA0";
-function Xoe({ tags: e, actions: t }) {
+var RF = "\xA0";
+function zF({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -39678,11 +39728,11 @@ function Xoe({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": NI(t.online, e.cat),
+ "data-tag-cat": CF(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.label + Yoe, /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [e.label + RF, /* @__PURE__ */ (0, F.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -39690,7 +39740,7 @@ function Xoe({ tags: e, actions: t }) {
}, e.k))
});
}
-var Zoe = [[
+var BF = [[
"cloud",
"标签云",
"tags"
@@ -39699,16 +39749,16 @@ var Zoe = [[
"字母表",
"text-aa"
]];
-function Qoe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, F.jsx)(eM, {
+function VF({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, F.jsx)(Soe, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, F.jsxs)(nM, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, F.jsxs)(woe, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : NI(n, e),
+ "data-tag-cat": e === "all" ? "all" : CF(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, F.jsx)(LI, {}), r]
+ children: [/* @__PURE__ */ (0, F.jsx)(FF, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsx)("span", {
@@ -39727,19 +39777,19 @@ function Qoe({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, F.jsx)(TE, {
+ /* @__PURE__ */ (0, F.jsx)(oD, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${KN}`,
- children: Zoe.map(([e, t, n]) => {
- let r = XO(n);
- return /* @__PURE__ */ (0, F.jsx)(EE, {
+ className: `ml-auto ${xse}`,
+ children: BF.map(([e, t, n]) => {
+ let r = TO(n);
+ return /* @__PURE__ */ (0, F.jsx)(sD, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: qN,
+ className: Sse,
children: /* @__PURE__ */ (0, F.jsx)("span", {
title: t,
className: "contents",
@@ -39751,12 +39801,12 @@ function Qoe({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function $oe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, F.jsxs)(qF, {
+function HF({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, F.jsxs)(EP, {
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, F.jsx)(pj, {
+ /* @__PURE__ */ (0, F.jsx)(Bj, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, F.jsxs)("span", {
@@ -39788,7 +39838,7 @@ function $oe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var ese = [{
+var UF = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -39796,7 +39846,7 @@ var ese = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], RI = [{
+}], WF = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -39804,7 +39854,7 @@ var ese = [{
value: "online",
label: "在线",
symbol: "rss"
-}], tse = {
+}], GF = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -39824,20 +39874,20 @@ var ese = [{
"layout-grid"
]]
};
-function nse({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, F.jsx)(TE, {
- "aria-label": `${SI[e]}索引版式`,
+function KF({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, F.jsx)(oD, {
+ "aria-label": `${cF[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${UN}`,
- children: tse[DI(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = XO(n);
- return /* @__PURE__ */ (0, F.jsx)(EE, {
+ className: `flex-none max-board-narrow:order-3 ${QM}`,
+ children: GF[mF(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = TO(n);
+ return /* @__PURE__ */ (0, F.jsx)(sD, {
value: e,
"aria-label": t,
- className: GN,
+ className: bse,
children: /* @__PURE__ */ (0, F.jsx)("span", {
title: t,
className: "contents",
@@ -39847,8 +39897,8 @@ function nse({ kind: e, layout: t, onChange: n }) {
})
});
}
-var rse = XO("search");
-function ise({ label: e, value: t, onQuery: n }) {
+var qF = TO("search");
+function JF({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, P.useState)(t), a = (0, P.useRef)(!1), o = (0, P.useRef)(void 0);
(0, P.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -39863,15 +39913,15 @@ function ise({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, F.jsx)(pD, {
+ children: /* @__PURE__ */ (0, F.jsx)(HD, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, F.jsx)(hD, {
+ children: /* @__PURE__ */ (0, F.jsx)(WD, {
type: "search",
- leadingIcon: rse,
+ leadingIcon: qF,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -39881,14 +39931,14 @@ function ise({ label: e, value: t, onQuery: n }) {
})
});
}
-function ase(e) {
- let [t, n] = (0, P.useState)(() => OI({
+function YF(e) {
+ let [t, n] = (0, P.useState)(() => hF({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, P.useState)(e.layout), [o, s] = (0, P.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, P.useState)("any"), u = (0, P.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = t, _ = SI[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";
+ })), [r, i] = (0, P.useState)(e.layout), [o, s] = (0, P.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, P.useState)("any"), u = (0, P.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = t, _ = cF[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";
(0, P.useEffect)(() => {
e.selectMode || s(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -39898,7 +39948,7 @@ function ase(e) {
...r
};
x(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = MI(kI(t)), w = wt({
+ }, C = yF(gF(t)), w = wt({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -39907,21 +39957,21 @@ function ase(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: b ? xe : void 0
- }), T = Loe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = Roe(T.length, !!w.hasNextPage);
+ }), T = xF(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = SF(T.length, !!w.hasNextPage);
(0, P.useEffect)(() => {
u.current && e.refitImages(u.current);
}, [r]);
let O = (0, P.useMemo)(() => f === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, f]), k = (0, P.useMemo)(() => f === "tags" && h === "alphabet" ? Voe(O, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, f]), k = (0, P.useMemo)(() => f === "tags" && h === "alphabet" ? EF(O, (t) => e.tagLabel(t)) : [], [
O,
h,
f
]), A = (t) => {
i(t), e.savePreference({ layout: t });
- }, j = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(PI, {
- tabs: RI,
+ }, j = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(kF, {
+ tabs: WF,
value: m,
label: "词表",
onChange: (e) => {
@@ -39931,15 +39981,15 @@ function ase(e) {
view: e === "online" ? "alphabet" : h
});
}
- }) : f === "performers" ? /* @__PURE__ */ (0, F.jsx)(PI, {
- tabs: RI,
+ }) : f === "performers" ? /* @__PURE__ */ (0, F.jsx)(kF, {
+ tabs: WF,
value: m,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), S({ scope: t });
}
- }) : DI(f) ? /* @__PURE__ */ (0, F.jsx)(PI, {
- tabs: ese,
+ }) : mF(f) ? /* @__PURE__ */ (0, F.jsx)(kF, {
+ tabs: UF,
value: f,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -39956,7 +40006,7 @@ function ase(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, N = (v ? wI : CI).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, N = (v ? dF : uF).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, F.jsxs)("div", {
ref: u,
"data-index-page": f,
@@ -39971,12 +40021,12 @@ function ase(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: _
}),
- EI(f) ? /* @__PURE__ */ (0, F.jsx)("span", {
+ pF(f) ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending ? "" : D
}) : null,
- EI(f) ? /* @__PURE__ */ (0, F.jsx)(nse, {
+ pF(f) ? /* @__PURE__ */ (0, F.jsx)(KF, {
kind: f,
layout: r,
onChange: A
@@ -39985,7 +40035,7 @@ function ase(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, F.jsx)(ise, {
+ /* @__PURE__ */ (0, F.jsx)(JF, {
label: `过滤${_}`,
value: p,
onQuery: (e) => {
@@ -39995,7 +40045,7 @@ function ase(e) {
]
}),
j,
- f === "tags" ? /* @__PURE__ */ (0, F.jsx)(Qoe, {
+ f === "tags" ? /* @__PURE__ */ (0, F.jsx)(VF, {
categories: N,
category: g,
online: v,
@@ -40020,8 +40070,8 @@ function ase(e) {
mode: h
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, F.jsx)(JC, {
- icon: XO("search"),
+ if (w.isError) return /* @__PURE__ */ (0, F.jsx)(Nw, {
+ icon: TO("search"),
title: `没能读取${_}`,
actions: /* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
@@ -40030,18 +40080,18 @@ function ase(e) {
}),
children: a(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, F.jsx)(sse, {
+ if (!T.length) return /* @__PURE__ */ (0, F.jsx)(ZF, {
kind: f,
filtered: !!p || f === "tags" && g !== "all",
online: v || y,
configurable: e.configurable
});
- if (y) return /* @__PURE__ */ (0, F.jsx)(Koe, {
+ if (y) return /* @__PURE__ */ (0, F.jsx)(PF, {
items: T,
layout: r,
props: e
});
- if (EI(f)) return /* @__PURE__ */ (0, F.jsx)(Goe, {
+ if (pF(f)) return /* @__PURE__ */ (0, F.jsx)(NF, {
kind: f,
items: T,
layout: r,
@@ -40052,10 +40102,10 @@ function ase(e) {
picked: o,
press: M
};
- return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(Joe, {
+ return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(LF, {
groups: k,
actions: t
- }) : /* @__PURE__ */ (0, F.jsx)(Xoe, {
+ }) : /* @__PURE__ */ (0, F.jsx)(zF, {
tags: O,
actions: t
});
@@ -40070,13 +40120,13 @@ function ase(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, F.jsx)(YC, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, F.jsx)(Pw, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- f === "tags" && !v && e.selectMode && o.size ? /* @__PURE__ */ (0, F.jsx)($oe, {
+ f === "tags" && !v && e.selectMode && o.size ? /* @__PURE__ */ (0, F.jsx)(HF, {
count: o.size,
match: c,
onMatch: l,
@@ -40089,31 +40139,31 @@ function ase(e) {
]
});
}
-var ose = {
+var XF = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function sse({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, F.jsx)(JC, {
- icon: XO("search"),
+function ZF({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, F.jsx)(Nw, {
+ icon: TO("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, F.jsx)(UC, {
+ actions: /* @__PURE__ */ (0, F.jsx)(bw, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : ose[e], a = /* @__PURE__ */ (0, F.jsx)(UC, {
+ let i = n && e === "performers" ? "创作者" : XF[e], a = /* @__PURE__ */ (0, F.jsx)(bw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, F.jsx)(JC, {
- icon: XO(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, F.jsx)(Nw, {
+ icon: TO(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [r ? /* @__PURE__ */ (0, F.jsx)(G, {
variant: "primary",
@@ -40123,15 +40173,15 @@ function sse({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var zI = {
+var QF = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, cse = (e) => zI[e.junk_kind || "other"] || zI.other;
-function lse(e) {
+}, $F = (e) => QF[e.junk_kind || "other"] || QF.other;
+function eI(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -40142,21 +40192,21 @@ function lse(e) {
glyph: "check"
};
}
-var use = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), dse = (e, t) => [
+var tI = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), nI = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function fse({ kind: e, view: t }) {
+function rI({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function pse(e, t) {
- let n = await KC(`/api/ads?${fse(e)}`, t);
+async function iI(e, t) {
+ let n = await Cw(`/api/ads?${rI(e)}`, t);
return {
...n,
items: n.items || []
@@ -40164,19 +40214,19 @@ async function pse(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function BI({ name: e }) {
+function aI({ name: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
}
-var VI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function mse({ item: e, view: n, selected: i, selectMode: a, helpers: o, actions: s }) {
- let c = (0, P.useRef)(null), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), p = e.junk_kind || "other", [m, h] = cse(e), g = String(e.name || ""), v = lse(n), y = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", b = p === "video" || p === "image", x = (t) => {
- t.target.closest("[data-junk-actions]") || VI(a, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
+var oI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function sI({ item: e, view: n, selected: i, selectMode: a, helpers: o, actions: s }) {
+ let c = (0, P.useRef)(null), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), p = e.junk_kind || "other", [m, h] = $F(e), g = String(e.name || ""), v = eI(n), y = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", b = p === "video" || p === "image", x = (t) => {
+ t.target.closest("[data-junk-actions]") || oI(a, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
}, S = (t) => {
- if (t.stopPropagation(), VI(a, t)) {
+ if (t.stopPropagation(), oI(a, t)) {
t.preventDefault(), s.toggleSelection(e.id, t.shiftKey);
return;
}
@@ -40218,7 +40268,7 @@ function mse({ item: e, view: n, selected: i, selectMode: a, helpers: o, actions
children: [
/* @__PURE__ */ (0, F.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, F.jsx)(BI, { name: h }), /* @__PURE__ */ (0, F.jsx)("b", { children: m })]
+ children: [/* @__PURE__ */ (0, F.jsx)(aI, { name: h }), /* @__PURE__ */ (0, F.jsx)("b", { children: m })]
}),
y ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-media-art": "thumb",
@@ -40230,7 +40280,7 @@ function mse({ item: e, view: n, selected: i, selectMode: a, helpers: o, actions
}),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, F.jsx)(BI, { name: "check" })
+ children: /* @__PURE__ */ (0, F.jsx)(aI, { name: "check" })
})
]
}),
@@ -40267,7 +40317,7 @@ function mse({ item: e, view: n, selected: i, selectMode: a, helpers: o, actions
children: [l === "reveal" ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: _("正在定位") }
- }) : /* @__PURE__ */ (0, F.jsx)(BI, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {
+ }) : /* @__PURE__ */ (0, F.jsx)(aI, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -40279,7 +40329,7 @@ function mse({ item: e, view: n, selected: i, selectMode: a, helpers: o, actions
"aria-label": v.label,
...T(v.operation),
onClick: w(v.operation),
- children: [/* @__PURE__ */ (0, F.jsx)(BI, { name: v.glyph }), /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(aI, { name: v.glyph }), /* @__PURE__ */ (0, F.jsx)("span", {
"data-junk-label": "",
children: v.label
})]
@@ -40291,7 +40341,7 @@ function mse({ item: e, view: n, selected: i, selectMode: a, helpers: o, actions
"aria-label": "移入回收站",
...T("dispose"),
onClick: w("dispose"),
- children: [/* @__PURE__ */ (0, F.jsx)(BI, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(aI, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -40306,7 +40356,7 @@ function mse({ item: e, view: n, selected: i, selectMode: a, helpers: o, actions
]
});
}
-var hse = (0, P.memo)(mse), gse = [
+var cI = (0, P.memo)(sI), lI = [
[
"",
"全部",
@@ -40343,53 +40393,53 @@ var hse = (0, P.memo)(mse), gse = [
"hard-drive"
]
];
-function HI(e = "", t = "pending") {
+function uI(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 _se(e) {
+function dI(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: HI("", "pending")
+ href: uI("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: HI("", "dismissed")
+ href: uI("", "dismissed")
};
}
-var vse = (e) => e === "dismissed" ? "已排除" : "待判断";
+var fI = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function UI({ name: e }) {
+function pI({ name: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
}
-function WI({ scope: e, count: t }) {
+function mI({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [" ", /* @__PURE__ */ (0, F.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function yse({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = PD(), { kind: a, view: o } = e, s = _se(o), c = (e) => {
+function hI({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = nO(), { kind: a, view: o } = e, s = dI(o), c = (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") || HI()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || uI()));
}, l = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, F.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, F.jsx)(Zj, {
- label: vse(o),
+ children: /* @__PURE__ */ (0, F.jsx)(aM, {
+ label: fI(o),
figure: l,
pending: !t && !n,
flush: !0
@@ -40402,16 +40452,16 @@ function yse({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-label": "垃圾文件分类",
onClick: c,
children: [
- gse.map(([e, n, r]) => /* @__PURE__ */ (0, F.jsxs)("a", {
- href: HI(e, o),
+ lI.map(([e, n, r]) => /* @__PURE__ */ (0, F.jsxs)("a", {
+ href: uI(e, o),
"data-junk-kind-link": e,
"aria-current": e === a ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, F.jsx)(UI, { name: r }),
+ /* @__PURE__ */ (0, F.jsx)(pI, { name: r }),
n,
- /* @__PURE__ */ (0, F.jsx)(WI, {
+ /* @__PURE__ */ (0, F.jsx)(mI, {
scope: e,
- count: t ? use(t, e) : 0
+ count: t ? tI(t, e) : 0
})
]
}, e || "all")),
@@ -40424,9 +40474,9 @@ function yse({ route: e, page: t, failed: n, onNavigate: r }) {
"data-junk-view-link": s.view,
"aria-current": o === "dismissed" ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, F.jsx)(UI, { name: s.glyph }),
+ /* @__PURE__ */ (0, F.jsx)(pI, { name: s.glyph }),
s.label,
- /* @__PURE__ */ (0, F.jsx)(WI, {
+ /* @__PURE__ */ (0, F.jsx)(mI, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -40439,38 +40489,38 @@ function yse({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var bse = XO("check"), xse = (e, t) => e[1] === t.view && e[2] === t.kind;
-function Sse(e) {
+var gI = TO("check"), _I = (e, t) => e[1] === t.view && e[2] === t.kind;
+function vI(e) {
let t = {
kind: e.kind,
view: e.view
}, n = (0, P.useRef)(e.cache);
n.current = e.cache;
let r = St({
- queryKey: dse(t, e.revision),
+ queryKey: nI(t, e.revision),
queryFn: async ({ signal: e }) => {
- let r = await pse(t, e);
+ let r = await iI(t, e);
return n.current(r.items), r;
},
- placeholderData: (e, n) => n && xse(n.queryKey, t) ? e : void 0
+ placeholderData: (e, n) => n && _I(n.queryKey, t) ? e : void 0
});
(0, P.useEffect)(() => {
r.isFetching || e.settled?.(e.revision);
}, [r.isFetching, e.revision]);
- let i = Cse(e.countRow), a = r.isPending;
+ let i = yI(e.countRow), a = r.isPending;
(0, P.useLayoutEffect)(() => {
let t = e.countRow;
t && (a ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, a]), (0, P.useLayoutEffect)(() => {
i && r.data && m(i, "junk");
}, [i, r.data]);
- let { navigate: o } = e.actions, s = i ? (0, lh.createPortal)(/* @__PURE__ */ (0, F.jsx)(yse, {
+ let { navigate: o } = e.actions, s = i ? (0, lh.createPortal)(/* @__PURE__ */ (0, F.jsx)(hI, {
route: t,
page: r.data,
failed: r.isError && !r.data,
onNavigate: o
}), i) : null;
- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [s, /* @__PURE__ */ (0, F.jsx)(wse, {
+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [s, /* @__PURE__ */ (0, F.jsx)(bI, {
props: e,
data: r.data,
pending: a,
@@ -40478,7 +40528,7 @@ function Sse(e) {
retry: () => void r.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function Cse(e) {
+function yI(e) {
let [t, n] = (0, P.useState)(null);
return (0, P.useLayoutEffect)(() => {
if (!e) return;
@@ -40488,8 +40538,8 @@ function Cse(e) {
};
}, [e]), t;
}
-function wse({ props: e, data: t, pending: n, error: r, retry: i }) {
- let o = kO(n, e.skeletonHtml), s = Math.max(1, e.batchSize || 60), [c, l] = (0, P.useState)(1), u = t?.items || [], d = u.slice(0, c * s), { canLoadMore: f } = e, p = (0, P.useCallback)(() => {
+function bI({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let o = gO(n, e.skeletonHtml), s = Math.max(1, e.batchSize || 60), [c, l] = (0, P.useState)(1), u = t?.items || [], d = u.slice(0, c * s), { canLoadMore: f } = e, p = (0, P.useCallback)(() => {
f?.() !== !1 && l((e) => e + 1);
}, [f]);
return /* @__PURE__ */ (0, F.jsxs)("div", {
@@ -40497,14 +40547,14 @@ function wse({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [o.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, F.jsx)(AO, {
+ if (!t) return /* @__PURE__ */ (0, F.jsx)(_O, {
message: a(r),
onRetry: i
});
if (!u.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, F.jsx)(JC, {
- icon: bse,
+ return /* @__PURE__ */ (0, F.jsx)(Nw, {
+ icon: gI,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -40513,7 +40563,7 @@ function wse({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: d.map((t) => /* @__PURE__ */ (0, F.jsx)(hse, {
+ children: d.map((t) => /* @__PURE__ */ (0, F.jsx)(cI, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -40521,11 +40571,11 @@ function wse({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), d.length < u.length ? /* @__PURE__ */ (0, F.jsx)(Tse, { onMore: p }, c) : null] });
+ }), d.length < u.length ? /* @__PURE__ */ (0, F.jsx)(xI, { onMore: p }, c) : null] });
})()]
});
}
-function Tse({ onMore: e }) {
+function xI({ onMore: e }) {
let t = (0, P.useRef)(null);
return (0, P.useEffect)(() => {
let n = t.current;
@@ -40543,12 +40593,12 @@ function Tse({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var GI = "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", Ese = {
- gray: `${GI} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${GI} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${GI} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var SI = "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", CI = {
+ gray: `${SI} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${SI} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${SI} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function Dse({ value: e, max: t }) {
+function wI({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, F.jsxs)("svg", {
role: "progressbar",
@@ -40576,16 +40626,16 @@ function Dse({ value: e, max: t }) {
})]
});
}
-function Ose(e) {
- let { job: t } = rj(e), n = t.data, r = t.isError ? n ? xk : K(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function TI(e) {
+ let { job: t } = hj(e), n = t.data, r = t.isError ? n ? rk : K(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 ? "扫描与资料采集未完成" : Ck(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? zte : Pte;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : ok(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? bS : zte;
return /* @__PURE__ */ (0, F.jsxs)("aside", {
role: a ? "alert" : "status",
- className: Ese[s],
+ className: CI[s],
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, F.jsx)(Dse, {
+ children: [o && l ? /* @__PURE__ */ (0, F.jsx)(wI, {
value: c,
max: l
}) : /* @__PURE__ */ (0, F.jsx)(d, {
@@ -40598,39 +40648,39 @@ function Ose(e) {
}), /* @__PURE__ */ (0, F.jsx)(NA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: dS,
+ trailingIcon: oS,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var kse = "/api/playlists", KI = "/api/playlist", qI = ["playlists"], JI = (e) => KC(kse, e);
-async function Ase(e) {
+var EI = "/api/playlists", DI = "/api/playlist", OI = ["playlists"], kI = (e) => Cw(EI, e);
+async function AI(e) {
await X.fetchQuery({
- queryKey: qI,
- queryFn: () => JI(e),
+ queryKey: OI,
+ queryFn: () => kI(e),
staleTime: 0
});
}
-var YI = () => X.invalidateQueries({
- queryKey: qI,
+var jI = () => X.invalidateQueries({
+ queryKey: OI,
exact: !0
-}), jse = (e) => e.current_asset_id || e.preview_asset_id || null, XI = (e) => `/poster?id=${e}&c=4`, Mse = (e) => q(KI, {
+}), MI = (e) => e.current_asset_id || e.preview_asset_id || null, NI = (e) => `/poster?id=${e}&c=4`, PI = (e) => q(DI, {
action: "create",
name: e,
asset_ids: []
-}), ZI = (e, t) => q(KI, {
+}), FI = (e, t) => q(DI, {
action: "rename",
id: e,
name: t
-}), QI = (e) => q(KI, {
+}), II = (e) => q(DI, {
action: "delete",
id: e
-}), Nse = (e) => KC(`${KI}?id=${e}`).catch(() => null);
-function Pse(e) {
+}), LI = (e) => Cw(`${DI}?id=${e}`).catch(() => null);
+function RI(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return q(KI, {
+ return q(DI, {
action: "create",
name: e.name,
asset_ids: t,
@@ -40640,18 +40690,18 @@ function Pse(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var Fse = XO("ellipsis"), Ise = XO("pencil"), Lse = XO("trash"), Rse = XO("playlist"), $I = RC(FA, IA, "text-body-2-medium"), eL = "播放列表名称不能为空", tL = (e) => async () => {
+var zI = TO("ellipsis"), BI = TO("pencil"), VI = TO("trash"), HI = TO("playlist"), UI = hw(FA, IA, "text-body-2-medium"), WI = "播放列表名称不能为空", GI = (e) => async () => {
try {
await e();
} finally {
- YI();
+ jI();
}
};
-function zse({ toast: e }) {
+function KI({ toast: e }) {
let [t, n] = (0, P.useState)(""), [r, i] = (0, P.useState)(""), a = Ct({
- mutationFn: (e) => Mse(e),
+ mutationFn: (e) => PI(e),
onSuccess: (t) => {
- n(""), i(""), YI(), e("已新建播放列表", { undo: tL(() => QI(t.playlist.id)) });
+ n(""), i(""), jI(), e("已新建播放列表", { undo: GI(() => II(t.playlist.id)) });
},
onError: (e) => i(K(e) || "新建失败")
});
@@ -40661,7 +40711,7 @@ function zse({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(eL);
+ i(WI);
return;
}
a.mutate(t);
@@ -40670,7 +40720,7 @@ function zse({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, F.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, F.jsx)(gD, {
+ children: /* @__PURE__ */ (0, F.jsx)(GD, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -40689,7 +40739,7 @@ function zse({ toast: e }) {
})]
});
}
-function Bse({ target: e, close: t, toast: n }) {
+function qI({ target: e, close: t, toast: n }) {
let [r, i] = (0, P.useState)(""), [a, o] = (0, P.useState)(""), s = (0, P.useRef)(null);
(0, P.useEffect)(() => {
if (!e) return;
@@ -40700,13 +40750,13 @@ function Bse({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = Ct({
- mutationFn: ({ row: e, value: t }) => ZI(e.id, t),
+ mutationFn: ({ row: e, value: t }) => FI(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), YI(), n("已重命名播放列表", { undo: tL(() => ZI(r.id, r.name)) });
+ t(), jI(), n("已重命名播放列表", { undo: GI(() => FI(r.id, r.name)) });
},
onError: (e) => o(K(e))
});
- return /* @__PURE__ */ (0, F.jsx)(MD, {
+ return /* @__PURE__ */ (0, F.jsx)(eO, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -40718,7 +40768,7 @@ function Bse({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(eL);
+ o(WI);
return;
}
c.mutate({
@@ -40729,11 +40779,11 @@ function Bse({ target: e, close: t, toast: n }) {
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, F.jsx)(Jw, {
+ children: [/* @__PURE__ */ (0, F.jsx)(PT, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, F.jsx)(gD, {
+ }), /* @__PURE__ */ (0, F.jsx)(GD, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -40761,7 +40811,7 @@ function Bse({ target: e, close: t, toast: n }) {
})
});
}
-function Vse({ name: e, onRename: t, onDelete: n }) {
+function JI({ name: e, onRename: t, onDelete: n }) {
let r = (0, P.useRef)(null), [i, a] = (0, P.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -40775,33 +40825,33 @@ function Vse({ 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, F.jsx)(Fse, {
+ children: /* @__PURE__ */ (0, F.jsx)(zI, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, F.jsx)(gE, {
+ }), /* @__PURE__ */ (0, F.jsx)(ZE, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
className: PA,
- children: /* @__PURE__ */ (0, F.jsxs)(vE, {
+ children: /* @__PURE__ */ (0, F.jsxs)($E, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
- className: $I,
+ className: UI,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, F.jsx)(Ise, {
+ children: [/* @__PURE__ */ (0, F.jsx)(BI, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
- className: $I,
+ className: UI,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, F.jsx)(Lse, {
+ children: [/* @__PURE__ */ (0, F.jsx)(VI, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -40809,13 +40859,13 @@ function Vse({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function Hse({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+function YI({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
let o = St({
- queryKey: qI,
- queryFn: ({ signal: e }) => JI(e)
+ queryKey: OI,
+ queryFn: ({ signal: e }) => kI(e)
}), [s, c] = (0, P.useState)(null), u = (0, P.useRef)(a);
(0, P.useEffect)(() => {
- u.current !== a && (u.current = a, YI());
+ u.current !== a && (u.current = a, jI());
}, [a]);
let d = o.data;
if (!d) return /* @__PURE__ */ (0, F.jsx)("div", {
@@ -40833,8 +40883,8 @@ function Hse({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await Nse(e.id);
- await QI(e.id), YI(), i("已删除播放列表", t ? { undo: tL(() => Pse(t)) } : void 0);
+ let t = await LI(e.id);
+ await II(e.id), jI(), i("已删除播放列表", t ? { undo: GI(() => RI(t)) } : void 0);
}
});
};
@@ -40849,39 +40899,39 @@ function Hse({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}), /* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, F.jsx)(zse, { toast: i })]
+ })] }), /* @__PURE__ */ (0, F.jsx)(KI, { toast: i })]
}),
f.length ? /* @__PURE__ */ (0, F.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: f.map((i) => {
- let a = jse(i);
- return /* @__PURE__ */ (0, F.jsx)(rk, {
+ let a = MI(i);
+ return /* @__PURE__ */ (0, F.jsx)(OO, {
"data-playlist-card": String(i.id),
name: i.name,
caption: i.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: i.item_count,
- poster: i.preview_asset_id ? XI(i.preview_asset_id) : null,
- flipImages: async () => (i.preview_ids || []).map(XI),
+ poster: i.preview_asset_id ? NI(i.preview_asset_id) : null,
+ flipImages: async () => (i.preview_ids || []).map(NI),
canFlip: r,
faces: i.faces || [],
faceAvatar: n,
onOpenEntity: t,
...a ? { onOpen: () => e(i.id, a) } : {},
openLabel: `打开播放列表 ${i.name}`,
- menu: /* @__PURE__ */ (0, F.jsx)(Vse, {
+ menu: /* @__PURE__ */ (0, F.jsx)(JI, {
name: i.name,
onRename: () => c(i),
onDelete: () => p(i)
})
}, i.id);
})
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
- icon: Rse,
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
+ icon: HI,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, F.jsx)(Bse, {
+ /* @__PURE__ */ (0, F.jsx)(qI, {
target: s,
close: () => c(null),
toast: i
@@ -40891,11 +40941,11 @@ function Hse({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function Use({ item: t, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {
+function XI({ item: t, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {
let c = () => i(t.id);
return /* @__PURE__ */ (0, F.jsxs)("li", {
"data-goal-id": t.id,
- className: qC({
+ className: jw({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -40911,7 +40961,7 @@ function Use({ item: t, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadg
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, F.jsx)("img", {
- src: qie(t),
+ src: uae(t),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -40959,19 +41009,19 @@ function Use({ item: t, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadg
})]
});
}
-function Wse(e) {
+function ZI(e) {
let t = St({
- queryKey: jk,
- queryFn: ({ signal: e }) => Mk(e)
+ queryKey: mk,
+ queryFn: ({ signal: e }) => hk(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, F.jsx)(XC, { children: /* @__PURE__ */ (0, F.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, F.jsx)(Fw, { children: /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取高清版目标失败"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, F.jsxs)(XC, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {
- className: qC({
+ return r.length ? /* @__PURE__ */ (0, F.jsxs)(Fw, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {
+ className: jw({
variant: "raised",
className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"
}),
@@ -40984,21 +41034,21 @@ function Wse(e) {
})]
}), /* @__PURE__ */ (0, F.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, F.jsx)(Use, {
+ children: r.map((t) => /* @__PURE__ */ (0, F.jsx)(XI, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, F.jsx)(XC, { children: /* @__PURE__ */ (0, F.jsx)(JC, {
+ })] }) : /* @__PURE__ */ (0, F.jsx)(Fw, { children: /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: Wte,
+ icon: PS,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function Gse(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 = iae(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function QI(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 = Ok(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -41006,29 +41056,29 @@ function Gse(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, F.jsx)(oj, {
+ /* @__PURE__ */ (0, F.jsx)(kj, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(sj, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(Aj, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, F.jsxs)(oj, {
+ i.length > 1 ? /* @__PURE__ */ (0, F.jsxs)(kj, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, F.jsx)(sj, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Aj, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, F.jsx)(sj, {
+ }), i.map((e) => /* @__PURE__ */ (0, F.jsx)(Aj, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -41036,7 +41086,7 @@ function Gse(e) {
/* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: mS,
+ leadingIcon: lS,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -41047,11 +41097,11 @@ function Gse(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), c.size ? /* @__PURE__ */ (0, F.jsxs)(qF, {
+ }), c.size ? /* @__PURE__ */ (0, F.jsxs)(EP, {
label: "复核所选项目",
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, F.jsxs)(oj, {
+ b ? /* @__PURE__ */ (0, F.jsxs)(kj, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -41059,10 +41109,10 @@ function Gse(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, F.jsx)(sj, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Aj, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, F.jsx)(sj, {
+ }), y.map((e) => /* @__PURE__ */ (0, F.jsx)(Aj, {
id: e,
children: e
}, e))]
@@ -41098,7 +41148,7 @@ function Gse(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var Kse = {
+var $I = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -41108,14 +41158,14 @@ var Kse = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, nL = "reviewgenretags";
-function qse({ tags: e }) {
+}, eL = "reviewgenretags";
+function tL({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, F.jsx)("datalist", {
- id: nL,
+ id: eL,
children: e.map((e) => /* @__PURE__ */ (0, F.jsx)("option", { value: e }, e))
}) : null;
}
-function rL({ candidate: e, selectable: t = !1 }) {
+function nL({ 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, F.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -41152,7 +41202,7 @@ function rL({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, F.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: Kse[e] || e
+ children: $I[e] || e
}),
/* @__PURE__ */ (0, F.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -41167,36 +41217,36 @@ function rL({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function Jse({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function rL({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, F.jsx)(rL, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, F.jsx)(TE, {
+ children: /* @__PURE__ */ (0, F.jsx)(nL, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, F.jsx)(oD, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, F.jsx)(EE, {
+ children: a.map((e) => /* @__PURE__ */ (0, F.jsx)(sD, {
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, F.jsx)(rL, {
+ children: /* @__PURE__ */ (0, F.jsx)(nL, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function Yse({ genre: e, tags: t, locked: n, toast: r }) {
+function Xse({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, P.useState)(""), [o, s] = (0, P.useState)(""), c = Ct({
- mutationFn: (t) => fae(e, t),
+ mutationFn: (t) => Hk(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await mae();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Gk();
},
onError: (e) => s(K(e))
}), l = () => {
@@ -41215,16 +41265,16 @@ function Yse({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, F.jsx)(pD, {
+ /* @__PURE__ */ (0, F.jsx)(HD, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, F.jsx)(hD, {
+ children: /* @__PURE__ */ (0, F.jsx)(WD, {
size: "small",
- list: t.length ? nL : void 0,
+ list: t.length ? eL : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -41256,8 +41306,8 @@ function Yse({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function Xse({ row: e, tags: t, locked: n, toast: r }) {
- let i = lae(e);
+function Zse({ row: e, tags: t, locked: n, toast: r }) {
+ let i = Ik(e);
return i.length ? /* @__PURE__ */ (0, F.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -41265,7 +41315,7 @@ function Xse({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, F.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, F.jsx)(Yse, {
+ }), i.map((e) => /* @__PURE__ */ (0, F.jsx)(Xse, {
genre: e,
tags: t,
locked: n,
@@ -41275,9 +41325,9 @@ function Xse({ row: e, tags: t, locked: n, toast: r }) {
}
//#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", aL = (e = "") => /^https?:\/\//i.test(e) ? e : "", Zse = (e = "") => aL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+var iL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", aL = (e = "") => /^https?:\/\//i.test(e) ? e : "", Qse = (e = "") => aL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
function oL({ url: e }) {
- let t = Zse(e || ""), [n, r] = (0, P.useState)(!1);
+ let t = Qse(e || ""), [n, r] = (0, P.useState)(!1);
return /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, F.jsx)("img", {
@@ -41308,7 +41358,7 @@ function sL({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, F.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, F.jsx)(I_, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, F.jsx)(W_, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, F.jsx)("b", {
@@ -41318,14 +41368,14 @@ function sL({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Hte,
+ leadingIcon: CS,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function Qse({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function $se({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, F.jsx)("button", {
@@ -41348,7 +41398,7 @@ function Qse({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function $se({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+function ece({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
let o = aL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, F.jsxs)("section", {
className: "flex flex-col gap-3",
@@ -41359,10 +41409,10 @@ function $se({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, F.jsx)(UC, {
+ children: [o ? /* @__PURE__ */ (0, F.jsx)(bw, {
variant: "secondary",
size: "small",
- trailingIcon: yS,
+ trailingIcon: mS,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -41417,7 +41467,7 @@ function $se({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function ece({ assets: e, picked: t, onPicked: n, locked: r }) {
+function tce({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, P.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -41473,7 +41523,7 @@ function ece({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, F.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, F.jsx)(fj, {
+ children: /* @__PURE__ */ (0, F.jsx)(zj, {
size: "sm",
state: {
isSelected: n,
@@ -41484,7 +41534,7 @@ function ece({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, F.jsx)(I_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, F.jsx)(W_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -41493,19 +41543,19 @@ function ece({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var tce = qC({
+var nce = jw({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), cL = "flex min-h-6 min-w-0 items-center", nce = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function rce(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, P.useRef)(!1), m = PD(), h = PD(), g = t === "metadata_fields", _ = eae[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = oae(t, n), x = Uk(t, n), S = Hk(t, n), C = sae(n), w = cae(n), T = Vk(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, F.jsx)("div", {
+}), cL = "flex min-h-6 min-w-0 items-center", rce = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function ice(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, P.useRef)(!1), m = nO(), h = nO(), g = t === "metadata_fields", _ = Ck[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Nk(t, n), x = Mk(t, n), S = jk(t, n), C = Pk(n), w = Fk(n), T = Ak(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-col gap-3",
children: E.map((e) => /* @__PURE__ */ (0, F.jsx)(sL, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, F.jsx)(Qse, {
+ }) : y ? /* @__PURE__ */ (0, F.jsx)($se, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -41522,7 +41572,7 @@ function rce(e) {
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, A = g ? /* @__PURE__ */ (0, F.jsx)(Jse, {
+ }) : null, A = g ? /* @__PURE__ */ (0, F.jsx)(rL, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -41531,7 +41581,7 @@ function rce(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, F.jsx)(ece, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, F.jsx)(tce, {
assets: D,
picked: r.assets,
locked: s,
@@ -41539,12 +41589,12 @@ function rce(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "inset",
- icon: Lte,
+ icon: vS,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, F.jsx)($se, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, F.jsx)(ece, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
@@ -41553,7 +41603,7 @@ function rce(e) {
note: f.revealNote
}) : /* @__PURE__ */ (0, F.jsx)(oL, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, F.jsxs)("h4", {
className: `${cL} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, F.jsx)(VC, {
+ children: [/* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: "blue",
children: x
@@ -41573,7 +41623,7 @@ function rce(e) {
return /* @__PURE__ */ (0, F.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${tce} ${nce(t)} overflow-hidden`,
+ className: `${nce} ${rce(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, F.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
@@ -41586,7 +41636,7 @@ function rce(e) {
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, F.jsx)(pj, {
+ children: /* @__PURE__ */ (0, F.jsx)(Bj, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -41596,7 +41646,7 @@ function rce(e) {
className: "min-w-0 flex-1",
children: j
}),
- O ? /* @__PURE__ */ (0, F.jsx)(VC, {
+ O ? /* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -41620,7 +41670,7 @@ function rce(e) {
!y && k ? k : null,
w.length || t === "creator_tags" ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: w.length ? w.map((e) => /* @__PURE__ */ (0, F.jsx)(VC, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, F.jsx)(vw, {
variant: "caption",
color: "soft",
children: e
@@ -41630,7 +41680,7 @@ function rce(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, F.jsx)(Xse, {
+ /* @__PURE__ */ (0, F.jsx)(Zse, {
row: n,
tags: u,
locked: s,
@@ -41692,8 +41742,8 @@ function rce(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var ice = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
-function ace({ page: e, pages: t, onPage: n }) {
+var ace = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
+function oce({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, F.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -41707,7 +41757,7 @@ function ace({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, F.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: Nk(e, t).map((t, r) => /* @__PURE__ */ (0, F.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, F.jsx)("span", {
+ children: gk(e, t).map((t, r) => /* @__PURE__ */ (0, F.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -41730,33 +41780,33 @@ function ace({ page: e, pages: t, onPage: n }) {
]
});
}
-function oce(e) {
- let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, P.useState)(zk(e.category) ? e.category : $ie), [f, p] = (0, P.useState)("candidates"), [m, h] = (0, P.useState)(""), [g, _] = (0, P.useState)(1), [v, y] = (0, P.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, P.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, P.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, P.useState)(""), E = (0, P.useRef)(null), [D, O] = (0, P.useState)(0), [k, A] = (0, P.useState)(""), j = (0, P.useRef)(!0);
+function sce(e) {
+ let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, P.useState)(Sk(e.category) ? e.category : gae), [f, p] = (0, P.useState)("candidates"), [m, h] = (0, P.useState)(""), [g, _] = (0, P.useState)(1), [v, y] = (0, P.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, P.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, P.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, P.useState)(""), E = (0, P.useRef)(null), [D, O] = (0, P.useState)(0), [k, A] = (0, P.useState)(""), j = (0, P.useRef)(!0);
(0, P.useEffect)(() => () => {
j.current = !1;
}, []);
let M = St({
- queryKey: Lk,
- queryFn: ({ signal: e }) => Gk(e)
+ queryKey: bk,
+ queryFn: ({ signal: e }) => Bk(e)
}).data || {
sections: {},
counts: {}
- }, N = M.sections[u] || [], I = u === "metadata_fields", ee = s, te = tae(N, I), ne = te.some(([e]) => e === f) ? f : "candidates", re = Bk(N, ne), ie = re.some((e) => e.key === m) ? m : "", ae = rae(nae(N, ne, ie), g), oe = ae.rows.map((e) => e.item_key), se = new Set(oe), ce = re.map((e) => ({
+ }, N = M.sections[u] || [], I = u === "metadata_fields", ee = s, te = wk(N, I), ne = te.some(([e]) => e === f) ? f : "candidates", re = Tk(N, ne), ie = re.some((e) => e.key === m) ? m : "", ae = Dk(Ek(N, ne, ie), g), oe = ae.rows.map((e) => e.item_key), se = new Set(oe), ce = re.map((e) => ({
...e,
rows: e.rows.filter((e) => se.has(e.item_key))
- })).filter((e) => e.rows.length), le = (e) => b.get(e.item_key) || uae(e), L = N.filter((e) => v.has(e.item_key)), ue = (e) => {
+ })).filter((e) => e.rows.length), le = (e) => b.get(e.item_key) || Lk(e), L = N.filter((e) => v.has(e.item_key)), ue = (e) => {
let t = new Set(e);
y((e) => new Set([...e].filter((e) => !t.has(e)))), x((e) => new Map([...e].filter(([e]) => !t.has(e)))), C((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, R = (e, t) => C((n) => new Map(n).set(e, t)), z = (e) => {
d(e), p("candidates"), h(""), _(1), y(/* @__PURE__ */ new Set()), x(/* @__PURE__ */ new Map()), C(/* @__PURE__ */ new Map()), T(""), E.current = null, t({ category: e === "metadata_fields" ? "" : e });
}, de = Ct({
- mutationFn: ({ row: e, status: t }) => Kk(Wk(u, e, t, le(e))),
+ mutationFn: ({ row: e, status: t }) => Vk(Rk(u, e, t, le(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
R(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- qk(u, [t.item_key]), ue([t.item_key]), o(dae(n));
+ Wk(u, [t.item_key]), ue([t.item_key]), o(zk(n));
},
onError: (e, { row: t }) => R(t.item_key, K(e))
}), fe = Ct({
@@ -41766,7 +41816,7 @@ function oce(e) {
if (!j.current) break;
T(`正在处理 ${i} / ${t.length}`);
try {
- let t = await Kk(Wk(u, a, e, le(a)));
+ let t = await Vk(Rk(u, a, e, le(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -41780,7 +41830,7 @@ function oce(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- qk(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ Wk(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
T(K(e));
@@ -41810,7 +41860,7 @@ function oce(e) {
O(e), A("");
let t = await i(e);
j.current && (O(0), A(t));
- }, ge = hae(M.mirror, c), _e = M.genre_tags || [], ve = {
+ }, ge = Kk(M.mirror, c), _e = M.genre_tags || [], ve = {
openItem: n,
openEntity: r,
onReveal: he,
@@ -41819,7 +41869,7 @@ function oce(e) {
avatarInner: a,
toast: o
};
- return /* @__PURE__ */ (0, F.jsx)(XC, { children: /* @__PURE__ */ (0, F.jsxs)("div", {
+ return /* @__PURE__ */ (0, F.jsx)(Fw, { children: /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
ee ? /* @__PURE__ */ (0, F.jsx)(J, {
@@ -41835,12 +41885,12 @@ function oce(e) {
}) : void 0,
children: ge
}) : null,
- /* @__PURE__ */ (0, F.jsx)(qse, { tags: _e }),
- /* @__PURE__ */ (0, F.jsxs)(eD, {
+ /* @__PURE__ */ (0, F.jsx)(tL, { tags: _e }),
+ /* @__PURE__ */ (0, F.jsxs)(FD, {
selectedKey: u,
onSelectionChange: (e) => {
let t = String(e);
- zk(t) && z(t);
+ Sk(t) && z(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -41849,26 +41899,26 @@ function oce(e) {
id: "reviewcategories",
className: "px-3 pb-3 text-caption-1-regular text-text-secondary",
children: "复核分类"
- }), /* @__PURE__ */ (0, F.jsx)(tD, {
+ }), /* @__PURE__ */ (0, F.jsx)(ID, {
"aria-labelledby": "reviewcategories",
className: "flex flex-wrap gap-1 review-split:flex-col review-split:flex-nowrap review-split:items-stretch",
- children: Qie.map((e) => {
+ children: hae.map((e) => {
let t = Number(M.counts[e] || 0);
- return /* @__PURE__ */ (0, F.jsxs)(nD, {
+ return /* @__PURE__ */ (0, F.jsxs)(LD, {
id: e,
- className: ice,
- children: [Rk[e], t ? /* @__PURE__ */ (0, F.jsx)("span", {
+ className: ace,
+ children: [xk[e], t ? /* @__PURE__ */ (0, F.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, F.jsxs)(rD, {
+ }), /* @__PURE__ */ (0, F.jsxs)(RD, {
id: u,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- N.length && !ee ? /* @__PURE__ */ (0, F.jsx)(Gse, {
+ N.length && !ee ? /* @__PURE__ */ (0, F.jsx)(QI, {
groupOptions: te,
groupBy: ne,
onGroupBy: (e) => {
@@ -41884,7 +41934,7 @@ function oce(e) {
onSelected: y,
selectedRows: L,
metadata: I,
- approvable: L.every((e) => Vk(u, e)),
+ approvable: L.every((e) => Ak(u, e)),
busy: fe.isPending,
feedback: w,
onUnifySource: me,
@@ -41909,7 +41959,7 @@ function oce(e) {
})]
}) : null, /* @__PURE__ */ (0, F.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, F.jsx)(rce, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, F.jsx)(ice, {
category: u,
row: e,
choice: le(e),
@@ -41917,7 +41967,7 @@ function oce(e) {
selected: v.has(e.item_key),
onSelect: (t, n) => y((r) => {
let i = new Set(r);
- return E.current = aae(i, oe, E.current, e.item_key, t, n), i;
+ return E.current = kk(i, oe, E.current, e.item_key, t, n), i;
}),
locked: ee,
busy: de.isPending && de.variables?.row.item_key === e.item_key,
@@ -41932,12 +41982,12 @@ function oce(e) {
handlers: ve
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, F.jsx)(JC, {
- icon: Nte,
+ }, e.key)) : /* @__PURE__ */ (0, F.jsx)(Nw, {
+ icon: Rte,
title: "暂无候选",
children: "该分类当前没有待人工复核的项目。"
}),
- /* @__PURE__ */ (0, F.jsx)(ace, {
+ /* @__PURE__ */ (0, F.jsx)(oce, {
page: ae.page,
pages: ae.pages,
onPage: _
@@ -41950,8 +42000,8 @@ function oce(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var sce = "/api/scraping", cce = "/api/scraping/settings", lce = "/api/scraping/check", lL = "/api/scraping/cover", uce = "/api/scraping/amane-bridge", dce = "/api/scraping/amane-bridge/check", fce = "/api/scraping/amane-bridge/rebuild", uL = ["scraping"], dL = ["scraping", "cover"], fL = ["scraping", "amane-bridge"], pL = (e) => KC(sce, e), mL = (e) => KC(lL, e), hL = (e) => KC(uce, e);
-async function pce(e) {
+var cce = "/api/scraping", lce = "/api/scraping/settings", uce = "/api/scraping/check", lL = "/api/scraping/cover", dce = "/api/scraping/amane-bridge", fce = "/api/scraping/amane-bridge/check", pce = "/api/scraping/amane-bridge/rebuild", uL = ["scraping"], dL = ["scraping", "cover"], fL = ["scraping", "amane-bridge"], pL = (e) => Cw(cce, e), mL = (e) => Cw(lL, e), hL = (e) => Cw(dce, e);
+async function mce(e) {
await Promise.all([
X.fetchQuery({
queryKey: uL,
@@ -41967,13 +42017,13 @@ async function pce(e) {
})
]);
}
-function mce(e, t) {
+function hce(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 hce = [["peach", "Peach 代理"], ["direct", "直接连接"]], gL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function gce({ source: e }) {
+var gce = [["peach", "Peach 代理"], ["direct", "直接连接"]], gL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function _ce({ source: e }) {
return /* @__PURE__ */ (0, F.jsx)("img", {
src: o({ source: e }),
alt: "",
@@ -41984,13 +42034,13 @@ function gce({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function _ce({ source: e, toast: t }) {
+function vce({ source: e, toast: t }) {
let [n, r] = (0, P.useState)(e.network), [i, a] = (0, P.useState)(""), [o, s] = (0, P.useState)(""), [c, l] = (0, P.useState)(gL[0][0]), [u, d] = (0, P.useState)(""), [f, p] = (0, P.useState)(""), m = (0, P.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = Ct({
- mutationFn: (t) => q(cce, {
+ mutationFn: (t) => q(lce, {
source: e.source,
network: n,
cookie: i,
@@ -42003,7 +42053,7 @@ function _ce({ source: e, toast: t }) {
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = Ct({ mutationFn: () => q(lce, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = Ct({ mutationFn: () => q(uce, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -42028,32 +42078,32 @@ function _ce({ source: e, toast: t }) {
}
}
let C = f || (g.error ? K(g.error) : "") || (_.error ? K(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, F.jsx)(gce, { source: e.source }), /* @__PURE__ */ (0, F.jsx)(QA, {
+ children: [/* @__PURE__ */ (0, F.jsx)(_ce, { source: e.source }), /* @__PURE__ */ (0, F.jsx)(lj, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, F.jsx)(KA, { children: /* @__PURE__ */ (0, F.jsx)(WA, {
+ /* @__PURE__ */ (0, F.jsx)(rj, { children: /* @__PURE__ */ (0, F.jsx)(tj, {
label: "连接方式",
- children: /* @__PURE__ */ (0, F.jsx)(oj, {
+ children: /* @__PURE__ */ (0, F.jsx)(kj, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: hce.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(sj, {
+ children: gce.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(Aj, {
id: e,
children: t
}, e))
})
}) }),
- T ? /* @__PURE__ */ (0, F.jsxs)(qA, {
+ T ? /* @__PURE__ */ (0, F.jsxs)(ij, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, F.jsx)("span", {
@@ -42061,7 +42111,7 @@ function _ce({ source: e, toast: t }) {
children: /* @__PURE__ */ (0, F.jsx)(NA, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: dS,
+ trailingIcon: oS,
children: "配置 Peach 代理"
})
}) : null,
@@ -42074,20 +42124,20 @@ function _ce({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, F.jsx)(TE, {
+ /* @__PURE__ */ (0, F.jsx)(oD, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: UN,
- children: gL.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(EE, {
+ className: QM,
+ children: gL.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(sD, {
value: e,
- className: WN,
+ className: $M,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, F.jsx)(gD, {
+ c === "paste" ? /* @__PURE__ */ (0, F.jsx)(GD, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -42096,7 +42146,7 @@ function _ce({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(ZA, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, F.jsx)(cj, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, F.jsx)(G, {
@@ -42122,14 +42172,14 @@ function _ce({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, F.jsx)(XA, { children: C }) : null,
+ C ? /* @__PURE__ */ (0, F.jsx)(sj, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, F.jsx)(J, {
tone: t.ok ? "success" : "error",
- children: mce(t, e.label)
+ children: hce(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, F.jsxs)(JA, { children: [
+ /* @__PURE__ */ (0, F.jsxs)(aj, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
onClick: b,
@@ -42151,8 +42201,8 @@ function _ce({ source: e, toast: t }) {
]
});
}
-function vce({ toast: e }) {
- let [t, n] = (0, P.useState)(""), { running: r, outcome: i, start: a } = lj({
+function yce({ toast: e }) {
+ let [t, n] = (0, P.useState)(""), { running: r, outcome: i, start: a } = Pj({
queryKey: dL,
queryFn: ({ signal: e }) => mL(e),
start: () => q(lL, { code: t }),
@@ -42162,15 +42212,15 @@ function vce({ toast: e }) {
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? K(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, F.jsx)(GA, {
+ return /* @__PURE__ */ (0, F.jsx)(nj, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, F.jsxs)(qA, { children: [
+ children: /* @__PURE__ */ (0, F.jsxs)(ij, { children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, F.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, F.jsx)(gD, {
+ children: /* @__PURE__ */ (0, F.jsx)(GD, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -42185,7 +42235,7 @@ function vce({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, F.jsx)(YC, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, F.jsx)(Pw, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
children: s
@@ -42197,11 +42247,11 @@ function vce({ toast: e }) {
] })
});
}
-function yce({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = lj({
+function bce({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = Pj({
queryKey: fL,
queryFn: ({ signal: e }) => hL(e),
- start: () => q(fce, {}),
+ start: () => q(pce, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -42210,49 +42260,49 @@ function yce({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = Ct({ mutationFn: () => q(dce, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, F.jsx)(GA, {
+ }), a = Ct({ mutationFn: () => q(fce, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, F.jsx)(nj, {
title: "amane 桥",
- children: /* @__PURE__ */ (0, F.jsx)(qA, { children: /* @__PURE__ */ (0, F.jsx)(J, {
+ children: /* @__PURE__ */ (0, F.jsx)(ij, { children: /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
children: K(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? K(i.error) : a.error ? K(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
title: "amane 桥",
- aside: /* @__PURE__ */ (0, F.jsx)(QA, {
+ aside: /* @__PURE__ */ (0, F.jsx)(lj, {
href: o.repository,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, F.jsxs)($A, { children: [
- /* @__PURE__ */ (0, F.jsxs)(ej, {
+ /* @__PURE__ */ (0, F.jsxs)(uj, { children: [
+ /* @__PURE__ */ (0, F.jsxs)(dj, {
term: "钉住的版本",
children: [o.version ? `${o.version} · ` : "", o.revision.slice(0, 12)]
}),
- /* @__PURE__ */ (0, F.jsx)(ej, {
+ /* @__PURE__ */ (0, F.jsx)(dj, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, F.jsx)(ej, {
+ /* @__PURE__ */ (0, F.jsx)(dj, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, F.jsx)(ej, {
+ /* @__PURE__ */ (0, F.jsx)(dj, {
term: "开放的站",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, F.jsxs)(qA, {
+ /* @__PURE__ */ (0, F.jsxs)(ij, {
divided: !0,
children: [
- /* @__PURE__ */ (0, F.jsxs)(YA, { children: [
+ /* @__PURE__ */ (0, F.jsxs)(oj, { children: [
"这几站由 amane(",
o.license,
")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"
] }),
- n ? /* @__PURE__ */ (0, F.jsx)(YC, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, F.jsx)(Pw, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
children: c
@@ -42263,7 +42313,7 @@ function yce({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, F.jsxs)(JA, { children: [/* @__PURE__ */ (0, F.jsx)(G, {
+ /* @__PURE__ */ (0, F.jsxs)(aj, { children: [/* @__PURE__ */ (0, F.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -42280,23 +42330,23 @@ function yce({ toast: e }) {
]
});
}
-function bce({ toast: e }) {
+function xce({ toast: e }) {
let t = St({
queryKey: uL,
queryFn: ({ signal: e }) => pL(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, F.jsxs)(XC, { children: [
+ return n ? /* @__PURE__ */ (0, F.jsxs)(Fw, { children: [
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, F.jsx)(vce, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, F.jsx)(_ce, {
+ /* @__PURE__ */ (0, F.jsx)(yce, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, F.jsx)(vce, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, F.jsx)(yce, { toast: e })
- ] }) : /* @__PURE__ */ (0, F.jsx)(XC, { children: /* @__PURE__ */ (0, F.jsx)(J, {
+ /* @__PURE__ */ (0, F.jsx)(bce, { toast: e })
+ ] }) : /* @__PURE__ */ (0, F.jsx)(Fw, { children: /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取采集来源失败"
@@ -42304,7 +42354,7 @@ function bce({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var _L = "/api/configuration", xce = "/api/pick-folder", vL = ["configuration"], yL = (e) => KC(_L, e);
+var _L = "/api/configuration", Sce = "/api/pick-folder", vL = ["configuration"], yL = (e) => Cw(_L, e);
async function bL(e) {
await X.fetchQuery({
queryKey: vL,
@@ -42313,12 +42363,12 @@ async function bL(e) {
}
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function Sce({ initial: e, receipt: t }) {
- let [n, r] = (0, P.useState)(e.sites), i = ew(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function Cce({ initial: e, receipt: t }) {
+ let [n, r] = (0, P.useState)(e.sites), i = zw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -42327,9 +42377,9 @@ function Sce({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, F.jsxs)(qA, { children: [
- /* @__PURE__ */ (0, F.jsx)(YA, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),
- n.map((e) => /* @__PURE__ */ (0, F.jsx)(gD, {
+ children: [/* @__PURE__ */ (0, F.jsxs)(ij, { children: [
+ /* @__PURE__ */ (0, F.jsx)(oj, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),
+ n.map((e) => /* @__PURE__ */ (0, F.jsx)(GD, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -42340,8 +42390,8 @@ function Sce({ initial: e, receipt: t }) {
validationBehavior: "aria",
hint: "只写域名本身,留空就是默认"
}, e.key)),
- i.error ? /* @__PURE__ */ (0, F.jsx)(XA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, F.jsx)(JA, { children: /* @__PURE__ */ (0, F.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, F.jsx)(sj, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, F.jsx)(aj, { children: /* @__PURE__ */ (0, F.jsx)(G, {
type: "submit",
...Y(i.busy === "save"),
children: "保存配置"
@@ -42350,21 +42400,21 @@ function Sce({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function Cce({ data: e, receipt: t }) {
+function wce({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, F.jsx)(wce, {
+ children: [e.startup ? /* @__PURE__ */ (0, F.jsx)(Tce, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, F.jsx)(Sce, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, F.jsx)(Cce, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function wce({ startup: e, receipt: t }) {
- let [n, r] = (0, P.useState)(e.enabled), [i, a] = (0, P.useState)(e.silent), [o, s] = (0, P.useState)(e.desktop), c = ew(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+function Tce({ startup: e, receipt: t }) {
+ let [n, r] = (0, P.useState)(e.enabled), [i, a] = (0, P.useState)(e.silent), [o, s] = (0, P.useState)(e.desktop), c = zw(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => q("/api/configuration/startup", {
@@ -42374,30 +42424,30 @@ function wce({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, F.jsxs)(KA, { children: [
- /* @__PURE__ */ (0, F.jsx)(WA, {
+ /* @__PURE__ */ (0, F.jsxs)(rj, { children: [
+ /* @__PURE__ */ (0, F.jsx)(tj, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, F.jsx)(ok, {
+ children: /* @__PURE__ */ (0, F.jsx)(NO, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, F.jsx)(WA, {
+ /* @__PURE__ */ (0, F.jsx)(tj, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, F.jsx)(ok, {
+ children: /* @__PURE__ */ (0, F.jsx)(NO, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, F.jsx)(WA, {
+ /* @__PURE__ */ (0, F.jsx)(tj, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, F.jsx)(ok, {
+ children: /* @__PURE__ */ (0, F.jsx)(NO, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -42405,11 +42455,11 @@ function wce({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, F.jsxs)(qA, {
+ e.message || c.error ? /* @__PURE__ */ (0, F.jsxs)(ij, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, F.jsx)(YA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, F.jsx)(XA, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, F.jsx)(oj, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, F.jsx)(sj, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, F.jsx)(JA, { children: /* @__PURE__ */ (0, F.jsx)(G, {
+ /* @__PURE__ */ (0, F.jsx)(aj, { children: /* @__PURE__ */ (0, F.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(c.busy === "save"),
@@ -42427,16 +42477,16 @@ var xL = /* @__PURE__ */ new Set([
"preparing",
"restarting",
"installing"
-]), Tce = [
+]), Ece = [
65,
67,
90
], SL = 120;
-function Ece({ initial: e, initialJob: t }) {
+function Dce({ initial: e, initialJob: t }) {
let [n, r] = (0, P.useState)(e), [i, a] = (0, P.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, P.useState)(""), c = ew(), u = (0, P.useRef)(!1), d = (0, P.useRef)(!0), f = xL.has(i.state);
+ }), [o, s] = (0, P.useState)(""), c = zw(), u = (0, P.useRef)(!1), d = (0, P.useRef)(!0), f = xL.has(i.state);
(0, P.useEffect)(() => (d.current = !0, () => {
d.current = !1;
}), []);
@@ -42455,7 +42505,7 @@ function Ece({ initial: e, initialJob: t }) {
}, [i.state]), (0, P.useEffect)(() => {
let e = new AbortController(), t = xL.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
- let t = await KC("/api/configuration/update-status", e.signal);
+ let t = await Cw("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
a(t), o = 0, t.state === "complete" && r((e) => ({
...e,
@@ -42463,7 +42513,7 @@ function Ece({ initial: e, initialJob: t }) {
state: "current",
message: "已是最新测试版。"
}));
- let n = await KC("/api/configuration/automatic-updates", e.signal);
+ let n = await Cw("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
o += 1, o >= SL && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
@@ -42476,63 +42526,63 @@ function Ece({ initial: e, initialJob: t }) {
}, [i.state]);
let h = () => {
f || (u.current = !1, s(""), c.run("download", (e) => q("/api/configuration/update", {}, "POST", e), a));
- }, g = () => void c.run("check", (e) => KC("/api/configuration/updates", e), r, (t) => {
+ }, g = () => void c.run("check", (e) => Cw("/api/configuration/updates", e), r, (t) => {
r({
...e,
state: "error"
}), c.setError(K(t));
}), _ = c.error || o, v = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, F.jsxs)($A, { children: [
- /* @__PURE__ */ (0, F.jsx)(ej, {
+ /* @__PURE__ */ (0, F.jsxs)(uj, { children: [
+ /* @__PURE__ */ (0, F.jsx)(dj, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, F.jsx)(ej, {
+ /* @__PURE__ */ (0, F.jsx)(dj, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, F.jsx)(ej, {
+ /* @__PURE__ */ (0, F.jsx)(dj, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, F.jsx)(ej, {
+ /* @__PURE__ */ (0, F.jsx)(dj, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, F.jsxs)(qA, {
+ /* @__PURE__ */ (0, F.jsxs)(ij, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, F.jsxs)(YA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, F.jsxs)(oj, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !_ ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, F.jsx)(XA, { children: _ || n.message }) : /* @__PURE__ */ (0, F.jsx)(YA, {
+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, F.jsx)(sj, { children: _ || n.message }) : /* @__PURE__ */ (0, F.jsx)(oj, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, F.jsx)(XA, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, F.jsx)(sj, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, F.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)($C, {
+ /* @__PURE__ */ (0, F.jsx)(Rw, {
label: "更新准备进度",
value: i.progress,
- stops: Tce
+ stops: Ece
}),
- /* @__PURE__ */ (0, F.jsxs)(YA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, F.jsx)(YA, { children: v })
+ /* @__PURE__ */ (0, F.jsxs)(oj, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, F.jsx)(oj, { children: v })
]
}) : null
]
}),
- /* @__PURE__ */ (0, F.jsxs)(JA, {
- status: /* @__PURE__ */ (0, F.jsx)(QA, {
+ /* @__PURE__ */ (0, F.jsxs)(aj, {
+ status: /* @__PURE__ */ (0, F.jsx)(lj, {
href: n.release_url,
children: "查看发布页"
}),
@@ -42559,98 +42609,98 @@ function Ece({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var Dce = [
+var Oce = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function Oce({ data: e, receipt: t, reopenTutorial: n }) {
+function kce({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, F.jsx)(Ace, {
+ e.automatic_updates ? /* @__PURE__ */ (0, F.jsx)(jce, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, F.jsx)(Ece, {
+ e.updates ? /* @__PURE__ */ (0, F.jsx)(Dce, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, F.jsx)(jce, { facts: e.facts }),
- /* @__PURE__ */ (0, F.jsx)(kce, {
+ /* @__PURE__ */ (0, F.jsx)(Mce, { facts: e.facts }),
+ /* @__PURE__ */ (0, F.jsx)(Ace, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, F.jsx)(Mce, {
+ e.uninstall ? /* @__PURE__ */ (0, F.jsx)(Nce, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function kce({ receipt: e, reopenTutorial: t }) {
- let n = ew();
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+function Ace({ receipt: e, reopenTutorial: t }) {
+ let n = zw();
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, F.jsxs)(qA, { children: [/* @__PURE__ */ (0, F.jsx)(YA, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, F.jsx)(XA, { children: n.error }) : null] }), /* @__PURE__ */ (0, F.jsx)(JA, { children: /* @__PURE__ */ (0, F.jsx)(G, {
+ children: [/* @__PURE__ */ (0, F.jsxs)(ij, { children: [/* @__PURE__ */ (0, F.jsx)(oj, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, F.jsx)(sj, { children: n.error }) : null] }), /* @__PURE__ */ (0, F.jsx)(aj, { children: /* @__PURE__ */ (0, F.jsx)(G, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...Y(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function Ace({ initial: e, receipt: t }) {
- let [n, r] = (0, P.useState)(e.mode), [i, a] = (0, P.useState)(e.interval_hours), o = ew(e.error), s = (r) => {
+function jce({ initial: e, receipt: t }) {
+ let [n, r] = (0, P.useState)(e.mode), [i, a] = (0, P.useState)(e.interval_hours), o = zw(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => q("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, F.jsxs)(KA, { children: [
- /* @__PURE__ */ (0, F.jsx)(WA, {
+ /* @__PURE__ */ (0, F.jsxs)(rj, { children: [
+ /* @__PURE__ */ (0, F.jsx)(tj, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, F.jsx)(ok, {
+ children: /* @__PURE__ */ (0, F.jsx)(NO, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, F.jsx)(WA, {
+ /* @__PURE__ */ (0, F.jsx)(tj, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, F.jsx)(ok, {
+ children: /* @__PURE__ */ (0, F.jsx)(NO, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, F.jsx)(WA, {
+ /* @__PURE__ */ (0, F.jsx)(tj, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, F.jsx)(oj, {
+ children: /* @__PURE__ */ (0, F.jsx)(kj, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: Dce.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(sj, {
+ children: Oce.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(Aj, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, F.jsx)(qA, {
+ o.error ? /* @__PURE__ */ (0, F.jsx)(ij, {
divided: !0,
- children: /* @__PURE__ */ (0, F.jsx)(XA, { children: o.error })
+ children: /* @__PURE__ */ (0, F.jsx)(sj, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, F.jsx)(JA, { children: /* @__PURE__ */ (0, F.jsx)(G, {
+ /* @__PURE__ */ (0, F.jsx)(aj, { children: /* @__PURE__ */ (0, F.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(o.busy === "save"),
@@ -42659,19 +42709,19 @@ function Ace({ initial: e, receipt: t }) {
]
});
}
-function jce({ facts: e }) {
- return /* @__PURE__ */ (0, F.jsx)(GA, {
+function Mce({ facts: e }) {
+ return /* @__PURE__ */ (0, F.jsx)(nj, {
title: "运行信息",
- children: /* @__PURE__ */ (0, F.jsx)($A, { children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(ej, {
+ children: /* @__PURE__ */ (0, F.jsx)(uj, { children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(dj, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, F.jsx)(QA, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, F.jsx)(lj, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function Mce({ uninstall: e, receipt: t }) {
+function Nce({ uninstall: e, receipt: t }) {
let [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(""), o = () => void l({
title: "卸载 Peach",
danger: !0,
@@ -42685,26 +42735,26 @@ function Mce({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, F.jsxs)(qA, { children: [
- e.available ? /* @__PURE__ */ (0, F.jsx)(YA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, F.jsx)(pj, {
+ children: [/* @__PURE__ */ (0, F.jsxs)(ij, { children: [
+ e.available ? /* @__PURE__ */ (0, F.jsx)(oj, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, F.jsx)(Bj, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, F.jsx)(tj, {
+ /* @__PURE__ */ (0, F.jsx)(fj, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, F.jsx)(HA, {
+ children: c.map((e) => /* @__PURE__ */ (0, F.jsx)(QA, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, F.jsx)(JA, {
+ ] }), /* @__PURE__ */ (0, F.jsx)(aj, {
status: s ? /* @__PURE__ */ (0, F.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -42720,7 +42770,7 @@ function Mce({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var Nce = [
+var Pce = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -42739,32 +42789,32 @@ var Nce = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], Pce = [
+], Fce = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function Fce() {
+function Ice() {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, F.jsxs)(YA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, F.jsx)(QA, {
+ children: [/* @__PURE__ */ (0, F.jsxs)(oj, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, F.jsx)(lj, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, F.jsxs)(tj, {
+ })] }), /* @__PURE__ */ (0, F.jsxs)(fj, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, F.jsx)(YA, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),
+ /* @__PURE__ */ (0, F.jsx)(oj, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),
/* @__PURE__ */ (0, F.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: Nce.map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {
+ children: Pce.map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, F.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: Pce.map(([t, n]) => /* @__PURE__ */ (0, F.jsxs)("div", {
+ children: Fce.map(([t, n]) => /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, F.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -42785,9 +42835,9 @@ function Fce() {
/* @__PURE__ */ (0, F.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, F.jsxs)(YA, { children: [
+ /* @__PURE__ */ (0, F.jsxs)(oj, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, F.jsx)(QA, {
+ /* @__PURE__ */ (0, F.jsx)(lj, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -42843,13 +42893,13 @@ var CL = [
["star", "收藏"],
["tags", "主题"]
];
-function Ice(e) {
+function Lce(e) {
let t = e === "local" ? "" : s[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
var wL = "auto";
-function Lce({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(e), [l, u] = Ice(n);
+function Rce({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(e), [l, u] = Lce(n);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(G, {
ref: i,
variant: "secondary",
@@ -42863,34 +42913,34 @@ function Lce({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, F.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, F.jsx)(nj, { mark: e || l }), ((e) => e && CL.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, F.jsx)(mj, { mark: e || l }), ((e) => e && CL.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, F.jsx)(gE, {
+ }), /* @__PURE__ */ (0, F.jsx)(ZE, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
className: PA,
- children: /* @__PURE__ */ (0, F.jsxs)(vE, {
+ children: /* @__PURE__ */ (0, F.jsxs)($E, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, F.jsx)(Jw, {
+ /* @__PURE__ */ (0, F.jsx)(PT, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, F.jsx)(TE, {
+ /* @__PURE__ */ (0, F.jsx)(oD, {
"aria-label": "候选图标",
value: s || wL,
onChange: (e) => c(e === wL ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: CL.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(EE, {
+ children: CL.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(sD, {
value: e || wL,
"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, F.jsx)(nj, { mark: e || l })
+ children: /* @__PURE__ */ (0, F.jsx)(mj, { mark: e || l })
}, e || wL))
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -42913,15 +42963,15 @@ function Lce({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var Rce = "/api/configuration/push-discovery", zce = "/api/configuration/push-discovery/secret";
-function Bce({ initial: e, receipt: t }) {
- let [n, r] = (0, P.useState)(e), [i, a] = (0, P.useState)(e.prefixes), [o, s] = (0, P.useState)(""), c = ew(), l = PD(), u = n.media_roots, [d, f] = (0, P.useState)(e), p = (e, n) => {
+var zce = "/api/configuration/push-discovery", Bce = "/api/configuration/push-discovery/secret";
+function Vce({ initial: e, receipt: t }) {
+ let [n, r] = (0, P.useState)(e), [i, a] = (0, P.useState)(e.prefixes), [o, s] = (0, P.useState)(""), c = zw(), l = nO(), u = n.media_roots, [d, f] = (0, P.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, F.jsxs)(GA, {
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -42931,14 +42981,14 @@ function Bce({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => q(Rce, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
+ c.run("save", (e) => q(zce, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
},
children: [
- /* @__PURE__ */ (0, F.jsxs)(KA, { children: [
- /* @__PURE__ */ (0, F.jsx)(WA, {
+ /* @__PURE__ */ (0, F.jsxs)(rj, { children: [
+ /* @__PURE__ */ (0, F.jsx)(tj, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, F.jsx)(ok, {
+ children: /* @__PURE__ */ (0, F.jsx)(NO, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -42948,10 +42998,10 @@ function Bce({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, F.jsx)(WA, {
+ /* @__PURE__ */ (0, F.jsx)(tj, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, F.jsx)(ok, {
+ children: /* @__PURE__ */ (0, F.jsx)(NO, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -42961,10 +43011,10 @@ function Bce({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, F.jsx)(WA, {
+ /* @__PURE__ */ (0, F.jsx)(tj, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, F.jsx)(ok, {
+ children: /* @__PURE__ */ (0, F.jsx)(NO, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -42975,30 +43025,30 @@ function Bce({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, F.jsx)(qA, {
+ d.enabled ? /* @__PURE__ */ (0, F.jsx)(ij, {
divided: !0,
- children: /* @__PURE__ */ (0, F.jsxs)($A, { children: [d.watch_local ? /* @__PURE__ */ (0, F.jsx)(ej, {
+ children: /* @__PURE__ */ (0, F.jsxs)(uj, { children: [d.watch_local ? /* @__PURE__ */ (0, F.jsx)(dj, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, F.jsx)(ej, {
+ }) : null, /* @__PURE__ */ (0, F.jsx)(dj, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, F.jsx)(qA, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, F.jsx)(ij, {
divided: !0,
children: /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, F.jsx)(ZA, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, F.jsx)(YA, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, F.jsx)(cj, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, F.jsx)(oj, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", { children: /* @__PURE__ */ (0, F.jsx)(G, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, F.jsx)(tj, {
+ }) }), /* @__PURE__ */ (0, F.jsx)(fj, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, F.jsx)("div", {
className: "relative",
@@ -43009,17 +43059,17 @@ function Bce({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, F.jsx)(YA, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })
+ })] }) : /* @__PURE__ */ (0, F.jsx)(oj, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, F.jsx)(qA, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, F.jsx)(ij, {
divided: !0,
children: /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, F.jsx)(ZA, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, F.jsx)(YA, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),
+ /* @__PURE__ */ (0, F.jsx)(cj, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, F.jsx)(oj, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),
/* @__PURE__ */ (0, F.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -43027,7 +43077,7 @@ function Bce({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(gD, {
+ /* @__PURE__ */ (0, F.jsx)(GD, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -43036,19 +43086,19 @@ function Bce({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, F.jsx)(oj, {
+ /* @__PURE__ */ (0, F.jsx)(kj, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, F.jsx)(sj, {
+ children: u.map((e) => /* @__PURE__ */ (0, F.jsx)(Aj, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, F.jsx)(lD, {
- icon: hS,
+ /* @__PURE__ */ (0, F.jsx)(BD, {
+ icon: uS,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -43066,15 +43116,15 @@ function Bce({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, F.jsx)(qA, {
+ o || c.error ? /* @__PURE__ */ (0, F.jsx)(ij, {
divided: !0,
- children: /* @__PURE__ */ (0, F.jsx)(XA, { children: o || c.error })
+ children: /* @__PURE__ */ (0, F.jsx)(sj, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, F.jsxs)(JA, {
+ /* @__PURE__ */ (0, F.jsxs)(aj, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, F.jsx)(G, {
onClick: () => {
- c.run("secret", (e) => q(zce, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
+ c.run("secret", (e) => q(Bce, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
},
disabled: !n.available,
...Y(c.busy === "secret"),
@@ -43091,8 +43141,8 @@ function Bce({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Vce = 8e3;
-function Hce({ className: e }) {
+var Hce = 8e3;
+function Uce({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -43109,14 +43159,14 @@ var TL = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], Uce = (e) => TL.find(([t]) => t === e)?.[1] ?? e, EL = (e) => s[e] || "database", DL = (e = "") => ({
+], Wce = (e) => TL.find(([t]) => t === e)?.[1] ?? e, EL = (e) => s[e] || "database", DL = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function Wce(e) {
+function Gce(e) {
let t = e.media_sources?.filter((e) => TL.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
@@ -43126,12 +43176,12 @@ function Wce(e) {
library_icon: e.library_icon || ""
})) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => DL(e));
}
-var Gce = (e) => !(e instanceof WC) || e.status !== 400 ? null : e.body?.errors ?? null;
-function Kce({ data: e, receipt: t }) {
+var Kce = (e) => !(e instanceof xw) || e.status !== 400 ? null : e.body?.errors ?? null;
+function qce({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, F.jsx)(qce, {
+ e.editable ? /* @__PURE__ */ (0, F.jsx)(Jce, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, F.jsx)(J, {
@@ -43139,21 +43189,21 @@ function Kce({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, F.jsx)(Yce, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, F.jsx)(Bce, {
+ /* @__PURE__ */ (0, F.jsx)(Xce, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, F.jsx)(Vce, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function qce({ data: e, receipt: t }) {
- let [n, r] = (0, P.useState)(() => Wce(e)), [i, a] = (0, P.useState)(String(e.port)), [o, s] = (0, P.useState)(!1), [c, l] = (0, P.useState)([]), [u, d] = (0, P.useState)(""), [f, p] = (0, P.useState)(""), [m, h] = (0, P.useState)(null), [g, _] = (0, P.useState)(null), [v, y] = (0, P.useState)(null), b = (0, P.useRef)(!1), x = (0, P.useRef)(e.revision), S = (0, P.useRef)([]), C = ew();
+function Jce({ data: e, receipt: t }) {
+ let [n, r] = (0, P.useState)(() => Gce(e)), [i, a] = (0, P.useState)(String(e.port)), [o, s] = (0, P.useState)(!1), [c, l] = (0, P.useState)([]), [u, d] = (0, P.useState)(""), [f, p] = (0, P.useState)(""), [m, h] = (0, P.useState)(null), [g, _] = (0, P.useState)(null), [v, y] = (0, P.useState)(null), b = (0, P.useRef)(!1), x = (0, P.useRef)(e.revision), S = (0, P.useRef)([]), C = zw();
(0, P.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, P.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), Vce);
+ let e = setTimeout(() => location.assign(m.url), Hce);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -43171,7 +43221,7 @@ function qce({ data: e, receipt: t }) {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await q(xce, { initial: n[e]?.path ?? "" });
+ let { path: t } = await q(Sce, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, K(t));
@@ -43189,13 +43239,13 @@ function qce({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = Gce(e);
+ let t = Kce(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));
});
};
- if (m) return /* @__PURE__ */ (0, F.jsx)(GA, {
+ if (m) return /* @__PURE__ */ (0, F.jsx)(nj, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, F.jsx)(qA, { children: /* @__PURE__ */ (0, F.jsxs)(J, {
+ children: /* @__PURE__ */ (0, F.jsx)(ij, { children: /* @__PURE__ */ (0, F.jsxs)(J, {
tone: "success",
title: "配置已保存",
children: [
@@ -43210,14 +43260,14 @@ function qce({ data: e, receipt: t }) {
}) })
});
let A = n.some((e) => e.location === "115" || e.location === "pikpak"), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
title: "这台电脑",
onSubmit: k,
- children: [/* @__PURE__ */ (0, F.jsxs)(qA, { children: [
+ children: [/* @__PURE__ */ (0, F.jsxs)(ij, { children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, F.jsx)(ZA, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, F.jsx)(cj, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, F.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -43228,7 +43278,7 @@ function qce({ data: e, receipt: t }) {
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(gD, {
+ /* @__PURE__ */ (0, F.jsx)(GD, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -43241,14 +43291,14 @@ function qce({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, F.jsx)(lD, {
- icon: Hce,
+ /* @__PURE__ */ (0, F.jsx)(BD, {
+ icon: Uce,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...Y(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, F.jsx)(lD, {
- icon: hS,
+ n.length > 1 ? /* @__PURE__ */ (0, F.jsx)(BD, {
+ icon: uS,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
}) : null
@@ -43256,7 +43306,7 @@ function qce({ data: e, receipt: t }) {
}), /* @__PURE__ */ (0, F.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(gD, {
+ /* @__PURE__ */ (0, F.jsx)(GD, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -43265,7 +43315,7 @@ function qce({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, F.jsx)(ZA, { children: "媒体库图标" }), /* @__PURE__ */ (0, F.jsx)(Lce, {
+ children: [/* @__PURE__ */ (0, F.jsx)(cj, { children: "媒体库图标" }), /* @__PURE__ */ (0, F.jsx)(Rce, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -43274,20 +43324,20 @@ function qce({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, F.jsx)(ZA, { children: "媒体来源" }), /* @__PURE__ */ (0, F.jsx)(oj, {
+ children: [/* @__PURE__ */ (0, F.jsx)(cj, { children: "媒体来源" }), /* @__PURE__ */ (0, F.jsx)(kj, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: TL.map(([e, t]) => /* @__PURE__ */ (0, F.jsxs)(sj, {
+ children: TL.map(([e, t]) => /* @__PURE__ */ (0, F.jsxs)(Aj, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, F.jsx)(nj, { mark: EL(e) }), t]
+ children: [/* @__PURE__ */ (0, F.jsx)(mj, { mark: EL(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, F.jsx)(gD, {
+ e.windows === !1 ? /* @__PURE__ */ (0, F.jsx)(GD, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -43304,18 +43354,18 @@ function qce({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, F.jsx)(Fce, {}) : null,
- j.map((e) => /* @__PURE__ */ (0, F.jsxs)(YA, { children: [
+ A ? /* @__PURE__ */ (0, F.jsx)(Ice, {}) : null,
+ j.map((e) => /* @__PURE__ */ (0, F.jsxs)(oj, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, F.jsxs)(QA, {
+ /* @__PURE__ */ (0, F.jsxs)(lj, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, F.jsx)(YA, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, F.jsx)(gD, {
+ e.windows === !1 ? /* @__PURE__ */ (0, F.jsx)(oj, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, F.jsx)(GD, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -43325,7 +43375,7 @@ function qce({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, F.jsx)(pj, {
+ /* @__PURE__ */ (0, F.jsx)(Bj, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
@@ -43335,7 +43385,7 @@ function qce({ data: e, receipt: t }) {
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, F.jsx)(JA, {
+ ] }), /* @__PURE__ */ (0, F.jsx)(aj, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, F.jsx)(G, {
type: "submit",
@@ -43345,7 +43395,7 @@ function qce({ data: e, receipt: t }) {
})]
});
}
-function Jce({ online: e }) {
+function Yce({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -43369,20 +43419,20 @@ function Jce({ online: e }) {
}), "未检测"]
});
}
-function Yce({ data: e }) {
- let t = e.media_sources, n = ew();
- return t ? /* @__PURE__ */ (0, F.jsxs)(GA, {
+function Xce({ data: e }) {
+ let t = e.media_sources, n = zw();
+ return t ? /* @__PURE__ */ (0, F.jsxs)(nj, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, F.jsx)($A, { children: t.map((e, t) => /* @__PURE__ */ (0, F.jsxs)(ej, {
- term: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(nj, { mark: EL(e.location) }), Uce(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, F.jsx)(Jce, { online: e.online })]
+ /* @__PURE__ */ (0, F.jsx)(uj, { children: t.map((e, t) => /* @__PURE__ */ (0, F.jsxs)(dj, {
+ term: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(mj, { mark: EL(e.location) }), Wce(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, F.jsx)(Yce, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, F.jsx)(qA, {
+ n.error ? /* @__PURE__ */ (0, F.jsx)(ij, {
divided: !0,
- children: /* @__PURE__ */ (0, F.jsx)(XA, { children: n.error })
+ children: /* @__PURE__ */ (0, F.jsx)(sj, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, F.jsx)(JA, { children: /* @__PURE__ */ (0, F.jsx)(G, {
+ /* @__PURE__ */ (0, F.jsx)(aj, { children: /* @__PURE__ */ (0, F.jsx)(G, {
onClick: () => void n.run("refresh", (e) => yL(e), (e) => X.setQueryData(vL, e)),
...Y(n.busy === "refresh"),
children: "刷新挂载状态"
@@ -43392,13 +43442,13 @@ function Yce({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var Xce = {
+var Zce = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function Zce({ initial: e, receipt: t }) {
- let [n, r] = (0, P.useState)(e), [i, a] = (0, P.useState)(""), [o, s] = (0, P.useState)(""), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(!1), [f, p] = (0, P.useState)({}), m = (0, P.useRef)(null), h = ew(), g = (e) => {
+function Qce({ initial: e, receipt: t }) {
+ let [n, r] = (0, P.useState)(e), [i, a] = (0, P.useState)(""), [o, s] = (0, P.useState)(""), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(!1), [f, p] = (0, P.useState)({}), m = (0, P.useRef)(null), h = zw(), 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) {
@@ -43415,28 +43465,28 @@ function Zce({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof WC ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof xw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(K(e));
});
- }, _ = Xce[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+ }, _ = Zce[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, F.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, F.jsxs)(qA, { children: [
- _ ? /* @__PURE__ */ (0, F.jsx)(YA, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, F.jsxs)(ij, { children: [
+ _ ? /* @__PURE__ */ (0, F.jsx)(oj, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, F.jsx)(pj, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, F.jsx)(Bj, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, F.jsx)(gD, {
+ n.mode === "password" ? /* @__PURE__ */ (0, F.jsx)(GD, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -43449,7 +43499,7 @@ function Zce({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(gD, {
+ v ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(GD, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -43462,7 +43512,7 @@ function Zce({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, F.jsx)(gD, {
+ }), /* @__PURE__ */ (0, F.jsx)(GD, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -43481,9 +43531,9 @@ function Zce({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, F.jsx)(XA, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, F.jsx)(sj, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, F.jsx)(JA, {
+ }), v ? /* @__PURE__ */ (0, F.jsx)(aj, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, F.jsx)(G, {
type: "submit",
@@ -43495,19 +43545,19 @@ function Zce({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var Qce = 2e3, $ce = [["quick", "临时链接"], ["named", "命名隧道"]], ele = {
+var $ce = 2e3, ele = [["quick", "临时链接"], ["named", "命名隧道"]], tle = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function tle({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, P.useState)(t), [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(t.mode), [l, u] = (0, P.useState)(t.hostname), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)({}), h = ew(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function nle({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, P.useState)(t), [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(t.mode), [l, u] = (0, P.useState)(t.hostname), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)({}), h = zw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, P.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
yL(e.signal).then((t) => {
e.signal.aborted || !t.tunnel || (X.setQueryData(vL, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, Qce);
+ }, $ce);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -43522,30 +43572,30 @@ function tle({ revision: e, initial: t, receipt: n }) {
}, "POST", e), (e) => {
i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);
}, (e) => {
- let t = e instanceof WC ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof xw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(K(e));
});
};
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, F.jsxs)(qA, { children: [
- r.named_available ? /* @__PURE__ */ (0, F.jsx)(TE, {
+ children: [/* @__PURE__ */ (0, F.jsxs)(ij, { children: [
+ r.named_available ? /* @__PURE__ */ (0, F.jsx)(oD, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: UN,
- children: $ce.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(EE, {
+ className: QM,
+ children: ele.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(sD, {
value: e,
- className: WN,
+ className: $M,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, F.jsx)(YA, { children: ele[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(gD, {
+ /* @__PURE__ */ (0, F.jsx)(oj, { children: tle[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(GD, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -43556,7 +43606,7 @@ function tle({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, F.jsx)(gD, {
+ }), /* @__PURE__ */ (0, F.jsx)(GD, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -43576,7 +43626,7 @@ function tle({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, F.jsx)(QA, {
+ children: /* @__PURE__ */ (0, F.jsx)(lj, {
href: r.url,
children: r.url
})
@@ -43586,9 +43636,9 @@ function tle({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, F.jsx)(XA, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, F.jsx)(XA, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, F.jsxs)(JA, {
+ r.error ? /* @__PURE__ */ (0, F.jsx)(sj, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, F.jsx)(sj, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, F.jsxs)(aj, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, F.jsx)(G, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -43604,24 +43654,24 @@ function tle({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var nle = [
+var rle = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function rle({ data: e, receipt: t }) {
+function ile({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, F.jsx)(ile, {
+ e.peach_proxy ? /* @__PURE__ */ (0, F.jsx)(ale, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, F.jsx)(Zce, {
+ e.access ? /* @__PURE__ */ (0, F.jsx)(Qce, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, F.jsx)(tle, {
+ e.tunnel ? /* @__PURE__ */ (0, F.jsx)(nle, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -43629,9 +43679,9 @@ function rle({ data: e, receipt: t }) {
]
});
}
-function ile({ initial: e, receipt: t }) {
- let [n, r] = (0, P.useState)(e), [i, a] = (0, P.useState)(e.mode), [o, s] = (0, P.useState)(""), c = ew();
- return /* @__PURE__ */ (0, F.jsxs)(GA, {
+function ale({ initial: e, receipt: t }) {
+ let [n, r] = (0, P.useState)(e), [i, a] = (0, P.useState)(e.mode), [o, s] = (0, P.useState)(""), c = zw();
+ return /* @__PURE__ */ (0, F.jsxs)(nj, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -43643,25 +43693,25 @@ function ile({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, F.jsx)(KA, { children: /* @__PURE__ */ (0, F.jsx)(WA, {
+ /* @__PURE__ */ (0, F.jsx)(rj, { children: /* @__PURE__ */ (0, F.jsx)(tj, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, F.jsx)(oj, {
+ children: /* @__PURE__ */ (0, F.jsx)(kj, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: nle.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(sj, {
+ children: rle.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(Aj, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, F.jsxs)(qA, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, F.jsxs)(ij, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, F.jsx)(gD, {
+ i === "proxy" ? /* @__PURE__ */ (0, F.jsx)(GD, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -43675,10 +43725,10 @@ function ile({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, F.jsx)(XA, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, F.jsx)(sj, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, F.jsx)(JA, { children: /* @__PURE__ */ (0, F.jsx)(G, {
+ /* @__PURE__ */ (0, F.jsx)(aj, { children: /* @__PURE__ */ (0, F.jsx)(G, {
type: "submit",
...Y(c.busy === "save"),
children: "保存配置"
@@ -43688,7 +43738,7 @@ function ile({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function ale({ receipt: e, reopenTutorial: t }) {
+function ole({ receipt: e, reopenTutorial: t }) {
let n = St({
queryKey: vL,
queryFn: ({ signal: e }) => yL(e)
@@ -43712,22 +43762,22 @@ function ale({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, F.jsx)(Cce, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, F.jsx)(wce, { ...i }) : null,
/* @__PURE__ */ (0, F.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, F.jsx)(Kce, { ...i }),
+ /* @__PURE__ */ (0, F.jsx)(qce, { ...i }),
o ? /* @__PURE__ */ (0, F.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, F.jsx)(rle, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, F.jsx)(ile, { ...i }) : null,
/* @__PURE__ */ (0, F.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, F.jsx)(Oce, {
+ /* @__PURE__ */ (0, F.jsx)(kce, {
...i,
reopenTutorial: t
})
@@ -43736,35 +43786,35 @@ function ale({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var ole = (e) => {
+var sle = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function sle({ openConfiguration: e }) {
+function cle({ openConfiguration: e }) {
let t = St({
queryKey: vL,
queryFn: ({ signal: e }) => yL(e)
}), n = t.data;
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, F.jsxs)($A, { children: [
- /* @__PURE__ */ (0, F.jsx)(ej, {
+ children: [n ? /* @__PURE__ */ (0, F.jsxs)(uj, { children: [
+ /* @__PURE__ */ (0, F.jsx)(dj, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, F.jsx)(ej, {
+ /* @__PURE__ */ (0, F.jsx)(dj, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, F.jsx)(ej, {
+ /* @__PURE__ */ (0, F.jsx)(dj, {
term: "更新",
- children: ole(n)
+ children: sle(n)
})
- ] }) : /* @__PURE__ */ (0, F.jsx)(qA, { children: /* @__PURE__ */ (0, F.jsx)(J, {
+ ] }) : /* @__PURE__ */ (0, F.jsx)(ij, { children: /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "打不开配置",
children: t.error ? K(t.error) : "没有读到配置"
- }) }), /* @__PURE__ */ (0, F.jsx)(JA, {
+ }) }), /* @__PURE__ */ (0, F.jsx)(aj, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, F.jsx)(G, {
onClick: e,
@@ -43775,14 +43825,14 @@ function sle({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var cle = "/api/stats", OL = ["stats"], kL = (e) => KC(cle, e);
-async function lle(e) {
+var lle = "/api/stats", OL = ["stats"], kL = (e) => Cw(lle, e);
+async function ule(e) {
await X.fetchQuery({
queryKey: OL,
queryFn: () => kL(e)
});
}
-var AL = (e, t) => t ? Math.round(e / t * 100) : 0, ule = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, jL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, ML = (e) => (e.max_reached || 0) * 100, dle = (e) => e.kind === "online" ? "在线直接观看" : jL(e) < ML(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", fle = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, ple = (e) => Math.max(1, ...e) * 1.1, mle = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), hle = {
+var AL = (e, t) => t ? Math.round(e / t * 100) : 0, dle = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, jL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, ML = (e) => (e.max_reached || 0) * 100, fle = (e) => e.kind === "online" ? "在线直接观看" : jL(e) < ML(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", ple = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, mle = (e) => Math.max(1, ...e) * 1.1, hle = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), gle = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -43790,10 +43840,10 @@ var AL = (e, t) => t ? Math.round(e / t * 100) : 0, ule = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, gle = (e) => e.map((e) => ({
- name: hle[e.k] ?? e.k,
+}, _le = (e) => e.map((e) => ({
+ name: gle[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), _le = {
+})).sort((e, t) => t.value - e.value), vle = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
@@ -43801,7 +43851,7 @@ var AL = (e, t) => t ? Math.round(e / t * 100) : 0, ule = (e) => e >= 3600 ? `${
}, NL = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), vle = (e) => NL(e, _le), yle = [
+})), yle = (e) => NL(e, vle), ble = [
[
1,
1,
@@ -43837,18 +43887,18 @@ var AL = (e, t) => t ? Math.round(e / t * 100) : 0, ule = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], ble = (e) => yle.map(([t, n, r]) => ({
+], xle = (e) => ble.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), xle = /* @__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(".");
+})), Sle = /* @__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 PL(e) {
- return typeof e == "string" && xle.includes(e);
+ return typeof e == "string" && Sle.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var Sle = /* @__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("."));
+var Cle = /* @__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 FL(e) {
- return typeof e == "string" && Sle.has(e);
+ return typeof e == "string" && Cle.has(e);
}
function IL(e) {
return typeof e == "string" && e.startsWith("data-");
@@ -43874,12 +43924,12 @@ function zL(e) {
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (FL(n) || IL(n) || PL(n)) && (t[n] = e[n]);
return t;
}
-function Cle(e) {
+function wle(e) {
return e == null ? null : /*#__PURE__*/ (0, P.isValidElement)(e) ? zL(e.props) : typeof e == "object" && !Array.isArray(e) ? zL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var wle = [
+var Tle = [
"children",
"width",
"height",
@@ -43898,16 +43948,16 @@ function BL() {
return e;
}, BL.apply(null, arguments);
}
-function Tle(e, t) {
+function Ele(e, t) {
if (e == null) return {};
- var n, r, i = Ele(e, t);
+ var n, r, i = Dle(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Ele(e, t) {
+function Dle(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -43917,7 +43967,7 @@ function Ele(e, t) {
return n;
}
var VL = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Tle(e, wle), d = a || {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Ele(e, Tle), d = a || {
width: r,
height: i,
x: 0,
@@ -43931,7 +43981,7 @@ var VL = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ P.createElement("title", null, c), /*#__PURE__*/ P.createElement("desc", null, l), n);
-}), Dle = ["children", "className"];
+}), Ole = ["children", "className"];
function HL() {
return HL = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -43941,16 +43991,16 @@ function HL() {
return e;
}, HL.apply(null, arguments);
}
-function Ole(e, t) {
+function kle(e, t) {
if (e == null) return {};
- var n, r, i = kle(e, t);
+ var n, r, i = Ale(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 kle(e, t) {
+function Ale(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -43960,9 +44010,9 @@ function kle(e, t) {
return n;
}
var UL = /*#__PURE__*/ P.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = Ole(e, Dle), a = Pm("recharts-layer", r);
+ var { children: n, className: r } = e, i = kle(e, Ole), a = Pm("recharts-layer", r);
return /*#__PURE__*/ P.createElement("g", HL({ className: a }, zL(i), { ref: t }), n);
-}), WL = /*#__PURE__*/ (0, P.createContext)(null), Ale = () => (0, P.useContext)(WL);
+}), WL = /*#__PURE__*/ (0, P.createContext)(null), jle = () => (0, P.useContext)(WL);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
function GL(e) {
@@ -43974,12 +44024,12 @@ function GL(e) {
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
var KL = Math.cos, qL = Math.sin, JL = Math.sqrt, YL = Math.PI;
YL / 2;
-var XL = 2 * YL, ZL = Math.PI, QL = 2 * ZL, $L = 1e-6, jle = QL - $L;
+var XL = 2 * YL, ZL = Math.PI, QL = 2 * ZL, $L = 1e-6, Mle = QL - $L;
function eR(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function Mle(e) {
+function Nle(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
if (t > 15) return eR;
@@ -43991,7 +44041,7 @@ function Mle(e) {
}
var tR = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? eR : Mle(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? eR : Nle(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -44023,7 +44073,7 @@ var tR = class {
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) > $L || Math.abs(this._y1 - l) > $L) && this._append`L${c},${l}`, n && (d < 0 && (d = d % QL + QL), d > jle ? 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 > $L && this._append`A${n},${n},0,${+(d >= ZL)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > $L || Math.abs(this._y1 - l) > $L) && this._append`L${c},${l}`, n && (d < 0 && (d = d % QL + QL), d > Mle ? 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 > $L && this._append`A${n},${n},0,${+(d >= ZL)},${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`;
@@ -44190,10 +44240,10 @@ var uR = class {
this._x0 = e, this._y0 = t;
}
};
-function Nle(e) {
+function Ple(e) {
return new uR(e, !0);
}
-function Ple(e) {
+function Fle(e) {
return new uR(e, !1);
}
//#endregion
@@ -44201,33 +44251,33 @@ function Ple(e) {
var dR = { draw(e, t) {
let n = JL(t / YL);
e.moveTo(n, 0), e.arc(0, 0, n, 0, XL);
-} }, Fle = { draw(e, t) {
+} }, Ile = { draw(e, t) {
let n = JL(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();
-} }, fR = JL(1 / 3), Ile = fR * 2, Lle = { draw(e, t) {
- let n = JL(t / Ile), r = n * fR;
+} }, fR = JL(1 / 3), Lle = fR * 2, Rle = { draw(e, t) {
+ let n = JL(t / Lle), r = n * fR;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, Rle = { draw(e, t) {
+} }, zle = { draw(e, t) {
let n = JL(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, zle = .8908130915292852, pR = qL(YL / 10) / qL(7 * YL / 10), Ble = qL(XL / 10) * pR, Vle = -KL(XL / 10) * pR, Hle = { draw(e, t) {
- let n = JL(t * zle), r = Ble * n, i = Vle * n;
+} }, Ble = .8908130915292852, pR = qL(YL / 10) / qL(7 * YL / 10), Vle = qL(XL / 10) * pR, Hle = -KL(XL / 10) * pR, Ule = { draw(e, t) {
+ let n = JL(t * Ble), r = Vle * n, i = Hle * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
let a = XL * t / 5, o = KL(a), s = qL(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, mR = JL(3), Ule = { draw(e, t) {
+} }, mR = JL(3), Wle = { draw(e, t) {
let n = -JL(t / (mR * 3));
e.moveTo(0, n * 2), e.lineTo(-mR * n, -n), e.lineTo(mR * n, -n), e.closePath();
-} }, hR = -.5, gR = JL(3) / 2, _R = 1 / JL(12), Wle = (_R / 2 + 1) * 3, Gle = { draw(e, t) {
- let n = JL(t / Wle), r = n / 2, i = n * _R, a = r, o = n * _R + n, s = -a, c = o;
+} }, hR = -.5, gR = JL(3) / 2, _R = 1 / JL(12), Gle = (_R / 2 + 1) * 3, Kle = { draw(e, t) {
+ let n = JL(t / Gle), r = n / 2, i = n * _R, a = r, o = n * _R + n, s = -a, c = o;
e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(hR * r - gR * i, gR * r + hR * i), e.lineTo(hR * a - gR * o, gR * a + hR * o), e.lineTo(hR * s - gR * c, gR * s + hR * c), e.lineTo(hR * r + gR * i, hR * i - gR * r), e.lineTo(hR * a + gR * o, hR * o - gR * a), e.lineTo(hR * s + gR * c, hR * c - gR * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function Kle(e, t) {
+function qle(e, t) {
let n = null, r = nR(i);
e = typeof e == "function" ? e : GL(e || dR), t = typeof t == "function" ? t : GL(t === void 0 ? 64 : +t);
function i() {
@@ -44284,7 +44334,7 @@ bR.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function qle(e) {
+function Jle(e) {
return new bR(e);
}
//#endregion
@@ -44325,7 +44375,7 @@ xR.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Jle(e) {
+function Yle(e) {
return new xR(e);
}
//#endregion
@@ -44365,7 +44415,7 @@ SR.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Yle(e) {
+function Xle(e) {
return new SR(e);
}
//#endregion
@@ -44386,7 +44436,7 @@ CR.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function Xle(e) {
+function Zle(e) {
return new CR(e);
}
//#endregion
@@ -44470,10 +44520,10 @@ AR.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function Zle(e) {
+function Qle(e) {
return new OR(e);
}
-function Qle(e) {
+function $le(e) {
return new kR(e);
}
//#endregion
@@ -44511,7 +44561,7 @@ function MR(e) {
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
return [i, a];
}
-function $le(e) {
+function eue(e) {
return new jR(e);
}
//#endregion
@@ -44547,13 +44597,13 @@ NR.prototype = {
this._x = e, this._y = t;
}
};
-function eue(e) {
+function tue(e) {
return new NR(e, .5);
}
-function tue(e) {
+function nue(e) {
return new NR(e, 0);
}
-function nue(e) {
+function rue(e) {
return new NR(e, 1);
}
//#endregion
@@ -44569,17 +44619,17 @@ function FR(e) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function rue(e, t) {
+function iue(e, t) {
return e[t];
}
-function iue(e) {
+function aue(e) {
let t = [];
return t.key = e, t;
}
-function aue() {
- var e = GL([]), t = FR, n = PR, r = rue;
+function oue() {
+ var e = GL([]), t = FR, n = PR, r = iue;
function i(i) {
- var a = Array.from(e.apply(this, arguments), iue), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), aue), 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 = rR(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
@@ -44596,7 +44646,7 @@ function aue() {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function oue(e, t) {
+function sue(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;
@@ -44607,7 +44657,7 @@ function oue(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function sue(e, t) {
+function cue(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;
@@ -44618,7 +44668,7 @@ function sue(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function cue(e, t) {
+function lue(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) {
@@ -44640,12 +44690,12 @@ function IR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var lue = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+var uue = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
function LR(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : lue.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : uue.test(e);
default: return !1;
}
}
@@ -44661,7 +44711,7 @@ function zR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function uue(e) {
+function due(e) {
return e == null ? "" : BR(e);
}
function BR(e) {
@@ -44676,7 +44726,7 @@ function BR(e) {
function VR(e) {
if (Array.isArray(e)) return e.map(RR);
if (typeof e == "symbol") return [e];
- e = uue(e);
+ e = due(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -44719,14 +44769,14 @@ function HR(e, t, n) {
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return due(e, t, n);
+ if (Array.isArray(t)) return fue(e, t, n);
if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), IR(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function due(e, t, n) {
+function fue(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
@@ -44737,9 +44787,9 @@ function due(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var fue = 4;
+var pue = 4;
function UR(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : fue), n = Math.round(e * t) / t;
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : pue), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
function WR(e) {
@@ -44751,8 +44801,8 @@ function WR(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var GR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, KR = (e) => typeof e == "number" && e != +e, qR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !KR(e), JR = (e) => Z(e) || typeof e == "string", pue = 0, YR = (e) => {
- var t = ++pue;
+var GR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, KR = (e) => typeof e == "number" && e != +e, qR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !KR(e), JR = (e) => Z(e) || typeof e == "string", mue = 0, YR = (e) => {
+ var t = ++mue;
return `${e || ""}${t}`;
}, XR = 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];
@@ -44783,7 +44833,7 @@ function nz(e) {
function rz() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var mue = [
+var hue = [
"type",
"size",
"sizeType"
@@ -44811,26 +44861,26 @@ function oz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? az(Object(n), !0).forEach(function(t) {
- hue(e, t, n[t]);
+ gue(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : az(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function hue(e, t, n) {
- return (t = gue(t)) in e ? Object.defineProperty(e, t, {
+function gue(e, t, n) {
+ return (t = _ue(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function gue(e) {
- var t = _ue(e, "string");
+function _ue(e) {
+ var t = vue(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function _ue(e, t) {
+function vue(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -44840,16 +44890,16 @@ function _ue(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function vue(e, t) {
+function yue(e, t) {
if (e == null) return {};
- var n, r, i = yue(e, t);
+ var n, r, i = bue(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 yue(e, t) {
+function bue(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -44860,36 +44910,36 @@ function yue(e, t) {
}
var sz = {
symbolCircle: dR,
- symbolCross: Fle,
- symbolDiamond: Lle,
- symbolSquare: Rle,
- symbolStar: Hle,
- symbolTriangle: Ule,
- symbolWye: Gle
-}, bue = Math.PI / 180, xue = (e) => sz[`symbol${tz(e)}`] || dR, Sue = (e, t, n) => {
+ symbolCross: Ile,
+ symbolDiamond: Rle,
+ symbolSquare: zle,
+ symbolStar: Ule,
+ symbolTriangle: Wle,
+ symbolWye: Kle
+}, xue = Math.PI / 180, Sue = (e) => sz[`symbol${tz(e)}`] || dR, Cue = (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 * bue;
+ var r = 18 * xue;
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;
}
-}, Cue = (e, t) => {
+}, wue = (e, t) => {
sz[`symbol${tz(e)}`] = t;
}, cz = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = oz(oz({}, vue(e, mue)), {}, {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = oz(oz({}, yue(e, hue)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = xue(a), t = Kle().type(e).size(Sue(n, r, a))();
+ var e = Sue(a), t = qle().type(e).size(Cue(n, r, a))();
if (t !== null) return t;
}, { className: s, cx: c, cy: l } = i, u = zL(i);
return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ P.createElement("path", iz({}, u, {
@@ -44898,7 +44948,7 @@ var sz = {
d: o()
})) : null;
};
-cz.registerSymbol = Cue;
+cz.registerSymbol = wue;
//#endregion
//#region node_modules/recharts/es6/util/types.js
var lz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, uz = (e, t) => {
@@ -44909,12 +44959,12 @@ var lz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, uz = (e,
return Object.keys(n).forEach((e) => {
PL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, wue = (e, t, n) => (r) => (e(t, n, r), null), dz = (e, t, n) => {
+}, Tue = (e, t, n) => (r) => (e(t, n, r), null), dz = (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];
- PL(i) && typeof a == "function" && (r ||= {}, r[i] = wue(a, t, n));
+ PL(i) && typeof a == "function" && (r ||= {}, r[i] = Tue(a, t, n));
}), r;
};
//#endregion
@@ -44929,30 +44979,30 @@ function fz(e, t) {
}
return n;
}
-function Tue(e) {
+function Eue(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? fz(Object(n), !0).forEach(function(t) {
- Eue(e, t, n[t]);
+ Due(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Eue(e, t, n) {
- return (t = Due(t)) in e ? Object.defineProperty(e, t, {
+function Due(e, t, n) {
+ return (t = Oue(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Due(e) {
- var t = Oue(e, "string");
+function Oue(e) {
+ var t = kue(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Oue(e, t) {
+function kue(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -44963,7 +45013,7 @@ function Oue(e, t) {
return (t === "string" ? String : Number)(e);
}
function pz(e, t) {
- var n = Tue({}, e), r = t;
+ var n = Eue({}, 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
@@ -44991,26 +45041,26 @@ function gz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? hz(Object(n), !0).forEach(function(t) {
- kue(e, t, n[t]);
+ Aue(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kue(e, t, n) {
- return (t = Aue(t)) in e ? Object.defineProperty(e, t, {
+function Aue(e, t, n) {
+ return (t = jue(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Aue(e) {
- var t = jue(e, "string");
+function jue(e) {
+ var t = Mue(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jue(e, t) {
+function Mue(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -45020,7 +45070,7 @@ function jue(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _z = 32, Mue = {
+var _z = 32, Nue = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -45028,17 +45078,17 @@ var _z = 32, Mue = {
verticalAlign: "middle",
labelStyle: {}
};
-function Nue(e) {
+function Pue(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function Pue(e) {
+function Fue(e) {
var { data: t, iconType: n, inactiveColor: r } = e, i = _z / 2, a = _z / 6, o = _z / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ P.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: Nue(t.payload),
+ strokeDasharray: Pue(t.payload),
x1: 0,
y1: i,
x2: _z,
@@ -45074,7 +45124,7 @@ function Pue(e) {
type: c
});
}
-function Fue(e) {
+function Iue(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
@@ -45108,7 +45158,7 @@ function Fue(e) {
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ P.createElement(Pue, {
+ }, /*#__PURE__*/ P.createElement(Fue, {
data: t,
iconType: o,
inactiveColor: a
@@ -45118,8 +45168,8 @@ function Fue(e) {
}, m));
});
}
-var Iue = (e) => {
- var t = pz(e, Mue), { payload: n, layout: r, align: i } = t;
+var Lue = (e) => {
+ var t = pz(e, Nue), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -45129,11 +45179,11 @@ var Iue = (e) => {
return /*#__PURE__*/ P.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ P.createElement(Fue, mz({}, t, { payload: n })));
+ }, /*#__PURE__*/ P.createElement(Iue, mz({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function Lue(e, t) {
+function Rue(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -45143,7 +45193,7 @@ function Lue(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function Rue(e, t) {
+function zue(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
@@ -45155,17 +45205,17 @@ function vz(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function zue(e) {
+function Bue(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
function yz(e) {
- return e != null && typeof e != "function" && zue(e.length);
+ return e != null && typeof e != "function" && Bue(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function Bue(e) {
+function Vue(e) {
return function(t) {
return HR(t, e);
};
@@ -45177,12 +45227,12 @@ function bz(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function Vue(e) {
+function Hue(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function Hue(e) {
+function Uue(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
@@ -45192,17 +45242,17 @@ function xz(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var Uue = "[object RegExp]", Sz = "[object String]", Cz = "[object Number]", wz = "[object Boolean]", Tz = "[object Arguments]", Wue = "[object Symbol]", Gue = "[object Date]", Kue = "[object Map]", que = "[object Set]", Jue = "[object Array]", Yue = "[object ArrayBuffer]", Xue = "[object Object]", Zue = "[object DataView]", Que = "[object Uint8Array]", $ue = "[object Uint8ClampedArray]", ede = "[object Uint16Array]", tde = "[object Uint32Array]", nde = "[object Int8Array]", rde = "[object Int16Array]", ide = "[object Int32Array]", ade = "[object Float32Array]", ode = "[object Float64Array]", Ez = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var Wue = "[object RegExp]", Sz = "[object String]", Cz = "[object Number]", wz = "[object Boolean]", Tz = "[object Arguments]", Gue = "[object Symbol]", Kue = "[object Date]", que = "[object Map]", Jue = "[object Set]", Yue = "[object Array]", Xue = "[object ArrayBuffer]", Zue = "[object Object]", Que = "[object DataView]", $ue = "[object Uint8Array]", ede = "[object Uint8ClampedArray]", tde = "[object Uint16Array]", nde = "[object Uint32Array]", rde = "[object Int8Array]", ide = "[object Int16Array]", ade = "[object Int32Array]", ode = "[object Float32Array]", sde = "[object Float64Array]", Ez = 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 sde(e) {
+function cde(e) {
return Ez.Buffer !== void 0 && Ez.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function cde(e, t) {
+function lde(e, t) {
return Dz(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
function Dz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
@@ -45233,8 +45283,8 @@ function Dz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
for (let a of e) t.add(Dz(a, void 0, n, r, i));
return t;
}
- if (sde(e)) return e.subarray();
- if (Vue(e)) {
+ if (cde(e)) return e.subarray();
+ if (Hue(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
for (let a = 0; a < e.length; a++) t[a] = Dz(e[a], a, n, r, i);
@@ -45269,49 +45319,49 @@ function Dz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let t = new String(e.valueOf());
return r.set(e, t), Oz(t, e, n, r, i), t;
}
- if (typeof e == "object" && lde(e)) {
+ if (typeof e == "object" && ude(e)) {
let t = Object.create(Object.getPrototypeOf(e));
return r.set(e, t), Oz(t, e, n, r, i), t;
}
return e;
}
function Oz(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...Hue(t)];
+ let a = [...Object.keys(t), ...Uue(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
(c == null || c.writable) && (e[s] = Dz(t[s], s, n, r, i));
}
}
-function lde(e) {
+function ude(e) {
switch (xz(e)) {
case Tz:
- case Jue:
case Yue:
- case Zue:
+ case Xue:
+ case Que:
case wz:
- case Gue:
- case ade:
+ case Kue:
case ode:
- case nde:
+ case sde:
case rde:
case ide:
- case Kue:
- case Cz:
- case Xue:
- case Uue:
+ case ade:
case que:
- case Sz:
+ case Cz:
+ case Zue:
case Wue:
- case Que:
+ case Jue:
+ case Sz:
+ case Gue:
case $ue:
case ede:
- case tde: return !0;
+ case tde:
+ case nde: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function ude(e) {
+function dde(e) {
return Dz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
@@ -45335,16 +45385,16 @@ function jz(e, t, n) {
function Mz(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return dde(e, t, n, r, i);
+ case "object": return fde(e, t, n, r, i);
case "function": return Object.keys(t).length > 0 ? Mz(e, { ...t }, n, r, i) : kz(e, t);
default: return Az(e) && i ? typeof t != "string" || t === "" : kz(e, t);
}
}
-function dde(e, t, n, r, i = !1) {
+function fde(e, t, n, r, i = !1) {
if (t == null) return !0;
if (Array.isArray(t)) return Nz(e, t, n, r);
- if (t instanceof Map) return fde(e, t, n, r);
- if (t instanceof Set) return pde(e, t, n, r);
+ if (t instanceof Map) return pde(e, t, n, r);
+ if (t instanceof Set) return mde(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
if (i) bz(e) && (e = Object(e));
@@ -45365,7 +45415,7 @@ function dde(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function fde(e, t, n, r) {
+function pde(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;
@@ -45389,7 +45439,7 @@ function Nz(e, t, n, r) {
}
return !0;
}
-function pde(e, t, n, r) {
+function mde(e, t, n, r) {
return t.size === 0 || e instanceof Set && Nz([...e], [...t], n, r);
}
//#endregion
@@ -45399,13 +45449,13 @@ function Pz(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function mde(e) {
- return e = ude(e), (t) => Pz(t, e);
+function hde(e) {
+ return e = dde(e), (t) => Pz(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function hde(e, t) {
- return cde(e, (n, r, i, a) => {
+function gde(e, t) {
+ return lde(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
@@ -45431,49 +45481,49 @@ function hde(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function gde(e) {
- return hde(e);
+function _de(e) {
+ return gde(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var _de = /^(?:0|[1-9]\d*)$/;
+var vde = /^(?:0|[1-9]\d*)$/;
function Fz(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 _de.test(e);
+ case "string": return vde.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function vde(e) {
+function yde(e) {
return typeof e == "object" && !!e && xz(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function yde(e, t) {
+function bde(e, t) {
let n;
if (n = Array.isArray(t) ? t : typeof t == "string" && LR(t) && !(t in Object(e)) ? VR(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
let t = RR(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || vde(r)) && Fz(t) && Number(t) < r.length)) return !1;
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || yde(r)) && Fz(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function bde(e, t) {
+function xde(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
case "number": e = RR(e);
}
- return t = gde(t), function(n) {
+ return t = _de(t), function(n) {
let r = HR(n, e);
- return r === void 0 ? yde(n, e) : t === void 0 ? r === void 0 : Pz(r, t);
+ return r === void 0 ? bde(n, e) : t === void 0 ? r === void 0 : Pz(r, t);
};
}
//#endregion
@@ -45482,19 +45532,19 @@ function Iz(e) {
if (e == null) return vz;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? bde(e[0], e[1]) : mde(e);
- default: return Bue(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? xde(e[0], e[1]) : hde(e);
+ default: return Vue(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function xde(e) {
+function Sde(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
function Lz(e, t = vz) {
- return yz(e) ? Lue(Array.from(e), Rue(Iz(t), 1)).map(xde) : [];
+ return yz(e) ? Rue(Array.from(e), zue(Iz(t), 1)).map(Sde) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
@@ -45503,7 +45553,7 @@ function Rz(e, t, n) {
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var Sde = /* @__PURE__ */ T(((e) => {
+var Cde = /* @__PURE__ */ T(((e) => {
var t = j(), n = ch();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -45548,53 +45598,53 @@ var Sde = /* @__PURE__ */ T(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), Cde = /* @__PURE__ */ T(((e, t) => {
- t.exports = Sde();
-})), zz = /*#__PURE__*/ (0, P.createContext)(null), wde = Cde(), Tde = (e) => e, Bz = () => {
+})), wde = /* @__PURE__ */ T(((e, t) => {
+ t.exports = Cde();
+})), zz = /*#__PURE__*/ (0, P.createContext)(null), Tde = wde(), Ede = (e) => e, Bz = () => {
var e = (0, P.useContext)(zz);
- return e ? e.store.dispatch : Tde;
-}, Vz = () => {}, Ede = () => Vz, Dde = (e, t) => e === t;
+ return e ? e.store.dispatch : Ede;
+}, Vz = () => {}, Dde = () => Vz, Ode = (e, t) => e === t;
function Q(e) {
var t = (0, P.useContext)(zz), n = (0, P.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
} : Vz, [t, e]);
- return (0, wde.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Ede, t ? t.store.getState : Vz, t ? t.store.getState : Vz, n, Dde);
+ return (0, Tde.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Dde, t ? t.store.getState : Vz, t ? t.store.getState : Vz, n, Ode);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function Ode(e, t = `expected a function, instead received ${typeof e}`) {
+function kde(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function kde(e, t = `expected an object, instead received ${typeof e}`) {
+function Ade(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function Ade(e, t = "expected all items to be functions, instead received the following types: ") {
+function jde(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 Hz = (e) => Array.isArray(e) ? e : [e];
-function jde(e) {
+function Mde(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return Ade(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return jde(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function Mde(e, t) {
+function Nde(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var Nde = class {
+var Pde = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, Pde = typeof WeakRef < "u" ? WeakRef : Nde, Fde = 0, Uz = 1;
+}, Fde = typeof WeakRef < "u" ? WeakRef : Pde, Ide = 0, Uz = 1;
function Wz() {
return {
- s: Fde,
+ s: Ide,
v: void 0,
o: null,
p: null
@@ -45622,7 +45672,7 @@ function Gz(e, t = {}) {
if (t.s === Uz) 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 Pde(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new Fde(c) : c;
}
return s.s = Uz, s.v = c, c;
}
@@ -45632,21 +45682,21 @@ function Gz(e, t = {}) {
a = 0;
}, o;
}
-function Ide(e, ...t) {
+function Lde(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()), Ode(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ typeof o == "object" && (a = o, o = e.pop()), kde(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
let { memoize: s, memoizeOptions: c = [], argsMemoize: l = Gz, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = Hz(c), p = Hz(u), m = jde(e), h = s(function() {
+ }, f = Hz(c), p = Hz(u), m = Mde(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = Mde(m, arguments);
+ let e = Nde(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -45668,14 +45718,14 @@ function Ide(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ Ide(Gz), Lde = Object.assign((e, t = $) => {
- kde(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ Lde(Gz), Rde = Object.assign((e, t = $) => {
+ Ade(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: () => Lde });
+}, { withTypes: () => Rde });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function Rde(e, t = 1) {
+function zde(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -45694,7 +45744,7 @@ function Kz(e, t, n) {
function qz(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var zde = (e, t, n) => {
+var Bde = (e, t, n) => {
if (e !== t) {
let r = qz(e), i = qz(t);
if (r === i && r === 0) {
@@ -45704,13 +45754,13 @@ var zde = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, Bde = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Vde = /^\w*$/;
-function Hde(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || zR(e) ? !0 : typeof e == "string" && (Vde.test(e) || !Bde.test(e)) || t != null && Object.hasOwn(t, e);
+}, Vde = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Hde = /^\w*$/;
+function Ude(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || zR(e) ? !0 : typeof e == "string" && (Hde.test(e) || !Vde.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function Ude(e, t, n, r) {
+function Wde(e, t, n, r) {
if (e == null) return [];
n = r ? void 0 : n, Array.isArray(e) || (e = yz(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) => {
@@ -45720,7 +45770,7 @@ function Ude(e, t, n, r) {
}, a = (e, t) => {
if (e == null) return t;
if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];
- }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || Hde(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || Ude(e) ? e : {
key: e,
path: VR(e)
}));
@@ -45729,7 +45779,7 @@ function Ude(e, t, n, r) {
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = zde(e.criteria[r], t.criteria[r], n[r]);
+ let i = Bde(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -45739,18 +45789,18 @@ function Ude(e, t, n, r) {
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
function Jz(e, ...t) {
let n = t.length;
- return n > 1 && Kz(e, t[0], t[1]) ? t = [] : n > 2 && Kz(t[0], t[1], t[2]) && (t = [t[0]]), Ude(e, Rde(t), ["asc"]);
+ return n > 1 && Kz(e, t[0], t[1]) ? t = [] : n > 2 && Kz(t[0], t[1], t[2]) && (t = [t[0]]), Wde(e, zde(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var Yz = (e) => e.legend.settings, Wde = (e) => e.legend.size, Gde = $([(e) => e.legend.payload, Yz], (e, t) => {
+var Yz = (e) => e.legend.settings, Gde = (e) => e.legend.size, Kde = $([(e) => e.legend.payload, Yz], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
return n ? Jz(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function Kde() {
- return Q(Gde);
+function qde() {
+ return Q(Kde);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
@@ -45873,7 +45923,7 @@ function rB(e, t, n) {
[$z]: m
};
}
-function qde(e) {
+function Jde(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
if (n(void 0, { type: tB.INIT }) === void 0) throw Error(Qz(12));
@@ -45888,7 +45938,7 @@ function iB(e) {
}
let r = Object.keys(n), i;
try {
- qde(n);
+ Jde(n);
} catch (e) {
i = e;
}
@@ -45906,7 +45956,7 @@ function iB(e) {
function aB(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function Jde(...e) {
+function Yde(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
throw Error(Qz(15));
@@ -45933,7 +45983,7 @@ var dB = Object, fB = dB.getPrototypeOf, pB = "constructor", mB = "prototype", h
function bB(e) {
return e ? SB(e) || OB(e) || !!e[cB] || !!e[pB]?.[cB] || kB(e) || AB(e) : !1;
}
-var Yde = dB[mB][pB].toString(), xB = /* @__PURE__ */ new WeakMap();
+var Xde = dB[mB][pB].toString(), xB = /* @__PURE__ */ new WeakMap();
function SB(e) {
if (!e || !jB(e)) return !1;
let t = fB(e);
@@ -45942,7 +45992,7 @@ function SB(e) {
if (n === Object) return !0;
if (!MB(n)) return !1;
let r = xB.get(n);
- return r === void 0 && (r = Function.toString.call(n), xB.set(n, r)), r === Yde;
+ return r === void 0 && (r = Function.toString.call(n), xB.set(n, r)), r === Xde;
}
function CB(e, t, n = !0) {
wB(e) === 0 ? (n ? Reflect.ownKeys(e) : dB.keys(e)).forEach((n) => {
@@ -45956,11 +46006,11 @@ function wB(e) {
var TB = (e, t, n = wB(e)) => n === 2 ? e.has(t) : dB[mB].hasOwnProperty.call(e, t), EB = (e, t, n = wB(e)) => n === 2 ? e.get(t) : e[t], DB = (e, t, n, r = wB(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function Xde(e, t) {
+function Zde(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
var OB = Array.isArray, kB = (e) => e instanceof Map, AB = (e) => e instanceof Set, jB = (e) => typeof e == "object", MB = (e) => typeof e == "function", NB = (e) => typeof e == "boolean";
-function Zde(e) {
+function Qde(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
@@ -46002,10 +46052,10 @@ function LB(e, t = !1) {
LB(t, !0);
}, !1), e);
}
-function Qde() {
+function $de() {
uB(2);
}
-var RB = { [vB]: Qde };
+var RB = { [vB]: $de };
function zB(e) {
return e === null || !jB(e) || dB.isFrozen(e);
}
@@ -46014,7 +46064,7 @@ function WB(e) {
let t = UB[e];
return t || uB(0, e), t;
}
-var GB = (e) => !!UB[e], KB, qB = () => KB, $de = (e, t) => ({
+var GB = (e) => !!UB[e], KB, qB = () => KB, efe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -46029,13 +46079,13 @@ function JB(e, t) {
t && (e.patchPlugin_ = WB(VB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function YB(e) {
- XB(e), e.drafts_.forEach(efe), e.drafts_ = null;
+ XB(e), e.drafts_.forEach(tfe), e.drafts_ = null;
}
function XB(e) {
e === KB && (KB = e.parent_);
}
-var ZB = (e) => KB = $de(KB, e);
-function efe(e) {
+var ZB = (e) => KB = efe(KB, e);
+function tfe(e) {
let t = e[lB];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
@@ -46047,7 +46097,7 @@ function QB(e, t) {
let { patchPlugin_: r } = t;
r && r.generateReplacementPatches_(n[lB].base_, e, t);
} else e = $B(t, n);
- return tfe(t, e, !0), YB(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === sB ? void 0 : e;
+ return nfe(t, e, !0), YB(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === sB ? void 0 : e;
}
function $B(e, t) {
if (zB(t)) return t;
@@ -46062,13 +46112,13 @@ function $B(e, t) {
}
return n.copy_;
}
-function tfe(e, t, n = !1) {
+function nfe(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && LB(t, n);
}
function eV(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var tV = (e, t) => e.scope_ === t, nfe = [];
+var tV = (e, t) => e.scope_ === t, rfe = [];
function nV(e, t, n, r) {
let i = PB(e), a = e.type_;
if (r !== void 0 && EB(i, r, a) === t) {
@@ -46084,10 +46134,10 @@ function nV(e, t, n, r) {
}
});
}
- let o = e.draftLocations_.get(t) ?? nfe;
+ let o = e.draftLocations_.get(t) ?? rfe;
for (let e of o) DB(i, e, n, a);
}
-function rfe(e, t, n) {
+function ife(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
if (!i || !tV(i, r)) return;
@@ -46106,7 +46156,7 @@ function rV(e, t) {
eV(e);
}
}
-function ife(e, t, n) {
+function afe(e, t, n) {
let { scope_: r } = e;
if (yB(n)) {
let i = n[lB];
@@ -46126,7 +46176,7 @@ function iV(e, t, n) {
} else bB(i) && iV(i, t, n);
}), e);
}
-function afe(e, t) {
+function ofe(e, t) {
let n = OB(e), r = {
type_: +!!n,
scope_: t ? t.scope_ : qB(),
@@ -46151,10 +46201,10 @@ var aV = {
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
let i = PB(e);
- if (!TB(i, t, e.type_)) return sfe(e, i, t);
+ if (!TB(i, t, e.type_)) return cfe(e, i, t);
let a = i[t];
- if (e.finalized_ || !bB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Zde(t)) return a;
- if (a === sV(e.base_, t) || ofe(e, t, a)) {
+ if (e.finalized_ || !bB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Qde(t)) return a;
+ if (a === sV(e.base_, t) || sfe(e, t, a)) {
uV(e);
let n = e.type_ === 1 ? +t : t, r = dV(e.scope_, a, e, n);
return e.copy_[n] = r;
@@ -46173,10 +46223,10 @@ var aV = {
if (!e.modified_) {
let r = sV(PB(e), t), i = r?.[lB];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (Xde(n, r) && (n !== void 0 || TB(e.base_, t, e.type_))) return !0;
+ if (Zde(n, r) && (n !== void 0 || TB(e.base_, t, e.type_))) return !0;
uV(e), lV(e);
}
- return e.copy_[t] === n && (n !== void 0 || TB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), ife(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || TB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), afe(e, t, n), !0);
},
deleteProperty(e, t) {
return uV(e), sV(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), lV(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
@@ -46216,10 +46266,10 @@ function sV(e, t) {
let n = e[lB];
return (n ? PB(n) : e)[t];
}
-function ofe(e, t, n) {
+function sfe(e, t, n) {
return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !bB(n) || n[lB] ? !1 : e.baseRefs_.has(n);
}
-function sfe(e, t, n) {
+function cfe(e, t, n) {
let r = cV(t, n);
return r ? vB in r ? r[vB] : r.get?.call(e.draft_) : void 0;
}
@@ -46238,7 +46288,7 @@ function lV(e) {
function uV(e) {
e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), IB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var cfe = class {
+var lfe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
if (MB(e) && !MB(t)) {
@@ -46321,8 +46371,8 @@ var cfe = class {
}
};
function dV(e, t, n, r) {
- let [i, a] = kB(t) ? WB(BB).proxyMap_(t, n) : AB(t) ? WB(BB).proxySet_(t, n) : afe(t, n);
- return (n?.scope_ ?? qB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? rfe(n, a, r) : a.callbacks_.push(function(e) {
+ let [i, a] = kB(t) ? WB(BB).proxyMap_(t, n) : AB(t) ? WB(BB).proxySet_(t, n) : ofe(t, n);
+ return (n?.scope_ ?? qB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? ife(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
@@ -46343,13 +46393,13 @@ function pV(e) {
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var mV = new cfe().produce;
+var mV = new lfe().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
function hV(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var lfe = hV(), ufe = hV, dfe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+var ufe = hV(), dfe = hV, ffe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
if (arguments.length !== 0) return typeof arguments[0] == "object" ? aB : aB.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
@@ -46392,23 +46442,23 @@ function vV(e) {
function yV(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function ffe(e) {
+function pfe(e) {
return typeof e == "boolean";
}
-var pfe = () => function(e) {
+var mfe = () => function(e) {
let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new _V();
- return t && (ffe(t) ? a.push(lfe) : a.push(ufe(t.extraArgument))), a;
+ return t && (pfe(t) ? a.push(ufe) : a.push(dfe(t.extraArgument))), a;
}, bV = "RTK_autoBatch", xV = () => (e) => ({
payload: e,
meta: { [bV]: !0 }
}), SV = (e) => (t) => {
setTimeout(t, e);
-}, mfe = (e, t) => (n) => {
+}, hfe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
}, CV = (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 ? mfe(window.requestAnimationFrame, 100) : SV(10) : e.type === "callback" ? e.queueNotification : SV(e.timeout), l = () => {
+ 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 ? hfe(window.requestAnimationFrame, 100) : SV(10) : e.type === "callback" ? e.queueNotification : SV(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -46426,23 +46476,23 @@ var pfe = () => function(e) {
}
}
});
-}, hfe = (e) => function(t) {
+}, gfe = (e) => function(t) {
let { autoBatch: n = !0 } = t ?? {}, r = new _V(e);
return n && r.push(CV(typeof n == "object" ? n : void 0)), r;
};
-function gfe(e) {
- let t = pfe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function _fe(e) {
+ let t = mfe(), { 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 (nB(n)) c = iB(n);
else throw Error(rH(1));
let l;
l = typeof r == "function" ? r(t) : t();
let u = aB;
- i && (u = dfe({
+ i && (u = ffe({
trace: !1,
...typeof i == "object" && i
}));
- let d = hfe(Jde(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ let d = gfe(Yde(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
return rB(c, o, p);
}
function wV(e) {
@@ -46475,12 +46525,12 @@ function wV(e) {
r
];
}
-function _fe(e) {
+function vfe(e) {
return typeof e == "function";
}
-function vfe(e, t) {
+function yfe(e, t) {
let [n, r, i] = wV(t), a;
- if (_fe(e)) a = () => vV(e());
+ if (vfe(e)) a = () => vV(e());
else {
let t = vV(e);
a = () => t;
@@ -46508,20 +46558,20 @@ function vfe(e, t) {
}
return o.getInitialState = a, o;
}
-var yfe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", bfe = (e = 21) => {
+var bfe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", xfe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += yfe[Math.random() * 64 | 0];
+ for (; n--;) t += bfe[Math.random() * 64 | 0];
return t;
-}, xfe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function Sfe(e, t) {
+}, Sfe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function Cfe(e, t) {
return `${e}/${t}`;
}
-function Cfe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[xfe];
+function wfe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[Sfe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
if (!n) throw Error(rH(11));
- let i = (typeof e.reducers == "function" ? e.reducers(Tfe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ let i = (typeof e.reducers == "function" ? e.reducers(Efe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -46549,17 +46599,17 @@ function Cfe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: Sfe(n, r),
+ type: Cfe(n, r),
createNotation: typeof e.reducers == "function"
};
- Dfe(a) ? kfe(o, a, s, t) : Efe(o, a, s);
+ Ofe(a) ? Afe(o, a, s, t) : Dfe(o, a, s);
});
function c() {
let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? wV(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return vfe(e.initialState, (e) => {
+ return yfe(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);
@@ -46581,7 +46631,7 @@ function Cfe({ creators: e } = {}) {
function i(t = l) {
return yV(yV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = wfe(a, t, () => yV(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = Tfe(a, t, () => yV(d, t, m), n);
return r;
});
}
@@ -46615,15 +46665,15 @@ function Cfe({ creators: e } = {}) {
return g;
};
}
-function wfe(e, t, n, r) {
+function Tfe(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var TV = /* @__PURE__ */ Cfe();
-function Tfe() {
+var TV = /* @__PURE__ */ wfe();
+function Efe() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -46647,21 +46697,21 @@ function Tfe() {
asyncThunk: e
};
}
-function Efe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function Dfe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !Ofe(r)) throw Error(rH(17));
+ if (n && !kfe(r)) throw Error(rH(17));
a = r.reducer, o = r.prepare;
} else a = r;
i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? gV(e, o) : gV(e));
}
-function Dfe(e) {
+function Ofe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function Ofe(e) {
+function kfe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function kfe({ type: e, reducerName: t }, n, r, i) {
+function Afe({ type: e, reducerName: t }, n, r, i) {
if (!i) throw Error(rH(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, {
@@ -46672,9 +46722,9 @@ function kfe({ type: e, reducerName: t }, n, r, i) {
});
}
function EV() {}
-var Afe = "task", DV = "listener", OV = "completed", kV = "cancelled", jfe = `task-${kV}`, Mfe = `task-${OV}`, AV = `${DV}-${kV}`, Nfe = `${DV}-${OV}`, jV = class {
+var jfe = "task", DV = "listener", OV = "completed", kV = "cancelled", Mfe = `task-${kV}`, Nfe = `task-${OV}`, AV = `${DV}-${kV}`, Pfe = `${DV}-${OV}`, jV = class {
constructor(e) {
- this.code = e, this.message = `${Afe} ${kV} (reason: ${e})`;
+ this.code = e, this.message = `${jfe} ${kV} (reason: ${e})`;
}
code;
name = "TaskAbortError";
@@ -46728,11 +46778,11 @@ var RV = async (e, t) => {
signal: a.signal
});
return IV(a.signal), t;
- }, () => a.abort(Mfe));
+ }, () => a.abort(Nfe));
return i?.autoJoin && t.push(o.catch(NV)), {
result: zV(e)(o),
cancel() {
- a.abort(jfe);
+ a.abort(Mfe);
}
};
};
@@ -46777,7 +46827,7 @@ var RV = async (e, t) => {
}, qV = /* @__PURE__ */ VV((e) => {
let { type: t, predicate: n, effect: r } = KV(e);
return {
- id: bfe(),
+ id: xfe(),
effect: r,
type: t,
predicate: n,
@@ -46858,7 +46908,7 @@ var RV = async (e, t) => {
} catch (e) {
e instanceof jV || ZV(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(Nfe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(Pfe), i(e), e.pending.delete(u);
}
}, d = XV(t, n);
return {
@@ -47059,10 +47109,10 @@ var yH = (e, t, n) => {
}
}
},
- expand: oue,
+ expand: sue,
none: PR,
- silhouette: sue,
- wiggle: cue,
+ silhouette: cue,
+ wiggle: lue,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -47077,7 +47127,7 @@ var yH = (e, t, n) => {
}
}
}, TH = (e, t, n) => {
- var r = wH[n] ?? PR, i = aue().keys(t).value((e, t) => Number(vH(e, t, 0))).order(FR).offset(r)(e);
+ var r = wH[n] ?? PR, i = oue().keys(t).value((e, t) => Number(vH(e, t, 0))).order(FR).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
var a = vH(e[i], t[r], 0);
@@ -47226,7 +47276,7 @@ var rU = $([
tU,
nU,
Yz,
- Wde
+ Gde
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
@@ -48186,7 +48236,7 @@ function TG(e) {
}
function EG(e) {
var { contextPayload: t } = e, n = CG(e, gG), r = Rz(t, e.payloadUniqBy, TG), i = yG(yG({}, n), {}, { payload: r });
- return /*#__PURE__*/ P.isValidElement(e.content) ? /*#__PURE__*/ P.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ P.createElement(e.content, i) : /*#__PURE__*/ P.createElement(Iue, i);
+ return /*#__PURE__*/ P.isValidElement(e.content) ? /*#__PURE__*/ P.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ P.createElement(e.content, i) : /*#__PURE__*/ P.createElement(Lue, i);
}
function DG(e, t, n, r, i, a) {
var { layout: o, align: s, verticalAlign: c } = t, l, u;
@@ -48219,7 +48269,7 @@ var jG = {
verticalAlign: "bottom"
};
function MG(e) {
- var t = pz(e, jG), n = Kde(), r = Ale(), i = BU(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = Zz([n]), d = RU(), f = zU();
+ var t = pz(e, jG), n = qde(), r = jle(), i = BU(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = Zz([n]), d = RU(), f = zU();
if (d == null || f == null) return null;
var p = d - (i?.left || 0) - (i?.right || 0), m = AG(t.layout, o, a, p), h = c ? s : yG(yG({
position: "absolute",
@@ -48603,19 +48653,19 @@ function fK(e, t) {
return (t === "string" ? String : Number)(e);
}
var pK = {
- curveBasisClosed: Jle,
- curveBasisOpen: Yle,
- curveBasis: qle,
- curveBumpX: Nle,
- curveBumpY: Ple,
- curveLinearClosed: Xle,
+ curveBasisClosed: Yle,
+ curveBasisOpen: Xle,
+ curveBasis: Jle,
+ curveBumpX: Ple,
+ curveBumpY: Fle,
+ curveLinearClosed: Zle,
curveLinear: aR,
- curveMonotoneX: Zle,
- curveMonotoneY: Qle,
- curveNatural: $le,
- curveStep: eue,
- curveStepAfter: nue,
- curveStepBefore: tue
+ curveMonotoneX: Qle,
+ curveMonotoneY: $le,
+ curveNatural: eue,
+ curveStep: tue,
+ curveStepAfter: rue,
+ curveStepBefore: nue
}, mK = (e) => dH(e.x) && dH(e.y), hK = (e) => e.base != null && mK(e.base) && mK(e), gK = (e) => e.x, _K = (e) => e.y, vK = (e, t) => {
if (typeof e == "function") return e;
var n = `curve${tz(e)}`;
@@ -51234,19 +51284,19 @@ function CZ(e, t) {
return (n - e) / t;
} : yZ(isNaN(t) ? NaN : .5);
}
-function Pfe(e, t) {
+function Ffe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function Ffe(e, t, n) {
+function Ife(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
return i < r ? (r = CZ(i, r), a = n(o, a)) : (r = CZ(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function Ife(e, t, n) {
+function Lfe(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] = CZ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
@@ -51261,7 +51311,7 @@ function TZ() {
var e = xZ, t = xZ, n = gZ, r, i, a, o = SZ, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== SZ && (o = Pfe(e[0], e[n - 1])), s = n > 2 ? Ife : Ffe, c = l = null, d;
+ return o !== SZ && (o = Ffe(e[0], e[n - 1])), s = n > 2 ? Lfe : Ife, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -51289,7 +51339,7 @@ function EZ() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function Lfe(e) {
+function Rfe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function DZ(e, t) {
@@ -51304,7 +51354,7 @@ function OZ(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function Rfe(e, t) {
+function zfe(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);
@@ -51312,7 +51362,7 @@ function Rfe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function zfe(e) {
+function Bfe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -51321,9 +51371,9 @@ function zfe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var Bfe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var Vfe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function kZ(e) {
- if (!(t = Bfe.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = Vfe.exec(e))) throw Error("invalid format: " + e);
var t;
return new AZ({
fill: t[1],
@@ -51347,7 +51397,7 @@ AZ.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function Vfe(e) {
+function Hfe(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -51364,7 +51414,7 @@ function Vfe(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var jZ;
-function Hfe(e, t) {
+function Ufe(e, t) {
var n = DZ(e, t);
if (!n) return jZ = void 0, e.toPrecision(t);
var r = n[0], i = n[1], a = i - (jZ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
@@ -51384,14 +51434,14 @@ var NZ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: Lfe,
+ d: Rfe,
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) => MZ(e * 100, t),
r: MZ,
- s: Hfe,
+ s: Ufe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
@@ -51421,8 +51471,8 @@ var FZ = Array.prototype.map, IZ = [
"Z",
"Y"
];
-function Ufe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : Rfe(FZ.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 ? PZ : zfe(FZ.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 Wfe(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : zfe(FZ.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 ? PZ : Bfe(FZ.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 = kZ(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;
@@ -51435,7 +51485,7 @@ function Ufe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = Vfe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && jZ !== void 0 ? IZ[8 + jZ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = Hfe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && jZ !== void 0 ? IZ[8 + jZ / 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;
@@ -51476,27 +51526,27 @@ function Ufe(e) {
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
var LZ, RZ, zZ;
-Wfe({
+Gfe({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function Wfe(e) {
- return LZ = Ufe(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
+function Gfe(e) {
+ return LZ = Wfe(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function Gfe(e) {
+function Kfe(e) {
return Math.max(0, -OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function Kfe(e, t) {
+function qfe(e, t) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(OZ(t) / 3))) * 3 - OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function qfe(e, t) {
+function Jfe(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, OZ(t) - OZ(e)) + 1;
}
//#endregion
@@ -51506,16 +51556,16 @@ function BZ(e, t, n, r) {
switch (r = kZ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = Kfe(i, o)) && (r.precision = a), zZ(r, o);
+ return r.precision == null && !isNaN(a = qfe(i, o)) && (r.precision = a), zZ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = qfe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = Jfe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = Gfe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = Kfe(i)) && (r.precision = a - (r.type === "%") * 2);
}
return RZ(r);
}
@@ -51578,19 +51628,19 @@ function GZ(e) {
function KZ(e) {
return Math.exp(e);
}
-function Jfe(e) {
- return -Math.log(-e);
-}
function Yfe(e) {
- return -Math.exp(-e);
+ return -Math.log(-e);
}
function Xfe(e) {
- return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
+ return -Math.exp(-e);
}
function Zfe(e) {
- return e === 10 ? Xfe : e === Math.E ? Math.exp : (t) => e ** +t;
+ return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
function Qfe(e) {
+ return e === 10 ? Zfe : e === Math.E ? Math.exp : (t) => e ** +t;
+}
+function $fe(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 qZ(e) {
@@ -51599,7 +51649,7 @@ function qZ(e) {
function JZ(e) {
let t = e(GZ, KZ), n = t.domain, r = 10, i, a;
function o() {
- return i = Qfe(r), a = Zfe(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(Jfe, Yfe)) : e(GZ, KZ), t;
+ return i = $fe(r), a = Qfe(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(Yfe, Xfe)) : e(GZ, KZ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -51669,16 +51719,16 @@ function eQ(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function $fe(e) {
+function epe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function epe(e) {
+function tpe(e) {
return e < 0 ? -e * e : e * e;
}
function tQ(e) {
var t = e(SZ, SZ), n = 1;
function r() {
- return n === 1 ? e(SZ, SZ) : n === .5 ? e($fe, epe) : e(eQ(n), eQ(1 / n));
+ return n === 1 ? e(SZ, SZ) : n === .5 ? e(epe, tpe) : e(eQ(n), eQ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -51690,7 +51740,7 @@ function nQ() {
return wZ(e, nQ()).exponent(e.exponent());
}, sX.apply(e, arguments), e;
}
-function tpe() {
+function npe() {
return nQ.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -51698,13 +51748,13 @@ function tpe() {
function rQ(e) {
return Math.sign(e) * e * e;
}
-function npe(e) {
+function rpe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
function iQ() {
var e = EZ(), t = [0, 1], n = !1, r;
function i(t) {
- var i = npe(e(t));
+ var i = rpe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -51900,8 +51950,8 @@ function DQ(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * pQ) / gQ);
}
-var OQ = DQ(0), kQ = DQ(1), rpe = DQ(2), ipe = DQ(3), AQ = DQ(4), ape = DQ(5), ope = DQ(6);
-OQ.range, kQ.range, rpe.range, ipe.range, AQ.range, ape.range, ope.range;
+var OQ = DQ(0), kQ = DQ(1), ipe = DQ(2), ape = DQ(3), AQ = DQ(4), ope = DQ(5), spe = DQ(6);
+OQ.range, kQ.range, ipe.range, ape.range, AQ.range, ope.range, spe.range;
function jQ(e) {
return uQ((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -51909,8 +51959,8 @@ function jQ(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / gQ);
}
-var MQ = jQ(0), NQ = jQ(1), spe = jQ(2), cpe = jQ(3), PQ = jQ(4), lpe = jQ(5), upe = jQ(6);
-MQ.range, NQ.range, spe.range, cpe.range, PQ.range, lpe.range, upe.range;
+var MQ = jQ(0), NQ = jQ(1), cpe = jQ(2), lpe = jQ(3), PQ = jQ(4), upe = jQ(5), dpe = jQ(6);
+MQ.range, NQ.range, cpe.range, lpe.range, PQ.range, upe.range, dpe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var FQ = uQ((e) => {
@@ -52057,7 +52107,7 @@ function zQ(e, t, n, r, i, a) {
}
return [s, c];
}
-var [dpe, fpe] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [ppe, mpe] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
+var [fpe, ppe] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [mpe, hpe] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function BQ(e) {
@@ -52085,7 +52135,7 @@ function HQ(e, t, n) {
L: 0
};
}
-function hpe(e) {
+function gpe(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 = KQ(i), u = qQ(i), d = KQ(a), f = qQ(a), p = KQ(o), m = qQ(o), h = KQ(s), g = qQ(s), _ = KQ(c), v = qQ(c), y = {
a: N,
A: P,
@@ -52094,30 +52144,30 @@ function hpe(e) {
c: null,
d: QQ,
e: QQ,
- f: Rpe,
- g: Jpe,
- G: Xpe,
- H: Fpe,
- I: Ipe,
- j: Lpe,
+ f: zpe,
+ g: Ype,
+ G: Zpe,
+ H: Ipe,
+ I: Lpe,
+ j: Rpe,
L: $Q,
- m: zpe,
- M: Bpe,
+ m: Bpe,
+ M: Vpe,
p: ee,
q: te,
Q: a$,
s: o$,
- S: Vpe,
- u: Hpe,
- U: Upe,
- V: Wpe,
- w: Gpe,
- W: Kpe,
+ S: Hpe,
+ u: Upe,
+ U: Wpe,
+ V: Gpe,
+ w: Kpe,
+ W: qpe,
x: null,
X: null,
- y: qpe,
- Y: Ype,
- Z: Zpe,
+ y: Jpe,
+ Y: Xpe,
+ Z: Qpe,
"%": i$
}, b = {
a: ne,
@@ -52127,30 +52177,30 @@ function hpe(e) {
c: null,
d: t$,
e: t$,
- f: tme,
- g: dme,
- G: pme,
- H: Qpe,
- I: $pe,
- j: eme,
+ f: nme,
+ g: fme,
+ G: mme,
+ H: $pe,
+ I: eme,
+ j: tme,
L: n$,
- m: nme,
- M: rme,
+ m: rme,
+ M: ime,
p: oe,
q: se,
Q: a$,
s: o$,
- S: ime,
- u: ame,
- U: ome,
- V: sme,
- w: cme,
- W: lme,
+ S: ame,
+ u: ome,
+ U: sme,
+ V: cme,
+ w: lme,
+ W: ume,
x: null,
X: null,
- y: ume,
- Y: fme,
- Z: mme,
+ y: dme,
+ Y: pme,
+ Z: hme,
"%": i$
}, x = {
a: E,
@@ -52160,31 +52210,31 @@ function hpe(e) {
c: A,
d: XQ,
e: XQ,
- f: jpe,
+ f: Mpe,
g: YQ,
G: JQ,
H: ZQ,
I: ZQ,
- j: Dpe,
- L: Ape,
- m: Epe,
- M: Ope,
+ j: Ope,
+ L: jpe,
+ m: Dpe,
+ M: kpe,
p: T,
- q: Tpe,
- Q: Npe,
- s: Ppe,
- S: kpe,
- u: bpe,
- U: xpe,
- V: Spe,
- w: ype,
- W: Cpe,
+ q: Epe,
+ Q: Ppe,
+ s: Fpe,
+ S: Ape,
+ u: xpe,
+ U: Spe,
+ V: Cpe,
+ w: bpe,
+ W: wpe,
x: j,
X: M,
y: YQ,
Y: JQ,
- Z: wpe,
- "%": Mpe
+ Z: Tpe,
+ "%": Npe
};
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) {
@@ -52312,37 +52362,37 @@ var UQ = {
"-": "",
_: " ",
0: "0"
-}, WQ = /^\s*\d+/, gpe = /^%/, _pe = /[\\^$*+?|[\]().{}]/g;
+}, WQ = /^\s*\d+/, _pe = /^%/, vpe = /[\\^$*+?|[\]().{}]/g;
function GQ(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 vpe(e) {
- return e.replace(_pe, "\\$&");
+function ype(e) {
+ return e.replace(vpe, "\\$&");
}
function KQ(e) {
- return RegExp("^(?:" + e.map(vpe).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(ype).join("|") + ")", "i");
}
function qQ(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function ype(e, t, n) {
+function bpe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function bpe(e, t, n) {
+function xpe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function xpe(e, t, n) {
+function Spe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function Spe(e, t, n) {
+function Cpe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function Cpe(e, t, n) {
+function wpe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -52354,15 +52404,15 @@ function YQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function wpe(e, t, n) {
+function Tpe(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 Tpe(e, t, n) {
+function Epe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function Epe(e, t, n) {
+function Dpe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -52370,7 +52420,7 @@ function XQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function Dpe(e, t, n) {
+function Ope(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
@@ -52378,159 +52428,159 @@ function ZQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function Ope(e, t, n) {
+function kpe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function kpe(e, t, n) {
+function Ape(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function Ape(e, t, n) {
+function jpe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function jpe(e, t, n) {
+function Mpe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function Mpe(e, t, n) {
- var r = gpe.exec(t.slice(n, n + 1));
+function Npe(e, t, n) {
+ var r = _pe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function Npe(e, t, n) {
+function Ppe(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function Ppe(e, t, n) {
+function Fpe(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
function QQ(e, t) {
return GQ(e.getDate(), t, 2);
}
-function Fpe(e, t) {
+function Ipe(e, t) {
return GQ(e.getHours(), t, 2);
}
-function Ipe(e, t) {
+function Lpe(e, t) {
return GQ(e.getHours() % 12 || 12, t, 2);
}
-function Lpe(e, t) {
+function Rpe(e, t) {
return GQ(1 + wQ.count(LQ(e), e), t, 3);
}
function $Q(e, t) {
return GQ(e.getMilliseconds(), t, 3);
}
-function Rpe(e, t) {
+function zpe(e, t) {
return $Q(e, t) + "000";
}
-function zpe(e, t) {
+function Bpe(e, t) {
return GQ(e.getMonth() + 1, t, 2);
}
-function Bpe(e, t) {
+function Vpe(e, t) {
return GQ(e.getMinutes(), t, 2);
}
-function Vpe(e, t) {
+function Hpe(e, t) {
return GQ(e.getSeconds(), t, 2);
}
-function Hpe(e) {
+function Upe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function Upe(e, t) {
+function Wpe(e, t) {
return GQ(OQ.count(LQ(e) - 1, e), t, 2);
}
function e$(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? AQ(e) : AQ.ceil(e);
}
-function Wpe(e, t) {
+function Gpe(e, t) {
return e = e$(e), GQ(AQ.count(LQ(e), e) + (LQ(e).getDay() === 4), t, 2);
}
-function Gpe(e) {
+function Kpe(e) {
return e.getDay();
}
-function Kpe(e, t) {
+function qpe(e, t) {
return GQ(kQ.count(LQ(e) - 1, e), t, 2);
}
-function qpe(e, t) {
+function Jpe(e, t) {
return GQ(e.getFullYear() % 100, t, 2);
}
-function Jpe(e, t) {
+function Ype(e, t) {
return e = e$(e), GQ(e.getFullYear() % 100, t, 2);
}
-function Ype(e, t) {
+function Xpe(e, t) {
return GQ(e.getFullYear() % 1e4, t, 4);
}
-function Xpe(e, t) {
+function Zpe(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? AQ(e) : AQ.ceil(e), GQ(e.getFullYear() % 1e4, t, 4);
}
-function Zpe(e) {
+function Qpe(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + GQ(t / 60 | 0, "0", 2) + GQ(t % 60, "0", 2);
}
function t$(e, t) {
return GQ(e.getUTCDate(), t, 2);
}
-function Qpe(e, t) {
+function $pe(e, t) {
return GQ(e.getUTCHours(), t, 2);
}
-function $pe(e, t) {
+function eme(e, t) {
return GQ(e.getUTCHours() % 12 || 12, t, 2);
}
-function eme(e, t) {
+function tme(e, t) {
return GQ(1 + TQ.count(RQ(e), e), t, 3);
}
function n$(e, t) {
return GQ(e.getUTCMilliseconds(), t, 3);
}
-function tme(e, t) {
+function nme(e, t) {
return n$(e, t) + "000";
}
-function nme(e, t) {
+function rme(e, t) {
return GQ(e.getUTCMonth() + 1, t, 2);
}
-function rme(e, t) {
+function ime(e, t) {
return GQ(e.getUTCMinutes(), t, 2);
}
-function ime(e, t) {
+function ame(e, t) {
return GQ(e.getUTCSeconds(), t, 2);
}
-function ame(e) {
+function ome(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function ome(e, t) {
+function sme(e, t) {
return GQ(MQ.count(RQ(e) - 1, e), t, 2);
}
function r$(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? PQ(e) : PQ.ceil(e);
}
-function sme(e, t) {
+function cme(e, t) {
return e = r$(e), GQ(PQ.count(RQ(e), e) + (RQ(e).getUTCDay() === 4), t, 2);
}
-function cme(e) {
+function lme(e) {
return e.getUTCDay();
}
-function lme(e, t) {
+function ume(e, t) {
return GQ(NQ.count(RQ(e) - 1, e), t, 2);
}
-function ume(e, t) {
+function dme(e, t) {
return GQ(e.getUTCFullYear() % 100, t, 2);
}
-function dme(e, t) {
+function fme(e, t) {
return e = r$(e), GQ(e.getUTCFullYear() % 100, t, 2);
}
-function fme(e, t) {
+function pme(e, t) {
return GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function pme(e, t) {
+function mme(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? PQ(e) : PQ.ceil(e), GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function mme() {
+function hme() {
return "+0000";
}
function i$() {
@@ -52545,7 +52595,7 @@ function o$(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var s$, c$, l$;
-hme({
+gme({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -52597,15 +52647,15 @@ hme({
"Dec"
]
});
-function hme(e) {
- return s$ = hpe(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
+function gme(e) {
+ return s$ = gpe(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function gme(e) {
+function _me(e) {
return new Date(e);
}
-function _me(e) {
+function vme(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function u$(e, t, n, r, i, a, o, s, c, l) {
@@ -52616,7 +52666,7 @@ function u$(e, t, n, r, i, a, o, s, c, l) {
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, _me)) : f().map(gme);
+ return arguments.length ? f(Array.from(e, vme)) : f().map(_me);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -52629,13 +52679,13 @@ function u$(e, t, n, r, i, a, o, s, c, l) {
return wZ(u, u$(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function vme() {
- return sX.apply(u$(ppe, mpe, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function yme() {
+ return sX.apply(u$(mpe, hpe, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function yme() {
- return sX.apply(u$(dpe, fpe, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function bme() {
+ return sX.apply(u$(fpe, ppe, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -52690,7 +52740,7 @@ function g$() {
return f$(e, g$()).exponent(e.exponent());
}, cX.apply(e, arguments);
}
-function bme() {
+function xme() {
return g$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -52781,7 +52831,7 @@ function S$() {
return f$(e, S$()).exponent(e.exponent());
}, cX.apply(e, arguments);
}
-function xme() {
+function Sme() {
return S$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -52791,7 +52841,7 @@ var C$ = /* @__PURE__ */ E({
scaleDiverging: () => y$,
scaleDivergingLog: () => b$,
scaleDivergingPow: () => S$,
- scaleDivergingSqrt: () => xme,
+ scaleDivergingSqrt: () => Sme,
scaleDivergingSymlog: () => x$,
scaleIdentity: () => UZ,
scaleImplicit: () => lX,
@@ -52807,18 +52857,18 @@ var C$ = /* @__PURE__ */ E({
scaleSequentialLog: () => m$,
scaleSequentialPow: () => g$,
scaleSequentialQuantile: () => _$,
- scaleSequentialSqrt: () => bme,
+ scaleSequentialSqrt: () => xme,
scaleSequentialSymlog: () => h$,
- scaleSqrt: () => tpe,
+ scaleSqrt: () => npe,
scaleSymlog: () => $Z,
scaleThreshold: () => sQ,
- scaleTime: () => vme,
- scaleUtc: () => yme,
+ scaleTime: () => yme,
+ scaleUtc: () => bme,
tickFormat: () => BZ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function Sme(e) {
+function Cme(e) {
if (e in C$) return C$[e]();
var t = `scale${tz(e)}`;
if (t in C$) return C$[t]();
@@ -52826,7 +52876,7 @@ function Sme(e) {
function w$(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = Sme(e);
+ var r = Cme(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -52835,22 +52885,22 @@ function T$(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function Cme(e) {
+function wme(e) {
return `scale${tz(e)}`;
}
-function wme(e) {
- return Cme(e) in C$;
+function Tme(e) {
+ return wme(e) in C$;
}
var E$ = (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 wme(r) ? r : "point";
+ if (typeof r == "string") return Tme(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function Tme(e, t) {
+function Eme(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;
@@ -52861,7 +52911,7 @@ function D$(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 = Tme(r, e);
+ var t = Eme(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;
@@ -52871,7 +52921,7 @@ function D$(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function Eme(e) {
+function Dme(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : D$(e, void 0);
}
//#endregion
@@ -52890,26 +52940,26 @@ function k$(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) {
- Dme(e, t, n[t]);
+ Ome(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Dme(e, t, n) {
- return (t = Ome(t)) in e ? Object.defineProperty(e, t, {
+function Ome(e, t, n) {
+ return (t = kme(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 kme(e) {
+ var t = Ame(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kme(e, t) {
+function Ame(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52977,7 +53027,7 @@ var A$ = [0, "auto"], j$ = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, Ame = {
+}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, jme = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -52990,7 +53040,7 @@ var A$ = [0, "auto"], j$ = {
scale: "auto",
type: "number",
unit: ""
-}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? Ame, R$ = (e, t, n) => {
+}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? jme, R$ = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -52999,7 +53049,7 @@ var A$ = [0, "auto"], j$ = {
case "radiusAxis": return pY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, jme = (e, t, n) => {
+}, Mme = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -53026,14 +53076,14 @@ function V$(e, t) {
}
};
}
-var H$ = (e) => e.graphicalItems.cartesianItems, Mme = $([CY, wY], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
+var H$ = (e) => e.graphicalItems.cartesianItems, Nme = $([CY, wY], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
H$,
R$,
- Mme
-], U$, { memoizeOptions: { resultEqualityCheck: kY } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(DY)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Nme = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Pme = $([W$], q$, { memoizeOptions: { resultEqualityCheck: kY } }), J$ = (e, t) => {
+ Nme
+], U$, { memoizeOptions: { resultEqualityCheck: kY } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(DY)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Pme = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Fme = $([W$], q$, { memoizeOptions: { resultEqualityCheck: kY } }), J$ = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, Y$ = $([Pme, DJ], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: vH(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: vH(e, t.dataKey) })), Z$ = $([
+}, Y$ = $([Fme, DJ], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: vH(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: vH(e, t.dataKey) })), Z$ = $([
Y$,
R$,
W$
@@ -53055,11 +53105,11 @@ function $$(e) {
function e1(e) {
return e.map(Q$).filter(nz);
}
-function Fme(e, t) {
+function Ime(e, t) {
var n = Q$(e), r = Q$(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var Ime = $([Z$], (e) => e?.map((e) => e.value).sort(Fme));
+var Lme = $([Z$], (e) => e?.map((e) => e.value).sort(Ime));
function t1(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -53067,13 +53117,13 @@ function t1(e, t) {
default: return !1;
}
}
-function Lme(e, t, n) {
+function Rme(e, t, n) {
return !n || typeof t != "number" || KR(t) || !n.length ? [] : e1(n.flatMap((n) => {
var r = vH(e, n.dataKey), i, a;
if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!dH(i) || !dH(a))) return [t - i, t + a];
}));
}
-var n1 = (e) => z$(e, jY(e), MY(e)), r1 = $([n1], (e) => e?.dataKey), Rme = $([
+var n1 = (e) => z$(e, jY(e), MY(e)), r1 = $([n1], (e) => e?.dataKey), zme = $([
G$,
DJ,
n1
@@ -53091,7 +53141,7 @@ var n1 = (e) => z$(e, jY(e), MY(e)), r1 = $([n1], (e) => e?.dataKey), Rme = $([
}];
}));
}, a1 = $([
- Rme,
+ zme,
G$,
qJ,
JJ
@@ -53101,7 +53151,7 @@ var n1 = (e) => z$(e, jY(e), MY(e)), r1 = $([n1], (e) => e?.dataKey), Rme = $([
var o = MH(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, zme = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
+}, Bme = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
if (e == null || !("domain" in e)) return A$;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -53112,12 +53162,12 @@ var n1 = (e) => z$(e, jY(e), MY(e)), r1 = $([n1], (e) => e?.dataKey), Rme = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? A$;
-}, c1 = $([R$], s1), l1 = $([c1, zme], jJ), Bme = $([
+}, c1 = $([R$], s1), l1 = $([c1, Bme], jJ), Vme = $([
a1,
TJ,
CY,
l1
-], o1, { memoizeOptions: { resultEqualityCheck: OY } }), u1 = (e) => e.errorBars, Vme = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
+], o1, { memoizeOptions: { resultEqualityCheck: OY } }), u1 = (e) => e.errorBars, Hme = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -53127,7 +53177,7 @@ var n1 = (e) => z$(e, jY(e), MY(e)), r1 = $([n1], (e) => e?.dataKey), Rme = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => t1(i, e)), c = vH(e, t.dataKey ?? n.dataKey), l = Lme(e, c, s);
+ var s = r[n.id]?.filter((e) => t1(i, e)), c = vH(e, t.dataKey ?? n.dataKey), l = Rme(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);
@@ -53139,29 +53189,29 @@ var n1 = (e) => z$(e, jY(e), MY(e)), r1 = $([n1], (e) => e?.dataKey), Rme = $([
var n = $$(vH(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]));
}), dH(a) && dH(o)) return [a, o];
-}, Hme = $([
+}, Ume = $([
Y$,
R$,
- Nme,
+ Pme,
u1,
CY
], f1, { memoizeOptions: { resultEqualityCheck: OY } });
-function Ume(e) {
+function Wme(e) {
var { value: t } = e;
if (JR(t) || t instanceof Date) return t;
}
-var Wme = (e, t, n) => {
- var r = e.map(Ume).filter((e) => e != null);
+var Gme = (e, t, n) => {
+ var r = e.map(Wme).filter((e) => e != null);
return n && (t.dataKey == null || t.allowDuplicatedCategory && ZR(r)) ? wJ(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), Gme = $([
+}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), Kme = $([
p1,
CY,
wY
-], m1), h1 = (e) => e.referenceElements.areas, Kme = $([
+], m1), h1 = (e) => e.referenceElements.areas, qme = $([
h1,
CY,
wY
-], m1), g1 = (e) => e.referenceElements.lines, qme = $([
+], m1), g1 = (e) => e.referenceElements.lines, Jme = $([
g1,
CY,
wY
@@ -53170,40 +53220,40 @@ var Wme = (e, t, n) => {
var n = e1(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Jme = $(Gme, CY, _1), v1 = (e, t) => {
+}, Yme = $(Kme, CY, _1), v1 = (e, t) => {
if (e != null) {
var n = e1(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)];
}
-}, Yme = $([Kme, CY], v1);
-function Xme(e) {
+}, Xme = $([qme, CY], v1);
+function Zme(e) {
if (e.x != null) return e1([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : e1(t);
}
-function Zme(e) {
+function Qme(e) {
if (e.y != null) return e1([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : e1(t);
}
var y1 = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? Xme(e) : Zme(e));
+ var n = e.flatMap((e) => t === "xAxis" ? Zme(e) : Qme(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Qme = $(Jme, $([qme, CY], y1), Yme, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? MJ(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), $me = $([
+}, $me = $(Yme, $([Jme, CY], y1), Xme, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? MJ(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), ehe = $([
R$,
c1,
l1,
- Bme,
- Hme,
- Qme,
+ Vme,
+ Ume,
+ $me,
VU,
CY
-], b1, { memoizeOptions: { resultEqualityCheck: OY } }), ehe = [0, 1], x1 = (e, t, n, r, i, a, o) => {
+], b1, { memoizeOptions: { resultEqualityCheck: OY } }), the = [0, 1], x1 = (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 = bH(t, a);
- return l && s == null ? wJ(0, n?.length ?? 0) : c === "category" ? Wme(r, e, l) : i === "expand" ? ehe : o;
+ return l && s == null ? wJ(0, n?.length ?? 0) : c === "category" ? Gme(r, e, l) : i === "expand" ? the : o;
}
}, S1 = $([
R$,
@@ -53212,7 +53262,7 @@ var y1 = (e, t) => {
Z$,
qJ,
CY,
- $me
+ ehe
], x1), C1 = $([
R$,
B$,
@@ -53240,7 +53290,7 @@ var y1 = (e, t) => {
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, the = $([
+}, nhe = $([
R$,
S1,
T1,
@@ -53269,13 +53319,13 @@ var y1 = (e, t) => {
return s - o - (s - o) / a * o;
}
return 0;
-}), nhe = (e, t, n) => {
+}), rhe = (e, t, n) => {
var r = N$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "xAxis", t, n, r.padding);
-}, rhe = (e, t, n) => {
+}, ihe = (e, t, n) => {
var r = I$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "yAxis", t, n, r.padding);
-}, ihe = $(N$, nhe, (e, t) => {
+}, ahe = $(N$, rhe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -53288,7 +53338,7 @@ var y1 = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), ahe = $(I$, rhe, (e, t) => {
+}), ohe = $(I$, ihe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -53301,19 +53351,19 @@ var y1 = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), ohe = $([
+}), she = $([
rU,
- ihe,
+ ahe,
lU,
cU,
(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];
-}), she = $([
+}), che = $([
rU,
VU,
- ahe,
+ ohe,
lU,
cU,
(e, t, n) => n
@@ -53322,8 +53372,8 @@ var y1 = (e, t) => {
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];
}), O1 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return ohe(e, n, r);
- case "yAxis": return she(e, n, r);
+ case "xAxis": return she(e, n, r);
+ case "yAxis": return che(e, n, r);
case "zAxis": return L$(e, n)?.range;
case "angleAxis": return vY(e);
case "radiusAxis": return bY(e, n);
@@ -53332,7 +53382,7 @@ var y1 = (e, t) => {
}, k1 = $([R$, O1], rY), A1 = $([
R$,
C1,
- $([C1, the], PY),
+ $([C1, nhe], PY),
k1
], T$), j1 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
@@ -53345,54 +53395,54 @@ var y1 = (e, t) => {
z$,
CY
], j1), N1 = $([A1], NY);
-$([A1], Eme), $([A1, Ime], D$), $([
+$([A1], Dme), $([A1, Lme], D$), $([
W$,
u1,
CY
-], Vme);
+], Hme);
function P1(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var F1 = (e, t) => t, I1 = (e, t, n) => n, che = $(WH, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), lhe = $(GH, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
+var F1 = (e, t) => t, I1 = (e, t, n) => n, lhe = $(WH, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), uhe = $(GH, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
width: e.width,
height: t.height
-}), uhe = (e, t) => ({
+}), dhe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), R1 = $(rU, N$, L1), dhe = (e, t, n) => {
+}), R1 = $(rU, N$, L1), fhe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, fhe = (e, t, n) => {
+}, phe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, phe = $(VH, rU, che, F1, I1, (e, t, n, r, i) => {
+}, mhe = $(VH, rU, lhe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = L1(t, n);
- o ??= dhe(t, r, e);
+ o ??= fhe(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;
-}), mhe = $(BH, rU, lhe, F1, I1, (e, t, n, r, i) => {
+}), hhe = $(BH, rU, uhe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = uhe(t, n);
- o ??= fhe(t, r, e);
+ var s = dhe(t, n);
+ o ??= phe(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;
-}), hhe = $([
+}), ghe = $([
rU,
N$,
(e, t) => {
var n = N$(e, t);
- if (n != null) return phe(e, n.orientation, n.mirror);
+ if (n != null) return mhe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -53406,12 +53456,12 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, che = $(WH, F1, I1, (e, t, n) => e.fi
y: i
};
}
-}), ghe = $([
+}), _he = $([
rU,
I$,
(e, t) => {
var n = I$(e, t);
- if (n != null) return mhe(e, n.orientation, n.mirror);
+ if (n != null) return hhe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -53446,7 +53496,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, che = $(WH, F1, I1, (e, t, n) => e.fi
CY
], V1), U1 = $([
VU,
- jme,
+ Mme,
C1,
N1,
H1,
@@ -53575,7 +53625,7 @@ $((e, t, n) => L$(e, n), $([$([
], T$)], NY), (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
-var _he = $([
+var vhe = $([
VU,
WH,
GH
@@ -53609,7 +53659,7 @@ function Z1(e, t, n) {
function Q1(e, t) {
return Z1(t, Y1(e), X1(e));
}
-function vhe(e) {
+function yhe(e) {
return Q((t) => Q1(t, e));
}
//#endregion
@@ -53617,7 +53667,7 @@ function vhe(e) {
var $1 = (e, t) => {
var n, r = Number(t);
if (!(KR(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, yhe = (e) => e.tooltip.settings, e0 = {
+}, bhe = (e) => e.tooltip.settings, e0 = {
active: !1,
index: null,
dataKey: void 0,
@@ -53702,7 +53752,7 @@ var $1 = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: bhe, replaceTooltipEntrySettings: xhe, removeTooltipEntrySettings: She, setTooltipSettingsState: Che, setActiveMouseOverItemIndex: n0, mouseLeaveItem: whe, mouseLeaveChart: r0, setActiveClickItemIndex: The, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: Ehe, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, Dhe = t0.reducer;
+}), { addTooltipEntrySettings: xhe, replaceTooltipEntrySettings: She, removeTooltipEntrySettings: Che, setTooltipSettingsState: whe, setActiveMouseOverItemIndex: n0, mouseLeaveItem: The, mouseLeaveChart: r0, setActiveClickItemIndex: Ehe, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: Dhe, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, Ohe = t0.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function s0(e, t) {
@@ -53719,26 +53769,26 @@ function c0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? s0(Object(n), !0).forEach(function(t) {
- Ohe(e, t, n[t]);
+ khe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ohe(e, t, n) {
- return (t = khe(t)) in e ? Object.defineProperty(e, t, {
+function khe(e, t, n) {
+ return (t = Ahe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function khe(e) {
- var t = Ahe(e, "string");
+function Ahe(e) {
+ var t = jhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ahe(e, t) {
+function jhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53748,21 +53798,21 @@ function Ahe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function jhe(e, t, n) {
+function Mhe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function Mhe(e) {
+function Nhe(e) {
return e.index != null;
}
var l0 = (e, t, n, r) => {
if (t == null) return e0;
- var i = jhe(e, t, n);
+ var i = Mhe(e, t, n);
if (i == null) return e0;
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 (Mhe(i)) {
+ if (Nhe(i)) {
if (a) return c0(c0({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -53775,7 +53825,7 @@ var l0 = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function Nhe(e) {
+function Phe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -53784,14 +53834,14 @@ function Nhe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function Phe(e, t) {
- var n = Nhe(e), r = t[0], i = t[1];
+function Fhe(e, t) {
+ var n = Phe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function Fhe(e, t, n) {
+function Ihe(e, t, n) {
if (n == null || t == null) return !0;
var r = vH(e, t);
- return r == null || !kJ(n) || Phe(r, n);
+ return r == null || !kJ(n) || Fhe(r, n);
}
var u0 = (e, t, n, r) => {
var i = e?.index;
@@ -53801,7 +53851,7 @@ var u0 = (e, t, n, r) => {
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 || Fhe(l, n, r) ? String(c) : null;
+ return l == null || Ihe(l, n, r) ? String(c) : null;
}, d0 = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -53845,26 +53895,26 @@ function g0(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) {
- Ihe(e, t, n[t]);
+ Lhe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ihe(e, t, n) {
- return (t = Lhe(t)) in e ? Object.defineProperty(e, t, {
+function Lhe(e, t, n) {
+ return (t = Rhe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Lhe(e) {
- var t = Rhe(e, "string");
+function Rhe(e) {
+ var t = zhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Rhe(e, t) {
+function zhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53874,39 +53924,39 @@ function Rhe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function zhe(e) {
+function Bhe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function Bhe(e) {
+function Vhe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function Vhe(e) {
+function Hhe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
function _0(e) {
if (typeof e == "string") return e;
}
-function Hhe(e) {
+function Uhe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? zhe(e.name) : void 0,
- unit: "unit" in e ? Bhe(e.unit) : void 0,
- dataKey: "dataKey" in e ? Vhe(e.dataKey) : void 0,
+ name: "name" in e ? Bhe(e.name) : void 0,
+ unit: "unit" in e ? Vhe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? Hhe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
color: "color" in e ? _0(e.color) : void 0,
fill: "fill" in e ? _0(e.fill) : void 0
};
}
-function Uhe(e, t) {
+function Whe(e, t) {
return e ?? t;
}
var v0 = (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 = Uhe(d, s), m = Array.isArray(p) ? uH(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? $R(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = Whe(d, s), m = Array.isArray(p) ? uH(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? $R(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = Hhe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
+ var n = Uhe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
@@ -53936,17 +53986,17 @@ var v0 = (e, t, n, r, i, a, o) => {
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
n1,
$([jY, MY], V$)
-], U$, { memoizeOptions: { resultEqualityCheck: kY } }), Whe = $([b0], (e) => e.filter(DY)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: kY } }), TJ], J$), Ghe = $([
- Whe,
+], U$, { memoizeOptions: { resultEqualityCheck: kY } }), Ghe = $([b0], (e) => e.filter(DY)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: kY } }), TJ], J$), Khe = $([
+ Ghe,
TJ,
n1
], EY), S0 = $([
x0,
n1,
b0
-], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], jJ), Khe = $([
+], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], jJ), qhe = $([
$([
- Ghe,
+ Khe,
$([b0], (e) => e.filter(DY)),
qJ,
JJ
@@ -53954,17 +54004,17 @@ var v0 = (e, t, n, r, i, a, o) => {
TJ,
jY,
w0
-], o1), qhe = $([
+], o1), Jhe = $([
x0,
n1,
$([b0], K$),
u1,
jY
-], f1, { memoizeOptions: { resultEqualityCheck: OY } }), Jhe = $([$([
+], f1, { memoizeOptions: { resultEqualityCheck: OY } }), Yhe = $([$([
p1,
jY,
MY
-], m1), jY], _1), Yhe = $([$([
+], m1), jY], _1), Xhe = $([$([
h1,
jY,
MY
@@ -53979,21 +54029,21 @@ var v0 = (e, t, n, r, i, a, o) => {
n1,
C0,
w0,
- Khe,
qhe,
+ Jhe,
$([
- Jhe,
+ Yhe,
$([$([
g1,
jY,
MY
], m1), jY], y1),
- Yhe
+ Xhe
], d1),
VU,
jY
], b1)
-], x1), Xhe = $([
+], x1), Zhe = $([
n1,
T0,
$([
@@ -54005,7 +54055,7 @@ var v0 = (e, t, n, r, i, a, o) => {
], E1), E0 = (e) => O1(e, jY(e), MY(e), !1), D0 = $([n1, E0], rY), O0 = $([$([
n1,
y0,
- Xhe,
+ Zhe,
D0
], T$)], NY), k0 = $([
VU,
@@ -54053,7 +54103,7 @@ var v0 = (e, t, n, r, i, a, o) => {
}), A0 = $([
Y1,
X1,
- yhe
+ bhe
], (e, t, n) => Z1(n.shared, e, t)), j0 = (e) => e.tooltip.settings.trigger, M0 = (e) => e.tooltip.settings.defaultIndex, N0 = $([
m0,
A0,
@@ -54066,14 +54116,14 @@ var v0 = (e, t, n, r, i, a, o) => {
T0
], u0), F0 = $([k0, P0], $1), I0 = $([N0], (e) => {
if (e) return e.dataKey;
-}), Zhe = $([N0], (e) => {
+}), Qhe = $([N0], (e) => {
if (e) return e.graphicalItemId;
}), L0 = $([
m0,
A0,
j0,
M0
-], f0), Qhe = $([N0, $([
+], f0), $he = $([N0, $([
BH,
VH,
VU,
@@ -54081,7 +54131,7 @@ var v0 = (e, t, n, r, i, a, o) => {
k0,
M0,
L0
-], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), $he = $([N0], (e) => e?.active ?? !1), ege = $([$([
+], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), ege = $([N0], (e) => e?.active ?? !1), tge = $([$([
L0,
P0,
TJ,
@@ -54111,26 +54161,26 @@ function z0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? R0(Object(n), !0).forEach(function(t) {
- tge(e, t, n[t]);
+ nge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tge(e, t, n) {
- return (t = nge(t)) in e ? Object.defineProperty(e, t, {
+function nge(e, t, n) {
+ return (t = rge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nge(e) {
- var t = rge(e, "string");
+function rge(e) {
+ var t = ige(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rge(e, t) {
+function ige(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54140,8 +54190,8 @@ function rge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var ige = () => Q(n1), age = () => {
- var e = ige(), t = Q(k0), n = Q(O0);
+var age = () => Q(n1), oge = () => {
+ var e = age(), t = Q(k0), n = Q(O0);
return FH(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
};
//#endregion
@@ -54160,26 +54210,26 @@ function V0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B0(Object(n), !0).forEach(function(t) {
- oge(e, t, n[t]);
+ sge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oge(e, t, n) {
- return (t = sge(t)) in e ? Object.defineProperty(e, t, {
+function sge(e, t, n) {
+ return (t = cge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sge(e) {
- var t = cge(e, "string");
+function cge(e) {
+ var t = lge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cge(e, t) {
+function lge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54189,7 +54239,7 @@ function cge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var lge = (e, t, n, r) => {
+var uge = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -54205,7 +54255,7 @@ var lge = (e, t, n, r) => {
x: 0,
y: 0
};
-}, uge = (e, t, n, r) => {
+}, dge = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
@@ -54235,7 +54285,7 @@ var lge = (e, t, n, r) => {
y: 0
};
};
-function dge(e, t) {
+function fge(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;
}
@@ -54272,7 +54322,7 @@ var H0 = (e, t, n, r, i) => {
}
}
return -1;
-}, U0 = () => Q(YJ), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, fge = $(k0, (e) => Jz(e, (e) => e.coordinate)), q0 = $([
+}, U0 = () => Q(YJ), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, pge = $(k0, (e) => Jz(e, (e) => e.coordinate)), q0 = $([
m0,
W0,
G0,
@@ -54282,7 +54332,7 @@ var H0 = (e, t, n, r, i) => {
x0,
r1,
T0
-], u0), pge = (e, t, n) => {
+], u0), mge = (e, t, n) => {
if (t != null) {
var r = m0(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
@@ -54300,7 +54350,7 @@ var H0 = (e, t, n, r, i) => {
k0,
K0,
Y0
-], d0), mge = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), hge = $([
+], d0), hge = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), gge = $([
Y0,
J0,
TJ,
@@ -54308,36 +54358,36 @@ var H0 = (e, t, n, r, i) => {
Z0,
p0,
W0
-], v0), gge = $([q0, J0], (e, t) => ({
+], v0), _ge = $([q0, J0], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), _ge = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && dge(e, o)) {
- var s = H0(RH(e, t), a, i, n, r), c = lge(t, i, s, e);
+})), vge = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && fge(e, o)) {
+ var s = H0(RH(e, t), a, i, n, r), c = uge(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, vge = (e, t, n, r, i, a, o) => {
+}, yge = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
var s = iJ(e, n);
if (s) {
- var c = H0(zH(s, t), o, a, r, i), l = uge(t, a, c, s);
+ var c = H0(zH(s, t), o, a, r, i), l = dge(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, yge = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? _ge(e, t, r, i, a, o, s) : vge(e, t, n, r, i, a, o);
-}, bge = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, bge = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? vge(e, t, r, i, a, o, s) : yge(e, t, n, r, i, a, o);
+}, xge = $((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;
}
-}), xge = $((e) => e.zIndex.zIndexMap, (e) => {
+}), Sge = $((e) => e.zIndex.zIndexMap, (e) => {
var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(eY));
return Array.from(new Set(t)).sort((e, t) => e - t);
}, { memoizeOptions: { resultEqualityCheck: AY } });
@@ -54357,26 +54407,26 @@ function $0(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) {
- Sge(e, t, n[t]);
+ Cge(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 Sge(e, t, n) {
- return (t = Cge(t)) in e ? Object.defineProperty(e, t, {
+function Cge(e, t, n) {
+ return (t = wge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Cge(e) {
- var t = wge(e, "string");
+function wge(e) {
+ var t = Tge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wge(e, t) {
+function Tge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54386,17 +54436,17 @@ function wge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Tge = { zIndexMap: Object.values(eY).reduce((e, t) => $0($0({}, e), {}, { [t]: {
+var Ege = { zIndexMap: Object.values(eY).reduce((e, t) => $0($0({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, Ege = new Set(Object.values(eY));
-function Dge(e) {
- return Ege.has(e);
+} }), {}) }, Dge = new Set(Object.values(eY));
+function Oge(e) {
+ return Dge.has(e);
}
var e2 = TV({
name: "zIndex",
- initialState: Tge,
+ initialState: Ege,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -54412,7 +54462,7 @@ var e2 = TV({
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !Dge(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !Oge(n) && delete e.zIndexMap[n]);
},
prepare: xV()
},
@@ -54435,19 +54485,19 @@ var e2 = TV({
prepare: xV()
}
}
-}), { registerZIndexPortal: Oge, unregisterZIndexPortal: kge, registerZIndexPortalElement: Age, unregisterZIndexPortalElement: jge } = e2.actions, Mge = e2.reducer;
+}), { registerZIndexPortal: kge, unregisterZIndexPortal: Age, registerZIndexPortalElement: jge, unregisterZIndexPortalElement: Mge } = e2.actions, Nge = e2.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function t2(e) {
var { zIndex: t, children: n } = e, r = KU() && t !== void 0 && t !== 0, i = sU(), a = Bz();
- (0, P.useLayoutEffect)(() => r ? (a(Oge({ zIndex: t })), () => {
- a(kge({ zIndex: t }));
+ (0, P.useLayoutEffect)(() => r ? (a(kge({ zIndex: t })), () => {
+ a(Age({ zIndex: t }));
}) : rz, [
a,
t,
r
]);
- var o = Q((e) => bge(e, t, i));
+ var o = Q((e) => xge(e, t, i));
return r ? o ? /*#__PURE__*/ (0, lh.createPortal)(n, o) : null : n;
}
//#endregion
@@ -54475,26 +54525,26 @@ function i2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r2(Object(n), !0).forEach(function(t) {
- Nge(e, t, n[t]);
+ Pge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Nge(e, t, n) {
- return (t = Pge(t)) in e ? Object.defineProperty(e, t, {
+function Pge(e, t, n) {
+ return (t = Fge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Pge(e) {
- var t = Fge(e, "string");
+function Fge(e) {
+ var t = Ige(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Fge(e, t) {
+function Ige(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54504,11 +54554,11 @@ function Fge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Ige(e) {
+function Lge(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, P.isValidElement)(t) ? /*#__PURE__*/ (0, P.cloneElement)(t, r) : /*#__PURE__*/ (0, P.createElement)(n, r);
}
-function Lge(e) {
+function Rge(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;
@@ -54533,15 +54583,15 @@ function Lge(e) {
payloadIndex: f,
className: Pm("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ P.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ P.createElement(Ige, {
+ return /*#__PURE__*/ P.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ P.createElement(Lge, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function Rge(e) {
- var t = age(), n = LU(), r = HU(), i = U0();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ P.createElement(Lge, n2({}, e, {
+function zge(e) {
+ var t = oge(), n = LU(), r = HU(), i = U0();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ P.createElement(Rge, n2({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -54550,7 +54600,7 @@ function Rge(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var a2 = /*#__PURE__*/ (0, P.createContext)(null), zge = () => (0, P.useContext)(a2), Bge = (/* @__PURE__ */ O((/* @__PURE__ */ T(((e, t) => {
+var a2 = /*#__PURE__*/ (0, P.createContext)(null), Bge = () => (0, P.useContext)(a2), Vge = (/* @__PURE__ */ O((/* @__PURE__ */ T(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -54637,7 +54687,7 @@ var a2 = /*#__PURE__*/ (0, P.createContext)(null), zge = () => (0, P.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, o2 = new Bge(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
+})))(), 1)).default, o2 = new Vge(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
if (!KR(n)) return e[n];
@@ -54653,10 +54703,10 @@ var a2 = /*#__PURE__*/ (0, P.createContext)(null), zge = () => (0, P.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), Vge = u2.reducer, { createEventEmitter: Hge } = u2.actions;
+}), Hge = u2.reducer, { createEventEmitter: Uge } = u2.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function Uge(e) {
+function Wge(e) {
return e.tooltip.syncInteraction;
}
var d2 = TV({
@@ -54683,7 +54733,7 @@ var d2 = TV({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: f2, setDataStartEndIndexes: Wge, setComputedData: Gge } = d2.actions, Kge = d2.reducer, qge = ["x", "y"];
+}), { setChartData: f2, setDataStartEndIndexes: Gge, setComputedData: Kge } = d2.actions, qge = d2.reducer, Jge = ["x", "y"];
function p2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -54698,26 +54748,26 @@ function m2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? p2(Object(n), !0).forEach(function(t) {
- Jge(e, t, n[t]);
+ Yge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Jge(e, t, n) {
- return (t = Yge(t)) in e ? Object.defineProperty(e, t, {
+function Yge(e, t, n) {
+ return (t = Xge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Yge(e) {
- var t = Xge(e, "string");
+function Xge(e) {
+ var t = Zge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Xge(e, t) {
+function Zge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54727,16 +54777,16 @@ function Xge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Zge(e, t) {
+function Qge(e, t) {
if (e == null) return {};
- var n, r, i = Qge(e, t);
+ var n, r, i = $ge(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 Qge(e, t) {
+function $ge(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54745,7 +54795,7 @@ function Qge(e, t) {
}
return n;
}
-function $ge() {
+function e_e() {
var e = Q(XJ), t = Q(QJ), n = Bz(), r = Q(ZJ), i = Q(k0), a = HU(), o = FU(), s = Q((e) => e.rootProps.className);
(0, P.useEffect)(() => {
if (e == null) return rz;
@@ -54754,7 +54804,7 @@ function $ge() {
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 = Zge(d, qge), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m2(m2({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = Qge(d, Jge), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m2(m2({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
@@ -54815,12 +54865,12 @@ function $ge() {
o
]);
}
-function e_e() {
+function t_e() {
var e = Q(XJ), t = Q(QJ), n = Bz();
(0, P.useEffect)(() => {
if (e == null) return rz;
var r = (r, i, a) => {
- t !== a && e === r && n(Wge(i));
+ t !== a && e === r && n(Gge(i));
};
return o2.on(c2, r), () => {
o2.off(c2, r);
@@ -54831,14 +54881,14 @@ function e_e() {
e
]);
}
-function t_e() {
+function n_e() {
var e = Bz();
(0, P.useEffect)(() => {
- e(Hge());
- }, [e]), $ge(), e_e();
+ e(Uge());
+ }, [e]), e_e(), t_e();
}
-function n_e(e, t, n, r, i, a) {
- var o = Q((n) => pge(n, e, t)), s = Q(Zhe), c = Q(QJ), l = Q(XJ), u = Q(ZJ), d = Q(Uge)?.active, f = FU();
+function r_e(e, t, n, r, i, a) {
+ var o = Q((n) => mge(n, e, t)), s = Q(Qhe), c = Q(QJ), l = Q(XJ), u = Q(ZJ), d = Q(Wge)?.active, f = FU();
(0, P.useEffect)(() => {
if (!d && l != null && c != null) {
var e = a0({
@@ -54882,26 +54932,26 @@ function g2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h2(Object(n), !0).forEach(function(t) {
- r_e(e, t, n[t]);
+ i_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function r_e(e, t, n) {
- return (t = i_e(t)) in e ? Object.defineProperty(e, t, {
+function i_e(e, t, n) {
+ return (t = a_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function i_e(e) {
- var t = a_e(e, "string");
+function a_e(e) {
+ var t = o_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function a_e(e, t) {
+function o_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54911,13 +54961,13 @@ function a_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function o_e(e) {
+function s_e(e) {
return e.dataKey;
}
-function s_e(e, t) {
+function c_e(e, t) {
return /*#__PURE__*/ P.isValidElement(e) ? /*#__PURE__*/ P.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ P.createElement(e, t) : /*#__PURE__*/ P.createElement(UG, t);
}
-var _2 = [], c_e = {
+var _2 = [], l_e = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -54943,10 +54993,10 @@ var _2 = [], c_e = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function l_e(e) {
- var t = pz(e, c_e), { 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 = Bz(), S = typeof v == "number" ? String(v) : v;
+function u_e(e) {
+ var t = pz(e, l_e), { 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 = Bz(), S = typeof v == "number" ? String(v) : v;
(0, P.useEffect)(() => {
- x(Che({
+ x(whe({
shared: g,
trigger: _,
axisId: b,
@@ -54961,12 +55011,12 @@ function l_e(e) {
n,
S
]);
- var C = FU(), w = oK(), T = vhe(g), { activeIndex: E, isActive: D } = Q((e) => gge(e, T, _, S)) ?? {}, O = Q((e) => hge(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => mge(e, T, _, S)), j = O, M = zge(), N = n ?? D ?? !1, [F, I] = Zz([j, N]), ee = T === "axis" ? k : void 0;
- n_e(T, _, A, ee, E, N);
+ var C = FU(), w = oK(), T = yhe(g), { activeIndex: E, isActive: D } = Q((e) => _ge(e, T, _, S)) ?? {}, O = Q((e) => gge(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => hge(e, T, _, S)), j = O, M = Bge(), N = n ?? D ?? !1, [F, I] = Zz([j, N]), ee = T === "axis" ? k : void 0;
+ r_e(T, _, A, ee, E, N);
var te = y ?? M;
if (te == null || C == null || T == null) return null;
var ne = j ?? _2;
- N || (ne = _2), s && ne.length && (ne = Rz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, o_e));
+ N || (ne = _2), s && ne.length && (ne = Rz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, s_e));
var re = ne.length > 0, ie = g2(g2({}, t), {}, {
payload: ne,
label: ee,
@@ -54991,8 +55041,8 @@ function l_e(e) {
lastBoundingBox: F,
innerRef: I,
hasPortalFromProps: !!y
- }, s_e(o, ie));
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ (0, lh.createPortal)(ae, te), N && /*#__PURE__*/ P.createElement(Rge, {
+ }, c_e(o, ie));
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ (0, lh.createPortal)(ae, te), N && /*#__PURE__*/ P.createElement(zge, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -55006,19 +55056,19 @@ var v2 = (e) => null;
v2.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function u_e(e, t, n) {
- return (t = d_e(t)) in e ? Object.defineProperty(e, t, {
+function d_e(e, t, n) {
+ return (t = f_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function d_e(e) {
- var t = f_e(e, "string");
+function f_e(e) {
+ var t = p_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function f_e(e, t) {
+function p_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55028,9 +55078,9 @@ function f_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var p_e = class {
+var m_e = class {
constructor(e) {
- u_e(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ d_e(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -55063,30 +55113,30 @@ function y2(e, t) {
}
return n;
}
-function m_e(e) {
+function h_e(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) {
- h_e(e, t, n[t]);
+ g_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function h_e(e, t, n) {
- return (t = g_e(t)) in e ? Object.defineProperty(e, t, {
+function g_e(e, t, n) {
+ return (t = __e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function g_e(e) {
- var t = __e(e, "string");
+function __e(e) {
+ var t = v_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function __e(e, t) {
+function v_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55096,10 +55146,10 @@ function __e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b2 = m_e({}, {
+var b2 = h_e({}, {
cacheSize: 2e3,
enableCache: !0
-}), x2 = new p_e(b2.cacheSize), v_e = {
+}), x2 = new m_e(b2.cacheSize), y_e = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -55108,13 +55158,13 @@ var b2 = m_e({}, {
border: "none",
whiteSpace: "pre"
}, S2 = "recharts_measurement_span";
-function y_e(e, t) {
+function b_e(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
var C2 = (e, t) => {
try {
var n = document.getElementById(S2);
- n || (n = document.createElement("span"), n.setAttribute("id", S2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, v_e, t), n.textContent = `${e}`;
+ n || (n = document.createElement("span"), n.setAttribute("id", S2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, y_e, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -55133,24 +55183,24 @@ var C2 = (e, t) => {
height: 0
};
if (!b2.enableCache) return C2(e, t);
- var n = y_e(e, t), r = x2.get(n);
+ var n = b_e(e, t), r = x2.get(n);
if (r) return r;
var i = C2(e, t);
return x2.set(n, i), i;
}, T2;
-function b_e(e, t, n) {
- return (t = x_e(t)) in e ? Object.defineProperty(e, t, {
+function x_e(e, t, n) {
+ return (t = S_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function x_e(e) {
- var t = S_e(e, "string");
+function S_e(e) {
+ var t = C_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function S_e(e, t) {
+function C_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55160,7 +55210,7 @@ function S_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, C_e = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, w_e = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, T_e = {
+var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, w_e = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, T_e = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, E_e = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -55168,7 +55218,7 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, E_e = [
+}, D_e = [
"cm",
"mm",
"pt",
@@ -55177,20 +55227,20 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
"Q",
"px"
];
-function D_e(e) {
- return E_e.includes(e);
+function O_e(e) {
+ return D_e.includes(e);
}
var O2 = "NaN";
-function O_e(e, t) {
- return e * T_e[t];
+function k_e(e, t) {
+ return e * E_e[t];
}
var k2 = class e {
static parse(t) {
- var [, n, r] = w_e.exec(t) ?? [];
+ var [, n, r] = T_e.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, KR(e) && (this.unit = ""), t !== "" && !C_e.test(t) && (this.num = NaN, this.unit = ""), D_e(t) && (this.num = O_e(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, KR(e) && (this.unit = ""), t !== "" && !w_e.test(t) && (this.num = NaN, this.unit = ""), O_e(t) && (this.num = k_e(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -55211,7 +55261,7 @@ var k2 = class e {
return KR(this.num);
}
};
-T2 = k2, b_e(k2, "NaN", new T2(NaN, ""));
+T2 = k2, x_e(k2, "NaN", new T2(NaN, ""));
function A2(e) {
if (e == null || e.includes(O2)) return O2;
for (var t = e; t.includes("*") || t.includes("/");) {
@@ -55227,31 +55277,31 @@ function A2(e) {
return t;
}
var j2 = /\(([^()]*)\)/;
-function k_e(e) {
+function A_e(e) {
for (var t = e, n; (n = j2.exec(t)) != null;) {
var [, r] = n;
t = t.replace(j2, A2(r));
}
return t;
}
-function A_e(e) {
+function j_e(e) {
var t = e.replace(/\s+/g, "");
- return t = k_e(t), t = A2(t), t;
+ return t = A_e(t), t = A2(t), t;
}
-function j_e(e) {
+function M_e(e) {
try {
- return A_e(e);
+ return j_e(e);
} catch {
return O2;
}
}
function M2(e) {
- var t = j_e(e.slice(5, -1));
+ var t = M_e(e.slice(5, -1));
return t === O2 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var M_e = [
+var N_e = [
"x",
"y",
"lineHeight",
@@ -55260,7 +55310,7 @@ var M_e = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], N_e = [
+], P_e = [
"dx",
"dy",
"angle",
@@ -55278,14 +55328,14 @@ function N2() {
}
function P2(e, t) {
if (e == null) return {};
- var n, r, i = P_e(e, t);
+ var n, r, i = F_e(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 P_e(e, t) {
+function F_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55312,7 +55362,7 @@ var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
function L2(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function F_e(e) {
+function I_e(e) {
return ez(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var R2 = (e, t, n, r) => e.reduce((e, i) => {
@@ -55326,16 +55376,16 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), I_e = "…", B2 = (e, t, n, r, i, a, o, s) => {
+}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), L_e = "…", B2 = (e, t, n, r, i, a, o, s) => {
var c = I2({
breakAll: n,
style: r,
- children: e.slice(0, t) + I_e
+ children: e.slice(0, t) + L_e
});
if (!c) return [!1, []];
var l = R2(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || z2(l).width > Number(a), l];
-}, L_e = (e, t, n, r, i) => {
+}, R_e = (e, t, n, r, i) => {
var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = R2(t, r, n, i);
if (!l || i || !(d.length > a || z2(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
@@ -55350,7 +55400,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}, V2 = (e) => [{
words: ez(e) ? [] : e.toString().split(F2),
width: void 0
-}], R_e = (e) => {
+}], z_e = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
if ((t || n) && !XG.isSsr) {
var s, c, l = I2({
@@ -55362,7 +55412,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
} else return V2(r);
- return L_e({
+ return R_e({
breakAll: a,
children: r,
maxLines: o,
@@ -55370,7 +55420,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}, s, c, t, !!n);
}
return V2(r);
-}, H2 = "#808080", z_e = {
+}, H2 = "#808080", B_e = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
@@ -55382,7 +55432,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, U2 = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
- var n = pz(e, z_e), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, M_e), f = (0, P.useMemo)(() => R_e({
+ var n = pz(e, B_e), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, N_e), f = (0, P.useMemo)(() => z_e({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -55396,7 +55446,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, N_e);
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, P_e);
if (!JR(r) || !JR(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
if (!dH(y) || !dH(b)) return null;
@@ -55448,26 +55498,26 @@ function G2(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) {
- B_e(e, t, n[t]);
+ V_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function B_e(e, t, n) {
- return (t = V_e(t)) in e ? Object.defineProperty(e, t, {
+function V_e(e, t, n) {
+ return (t = H_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function V_e(e) {
- var t = H_e(e, "string");
+function H_e(e) {
+ var t = U_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function H_e(e, t) {
+function U_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55477,7 +55527,7 @@ function H_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var U_e = (e) => {
+var W_e = (e) => {
var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = PU(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 = {
@@ -55570,17 +55620,17 @@ var U_e = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, W_e = ["labelRef"], G_e = ["content"];
+}, G_e = ["labelRef"], K_e = ["content"];
function K2(e, t) {
if (e == null) return {};
- var n, r, i = K_e(e, t);
+ var n, r, i = q_e(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 K_e(e, t) {
+function q_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55603,26 +55653,26 @@ function J2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q2(Object(n), !0).forEach(function(t) {
- q_e(e, t, n[t]);
+ J_e(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 q_e(e, t, n) {
- return (t = J_e(t)) in e ? Object.defineProperty(e, t, {
+function J_e(e, t, n) {
+ return (t = Y_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function J_e(e) {
- var t = Y_e(e, "string");
+function Y_e(e) {
+ var t = X_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Y_e(e, t) {
+function X_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55661,7 +55711,7 @@ var X2 = /*#__PURE__*/ (0, P.createContext)(null), Z2 = (e) => {
}, Q2 = () => {
var e = (0, P.useContext)(X2), t = FU();
return e || (t ? PU(t) : void 0);
-}, $2 = /*#__PURE__*/ (0, P.createContext)(null), X_e = (e) => {
+}, $2 = /*#__PURE__*/ (0, P.createContext)(null), Z_e = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, P.useMemo)(() => ({
cx: t,
cy: n,
@@ -55683,11 +55733,11 @@ var X2 = /*#__PURE__*/ (0, P.createContext)(null), Z2 = (e) => {
}, e4 = () => {
var e = (0, P.useContext)($2), t = Q(SY);
return e || t;
-}, Z_e = (e) => {
+}, Q_e = (e) => {
var { value: t, formatter: n } = e, r = ez(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, t4 = (e) => e != null && typeof e == "function", Q_e = (e, t) => GR(t - e) * Math.min(Math.abs(t - e), 360), $_e = (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 = Q_e(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, t4 = (e) => e != null && typeof e == "function", $_e = (e, t) => GR(t - e) * Math.min(Math.abs(t - e), 360), eve = (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 = $_e(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -55711,7 +55761,7 @@ var X2 = /*#__PURE__*/ (0, P.createContext)(null), Z2 = (e) => {
id: S,
d: x
})), /*#__PURE__*/ P.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, eve = (e, t, n) => {
+}, tve = (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 } = Qq(r, i, o + t, l);
@@ -55747,14 +55797,14 @@ var X2 = /*#__PURE__*/ (0, P.createContext)(null), Z2 = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, n4 = (e) => e != null && "cx" in e && Z(e.cx), tve = {
+}, n4 = (e) => e != null && "cx" in e && Z(e.cx), nve = {
angle: 0,
offset: 5,
zIndex: eY.label,
position: "middle",
textBreakAll: !1
};
-function nve(e) {
+function rve(e) {
if (!n4(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
@@ -55767,24 +55817,24 @@ function nve(e) {
};
}
function r4(e) {
- var t = pz(e, tve), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : PU(n), m, h, g = nve(p);
+ var t = pz(e, nve), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : PU(n), m, h, g = rve(p);
if (!p || ez(a) && ez(o) && !/*#__PURE__*/ (0, P.isValidElement)(s) && typeof s != "function") return null;
var _ = J2(J2({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, P.isValidElement)(s)) {
- var { labelRef: v } = _, y = K2(_, W_e);
+ var { labelRef: v } = _, y = K2(_, G_e);
return /*#__PURE__*/ (0, P.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = K2(_, G_e);
+ var { content: b } = _, x = K2(_, K_e);
if (m = /*#__PURE__*/ (0, P.createElement)(s, x), /*#__PURE__*/ (0, P.isValidElement)(m)) return m;
- } else m = Z_e(t);
+ } else m = Q_e(t);
var S = zL(t);
if (n4(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return $_e(t, i, m, S, p);
- h = eve(p, t.offset, t.position);
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return eve(t, i, m, S, p);
+ h = tve(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = U_e({
+ var C = W_e({
viewBox: g,
position: i,
offset: t.offset,
@@ -55828,13 +55878,13 @@ function a4(e) {
var { label: t, labelRef: n } = e;
return i4(t, Q2(), n) || null;
}
-function rve(e) {
+function ive(e) {
var { label: t } = e;
return i4(t, e4()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var ive = ["valueAccessor"], ave = [
+var ave = ["valueAccessor"], ove = [
"dataKey",
"clockWise",
"id",
@@ -55852,14 +55902,14 @@ function o4() {
}
function s4(e, t) {
if (e == null) return {};
- var n, r, i = ove(e, t);
+ var n, r, i = sve(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ove(e, t) {
+function sve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55868,18 +55918,18 @@ function ove(e, t) {
}
return n;
}
-var sve = (e) => {
+var cve = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (F_e(t)) return t;
-}, c4 = /*#__PURE__*/ (0, P.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, P.createContext)(void 0), cve = u4.Provider;
-function lve() {
+ if (I_e(t)) return t;
+}, c4 = /*#__PURE__*/ (0, P.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, P.createContext)(void 0), lve = u4.Provider;
+function uve() {
return (0, P.useContext)(c4);
}
-function uve() {
+function dve() {
return (0, P.useContext)(u4);
}
function d4(e) {
- var { valueAccessor: t = sve } = e, n = s4(e, ive), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, ave), l = lve(), u = uve(), d = l || u;
+ var { valueAccessor: t = cve } = e, n = s4(e, ave), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, ove), l = uve(), u = dve(), d = l || u;
return !d || !d.length ? null : /*#__PURE__*/ P.createElement(t2, { zIndex: s ?? eY.label }, /*#__PURE__*/ P.createElement(UL, { className: "recharts-label-list" }, d.map((e, i) => {
var s = ez(r) ? t(e, i) : vH(e.payload, r), l = ez(a) ? {} : { id: `${a}-${i}` };
return /*#__PURE__*/ P.createElement(r4, o4({ key: `label-${i}` }, zL(e), c, l, {
@@ -55903,12 +55953,12 @@ function f4(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var dve = [
+var fve = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], fve;
+], pve;
function p4() {
return p4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -55918,16 +55968,16 @@ function p4() {
return e;
}, p4.apply(null, arguments);
}
-function pve(e, t) {
+function mve(e, t) {
if (e == null) return {};
- var n, r, i = mve(e, t);
+ var n, r, i = hve(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 mve(e, t) {
+function hve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55936,10 +55986,10 @@ function mve(e, t) {
}
return n;
}
-function hve(e, t) {
+function gve(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, gve = function() {
+var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, _ve = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
@@ -55950,9 +56000,9 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, gve = function() {
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, h4 = (e, t) => {
- var n = gve(e);
+ var n = _ve(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => WR(fve ||= hve([
+ var r = n.map((e) => e.reduce((e, t, n) => WR(pve ||= gve([
"",
"",
"",
@@ -55960,15 +56010,15 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, gve = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, _ve = (e, t, n) => {
+}, vve = (e, t, n) => {
var r = h4(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${h4(Array.from(t).reverse(), n).slice(1)}`;
}, g4 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = pve(e, dve);
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = mve(e, fve);
if (!t || !t.length) return null;
var o = Pm("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = _ve(t, r, i);
+ var s = a.stroke && a.stroke !== "none", c = vve(t, r, i);
return /*#__PURE__*/ P.createElement("g", { className: o }, /*#__PURE__*/ P.createElement("path", p4({}, zL(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
@@ -56057,7 +56107,7 @@ var C4 = () => void 0, w4 = $([
w4,
z$,
C1
-], w1), vve = $([C1, $([
+], w1), yve = $([C1, $([
R$,
w4,
T4,
@@ -56077,7 +56127,7 @@ var C4 = () => void 0, w4 = $([
}, O4 = $([$([
E4,
C1,
- vve,
+ yve,
D4
], T$)], NY), k4 = $([
VU,
@@ -56094,7 +56144,7 @@ var C4 = () => void 0, w4 = $([
H1,
k4,
CY
-], W1), yve = $([A4], (e) => {
+], W1), bve = $([A4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -56102,7 +56152,7 @@ var C4 = () => void 0, w4 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), bve = $([
+}), xve = $([
VU,
E4,
O4,
@@ -56110,11 +56160,11 @@ var C4 = () => void 0, w4 = $([
H1,
k4,
CY
-], K1), xve = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
+], K1), Sve = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), Sve = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
+}), Cve = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), Cve = [
+}), wve = [
"gridType",
"radialLines",
"angleAxisId",
@@ -56127,16 +56177,16 @@ var C4 = () => void 0, w4 = $([
"polarRadius",
"zIndex"
];
-function wve(e, t) {
+function Tve(e, t) {
if (e == null) return {};
- var n, r, i = Tve(e, t);
+ var n, r, i = Eve(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Tve(e, t) {
+function Eve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56168,26 +56218,26 @@ function N4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M4(Object(n), !0).forEach(function(t) {
- Eve(e, t, n[t]);
+ Dve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Eve(e, t, n) {
- return (t = Dve(t)) in e ? Object.defineProperty(e, t, {
+function Dve(e, t, n) {
+ return (t = Ove(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dve(e) {
- var t = Ove(e, "string");
+function Ove(e) {
+ var t = kve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ove(e, t) {
+function kve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56197,13 +56247,13 @@ function Ove(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var kve = (e, t, n, r) => {
+var Ave = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = Qq(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, Ave = (e) => {
+}, jve = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
var s = N4({ stroke: "#ccc" }, LL(e));
@@ -56234,9 +56284,9 @@ var kve = (e, t, n, r) => {
}, LL(e));
return /*#__PURE__*/ P.createElement("path", j4({}, n, {
className: Pm("recharts-polar-grid-concentric-polygon", e.className),
- d: kve(t, e.cx, e.cy, e.polarAngles)
+ d: Ave(t, e.cx, e.cy, e.polarAngles)
}));
-}, jve = (e) => {
+}, Mve = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
@@ -56250,14 +56300,14 @@ var kve = (e, t, n, r) => {
radius: t
}));
}));
-}, Mve = {
+}, Nve = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
zIndex: eY.grid
}, I4 = (e) => {
- var t = pz(e, Mve), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = wve(t, Cve), m = Q(SY), h = Q((e) => xve(e, i)), g = Q((e) => Sve(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = pz(e, Nve), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = Tve(t, wve), m = Q(SY), h = Q((e) => Sve(e, i)), g = Q((e) => Cve(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = N4({
cx: m?.cx ?? o ?? 0,
@@ -56268,13 +56318,13 @@ var kve = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ P.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ P.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ P.createElement(jve, j4({
+ return b <= 0 ? null : /*#__PURE__*/ P.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ P.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ P.createElement(Mve, j4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ P.createElement(Ave, j4({
+ })), /*#__PURE__*/ P.createElement(jve, j4({
gridType: n,
radialLines: r
}, y, {
@@ -56290,7 +56340,7 @@ function L4(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function Nve(e, t = vz) {
+function Pve(e, t = vz) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
@@ -56303,7 +56353,7 @@ function Nve(e, t = vz) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function Pve(e, t = vz) {
+function Fve(e, t = vz) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
@@ -56336,7 +56386,7 @@ var R4 = TV({
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: Fve, removeRadiusAxis: Ive, addAngleAxis: Lve, removeAngleAxis: Rve } = R4.actions, zve = R4.reducer;
+}), { addRadiusAxis: Ive, removeRadiusAxis: Lve, addAngleAxis: Rve, removeAngleAxis: zve } = R4.actions, Bve = R4.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function z4(e) {
@@ -56344,12 +56394,12 @@ function z4(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var Bve = ["type"], Vve = [
+var Vve = ["type"], Hve = [
"cx",
"cy",
"angle",
"axisLine"
-], Hve = [
+], Uve = [
"angle",
"tickFormatter",
"stroke",
@@ -56378,26 +56428,26 @@ function H4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V4(Object(n), !0).forEach(function(t) {
- Uve(e, t, n[t]);
+ Wve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Uve(e, t, n) {
- return (t = Wve(t)) in e ? Object.defineProperty(e, t, {
+function Wve(e, t, n) {
+ return (t = Gve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Wve(e) {
- var t = Gve(e, "string");
+function Gve(e) {
+ var t = Kve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Gve(e, t) {
+function Kve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56409,14 +56459,14 @@ function Gve(e, t) {
}
function U4(e, t) {
if (e == null) return {};
- var n, r, i = Kve(e, t);
+ var n, r, i = qve(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 Kve(e, t) {
+function qve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56425,20 +56475,20 @@ function Kve(e, t) {
}
return n;
}
-var qve = "radiusAxis";
-function Jve(e) {
+var Jve = "radiusAxis";
+function Yve(e) {
var t = Bz(), n = GU(), r = (0, P.useMemo)(() => {
- var { type: t } = e, r = U4(e, Bve), i = iY(n, "radiusAxis", t);
+ var { type: t } = e, r = U4(e, Vve), i = iY(n, "radiusAxis", t);
if (i != null) return H4(H4({}, r), {}, { type: i });
}, [e, n]);
- return (0, P.useEffect)(() => r == null ? rz : (t(Fve(r)), () => {
- t(Ive(r));
+ return (0, P.useEffect)(() => r == null ? rz : (t(Ive(r)), () => {
+ t(Lve(r));
}), [t, r]), null;
}
-var Yve = (e, t, n, r) => {
+var Xve = (e, t, n, r) => {
var { coordinate: i } = e;
return Qq(n, r, i, t);
-}, Xve = (e) => {
+}, Zve = (e) => {
var t;
switch (e) {
case "left":
@@ -56450,28 +56500,28 @@ var Yve = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, Zve = (e, t, n, r) => {
- var i = Nve(r, (e) => e.coordinate || 0);
+}, Qve = (e, t, n, r) => {
+ var i = Pve(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: Pve(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: Fve(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, Qve = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = U4(e, Vve), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = Qq(n, r, s[0], i), l = Qq(n, r, s[1], i), u = H4(H4(H4({}, LL(o)), {}, { fill: "none" }, LL(a)), {}, {
+}, $ve = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = U4(e, Hve), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = Qq(n, r, s[0], i), l = Qq(n, r, s[1], i), u = H4(H4(H4({}, LL(o)), {}, { fill: "none" }, LL(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ P.createElement("line", B4({ className: "recharts-polar-radius-axis-line" }, u));
-}, $ve = (e, t, n) => /*#__PURE__*/ P.isValidElement(e) ? /*#__PURE__*/ P.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ P.createElement(U2, B4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), eye = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = U4(e, Hve), s = Xve(e.orientation), c = LL(o), l = RL(a), u = t.map((t, o) => {
- var u = Yve(t, e.angle, e.cx, e.cy), d = H4(H4(H4(H4({
+}, eye = (e, t, n) => /*#__PURE__*/ P.isValidElement(e) ? /*#__PURE__*/ P.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ P.createElement(U2, B4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), tye = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = U4(e, Uve), s = Zve(e.orientation), c = LL(o), l = RL(a), u = t.map((t, o) => {
+ var u = Xve(t, e.angle, e.cx, e.cy), d = H4(H4(H4(H4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
@@ -56481,18 +56531,18 @@ var Yve = (e, t, n, r) => {
return /*#__PURE__*/ P.createElement(UL, B4({
className: Pm("recharts-polar-radius-axis-tick", z4(a)),
key: `tick-${t.coordinate}`
- }, dz(e, t, o)), $ve(a, d, r ? r(t.value, o) : t.value));
+ }, dz(e, t, o)), eye(a, d, r ? r(t.value, o) : t.value));
});
return /*#__PURE__*/ P.createElement(UL, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, tye = (e) => {
+}, nye = (e) => {
var { radiusAxisId: t } = e, n = Q(SY), r = Q((e) => O4(e, "radiusAxis", t)), i = Q((e) => A4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = H4(H4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ P.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: Pm("recharts-polar-radius-axis", qve, a.className) }, s && Qve(a, i), o && eye(a, i), /*#__PURE__*/ P.createElement(X_e, Zve(a.angle, a.cx, a.cy, i), /*#__PURE__*/ P.createElement(rve, { label: a.label }), a.children)));
+ return /*#__PURE__*/ P.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: Pm("recharts-polar-radius-axis", Jve, a.className) }, s && $ve(a, i), o && tye(a, i), /*#__PURE__*/ P.createElement(Z_e, Qve(a.angle, a.cx, a.cy, i), /*#__PURE__*/ P.createElement(ive, { label: a.label }), a.children)));
};
function W4(e) {
var t = pz(e, nY);
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(Jve, {
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(Yve, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -56509,12 +56559,12 @@ function W4(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ P.createElement(tye, t));
+ }), /*#__PURE__*/ P.createElement(nye, t));
}
W4.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var nye = ["children", "type"], rye = ["ref"];
+var rye = ["children", "type"], iye = ["ref"];
function G4() {
return G4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -56538,26 +56588,26 @@ function q4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K4(Object(n), !0).forEach(function(t) {
- iye(e, t, n[t]);
+ aye(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iye(e, t, n) {
- return (t = aye(t)) in e ? Object.defineProperty(e, t, {
+function aye(e, t, n) {
+ return (t = oye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aye(e) {
- var t = oye(e, "string");
+function oye(e) {
+ var t = sye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oye(e, t) {
+function sye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56569,14 +56619,14 @@ function oye(e, t) {
}
function J4(e, t) {
if (e == null) return {};
- var n, r, i = sye(e, t);
+ var n, r, i = cye(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 sye(e, t) {
+function cye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56585,17 +56635,17 @@ function sye(e, t) {
}
return n;
}
-var Y4 = 1e-5, cye = Math.cos(Xq(45)), lye = "angleAxis";
-function uye(e) {
+var Y4 = 1e-5, lye = Math.cos(Xq(45)), uye = "angleAxis";
+function dye(e) {
var t = Bz(), n = GU(), r = (0, P.useMemo)(() => {
- var { children: t, type: r } = e, i = J4(e, nye), a = iY(n, "angleAxis", r);
+ var { children: t, type: r } = e, i = J4(e, rye), a = iY(n, "angleAxis", r);
if (a != null) return q4(q4({}, i), {}, { type: a });
}, [e, n]), i = r === Q((e) => fY(e, r?.id));
- return (0, P.useEffect)(() => r == null ? rz : (t(Lve(r)), () => {
- t(Rve(r));
+ return (0, P.useEffect)(() => r == null ? rz : (t(Rve(r)), () => {
+ t(zve(r));
}), [t, r]), i ? e.children : null;
}
-var dye = (e, t) => {
+var fye = (e, t) => {
var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = Qq(n, r, i, e.coordinate), l = Qq(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
@@ -56603,13 +56653,13 @@ var dye = (e, t) => {
x2: l.x,
y2: l.y
};
-}, fye = (e, t) => {
+}, pye = (e, t) => {
var n = Math.cos(Xq(-e.coordinate));
return n > Y4 ? t === "outer" ? "start" : "end" : n < -Y4 ? t === "outer" ? "end" : "start" : "middle";
-}, pye = (e) => {
- var t = Math.cos(Xq(-e.coordinate)), n = Math.sin(Xq(-e.coordinate));
- return Math.abs(t) <= cye ? n > 0 ? "start" : "end" : "middle";
}, mye = (e) => {
+ var t = Math.cos(Xq(-e.coordinate)), n = Math.sin(Xq(-e.coordinate));
+ return Math.abs(t) <= lye ? n > 0 ? "start" : "end" : "middle";
+}, hye = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
var s = q4(q4({}, LL(e)), {}, { fill: "none" }, LL(a));
@@ -56620,12 +56670,12 @@ var dye = (e, t) => {
}));
var c = o.map((e) => Qq(t, n, r, e.coordinate));
return /*#__PURE__*/ P.createElement(g4, G4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, hye = (e) => {
+}, gye = (e) => {
var { tick: t, tickProps: n, value: r } = e;
return t ? /*#__PURE__*/ P.isValidElement(t) ? /*#__PURE__*/ P.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ P.createElement(U2, G4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, gye = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = LL(e), { ref: s } = o, c = J4(o, rye), l = RL(t), u = q4(q4({}, c), {}, { fill: "none" }, LL(n)), d = a.map((a, o) => {
- var s = dye(a, e), d = fye(a, e.orientation), f = pye(a), p = q4(q4(q4({}, c), {}, {
+}, _ye = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = LL(e), { ref: s } = o, c = J4(o, iye), l = RL(t), u = q4(q4({}, c), {}, { fill: "none" }, LL(n)), d = a.map((a, o) => {
+ var s = fye(a, e), d = pye(a, e.orientation), f = mye(a), p = q4(q4(q4({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -56639,25 +56689,25 @@ var dye = (e, t) => {
return /*#__PURE__*/ P.createElement(UL, G4({
className: Pm("recharts-polar-angle-axis-tick", z4(t)),
key: `tick-${a.coordinate}`
- }, dz(e, a, o)), n && /*#__PURE__*/ P.createElement("line", G4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ P.createElement(hye, {
+ }, dz(e, a, o)), n && /*#__PURE__*/ P.createElement("line", G4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ P.createElement(gye, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
return /*#__PURE__*/ P.createElement(UL, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, _ye = (e) => {
- var { angleAxisId: t } = e, n = Q(SY), r = Q((e) => O4(e, "angleAxis", t)), i = sU(), a = Q((e) => yve(e, "angleAxis", t, i));
+}, vye = (e) => {
+ var { angleAxisId: t } = e, n = Q(SY), r = Q((e) => O4(e, "angleAxis", t)), i = sU(), a = Q((e) => bve(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = q4(q4(q4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ P.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: Pm("recharts-polar-angle-axis", lye, o.className) }, /*#__PURE__*/ P.createElement(mye, o), /*#__PURE__*/ P.createElement(gye, o)));
+ return /*#__PURE__*/ P.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: Pm("recharts-polar-angle-axis", uye, o.className) }, /*#__PURE__*/ P.createElement(hye, o), /*#__PURE__*/ P.createElement(_ye, o)));
};
function X4(e) {
var t = pz(e, tY);
- return /*#__PURE__*/ P.createElement(uye, {
+ return /*#__PURE__*/ P.createElement(dye, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -56674,12 +56724,12 @@ function X4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ P.createElement(_ye, t));
+ }, /*#__PURE__*/ P.createElement(vye, t));
}
X4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var vye = /* @__PURE__ */ T(((e) => {
+var yye = /* @__PURE__ */ T(((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) {
@@ -56708,13 +56758,13 @@ var vye = /* @__PURE__ */ T(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), yye = (/* @__PURE__ */ T(((e, t) => {
- t.exports = vye();
+})), bye = (/* @__PURE__ */ T(((e, t) => {
+ t.exports = yye();
})))(), Z4 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", Q4 = null, $4 = null, e3 = (e) => {
if (e === Q4 && Array.isArray($4)) return $4;
var t = [];
return P.Children.forEach(e, (e) => {
- ez(e) || ((0, yye.isFragment)(e) ? t = t.concat(e3(e.props.children)) : t.push(e));
+ ez(e) || ((0, bye.isFragment)(e) ? t = t.concat(e3(e.props.children)) : t.push(e));
}), $4 = t, Q4 = e, t;
};
function t3(e, t) {
@@ -56727,7 +56777,7 @@ function t3(e, t) {
var n3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function bye(e) {
+function xye(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -56740,7 +56790,7 @@ function bye(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var xye, Sye, Cye, wye, Tye;
+var Sye, Cye, wye, Tye, Eye;
function r3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -56755,26 +56805,26 @@ function i3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r3(Object(n), !0).forEach(function(t) {
- Eye(e, t, n[t]);
+ Dye(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Eye(e, t, n) {
- return (t = Dye(t)) in e ? Object.defineProperty(e, t, {
+function Dye(e, t, n) {
+ return (t = Oye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dye(e) {
- var t = Oye(e, "string");
+function Oye(e) {
+ var t = kye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Oye(e, t) {
+function kye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56797,29 +56847,29 @@ function o3(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var s3 = (e, t, n, r, i) => {
- var a = n - r, o = WR(xye ||= o3([
+ var a = n - r, o = WR(Sye ||= o3([
"M ",
",",
""
]), e, t);
- return o += WR(Sye ||= o3([
+ return o += WR(Cye ||= o3([
"L ",
",",
""
- ]), e + n, t), o += WR(Cye ||= o3([
+ ]), e + n, t), o += WR(wye ||= o3([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += WR(wye ||= o3([
+ ]), e + n - a / 2, t + i), o += WR(Tye ||= o3([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += WR(Tye ||= o3([
+ ]), e + n - a / 2 - r, t + i), o += WR(Eye ||= o3([
"L ",
",",
" Z"
]), e, t), o;
-}, kye = {
+}, Aye = {
x: 0,
y: 0,
upperWidth: 0,
@@ -56829,8 +56879,8 @@ var s3 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, Aye = (e) => {
- var t = pz(e, kye), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, P.useRef)(null), [p, m] = (0, P.useState)(-1), h = (0, P.useRef)(i), g = (0, P.useRef)(a), _ = (0, P.useRef)(o), v = (0, P.useRef)(n), y = (0, P.useRef)(r), b = yq(e, "trapezoid-");
+}, jye = (e) => {
+ var t = pz(e, Aye), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, P.useRef)(null), [p, m] = (0, P.useState)(-1), h = (0, P.useRef)(i), g = (0, P.useRef)(a), _ = (0, P.useRef)(o), v = (0, P.useRef)(n), y = (0, P.useRef)(r), b = yq(e, "trapezoid-");
if ((0, P.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -56865,22 +56915,22 @@ var s3 = (e, t, n, r, i) => {
style: i3(i3({}, p), t.style)
}));
});
-}, jye = [
+}, Mye = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function Mye(e, t) {
+function Nye(e, t) {
if (e == null) return {};
- var n, r, i = Nye(e, t);
+ var n, r, i = Pye(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 Nye(e, t) {
+function Pye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56903,26 +56953,26 @@ function l3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? c3(Object(n), !0).forEach(function(t) {
- Pye(e, t, n[t]);
+ Fye(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 Pye(e, t, n) {
- return (t = Fye(t)) in e ? Object.defineProperty(e, t, {
+function Fye(e, t, n) {
+ return (t = Iye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Fye(e) {
- var t = Iye(e, "string");
+function Iye(e) {
+ var t = Lye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Iye(e, t) {
+function Lye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56932,34 +56982,34 @@ function Iye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Lye(e, t) {
+function Rye(e, t) {
return l3(l3({}, t), e);
}
-function Rye(e, t) {
+function zye(e, t) {
return e === "symbols";
}
function u3(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
case "rectangle": return /*#__PURE__*/ P.createElement(Uq, n);
- case "trapezoid": return /*#__PURE__*/ P.createElement(Aye, n);
+ case "trapezoid": return /*#__PURE__*/ P.createElement(jye, n);
case "sector": return /*#__PURE__*/ P.createElement(bJ, n);
case "symbols":
- if (Rye(t, n)) return /*#__PURE__*/ P.createElement(cz, n);
+ if (zye(t, n)) return /*#__PURE__*/ P.createElement(cz, n);
break;
case "curve": return /*#__PURE__*/ P.createElement(xK, n);
default: return null;
}
}
-function zye(e) {
+function Bye(e) {
return /*#__PURE__*/ (0, P.isValidElement)(e) ? e.props : e;
}
function d3(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = Mye(e, jye), o;
- if (/*#__PURE__*/ (0, P.isValidElement)(t)) o = /*#__PURE__*/ (0, P.cloneElement)(t, l3(l3({}, a), zye(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = Nye(e, Mye), o;
+ if (/*#__PURE__*/ (0, P.isValidElement)(t)) o = /*#__PURE__*/ (0, P.cloneElement)(t, l3(l3({}, a), Bye(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (bye(t) && typeof t != "boolean") {
- var s = Lye(t, a);
+ else if (xye(t) && typeof t != "boolean") {
+ var s = Rye(t, a);
o = /*#__PURE__*/ P.createElement(u3, {
shapeType: n,
elementProps: s
@@ -56988,12 +57038,12 @@ var f3 = (e, t, n) => {
}, p3 = (e) => {
var t = Bz();
return (n, r) => (i) => {
- e?.(n, r, i), t(whe());
+ e?.(n, r, i), t(The());
};
}, m3 = (e, t, n) => {
var r = Bz();
return (i, a) => (o) => {
- e?.(i, a, o), r(The({
+ e?.(i, a, o), r(Ehe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -57006,7 +57056,7 @@ var f3 = (e, t, n) => {
function h3(e) {
var { tooltipEntrySettings: t } = e, n = Bz(), r = sU(), i = (0, P.useRef)(null);
return (0, P.useLayoutEffect)(() => {
- r || (i.current === null ? n(bhe(t)) : i.current !== t && n(xhe({
+ r || (i.current === null ? n(xhe(t)) : i.current !== t && n(She({
prev: i.current,
next: t
})), i.current = t);
@@ -57015,7 +57065,7 @@ function h3(e) {
n,
r
]), (0, P.useLayoutEffect)(() => () => {
- i.current &&= (n(She(i.current)), null);
+ i.current &&= (n(Che(i.current)), null);
}, [n]), null;
}
//#endregion
@@ -57052,21 +57102,21 @@ function _3(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var Bye = P.useId ?? (() => {
+var Vye = P.useId ?? (() => {
var [e] = P.useState(() => YR("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function Vye(e, t) {
- var n = Bye();
+function Hye(e, t) {
+ var n = Vye();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var Hye = /*#__PURE__*/ (0, P.createContext)(void 0), v3 = (e) => {
- var { id: t, type: n, children: r } = e, i = Vye(`recharts-${n}`, t);
- return /*#__PURE__*/ P.createElement(Hye.Provider, { value: i }, r(i));
+var Uye = /*#__PURE__*/ (0, P.createContext)(void 0), v3 = (e) => {
+ var { id: t, type: n, children: r } = e, i = Hye(`recharts-${n}`, t);
+ return /*#__PURE__*/ P.createElement(Uye.Provider, { value: i }, r(i));
}, y3 = TV({
name: "graphicalItems",
initialState: {
@@ -57115,40 +57165,40 @@ var Hye = /*#__PURE__*/ (0, P.createContext)(void 0), v3 = (e) => {
prepare: xV()
}
}
-}), { addCartesianGraphicalItem: Uye, replaceCartesianGraphicalItem: Wye, removeCartesianGraphicalItem: Gye, addPolarGraphicalItem: Kye, removePolarGraphicalItem: qye, replacePolarGraphicalItem: Jye } = y3.actions, Yye = y3.reducer, b3 = /*#__PURE__*/ (0, P.memo)((e) => {
+}), { addCartesianGraphicalItem: Wye, replaceCartesianGraphicalItem: Gye, removeCartesianGraphicalItem: Kye, addPolarGraphicalItem: qye, removePolarGraphicalItem: Jye, replacePolarGraphicalItem: Yye } = y3.actions, Xye = y3.reducer, b3 = /*#__PURE__*/ (0, P.memo)((e) => {
var t = Bz(), n = (0, P.useRef)(null);
return (0, P.useLayoutEffect)(() => {
- n.current === null ? t(Uye(e)) : n.current !== e && t(Wye({
+ n.current === null ? t(Wye(e)) : n.current !== e && t(Gye({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, P.useLayoutEffect)(() => () => {
- n.current &&= (t(Gye(n.current)), null);
+ n.current &&= (t(Kye(n.current)), null);
}, [t]), null;
}), x3 = /*#__PURE__*/ (0, P.memo)((e) => {
var t = Bz(), n = (0, P.useRef)(null);
return (0, P.useLayoutEffect)(() => {
- n.current === null ? t(Kye(e)) : n.current !== e && t(Jye({
+ n.current === null ? t(qye(e)) : n.current !== e && t(Yye({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, P.useLayoutEffect)(() => () => {
- n.current &&= (t(qye(n.current)), null);
+ n.current &&= (t(Jye(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function Xye(e) {
+function Zye(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function Zye(e) {
- if (!(!yz(e) || e.length === 0)) return Xye(L4(e));
+function Qye(e) {
+ if (!(!yz(e) || e.length === 0)) return Zye(L4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var Qye = ["points"];
+var $ye = ["points"];
function S3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -57163,26 +57213,26 @@ function C3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? S3(Object(n), !0).forEach(function(t) {
- $ye(e, t, n[t]);
+ ebe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $ye(e, t, n) {
- return (t = ebe(t)) in e ? Object.defineProperty(e, t, {
+function ebe(e, t, n) {
+ return (t = tbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ebe(e) {
- var t = tbe(e, "string");
+function tbe(e) {
+ var t = nbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function tbe(e, t) {
+function nbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57201,16 +57251,16 @@ function w3() {
return e;
}, w3.apply(null, arguments);
}
-function nbe(e, t) {
+function rbe(e, t) {
if (e == null) return {};
- var n, r, i = rbe(e, t);
+ var n, r, i = ibe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function rbe(e, t) {
+function ibe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57219,20 +57269,20 @@ function rbe(e, t) {
}
return n;
}
-function ibe(e) {
+function abe(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, P.isValidElement)(t)) return /*#__PURE__*/ (0, P.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Pm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = nbe(a, Qye);
+ var i = Pm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = rbe(a, $ye);
return /*#__PURE__*/ P.createElement(v4, w3({}, s, { className: i }));
}
-function abe(e, t) {
+function obe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function T3(e) {
var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = eY.scatter } = e;
- if (!abe(t, n)) return null;
- var u = n3(n), d = Cle(n), f = t.map((e, r) => {
+ if (!obe(t, n)) return null;
+ var u = n3(n), d = wle(n), f = t.map((e, r) => {
var s = C3(C3(C3({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
@@ -57242,7 +57292,7 @@ function T3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ P.createElement(ibe, {
+ return /*#__PURE__*/ P.createElement(abe, {
key: `dot-${r}`,
option: n,
dotProps: s,
@@ -57267,26 +57317,26 @@ function D3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? E3(Object(n), !0).forEach(function(t) {
- obe(e, t, n[t]);
+ sbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function obe(e, t, n) {
- return (t = sbe(t)) in e ? Object.defineProperty(e, t, {
+function sbe(e, t, n) {
+ return (t = cbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sbe(e) {
- var t = cbe(e, "string");
+function cbe(e) {
+ var t = lbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cbe(e, t) {
+function lbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57374,7 +57424,7 @@ var O3 = TV({
}
}
}
-}), { addXAxis: lbe, replaceXAxis: ube, removeXAxis: dbe, addYAxis: fbe, replaceYAxis: pbe, removeYAxis: mbe, addZAxis: hbe, replaceZAxis: gbe, removeZAxis: _be, updateYAxisWidth: vbe } = O3.actions, ybe = O3.reducer, bbe = $([
+}), { addXAxis: ube, replaceXAxis: dbe, removeXAxis: fbe, addYAxis: pbe, replaceYAxis: mbe, removeYAxis: hbe, addZAxis: gbe, replaceZAxis: _be, removeZAxis: vbe, updateYAxisWidth: ybe } = O3.actions, bbe = O3.reducer, xbe = $([
$([rU], (e) => ({
top: e.top,
bottom: e.bottom,
@@ -57390,7 +57440,7 @@ var O3 = TV({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), k3 = () => Q(bbe), xbe = () => Q(ege);
+}), k3 = () => Q(xbe), Sbe = () => Q(tge);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function A3(e, t) {
@@ -57407,26 +57457,26 @@ function j3(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) {
- Sbe(e, t, n[t]);
+ Cbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Sbe(e, t, n) {
- return (t = Cbe(t)) in e ? Object.defineProperty(e, t, {
+function Cbe(e, t, n) {
+ return (t = wbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Cbe(e) {
- var t = wbe(e, "string");
+function wbe(e) {
+ var t = Tbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wbe(e, t) {
+function Tbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57436,7 +57486,7 @@ function wbe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Tbe = (e) => {
+var Ebe = (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 = j3(j3(j3({}, {
@@ -57457,10 +57507,10 @@ var Tbe = (e) => {
}, c);
};
function M3(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = eY.activeDot } = e, s = Q(P0), c = xbe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = eY.activeDot } = e, s = Q(P0), c = Sbe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return ez(l) ? null : /*#__PURE__*/ P.createElement(t2, { zIndex: o }, /*#__PURE__*/ P.createElement(Tbe, {
+ return ez(l) ? null : /*#__PURE__*/ P.createElement(t2, { zIndex: o }, /*#__PURE__*/ P.createElement(Ebe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -57485,26 +57535,26 @@ function P3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? N3(Object(n), !0).forEach(function(t) {
- Ebe(e, t, n[t]);
+ Dbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ebe(e, t, n) {
- return (t = Dbe(t)) in e ? Object.defineProperty(e, t, {
+function Dbe(e, t, n) {
+ return (t = Obe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dbe(e) {
- var t = Obe(e, "string");
+function Obe(e) {
+ var t = kbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Obe(e, t) {
+function kbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57514,13 +57564,13 @@ function Obe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var F3 = (e, t) => O4(e, "radiusAxis", t), kbe = $([F3], (e) => {
+var F3 = (e, t) => O4(e, "radiusAxis", t), Abe = $([F3], (e) => {
if (e != null) return { scale: e };
-}), Abe = $([pY, F3], (e, t) => {
+}), jbe = $([pY, F3], (e, t) => {
if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), jbe = (e, t, n, r) => A4(e, "radiusAxis", t, r), I3 = (e, t, n) => fY(e, n), L3 = (e, t, n) => O4(e, "angleAxis", n), Mbe = $([I3, L3], (e, t) => {
+}), Mbe = (e, t, n, r) => A4(e, "radiusAxis", t, r), I3 = (e, t, n) => fY(e, n), L3 = (e, t, n) => O4(e, "angleAxis", n), Nbe = $([I3, L3], (e, t) => {
if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), Nbe = (e, t, n, r) => A4(e, "angleAxis", n, r), Pbe = $([
+}), Pbe = (e, t, n, r) => A4(e, "angleAxis", n, r), Fbe = $([
I3,
L3,
SY
@@ -57532,30 +57582,30 @@ var F3 = (e, t) => O4(e, "radiusAxis", t), kbe = $([F3], (e) => {
cx: n.cx,
cy: n.cy
};
-}), Fbe = (e, t, n, r, i) => i, Ibe = $([
+}), Ibe = (e, t, n, r, i) => i, Lbe = $([
VU,
- Abe,
jbe,
Mbe,
- Nbe
-], (e, t, n, r, i) => bH(e, "radiusAxis") ? FH(t, n, !1) : FH(r, i, !1)), Lbe = $([
- kbe,
- Pbe,
+ Nbe,
+ Pbe
+], (e, t, n, r, i) => bH(e, "radiusAxis") ? FH(t, n, !1) : FH(r, i, !1)), Rbe = $([
+ Abe,
+ Fbe,
EJ,
- $([y4, Fbe], (e, t) => {
+ $([y4, Ibe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- Ibe
+ Lbe
], (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 qbe({
+ if (e != null && t != null && a != null && i != null && r != null) return Jbe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), Rbe = ["id"];
+}), zbe = ["id"];
function R3() {
return R3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -57579,26 +57629,26 @@ function B3(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) {
- zbe(e, t, n[t]);
+ Bbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zbe(e, t, n) {
- return (t = Bbe(t)) in e ? Object.defineProperty(e, t, {
+function Bbe(e, t, n) {
+ return (t = Vbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Bbe(e) {
- var t = Vbe(e, "string");
+function Vbe(e) {
+ var t = Hbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Vbe(e, t) {
+function Hbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57608,16 +57658,16 @@ function Vbe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Hbe(e, t) {
+function Ube(e, t) {
if (e == null) return {};
- var n, r, i = Ube(e, t);
+ var n, r, i = Wbe(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 Ube(e, t) {
+function Wbe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57629,7 +57679,7 @@ function Ube(e, t) {
function V3(e, t) {
return e && e !== "none" ? e : t;
}
-var Wbe = (e) => {
+var Gbe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
@@ -57639,7 +57689,7 @@ var Wbe = (e) => {
value: LH(n, t),
payload: e
}];
-}, Gbe = /*#__PURE__*/ P.memo((e) => {
+}, Kbe = /*#__PURE__*/ P.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: rz,
@@ -57659,8 +57709,8 @@ var Wbe = (e) => {
};
return /*#__PURE__*/ P.createElement(h3, { tooltipEntrySettings: l });
});
-function Kbe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = LL(Hbe(n, Rbe));
+function qbe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = LL(Ube(n, zbe));
return /*#__PURE__*/ P.createElement(T3, {
points: t,
dot: r,
@@ -57670,10 +57720,10 @@ function Kbe(e) {
baseProps: o
});
}
-function qbe(e) {
+function Jbe(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 = vH(e, n.dataKey, r), d = vH(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? Zye(d) : d, m = ez(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = vH(e, n.dataKey, r), d = vH(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? Qye(d) : d, m = ez(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(B3(B3({}, Qq(o, s, m, f)), {}, {
name: a,
value: d,
@@ -57696,7 +57746,7 @@ function qbe(e) {
baseLinePoints: d
};
}
-function Jbe(e) {
+function Ybe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -57716,7 +57766,7 @@ function Jbe(e) {
});
return /*#__PURE__*/ P.createElement(l4, { value: t ? i : void 0 }, r);
}
-function Ybe(e) {
+function Xbe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ P.isValidElement(i) ? /*#__PURE__*/ P.cloneElement(i, B3(B3({}, r), {}, { points: t })) : typeof i == "function" ? i(B3(B3({}, r), {}, { points: t })) : /*#__PURE__*/ P.createElement(g4, R3({}, zL(r), {
@@ -57732,7 +57782,7 @@ function Ybe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ P.createElement(UL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ P.createElement(Kbe, {
+ return /*#__PURE__*/ P.createElement(UL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ P.createElement(qbe, {
props: r,
points: t
}));
@@ -57747,13 +57797,13 @@ var H3 = (e, t, n) => (r, i) => {
y: QR(r.cy, r.y, n)
});
};
-function Xbe(e) {
+function Zbe(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 = yq(t, "recharts-radar-"), [_, v] = (0, P.useState)(!1), y = !_, b = (0, P.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, P.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ P.createElement(Jbe, {
+ return /*#__PURE__*/ P.createElement(Ybe, {
showLabels: y,
points: i
}, /*#__PURE__*/ P.createElement(vq, {
@@ -57767,22 +57817,22 @@ function Xbe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(H3(f, m, e)), s = e === 1 ? a : a?.map(H3(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ P.createElement(Ybe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ P.createElement(Xbe, {
points: o,
baseLinePoints: s,
props: t
});
}), /*#__PURE__*/ P.createElement(f4, { label: t.label }), t.children);
}
-function Zbe(e) {
+function Qbe(e) {
var t = (0, P.useRef)(void 0), n = (0, P.useRef)(void 0);
- return /*#__PURE__*/ P.createElement(Xbe, {
+ return /*#__PURE__*/ P.createElement(Zbe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var Qbe = {
+var $be = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -57796,27 +57846,27 @@ var Qbe = {
radiusAxisId: 0,
zIndex: eY.area
};
-function $be(e) {
+function exe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = Pm("recharts-radar", n);
- return /*#__PURE__*/ P.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: i }, /*#__PURE__*/ P.createElement(Zbe, e)), /*#__PURE__*/ P.createElement(M3, {
+ return /*#__PURE__*/ P.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: i }, /*#__PURE__*/ P.createElement(Qbe, e)), /*#__PURE__*/ P.createElement(M3, {
points: r,
mainColor: V3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function exe(e) {
- var t = sU(), n = Q((n) => Lbe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ P.createElement($be, R3({}, e, {
+function txe(e) {
+ var t = sU(), n = Q((n) => Rbe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ P.createElement(exe, R3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function U3(e) {
- var t = pz(e, Qbe);
+ var t = pz(e, $be);
return /*#__PURE__*/ P.createElement(v3, {
id: t.id,
type: "radar"
@@ -57828,7 +57878,7 @@ function U3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ P.createElement(_3, { legendPayload: Wbe(t) }), /*#__PURE__*/ P.createElement(Gbe, {
+ }), /*#__PURE__*/ P.createElement(_3, { legendPayload: Gbe(t) }), /*#__PURE__*/ P.createElement(Kbe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -57837,7 +57887,7 @@ function U3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ P.createElement(exe, R3({}, t, { id: e }))));
+ }), /*#__PURE__*/ P.createElement(txe, R3({}, t, { id: e }))));
}
U3.displayName = "Radar";
//#endregion
@@ -57896,26 +57946,26 @@ function X3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Y3(Object(n), !0).forEach(function(t) {
- txe(e, t, n[t]);
+ nxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function txe(e, t, n) {
- return (t = nxe(t)) in e ? Object.defineProperty(e, t, {
+function nxe(e, t, n) {
+ return (t = rxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nxe(e) {
- var t = rxe(e, "string");
+function rxe(e) {
+ var t = ixe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rxe(e, t) {
+function ixe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57925,7 +57975,7 @@ function rxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ixe(e, t, n, r, i) {
+function axe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
var o = XR(e, n, 0, !0), s, c = [];
@@ -57966,7 +58016,7 @@ function ixe(e, t, n, r, i) {
}
}
var Z3 = (e, t, n, r, i, a, o) => {
- var s = ez(o) ? t : o, c = ixe(n, r, i === a ? a : i, e, s);
+ var s = ez(o) ? t : o, c = axe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => X3(X3({}, e), {}, { position: X3(X3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, Q3 = (e, t) => {
var n = TY(t);
@@ -58002,26 +58052,26 @@ function t6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? e6(Object(n), !0).forEach(function(t) {
- axe(e, t, n[t]);
+ oxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function axe(e, t, n) {
- return (t = oxe(t)) in e ? Object.defineProperty(e, t, {
+function oxe(e, t, n) {
+ return (t = sxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oxe(e) {
- var t = sxe(e, "string");
+function sxe(e) {
+ var t = cxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sxe(e, t) {
+function cxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58033,7 +58083,7 @@ function sxe(e, t) {
}
var n6 = $([(e, t) => pY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return t6(t6({}, e), {}, { scale: t });
-}), r6 = (e, t) => bve(e, "radiusAxis", t, !1), i6 = $([(e, t, n) => fY(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
+}), r6 = (e, t) => xve(e, "radiusAxis", t, !1), i6 = $([(e, t, n) => fY(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return t6(t6({}, e), {}, { scale: t });
}), a6 = (e, t, n) => A4(e, "angleAxis", n, !1), o6 = $([y4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
@@ -58043,20 +58093,20 @@ var n6 = $([(e, t) => pY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
r6,
i6,
a6
-], (e, t, n, r, i) => bH(e, "radiusAxis") ? FH(t, n, !1) : FH(r, i, !1)), cxe = $([
+], (e, t, n, r, i) => bH(e, "radiusAxis") ? FH(t, n, !1) : FH(r, i, !1)), lxe = $([
i6,
n6,
VU
], (e, t, n) => {
var r = n === "radial" ? e : t;
if (r != null && r.scale != null) return kH({ numericAxis: r });
-}), lxe = (e, t, n, r, i) => i, uxe = (e, t, n, r, i) => n, dxe = (e, t, n, r, i) => t, c6 = (e, t, n, r, i) => r.maxBarSize, l6 = (e) => e.type === "radialBar", fxe = $([$([
+}), uxe = (e, t, n, r, i) => i, dxe = (e, t, n, r, i) => n, fxe = (e, t, n, r, i) => t, c6 = (e, t, n, r, i) => r.maxBarSize, l6 = (e) => e.type === "radialBar", pxe = $([$([
$([
$([
VU,
y4,
- uxe,
- dxe
+ dxe,
+ fxe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(l6)),
KJ,
() => void 0
@@ -58087,7 +58137,7 @@ var n6 = $([(e, t) => pY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
u6,
qJ,
JJ
-], i1), pxe = $([
+], i1), mxe = $([
i6,
a6,
n6,
@@ -58096,16 +58146,16 @@ var n6 = $([(e, t) => pY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
o6,
s6,
VU,
- cxe,
- SY,
lxe,
- fxe,
+ SY,
+ uxe,
+ pxe,
$([(e, t, n) => VU(e) === "centric" ? d6(e, "radiusAxis", t) : d6(e, "angleAxis", n), o6], Q3)
], (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 Axe({
+ return jxe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -58126,7 +58176,7 @@ var n6 = $([(e, t) => pY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), mxe = $([EJ, (e, t) => t], (e, t) => {
+}), hxe = $([EJ, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -58144,16 +58194,16 @@ function f6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var hxe = [
+var gxe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], gxe = [
+], _xe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], _xe = ["value", "background"];
+], vxe = ["value", "background"];
function p6() {
return p6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -58177,26 +58227,26 @@ function h6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? m6(Object(n), !0).forEach(function(t) {
- vxe(e, t, n[t]);
+ yxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vxe(e, t, n) {
- return (t = yxe(t)) in e ? Object.defineProperty(e, t, {
+function yxe(e, t, n) {
+ return (t = bxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yxe(e) {
- var t = bxe(e, "string");
+function bxe(e) {
+ var t = xxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bxe(e, t) {
+function xxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58208,14 +58258,14 @@ function bxe(e, t) {
}
function g6(e, t) {
if (e == null) return {};
- var n, r, i = xxe(e, t);
+ var n, r, i = Sxe(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 xxe(e, t) {
+function Sxe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58225,7 +58275,7 @@ function xxe(e, t) {
return n;
}
var _6 = [];
-function Sxe(e) {
+function Cxe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -58242,11 +58292,11 @@ function Sxe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ P.createElement(cve, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ P.createElement(lve, { value: t ? i : void 0 }, r);
}
-function Cxe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = g6(n, hxe), l = LL(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = g6(n, gxe), h = f3(d, n.dataKey, s), g = p3(p), _ = m3(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ P.createElement(Sxe, {
+function wxe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = g6(n, gxe), l = LL(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = g6(n, _xe), h = f3(d, n.dataKey, s), g = p3(p), _ = m3(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ P.createElement(Cxe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
@@ -58267,7 +58317,7 @@ function Cxe(e) {
}, /*#__PURE__*/ P.createElement(K3, f)) : /*#__PURE__*/ P.createElement(K3, p6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
}), /*#__PURE__*/ P.createElement(f4, { label: n.label }), n.children);
}
-function wxe(e) {
+function Txe(e) {
var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = yq(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, P.useState)(!1), m = (0, P.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, P.useCallback)(() => {
@@ -58292,25 +58342,25 @@ function wxe(e) {
var { endAngle: i, startAngle: a } = t;
return h6(h6({}, t), {}, { endAngle: QR(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ P.createElement(Cxe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ P.createElement(wxe, {
sectors: i ?? _6,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function Txe(e) {
+function Exe(e) {
var t = (0, P.useRef)(null);
- return /*#__PURE__*/ P.createElement(wxe, {
+ return /*#__PURE__*/ P.createElement(Txe, {
props: e,
previousSectorsRef: t
});
}
-function Exe(e) {
- var t = Q((t) => mxe(t, e.legendType));
+function Dxe(e) {
+ var t = Q((t) => hxe(t, e.legendType));
return /*#__PURE__*/ P.createElement(_3, { legendPayload: t ?? [] });
}
-var Dxe = /*#__PURE__*/ P.memo((e) => {
+var Oxe = /*#__PURE__*/ P.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: rz,
@@ -58329,12 +58379,12 @@ var Dxe = /*#__PURE__*/ P.memo((e) => {
}
};
return /*#__PURE__*/ P.createElement(h3, { tooltipEntrySettings: u });
-}), Oxe = class extends P.PureComponent {
+}), kxe = class extends P.PureComponent {
renderBackground(e) {
if (e == null) return null;
var { cornerRadius: t } = this.props, n = RL(this.props.background);
return /*#__PURE__*/ P.createElement(t2, { zIndex: f6(this.props.background, eY.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = g6(e, _xe);
+ var { value: i, background: a } = e, o = g6(e, vxe);
if (!a) return null;
var s = h6(h6(h6(h6(h6({ cornerRadius: G3(t) }, o), {}, { fill: "#eee" }, a), n), dz(this.props, e, r)), {}, {
index: r,
@@ -58349,10 +58399,10 @@ var Dxe = /*#__PURE__*/ P.memo((e) => {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = Pm("recharts-area", n);
- return /*#__PURE__*/ P.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: i }, r && /*#__PURE__*/ P.createElement(UL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ P.createElement(UL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ P.createElement(Txe, this.props))));
+ return /*#__PURE__*/ P.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: i }, r && /*#__PURE__*/ P.createElement(UL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ P.createElement(UL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ P.createElement(Exe, this.props))));
}
};
-function kxe(e) {
+function Axe(e) {
var t = P.useMemo(() => t3(e.children, v2), [e.children]), n = P.useMemo(() => ({
data: void 0,
hide: !1,
@@ -58374,8 +58424,8 @@ function kxe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => pxe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? _6;
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(Dxe, {
+ ]), r = Q((r) => mxe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? _6;
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(Oxe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -58385,7 +58435,7 @@ function kxe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ P.createElement(Oxe, p6({}, e, { sectors: r })));
+ }), /*#__PURE__*/ P.createElement(kxe, p6({}, e, { sectors: r })));
}
var v6 = {
angleAxisId: 0,
@@ -58404,7 +58454,7 @@ var v6 = {
radiusAxisId: 0,
zIndex: eY.bar
};
-function Axe(e) {
+function jxe(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 ? _6 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
@@ -58476,7 +58526,7 @@ function y6(e) {
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ P.createElement(Exe, t), /*#__PURE__*/ P.createElement(kxe, p6({}, t, { id: e }))));
+ }), /*#__PURE__*/ P.createElement(Dxe, t), /*#__PURE__*/ P.createElement(Axe, p6({}, t, { id: e }))));
}
y6.displayName = "RadialBar";
//#endregion
@@ -58507,7 +58557,7 @@ var b6 = (e) => {
reducers: { setBrushSettings(e, t) {
return t.payload == null ? x6 : t.payload;
} }
-}), { setBrushSettings: jxe } = S6.actions, Mxe = S6.reducer, Nxe = (e, t) => {
+}), { setBrushSettings: Mxe } = S6.actions, Nxe = S6.reducer, Pxe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -58515,9 +58565,9 @@ var b6 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, Pxe = (e) => {
+}, Fxe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return Nxe({
+ return Pxe({
x: t,
y: n
}, {
@@ -58525,11 +58575,11 @@ var b6 = (e) => {
y: i
});
};
-function Fxe(e) {
+function Ixe(e) {
return (e % 180 + 180) % 180;
}
-var Ixe = function(e) {
- var { width: t, height: n } = e, r = Fxe(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 Lxe = function(e) {
+ var { width: t, height: n } = e, r = Ixe(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);
}, C6 = TV({
name: "referenceElements",
@@ -58561,7 +58611,7 @@ var Ixe = function(e) {
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: Lxe, removeDot: Rxe, addArea: zxe, removeArea: Bxe, addLine: Vxe, removeLine: Hxe } = C6.actions, Uxe = C6.reducer, w6 = /*#__PURE__*/ (0, P.createContext)(void 0), Wxe = (e) => {
+}), { addDot: Rxe, removeDot: zxe, addArea: Bxe, removeArea: Vxe, addLine: Hxe, removeLine: Uxe } = C6.actions, Wxe = C6.reducer, w6 = /*#__PURE__*/ (0, P.createContext)(void 0), Gxe = (e) => {
var { children: t } = e, [n] = (0, P.useState)(`${YR("recharts")}-clip`), r = k3();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
@@ -58571,7 +58621,7 @@ var Ixe = function(e) {
height: s,
width: o
}))), t);
-}, Gxe = () => (0, P.useContext)(w6), Kxe = class {
+}, Kxe = () => (0, P.useContext)(w6), qxe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -58611,26 +58661,26 @@ function E6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? T6(Object(n), !0).forEach(function(t) {
- qxe(e, t, n[t]);
+ Jxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qxe(e, t, n) {
- return (t = Jxe(t)) in e ? Object.defineProperty(e, t, {
+function Jxe(e, t, n) {
+ return (t = Yxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Jxe(e) {
- var t = Yxe(e, "string");
+function Yxe(e) {
+ var t = Xxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Yxe(e, t) {
+function Xxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58649,7 +58699,7 @@ function D6() {
return e;
}, D6.apply(null, arguments);
}
-var Xxe = (e, t) => {
+var Zxe = (e, t) => {
var n;
if (/*#__PURE__*/ P.isValidElement(e)) n = /*#__PURE__*/ P.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
@@ -58658,7 +58708,7 @@ var Xxe = (e, t) => {
n = /*#__PURE__*/ P.createElement("line", D6({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, Zxe = (e, t, n, r, i, a) => {
+}, Qxe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
if (!dH(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -58669,7 +58719,7 @@ var Xxe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, Qxe = (e, t, n, r, i, a) => {
+}, $xe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
if (!dH(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -58680,7 +58730,7 @@ var Xxe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, $xe = (e, t, n, r) => {
+}, eSe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -58689,23 +58739,23 @@ var Xxe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, eSe = (e, t, n, r, i, a, o) => {
+}, tSe = (e, t, n, r, i, a, o) => {
var { x: s, y: c, segment: l, ifOverflow: u } = o, d = JR(s);
- return JR(c) ? Zxe(c, u, r, a, t, n) : d ? Qxe(s, u, r, i, e, n) : l != null && l.length === 2 ? $xe(l, u, r, new Kxe({
+ return JR(c) ? Qxe(c, u, r, a, t, n) : d ? $xe(s, u, r, i, e, n) : l != null && l.length === 2 ? eSe(l, u, r, new qxe({
x: e,
y: t
})) : null;
};
-function tSe(e) {
+function nSe(e) {
var t = Bz();
- return (0, P.useEffect)(() => (t(Vxe(e)), () => {
- t(Hxe(e));
+ return (0, P.useEffect)(() => (t(Hxe(e)), () => {
+ t(Uxe(e));
})), null;
}
-function nSe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = sU(), s = Gxe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = FU();
+function rSe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = sU(), s = Kxe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = FU();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = eSe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = tSe(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;
@@ -58714,18 +58764,18 @@ function nSe(e) {
y1: _,
x2: v,
y2: y
- }), x = Pxe({
+ }), x = Fxe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ P.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: Pm("recharts-reference-line", i) }, Xxe(r, b), /*#__PURE__*/ P.createElement(Z2, D6({}, x, {
+ return /*#__PURE__*/ P.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: Pm("recharts-reference-line", i) }, Zxe(r, b), /*#__PURE__*/ P.createElement(Z2, D6({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ P.createElement(a4, { label: e.label }), e.children)));
}
-var rSe = {
+var iSe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -58738,15 +58788,15 @@ var rSe = {
zIndex: eY.line
};
function O6(e) {
- var t = pz(e, rSe);
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(tSe, {
+ var t = pz(e, iSe);
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(nSe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ P.createElement(nSe, t));
+ }), /*#__PURE__*/ P.createElement(rSe, t));
}
O6.displayName = "ReferenceLine";
//#endregion
@@ -58762,13 +58812,13 @@ function k6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function iSe(e, t, n) {
- return Ixe({
+function aSe(e, t, n) {
+ return Lxe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function aSe(e, t, n) {
+function oSe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -58783,12 +58833,12 @@ function A6(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function oSe(e, t) {
+function sSe(e, t) {
return k6(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function sSe(e, t, n, r, i) {
+function cSe(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: k6(r, l) };
@@ -58797,7 +58847,7 @@ function sSe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function cSe(e, t, n, r, i) {
+function lSe(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++) {
@@ -58834,26 +58884,26 @@ function M6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j6(Object(n), !0).forEach(function(t) {
- lSe(e, t, n[t]);
+ uSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lSe(e, t, n) {
- return (t = uSe(t)) in e ? Object.defineProperty(e, t, {
+function uSe(e, t, n) {
+ return (t = dSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uSe(e) {
- var t = dSe(e, "string");
+function dSe(e) {
+ var t = fSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dSe(e, t) {
+function fSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58863,7 +58913,7 @@ function dSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function fSe(e, t, n, r, i) {
+function pSe(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;
@@ -58876,7 +58926,7 @@ function fSe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function pSe(e, t, n, r, i, a) {
+function mSe(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];
@@ -58900,7 +58950,7 @@ function pSe(e, t, n, r, i, a) {
function N6(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) || XG.isSsr) return oSe(i, Z(c) ? c : 0) ?? [];
+ if (Z(c) || XG.isSsr) return sSe(i, Z(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? w2(u, {
fontSize: t,
letterSpacing: n
@@ -58909,19 +58959,19 @@ function N6(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? iSe(w2(i, {
+ return p === "width" ? aSe(w2(i, {
fontSize: t,
letterSpacing: n
}), m, d) : w2(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? GR(_.coordinate - g.coordinate) : 1, y = aSe(a, v, p);
- return c === "equidistantPreserveStart" ? sSe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? cSe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? pSe(v, y, h, i, o, c === "preserveStartEnd") : fSe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? GR(_.coordinate - g.coordinate) : 1, y = oSe(a, v, p);
+ return c === "equidistantPreserveStart" ? cSe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? lSe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? mSe(v, y, h, i, o, c === "preserveStartEnd") : pSe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var mSe = (e) => {
+var hSe = (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) => {
@@ -58950,7 +59000,7 @@ var mSe = (e) => {
delete e[n][r];
}
}
-}), { setRenderedTicks: hSe, removeRenderedTicks: gSe } = P6.actions, _Se = P6.reducer, vSe = [
+}), { setRenderedTicks: gSe, removeRenderedTicks: _Se } = P6.actions, vSe = P6.reducer, ySe = [
"axisLine",
"width",
"height",
@@ -58960,16 +59010,16 @@ var mSe = (e) => {
"axisType",
"axisId"
];
-function ySe(e, t) {
+function bSe(e, t) {
if (e == null) return {};
- var n, r, i = bSe(e, t);
+ var n, r, i = xSe(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 bSe(e, t) {
+function xSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59001,26 +59051,26 @@ function L6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? I6(Object(n), !0).forEach(function(t) {
- xSe(e, t, n[t]);
+ SSe(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 xSe(e, t, n) {
- return (t = SSe(t)) in e ? Object.defineProperty(e, t, {
+function SSe(e, t, n) {
+ return (t = CSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SSe(e) {
- var t = CSe(e, "string");
+function CSe(e) {
+ var t = wSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CSe(e, t) {
+function wSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59054,7 +59104,7 @@ var R6 = {
interval: "preserveEnd",
zIndex: eY.axis
};
-function wSe(e) {
+function TSe(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 = L6(L6(L6({}, c), LL(s)), {}, { fill: "none" });
@@ -59077,7 +59127,7 @@ function wSe(e) {
}
return /*#__PURE__*/ P.createElement("line", F6({}, l, { className: Pm("recharts-cartesian-axis-line", HR(s, "className")) }));
}
-function TSe(e, t, n, r, i, a, o, s, c) {
+function ESe(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":
@@ -59104,14 +59154,14 @@ function TSe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function ESe(e, t) {
+function DSe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function DSe(e, t) {
+function OSe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -59119,7 +59169,7 @@ function DSe(e, t) {
default: return t ? "end" : "start";
}
}
-function OSe(e) {
+function kSe(e) {
var { option: t, tickProps: n, value: r } = e, i, a = Pm(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ P.isValidElement(t)) i = /*#__PURE__*/ P.cloneElement(t, L6(L6({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(L6(L6({}, n), {}, { className: a }));
@@ -59129,9 +59179,9 @@ function OSe(e) {
}
return i;
}
-function kSe(e) {
+function ASe(e) {
var { ticks: t, axisType: n, axisId: r } = e, i = Bz();
- return (0, P.useEffect)(() => r == null || n == null ? rz : (i(hSe({
+ return (0, P.useEffect)(() => r == null || n == null ? rz : (i(gSe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -59141,7 +59191,7 @@ function kSe(e) {
axisId: r,
axisType: n
})), () => {
- i(gSe({
+ i(_Se({
axisId: r,
axisType: n
}));
@@ -59152,10 +59202,10 @@ function kSe(e) {
n
]), null;
}
-var ASe = /*#__PURE__*/ (0, P.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 = N6(L6(L6({}, b), {}, { ticks: n }), v, y), T = LL(b), E = RL(r), D = L2(T.textAnchor) ? T.textAnchor : ESe(u, d), O = DSe(u, d), k = {};
+var jSe = /*#__PURE__*/ (0, P.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 = N6(L6(L6({}, b), {}, { ticks: n }), v, y), T = LL(b), E = RL(r), D = L2(T.textAnchor) ? T.textAnchor : DSe(u, d), O = OSe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = L6(L6({}, T), {}, { fill: "none" }, k), j = w.map((e) => L6({ entry: e }, TSe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = L6(L6({}, T), {}, { fill: "none" }, k), j = w.map((e) => L6({ entry: e }, ESe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
return /*#__PURE__*/ P.createElement(UL, {
className: "recharts-cartesian-axis-tick",
@@ -59176,13 +59226,13 @@ var ASe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
return /*#__PURE__*/ P.createElement(UL, F6({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, dz(x, n, t)), r && /*#__PURE__*/ P.createElement(OSe, {
+ }, dz(x, n, t)), r && /*#__PURE__*/ P.createElement(kSe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ P.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ P.createElement(kSe, {
+ return /*#__PURE__*/ P.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ P.createElement(ASe, {
ticks: w,
axisId: C,
axisType: S
@@ -59190,9 +59240,9 @@ var ASe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ P.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), jSe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = ySe(e, vSe), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(""), h = (0, P.useRef)(null);
- (0, P.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => mSe({
+}), MSe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = bSe(e, ySe), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(""), h = (0, P.useRef)(null);
+ (0, P.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => hSe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -59210,7 +59260,7 @@ var ASe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ P.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: Pm("recharts-cartesian-axis", a) }, /*#__PURE__*/ P.createElement(wSe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ P.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ P.createElement(UL, { className: Pm("recharts-cartesian-axis", a) }, /*#__PURE__*/ P.createElement(TSe, {
x: e.x,
y: e.y,
width: r,
@@ -59219,7 +59269,7 @@ var ASe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
mirror: e.mirror,
axisLine: n,
otherSvgProps: LL(e)
- }), /*#__PURE__*/ P.createElement(ASe, {
+ }), /*#__PURE__*/ P.createElement(jSe, {
ref: g,
axisType: c,
events: u,
@@ -59256,18 +59306,18 @@ var ASe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
}), e.children)));
}), z6 = /*#__PURE__*/ P.forwardRef((e, t) => {
var n = pz(e, R6);
- return /*#__PURE__*/ P.createElement(jSe, F6({}, n, { ref: t }));
+ return /*#__PURE__*/ P.createElement(MSe, F6({}, n, { ref: t }));
});
z6.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var MSe = [
+var NSe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], NSe = ["offset"], PSe = ["xAxisId", "yAxisId"], FSe = ["xAxisId", "yAxisId"];
+], PSe = ["offset"], FSe = ["xAxisId", "yAxisId"], ISe = ["xAxisId", "yAxisId"];
function B6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -59282,26 +59332,26 @@ function V6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B6(Object(n), !0).forEach(function(t) {
- ISe(e, t, n[t]);
+ LSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ISe(e, t, n) {
- return (t = LSe(t)) in e ? Object.defineProperty(e, t, {
+function LSe(e, t, n) {
+ return (t = RSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function LSe(e) {
- var t = RSe(e, "string");
+function RSe(e) {
+ var t = zSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function RSe(e, t) {
+function zSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59322,14 +59372,14 @@ function H6() {
}
function U6(e, t) {
if (e == null) return {};
- var n, r, i = zSe(e, t);
+ var n, r, i = BSe(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 zSe(e, t) {
+function BSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59338,7 +59388,7 @@ function zSe(e, t) {
}
return n;
}
-var BSe = (e) => {
+var VSe = (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;
@@ -59359,7 +59409,7 @@ function W6(e) {
if (/*#__PURE__*/ P.isValidElement(t)) r = /*#__PURE__*/ P.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 = LL(U6(n, MSe)) ?? {}, { offset: u } = l, d = U6(l, NSe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = LL(U6(n, NSe)) ?? {}, { offset: u } = l, d = U6(l, PSe);
r = /*#__PURE__*/ P.createElement("line", H6({}, d, {
x1: i,
y1: a,
@@ -59371,10 +59421,10 @@ function W6(e) {
}
return r;
}
-function VSe(e) {
+function HSe(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 = U6(e, PSe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = U6(e, FSe), c = i.map((e, i) => {
var a = V6(V6({}, s), {}, {
x1: t,
y1: e,
@@ -59391,10 +59441,10 @@ function VSe(e) {
});
return /*#__PURE__*/ P.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function HSe(e) {
+function USe(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 = U6(e, FSe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = U6(e, ISe), c = i.map((e, i) => {
var a = V6(V6({}, s), {}, {
x1: e,
y1: t,
@@ -59411,7 +59461,7 @@ function HSe(e) {
});
return /*#__PURE__*/ P.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function USe(e) {
+function WSe(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);
@@ -59434,7 +59484,7 @@ function USe(e) {
});
return /*#__PURE__*/ P.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function WSe(e) {
+function GSe(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);
@@ -59457,7 +59507,7 @@ function WSe(e) {
});
return /*#__PURE__*/ P.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var GSe = (e, t) => {
+var KSe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
return xH(N6(V6(V6(V6({}, R6), n), {}, {
ticks: SH(n, !0),
@@ -59468,7 +59518,7 @@ var GSe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, KSe = (e, t) => {
+}, qSe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
return xH(N6(V6(V6(V6({}, R6), n), {}, {
ticks: SH(n, !0),
@@ -59479,7 +59529,7 @@ var GSe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, qSe = {
+}, JSe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -59494,14 +59544,14 @@ var GSe = (e, t) => {
zIndex: eY.grid
};
function G6(e) {
- var t = RU(), n = zU(), r = LU(), i = V6(V6({}, pz(e, qSe)), {}, {
+ var t = RU(), n = zU(), r = LU(), i = V6(V6({}, pz(e, JSe)), {}, {
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 = sU(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
if (!fH(l) || !fH(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || GSe, v = i.horizontalCoordinatesGenerator || KSe, { horizontalPoints: y, verticalPoints: b } = i;
+ var _ = i.verticalCoordinatesGenerator || KSe, v = i.horizontalCoordinatesGenerator || qSe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? V6(V6({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -59520,7 +59570,7 @@ function G6(e) {
}, C ? !0 : d);
pU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ P.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ P.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ P.createElement(BSe, {
+ return /*#__PURE__*/ P.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ P.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ P.createElement(VSe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -59528,12 +59578,12 @@ function G6(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ P.createElement(USe, H6({}, i, { horizontalPoints: y })), /*#__PURE__*/ P.createElement(WSe, H6({}, i, { verticalPoints: b })), /*#__PURE__*/ P.createElement(VSe, H6({}, i, {
+ }), /*#__PURE__*/ P.createElement(WSe, H6({}, i, { horizontalPoints: y })), /*#__PURE__*/ P.createElement(GSe, H6({}, i, { verticalPoints: b })), /*#__PURE__*/ P.createElement(HSe, H6({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ P.createElement(HSe, H6({}, i, {
+ })), /*#__PURE__*/ P.createElement(USe, H6({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -59560,17 +59610,17 @@ var K6 = TV({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: JSe, replaceErrorBar: YSe, removeErrorBar: XSe } = K6.actions, ZSe = K6.reducer, QSe = ["children"];
-function $Se(e, t) {
+}), { addErrorBar: YSe, replaceErrorBar: XSe, removeErrorBar: ZSe } = K6.actions, QSe = K6.reducer, $Se = ["children"];
+function eCe(e, t) {
if (e == null) return {};
- var n, r, i = eCe(e, t);
+ var n, r, i = tCe(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 eCe(e, t) {
+function tCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59579,7 +59629,7 @@ function eCe(e, t) {
}
return n;
}
-var tCe = /*#__PURE__*/ (0, P.createContext)({
+var nCe = /*#__PURE__*/ (0, P.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -59591,8 +59641,8 @@ var tCe = /*#__PURE__*/ (0, P.createContext)({
errorBarOffset: 0
});
function q6(e) {
- var { children: t } = e, n = $Se(e, QSe);
- return /*#__PURE__*/ P.createElement(tCe.Provider, { value: n }, t);
+ var { children: t } = e, n = eCe(e, $Se);
+ return /*#__PURE__*/ P.createElement(nCe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -59617,30 +59667,30 @@ function Y6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var X6 = (e, t, n, r) => J1(e, "xAxis", t, r), Z6 = (e, t, n, r) => q1(e, "xAxis", t, r), Q6 = (e, t, n, r) => J1(e, "yAxis", n, r), $6 = (e, t, n, r) => q1(e, "yAxis", n, r), nCe = $([
+var X6 = (e, t, n, r) => J1(e, "xAxis", t, r), Z6 = (e, t, n, r) => q1(e, "xAxis", t, r), Q6 = (e, t, n, r) => J1(e, "yAxis", n, r), $6 = (e, t, n, r) => q1(e, "yAxis", n, r), rCe = $([
VU,
X6,
Q6,
Z6,
$6
-], (e, t, n, r, i) => bH(e, "xAxis") ? FH(t, r, !1) : FH(n, i, !1)), rCe = (e, t, n, r, i) => i;
-function iCe(e) {
+], (e, t, n, r, i) => bH(e, "xAxis") ? FH(t, r, !1) : FH(n, i, !1)), iCe = (e, t, n, r, i) => i;
+function aCe(e) {
return e.type === "line";
}
-var aCe = $([
+var oCe = $([
VU,
X6,
Q6,
Z6,
$6,
- $([H$, rCe], (e, t) => e.filter(iCe).find((e) => e.id === t)),
- nCe,
+ $([H$, iCe], (e, t) => e.filter(aCe).find((e) => e.id === t)),
+ rCe,
DJ
], (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 TCe({
+ if (p != null) return ECe({
layout: e,
xAxis: t,
yAxis: n,
@@ -59670,13 +59720,13 @@ function e8(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var oCe = ["id"], sCe = [
+var sCe = ["id"], cCe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], cCe = [
+], lCe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -59715,26 +59765,26 @@ function r8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? n8(Object(n), !0).forEach(function(t) {
- lCe(e, t, n[t]);
+ uCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lCe(e, t, n) {
- return (t = uCe(t)) in e ? Object.defineProperty(e, t, {
+function uCe(e, t, n) {
+ return (t = dCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uCe(e) {
- var t = dCe(e, "string");
+function dCe(e) {
+ var t = fCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dCe(e, t) {
+function fCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59746,14 +59796,14 @@ function dCe(e, t) {
}
function i8(e, t) {
if (e == null) return {};
- var n, r, i = fCe(e, t);
+ var n, r, i = pCe(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 fCe(e, t) {
+function pCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59762,7 +59812,7 @@ function fCe(e, t) {
}
return n;
}
-var pCe = (e) => {
+var mCe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -59772,7 +59822,7 @@ var pCe = (e) => {
value: LH(n, t),
payload: e
}];
-}, mCe = /*#__PURE__*/ P.memo((e) => {
+}, hCe = /*#__PURE__*/ P.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: rz,
@@ -59792,11 +59842,11 @@ var pCe = (e) => {
};
return /*#__PURE__*/ P.createElement(h3, { tooltipEntrySettings: d });
}), a8 = (e, t) => `${t}px ${e}px`;
-function hCe(e, t) {
+function gCe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var gCe = (e, t, n) => {
+var _Ce = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return a8(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) {
@@ -59808,13 +59858,13 @@ var gCe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...hCe(n, i),
+ ...gCe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function _Ce(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = LL(i8(r, oCe));
+function vCe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = LL(i8(r, sCe));
return /*#__PURE__*/ P.createElement(T3, {
points: n,
dot: i,
@@ -59826,7 +59876,7 @@ function _Ce(e) {
clipPathId: t
});
}
-function vCe(e) {
+function yCe(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, P.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -59847,7 +59897,7 @@ function vCe(e) {
return /*#__PURE__*/ P.createElement(l4, { value: t ? i : void 0 }, n);
}
function o8(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 = r8(r8({}, zL(i8(a, sCe))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = r8(r8({}, zL(i8(a, cCe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -59860,28 +59910,28 @@ function o8(e) {
return /*#__PURE__*/ P.createElement(P.Fragment, null, r?.length > 1 && /*#__PURE__*/ P.createElement(d3, t8({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ P.createElement(_Ce, {
+ }, d, { pathRef: n })), /*#__PURE__*/ P.createElement(vCe, {
points: r,
clipPathId: t,
props: a
}));
}
-function yCe(e) {
+function bCe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function bCe(e) {
+function xCe(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 = yq(o, "recharts-line-"), y = (0, P.useRef)(v), [b, x] = (0, P.useState)(!1), S = !b, C = (0, P.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, P.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = yCe(r.current), E = (0, P.useRef)(0);
+ }, [g]), T = bCe(r.current), E = (0, P.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ P.createElement(vCe, {
+ return /*#__PURE__*/ P.createElement(yCe, {
points: o,
showLabels: S
}, n.children, /*#__PURE__*/ P.createElement(vq, {
@@ -59894,7 +59944,7 @@ function bCe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = QR(D, T + D, e), u = Math.min(l, T), d = c ? s ? gCe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : a8(T, u) : s == null ? void 0 : String(s);
+ var l = QR(D, T + D, e), u = Math.min(l, T), d = c ? s ? _Ce(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : a8(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);
@@ -59930,9 +59980,9 @@ function bCe(e) {
});
}), /*#__PURE__*/ P.createElement(f4, { label: n.label }));
}
-function xCe(e) {
+function SCe(e) {
var { clipPathId: t, props: n } = e, r = (0, P.useRef)(null), i = (0, P.useRef)(0), a = (0, P.useRef)(null);
- return /*#__PURE__*/ P.createElement(bCe, {
+ return /*#__PURE__*/ P.createElement(xCe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -59940,12 +59990,12 @@ function xCe(e) {
pathRef: a
});
}
-var SCe = (e, t) => ({
+var CCe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
errorVal: vH(e.payload, t)
-}), CCe = class extends P.Component {
+}), wCe = class extends P.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;
@@ -59963,9 +60013,9 @@ var SCe = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: SCe,
+ dataPointFormatter: CCe,
errorBarOffset: 0
- }, /*#__PURE__*/ P.createElement(xCe, {
+ }, /*#__PURE__*/ P.createElement(SCe, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ P.createElement(M3, {
@@ -59996,11 +60046,11 @@ var SCe = (e, t) => ({
zIndex: eY.line,
type: "linear"
};
-function wCe(e) {
- var t = pz(e, s8), { 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 = i8(t, cCe), { needClip: _ } = J6(p, m), v = k3(), y = HU(), b = sU(), x = Q((e) => aCe(e, p, m, b, h));
+function TCe(e) {
+ var t = pz(e, s8), { 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 = i8(t, lCe), { needClip: _ } = J6(p, m), v = k3(), y = HU(), b = sU(), x = Q((e) => oCe(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__*/ P.createElement(CCe, t8({}, g, {
+ return /*#__PURE__*/ P.createElement(wCe, t8({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -60024,7 +60074,7 @@ function wCe(e) {
needClip: _
}));
}
-function TCe(e) {
+function ECe(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 = vH(e, o);
@@ -60055,12 +60105,12 @@ function TCe(e) {
};
}).filter(Boolean);
}
-function ECe(e) {
+function DCe(e) {
var t = pz(e, s8), n = sU();
return /*#__PURE__*/ P.createElement(v3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(g3, { legendPayload: pCe(t) }), /*#__PURE__*/ P.createElement(mCe, {
+ }, (e) => /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(g3, { legendPayload: mCe(t) }), /*#__PURE__*/ P.createElement(hCe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -60081,9 +60131,9 @@ function ECe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ P.createElement(wCe, t8({}, t, { id: e }))));
+ }), /*#__PURE__*/ P.createElement(TCe, t8({}, t, { id: e }))));
}
-var c8 = /*#__PURE__*/ P.memo(ECe, hG);
+var c8 = /*#__PURE__*/ P.memo(DCe, hG);
c8.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -60095,19 +60145,19 @@ function u8(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxis", l8(e, t), n), p8 = (e, t, n) => J1(e, "yAxis", u8(e, t), n), m8 = (e, t, n) => q1(e, "yAxis", u8(e, t), n), DCe = $([
+var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxis", l8(e, t), n), p8 = (e, t, n) => J1(e, "yAxis", u8(e, t), n), m8 = (e, t, n) => q1(e, "yAxis", u8(e, t), n), OCe = $([
VU,
d8,
p8,
f8,
m8
-], (e, t, n, r, i) => bH(e, "xAxis") ? FH(t, r, !1) : FH(n, i, !1)), h8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), g8 = (e) => bH(VU(e), "xAxis") ? "yAxis" : "xAxis", OCe = (e, t) => g8(e) === "yAxis" ? u8(e, t) : l8(e, t), kCe = $([
+], (e, t, n, r, i) => bH(e, "xAxis") ? FH(t, r, !1) : FH(n, i, !1)), h8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), g8 = (e) => bH(VU(e), "xAxis") ? "yAxis" : "xAxis", kCe = (e, t) => g8(e) === "yAxis" ? u8(e, t) : l8(e, t), ACe = $([
VU,
d8,
p8,
f8,
m8,
- $([h8, (e, t, n) => a1(e, g8(e), OCe(e, t), n)], (e, t) => {
+ $([h8, (e, t, n) => a1(e, g8(e), kCe(e, t), n)], (e, t) => {
if (e != null && t != null) {
var { stackId: n } = e, r = TY(e);
if (n != null && r != null) {
@@ -60117,14 +60167,14 @@ var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxi
}
}),
OJ,
- DCe,
+ OCe,
h8,
$J
], (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 YCe({
+ if (m != null) return XCe({
layout: e,
xAxis: t,
yAxis: n,
@@ -60138,7 +60188,7 @@ var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxi
bandSize: s
});
}
-}), ACe = ["id"], jCe = [
+}), jCe = ["id"], MCe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -60165,14 +60215,14 @@ function _8() {
}
function v8(e, t) {
if (e == null) return {};
- var n, r, i = MCe(e, t);
+ var n, r, i = NCe(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 MCe(e, t) {
+function NCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60195,26 +60245,26 @@ function b8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y8(Object(n), !0).forEach(function(t) {
- NCe(e, t, n[t]);
+ PCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function NCe(e, t, n) {
- return (t = PCe(t)) in e ? Object.defineProperty(e, t, {
+function PCe(e, t, n) {
+ return (t = FCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function PCe(e) {
- var t = FCe(e, "string");
+function FCe(e) {
+ var t = ICe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function FCe(e, t) {
+function ICe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60227,7 +60277,7 @@ function FCe(e, t) {
function x8(e, t) {
return e && e !== "none" ? e : t;
}
-var ICe = (e) => {
+var LCe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
@@ -60237,7 +60287,7 @@ var ICe = (e) => {
value: LH(n, t),
payload: e
}];
-}, LCe = /*#__PURE__*/ P.memo((e) => {
+}, RCe = /*#__PURE__*/ P.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: rz,
@@ -60257,7 +60307,7 @@ var ICe = (e) => {
};
return /*#__PURE__*/ P.createElement(h3, { tooltipEntrySettings: d });
});
-function RCe(e) {
+function zCe(e) {
var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = LL(r);
return /*#__PURE__*/ P.createElement(T3, {
points: n,
@@ -60270,7 +60320,7 @@ function RCe(e) {
clipPathId: t
});
}
-function zCe(e) {
+function BCe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -60291,7 +60341,7 @@ function zCe(e) {
return /*#__PURE__*/ P.createElement(l4, { value: t ? i : void 0 }, n);
}
function S8(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 = v8(a, ACe), p = LL(f), m = zL(f);
+ 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 = v8(a, jCe), p = LL(f), m = zL(f);
return /*#__PURE__*/ P.createElement(P.Fragment, null, t?.length > 1 && /*#__PURE__*/ P.createElement(UL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ P.createElement(xK, _8({}, m, {
id: d,
points: t,
@@ -60315,13 +60365,13 @@ function S8(e) {
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ P.createElement(RCe, {
+ }))), /*#__PURE__*/ P.createElement(zCe, {
points: t,
props: f,
clipPathId: i
}));
}
-function BCe(e) {
+function VCe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
if (!dH(a) || !dH(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
@@ -60332,7 +60382,7 @@ function BCe(e) {
height: Math.floor(s)
}) : null;
}
-function VCe(e) {
+function HCe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
if (!dH(a) || !dH(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
@@ -60343,21 +60393,21 @@ function VCe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function HCe(e) {
+function UCe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ P.createElement(BCe, {
+ return n === "vertical" ? /*#__PURE__*/ P.createElement(VCe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ P.createElement(VCe, {
+ }) : /*#__PURE__*/ P.createElement(HCe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function UCe(e) {
+function WCe(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 = yq((0, P.useMemo)(() => ({
points: o,
baseLine: s
@@ -60368,7 +60418,7 @@ function UCe(e) {
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ P.createElement(zCe, {
+ return /*#__PURE__*/ P.createElement(BCe, {
showLabels: v,
points: o
}, r.children, /*#__PURE__*/ P.createElement(vq, {
@@ -60411,7 +60461,7 @@ function UCe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ P.createElement(UL, null, c && /*#__PURE__*/ P.createElement("defs", null, /*#__PURE__*/ P.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ P.createElement(HCe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ P.createElement(UL, null, c && /*#__PURE__*/ P.createElement("defs", null, /*#__PURE__*/ P.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ P.createElement(UCe, {
alpha: e,
points: o,
baseLine: s,
@@ -60426,9 +60476,9 @@ function UCe(e) {
})));
}), /*#__PURE__*/ P.createElement(f4, { label: r.label }));
}
-function WCe(e) {
+function GCe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, P.useRef)(null), a = (0, P.useRef)();
- return /*#__PURE__*/ P.createElement(UCe, {
+ return /*#__PURE__*/ P.createElement(WCe, {
needClip: t,
clipPathId: n,
props: r,
@@ -60436,7 +60486,7 @@ function WCe(e) {
previousBaselineRef: a
});
}
-var GCe = class extends P.PureComponent {
+var KCe = class extends P.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;
@@ -60450,7 +60500,7 @@ var GCe = class extends P.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ P.createElement(WCe, {
+ }))), /*#__PURE__*/ P.createElement(GCe, {
needClip: o,
clipPathId: h,
props: this.props
@@ -60468,7 +60518,7 @@ var GCe = class extends P.PureComponent {
clipPath: b
}));
}
-}, KCe = {
+}, qCe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -60488,11 +60538,11 @@ var GCe = class extends P.PureComponent {
yAxisId: 0,
zIndex: eY.area
};
-function qCe(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 = v8(e, jCe), g = HU(), _ = U0(), { needClip: v } = J6(p, m), y = sU(), { points: b, isRange: x, baseLine: S } = Q((t) => kCe(t, e.id, y)) ?? {}, C = k3();
+function JCe(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 = v8(e, MCe), g = HU(), _ = U0(), { needClip: v } = J6(p, m), y = sU(), { points: b, isRange: x, baseLine: S } = Q((t) => ACe(t, e.id, y)) ?? {}, C = k3();
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__*/ P.createElement(GCe, _8({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ P.createElement(KCe, _8({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -60518,7 +60568,7 @@ function qCe(e) {
yAxisId: m
}));
}
-var JCe = (e, t, n, r, i) => {
+var YCe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -60528,8 +60578,8 @@ var JCe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function YCe(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 = JCe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function XCe(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 = YCe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
@@ -60578,12 +60628,12 @@ function YCe(e) {
isRange: _
};
}
-function XCe(e) {
- var t = pz(e, KCe), n = sU();
+function ZCe(e) {
+ var t = pz(e, qCe), n = sU();
return /*#__PURE__*/ P.createElement(v3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(g3, { legendPayload: ICe(t) }), /*#__PURE__*/ P.createElement(LCe, {
+ }, (e) => /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(g3, { legendPayload: LCe(t) }), /*#__PURE__*/ P.createElement(RCe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -60608,15 +60658,15 @@ function XCe(e) {
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ P.createElement(qCe, _8({}, t, { id: e }))));
+ }), /*#__PURE__*/ P.createElement(JCe, _8({}, t, { id: e }))));
}
-var C8 = /*#__PURE__*/ P.memo(XCe, hG);
+var C8 = /*#__PURE__*/ P.memo(ZCe, hG);
C8.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var ZCe = "Invariant failed";
-function QCe(e, t) {
- if (!e) throw Error(ZCe);
+var QCe = "Invariant failed";
+function $Ce(e, t) {
+ if (!e) throw Error(QCe);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -60636,30 +60686,30 @@ function T8(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var $Ce = function(e) {
+var ewe = 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) || ez(n);
- return i ? e(n, r) : (!i && QCe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ return i ? e(n, r) : (!i && $Ce(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, ewe = (e, t, n) => n, E8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), twe = $([E8], (e) => e?.maxBarSize), nwe = (e, t, n, r) => r, rwe = $([
+}, twe = (e, t, n) => n, E8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), nwe = $([E8], (e) => e?.maxBarSize), rwe = (e, t, n, r) => r, iwe = $([
VU,
H$,
l8,
u8,
- ewe
-], (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")), iwe = (e, t, n) => {
+ twe
+], (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")), awe = (e, t, n) => {
var r = VU(e), i = l8(e, t), a = u8(e, t);
if (i != null && a != null) return r === "horizontal" ? a1(e, "yAxis", a, n) : a1(e, "xAxis", i, n);
-}, awe = $([
- rwe,
+}, owe = $([
+ iwe,
KJ,
(e, t) => {
var n = VU(e), r = l8(e, t), i = u8(e, t);
if (r != null && i != null) return n === "horizontal" ? B1(e, "xAxis", r) : B1(e, "yAxis", i);
}
-], J3), owe = (e, t, n) => {
+], J3), swe = (e, t, n) => {
var r = E8(e, t);
if (r == null) return 0;
var i = l8(e, t), a = u8(e, t);
@@ -60672,7 +60722,7 @@ var $Ce = function(e) {
var o, s;
return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), FH(o, s);
}
-}, swe = $([
+}, cwe = $([
rU,
aU,
(e, t, n) => {
@@ -60692,25 +60742,25 @@ var $Ce = function(e) {
if (r != null) return q1(e, "yAxis", r, n);
},
$([$([
- awe,
+ owe,
UJ,
WJ,
GJ,
- owe,
+ swe,
D8,
- twe
+ nwe
], Z3), E8], $3),
VU,
OJ,
D8,
- $([iwe, E8], Q3),
+ $([awe, E8], Q3),
E8,
- nwe
+ rwe
], (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 Fwe({
+ if (_ != null) return Iwe({
layout: s,
barSettings: d,
pos: o,
@@ -60727,7 +60777,7 @@ var $Ce = function(e) {
dataStartIndex: m
});
}
-}), cwe = ["index"];
+}), lwe = ["index"];
function O8() {
return O8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -60737,16 +60787,16 @@ function O8() {
return e;
}, O8.apply(null, arguments);
}
-function lwe(e, t) {
+function uwe(e, t) {
if (e == null) return {};
- var n, r, i = uwe(e, t);
+ var n, r, i = dwe(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 uwe(e, t) {
+function dwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60755,31 +60805,31 @@ function uwe(e, t) {
}
return n;
}
-var k8 = /*#__PURE__*/ (0, P.createContext)(void 0), dwe = (e) => {
+var k8 = /*#__PURE__*/ (0, P.createContext)(void 0), fwe = (e) => {
var t = (0, P.useContext)(k8);
if (t != null) return t.stackId;
if (e != null) return EH(e);
-}, fwe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, pwe = (e) => {
+}, pwe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, mwe = (e) => {
var t = (0, P.useContext)(k8);
if (t != null) {
var { stackId: n } = t;
- return `url(#${fwe(n, e)})`;
+ return `url(#${pwe(n, e)})`;
}
}, A8 = (e) => {
- var { index: t } = e, n = lwe(e, cwe), r = pwe(t);
+ var { index: t } = e, n = uwe(e, lwe), r = mwe(t);
return /*#__PURE__*/ P.createElement(UL, O8({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, mwe = [
+}, hwe = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], hwe = [
+], gwe = [
"value",
"background",
"tooltipPosition"
-], gwe = ["id"], _we = [
+], _we = ["id"], vwe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -60807,26 +60857,26 @@ function N8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M8(Object(n), !0).forEach(function(t) {
- vwe(e, t, n[t]);
+ ywe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vwe(e, t, n) {
- return (t = ywe(t)) in e ? Object.defineProperty(e, t, {
+function ywe(e, t, n) {
+ return (t = bwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ywe(e) {
- var t = bwe(e, "string");
+function bwe(e) {
+ var t = xwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bwe(e, t) {
+function xwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60838,14 +60888,14 @@ function bwe(e, t) {
}
function P8(e, t) {
if (e == null) return {};
- var n, r, i = xwe(e, t);
+ var n, r, i = Swe(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 xwe(e, t) {
+function Swe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60854,7 +60904,7 @@ function xwe(e, t) {
}
return n;
}
-var Swe = (e) => {
+var Cwe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -60864,7 +60914,7 @@ var Swe = (e) => {
value: LH(n, t),
payload: e
}];
-}, Cwe = /*#__PURE__*/ P.memo((e) => {
+}, wwe = /*#__PURE__*/ P.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: rz,
@@ -60884,12 +60934,12 @@ var Swe = (e) => {
};
return /*#__PURE__*/ P.createElement(h3, { tooltipEntrySettings: u });
});
-function wwe(e) {
- var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = P8(a, mwe), u = f3(o, r, a.id), d = p3(s), f = m3(c, r, a.id);
+function Twe(e) {
+ var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = P8(a, hwe), u = f3(o, r, a.id), d = p3(s), f = m3(c, r, a.id);
if (!i || n == null) return null;
var p = RL(i);
return /*#__PURE__*/ P.createElement(t2, { zIndex: f6(i, eY.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = P8(e, hwe);
+ var { value: a, background: o, tooltipPosition: s } = e, c = P8(e, gwe);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = N8(N8(N8(N8(N8({
option: i,
@@ -60905,7 +60955,7 @@ function wwe(e) {
return /*#__PURE__*/ P.createElement(T8, j8({ key: `background-bar-${n}` }, _));
}));
}
-function Twe(e) {
+function Ewe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -60925,7 +60975,7 @@ function Twe(e) {
});
return /*#__PURE__*/ P.createElement(l4, { value: t ? i : void 0 }, n);
}
-function Ewe(e) {
+function Dwe(e) {
var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(P0), c = Q(I0), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, P.useState)(!1), [f, p] = (0, P.useState)(!1);
(0, P.useEffect)(() => {
var e;
@@ -60946,7 +60996,7 @@ function Ewe(e) {
}));
return g ? /*#__PURE__*/ P.createElement(t2, { zIndex: eY.activeBar }, /*#__PURE__*/ P.createElement(A8, { index: i.originalDataIndex }, v)) : v;
}
-function Dwe(e) {
+function Owe(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ P.createElement(T8, j8({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -60955,8 +61005,8 @@ function Dwe(e) {
dataKey: a
}));
}
-function Owe(e) {
- var { data: t, props: n } = e, r = LL(n) ?? {}, { id: i } = r, a = P8(r, gwe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = P8(n, _we), p = f3(l, s, i), m = p3(d), h = m3(u, s, i);
+function kwe(e) {
+ var { data: t, props: n } = e, r = LL(n) ?? {}, { id: i } = r, a = P8(r, _we), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = P8(n, vwe), p = f3(l, s, i), m = p3(d), h = m3(u, s, i);
return t ? /*#__PURE__*/ P.createElement(P.Fragment, null, t.map((e, t) => /*#__PURE__*/ P.createElement(A8, j8({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
@@ -60965,14 +61015,14 @@ function Owe(e) {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ P.createElement(Ewe, {
+ }), c ? /*#__PURE__*/ P.createElement(Dwe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ P.createElement(Dwe, {
+ }) : /*#__PURE__*/ P.createElement(Owe, {
shape: o,
baseProps: a,
entry: e,
@@ -60980,13 +61030,13 @@ function Owe(e) {
dataKey: s
})))) : null;
}
-function kwe(e) {
+function Awe(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 = yq(t, "recharts-bar-"), [p, m] = (0, P.useState)(!1), h = !p, g = (0, P.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, P.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ P.createElement(Twe, {
+ return /*#__PURE__*/ P.createElement(Ewe, {
showLabels: h,
rects: r
}, /*#__PURE__*/ P.createElement(vq, {
@@ -61020,20 +61070,20 @@ function kwe(e) {
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ P.createElement(UL, null, /*#__PURE__*/ P.createElement(Owe, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ P.createElement(UL, null, /*#__PURE__*/ P.createElement(kwe, {
props: t,
data: a
}));
}), /*#__PURE__*/ P.createElement(f4, { label: t.label }), t.children);
}
-function Awe(e) {
+function jwe(e) {
var t = (0, P.useRef)(null);
- return /*#__PURE__*/ P.createElement(kwe, {
+ return /*#__PURE__*/ P.createElement(Awe, {
previousRectanglesRef: t,
props: e
});
}
-var F8 = 0, jwe = (e, t) => {
+var F8 = 0, Mwe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
@@ -61041,7 +61091,7 @@ var F8 = 0, jwe = (e, t) => {
value: n,
errorVal: vH(e, t)
};
-}, Mwe = class extends P.PureComponent {
+}, Nwe = class extends P.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;
@@ -61056,14 +61106,14 @@ var F8 = 0, jwe = (e, t) => {
})), /*#__PURE__*/ P.createElement(UL, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ P.createElement(wwe, {
+ }, /*#__PURE__*/ P.createElement(Twe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ P.createElement(Awe, this.props)));
+ }), /*#__PURE__*/ P.createElement(jwe, this.props)));
}
-}, Nwe = {
+}, Pwe = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -61078,17 +61128,17 @@ var F8 = 0, jwe = (e, t) => {
yAxisId: 0,
zIndex: eY.bar
};
-function Pwe(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 } = J6(t, n), f = HU(), p = sU(), m = t3(e.children, v2), h = Q((t) => swe(t, e.id, p, m));
+function Fwe(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 } = J6(t, n), f = HU(), p = sU(), m = t3(e.children, v2), h = Q((t) => cwe(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__*/ P.createElement(q6, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: jwe,
+ dataPointFormatter: Mwe,
errorBarOffset: g
- }, /*#__PURE__*/ P.createElement(Mwe, j8({}, e, {
+ }, /*#__PURE__*/ P.createElement(Nwe, j8({}, e, {
layout: f,
needClip: d,
data: h,
@@ -61104,7 +61154,7 @@ function Pwe(e) {
isAnimationActive: u
})));
}
-function Fwe(e) {
+function Iwe(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 = kH({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
@@ -61113,7 +61163,7 @@ function Fwe(e) {
if (E == null) return null;
_ = CH(E, v);
} else _ = vH(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = $Ce(r, F8)(_[1], f);
+ var D = ewe(r, F8)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
@@ -61173,12 +61223,12 @@ function Fwe(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function Iwe(e) {
- var t = pz(e, Nwe), n = dwe(t.stackId), r = sU();
+function Lwe(e) {
+ var t = pz(e, Pwe), n = fwe(t.stackId), r = sU();
return /*#__PURE__*/ P.createElement(v3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(g3, { legendPayload: Swe(t) }), /*#__PURE__*/ P.createElement(Cwe, {
+ }, (e) => /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(g3, { legendPayload: Cwe(t) }), /*#__PURE__*/ P.createElement(wwe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -61203,23 +61253,23 @@ function Iwe(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ P.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ P.createElement(Pwe, j8({}, t, { id: e })))));
+ }), /*#__PURE__*/ P.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ P.createElement(Fwe, j8({}, t, { id: e })))));
}
-var I8 = /*#__PURE__*/ P.memo(Iwe, hG);
+var I8 = /*#__PURE__*/ P.memo(Lwe, hG);
I8.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var Lwe = ["domain", "range"], Rwe = ["domain", "range"];
+var Rwe = ["domain", "range"], zwe = ["domain", "range"];
function L8(e, t) {
if (e == null) return {};
- var n, r, i = zwe(e, t);
+ var n, r, i = Bwe(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 zwe(e, t) {
+function Bwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61233,16 +61283,16 @@ function R8(e, t) {
}
function z8(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = L8(e, Lwe), { domain: a, range: o } = t, s = L8(t, Rwe);
+ var { domain: n, range: r } = e, i = L8(e, Rwe), { domain: a, range: o } = t, s = L8(t, zwe);
return !R8(n, a) || !R8(r, o) ? !1 : hG(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var Bwe = ["type"], Vwe = [
+var Vwe = ["type"], Hwe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], Hwe = ["id", "scale"];
+], Uwe = ["id", "scale"];
function B8() {
return B8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -61266,26 +61316,26 @@ function H8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V8(Object(n), !0).forEach(function(t) {
- Uwe(e, t, n[t]);
+ Wwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Uwe(e, t, n) {
- return (t = Wwe(t)) in e ? Object.defineProperty(e, t, {
+function Wwe(e, t, n) {
+ return (t = Gwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Wwe(e) {
- var t = Gwe(e, "string");
+function Gwe(e) {
+ var t = Kwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Gwe(e, t) {
+function Kwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61297,14 +61347,14 @@ function Gwe(e, t) {
}
function U8(e, t) {
if (e == null) return {};
- var n, r, i = Kwe(e, t);
+ var n, r, i = qwe(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 Kwe(e, t) {
+function qwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61313,23 +61363,23 @@ function Kwe(e, t) {
}
return n;
}
-function qwe(e) {
- var t = Bz(), n = (0, P.useRef)(null), r = UU(), { type: i } = e, a = U8(e, Bwe), o = iY(r, "xAxis", i), s = (0, P.useMemo)(() => {
+function Jwe(e) {
+ var t = Bz(), n = (0, P.useRef)(null), r = UU(), { type: i } = e, a = U8(e, Vwe), o = iY(r, "xAxis", i), s = (0, P.useMemo)(() => {
if (o != null) return H8(H8({}, a), {}, { type: o });
}, [a, o]);
return (0, P.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(lbe(s)) : n.current !== s && t(ube({
+ s != null && (n.current === null ? t(ube(s)) : n.current !== s && t(dbe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, P.useLayoutEffect)(() => () => {
- n.current &&= (t(dbe(n.current)), null);
+ n.current &&= (t(fbe(n.current)), null);
}, [t]), null;
}
-var Jwe = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(aU), i = sU(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => hhe(e, t)), l = Q((e) => M$(e, t));
+var Ywe = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(aU), i = sU(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => ghe(e, t)), l = Q((e) => M$(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = U8(e, Vwe), { id: m, scale: h } = l, g = U8(l, Hwe);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = U8(e, Hwe), { id: m, scale: h } = l, g = U8(l, Uwe);
return /*#__PURE__*/ P.createElement(z6, B8({}, p, g, {
x: c.x,
y: c.y,
@@ -61341,7 +61391,7 @@ var Jwe = (e) => {
axisType: a,
axisId: t
}));
-}, Ywe = {
+}, Xwe = {
allowDataOverflow: j$.allowDataOverflow,
allowDecimals: j$.allowDecimals,
allowDuplicatedCategory: j$.allowDuplicatedCategory,
@@ -61366,8 +61416,8 @@ var Jwe = (e) => {
niceTicks: j$.niceTicks,
xAxisId: 0
}, W8 = /*#__PURE__*/ P.memo((e) => {
- var t = pz(e, Ywe);
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(qwe, {
+ var t = pz(e, Xwe);
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(Jwe, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -61393,16 +61443,16 @@ var Jwe = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ P.createElement(Jwe, t));
+ }), /*#__PURE__*/ P.createElement(Ywe, t));
}, z8);
W8.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var Xwe = ["type"], Zwe = [
+var Zwe = ["type"], Qwe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], Qwe = ["id", "scale"];
+], $we = ["id", "scale"];
function G8() {
return G8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -61426,26 +61476,26 @@ function q8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K8(Object(n), !0).forEach(function(t) {
- $we(e, t, n[t]);
+ eTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $we(e, t, n) {
- return (t = eTe(t)) in e ? Object.defineProperty(e, t, {
+function eTe(e, t, n) {
+ return (t = tTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function eTe(e) {
- var t = tTe(e, "string");
+function tTe(e) {
+ var t = nTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function tTe(e, t) {
+function nTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61457,14 +61507,14 @@ function tTe(e, t) {
}
function J8(e, t) {
if (e == null) return {};
- var n, r, i = nTe(e, t);
+ var n, r, i = rTe(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 nTe(e, t) {
+function rTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61473,27 +61523,27 @@ function nTe(e, t) {
}
return n;
}
-function rTe(e) {
- var t = Bz(), n = (0, P.useRef)(null), r = UU(), { type: i } = e, a = J8(e, Xwe), o = iY(r, "yAxis", i), s = (0, P.useMemo)(() => {
+function iTe(e) {
+ var t = Bz(), n = (0, P.useRef)(null), r = UU(), { type: i } = e, a = J8(e, Zwe), o = iY(r, "yAxis", i), s = (0, P.useMemo)(() => {
if (o != null) return q8(q8({}, a), {}, { type: o });
}, [o, a]);
return (0, P.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(fbe(s)) : n.current !== s && t(pbe({
+ s != null && (n.current === null ? t(pbe(s)) : n.current !== s && t(mbe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, P.useLayoutEffect)(() => () => {
- n.current &&= (t(mbe(n.current)), null);
+ n.current &&= (t(hbe(n.current)), null);
}, [t]), null;
}
-function iTe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = Q(aU), c = sU(), l = Bz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => ghe(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
+function aTe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = Q(aU), c = sU(), l = Bz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => _he(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
if ((0, P.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || t4(i) || /*#__PURE__*/ (0, P.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(vbe({
+ Math.round(d.width) !== Math.round(n) && l(ybe({
id: t,
width: n
}));
@@ -61508,7 +61558,7 @@ function iTe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = J8(e, Zwe), { id: y, scale: b } = m, x = J8(m, Qwe);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = J8(e, Qwe), { id: y, scale: b } = m, x = J8(m, $we);
return /*#__PURE__*/ P.createElement(z6, G8({}, v, x, {
ref: a,
labelRef: o,
@@ -61524,7 +61574,7 @@ function iTe(e) {
axisId: t
}));
}
-var aTe = {
+var oTe = {
allowDataOverflow: P$.allowDataOverflow,
allowDecimals: P$.allowDecimals,
allowDuplicatedCategory: P$.allowDuplicatedCategory,
@@ -61549,8 +61599,8 @@ var aTe = {
width: P$.width,
yAxisId: 0
}, Y8 = /*#__PURE__*/ P.memo((e) => {
- var t = pz(e, aTe);
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(rTe, {
+ var t = pz(e, oTe);
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(iTe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -61576,7 +61626,7 @@ var aTe = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ P.createElement(iTe, t));
+ }), /*#__PURE__*/ P.createElement(aTe, t));
}, z8);
Y8.displayName = "YAxis";
var X8 = $([
@@ -61586,17 +61636,17 @@ var X8 = $([
jY,
D0,
k0,
- fge,
+ pge,
rU
-], yge);
+], bge);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function oTe(e) {
+function sTe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function Z8(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (oTe(e)) {
+ if (sTe(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 {
@@ -61616,7 +61666,7 @@ $8.startListening({
actionCreator: Q8,
effect: (e, t) => {
var n = e.payload, r = X8(t.getState(), Z8(n));
- r?.activeIndex != null && t.dispatch(Ehe({
+ r?.activeIndex != null && t.dispatch(Dhe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
@@ -61654,7 +61704,7 @@ t5.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function sTe(e, t) {
+function cTe(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
@@ -61677,11 +61727,11 @@ var a5 = {
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? a5.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;
} }
-}), cTe = o5.reducer, { updateOptions: lTe } = o5.actions, s5 = TV({
+}), lTe = o5.reducer, { updateOptions: uTe } = o5.actions, s5 = TV({
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: uTe } = s5.actions, dTe = s5.reducer, c5 = gV("keyDown"), l5 = gV("focus"), u5 = gV("blur"), d5 = nH(), f5 = null, p5 = null, m5 = null;
+}), { updatePolarOptions: dTe } = s5.actions, fTe = s5.reducer, c5 = gV("keyDown"), l5 = gV("focus"), u5 = gV("blur"), d5 = nH(), f5 = null, p5 = null, m5 = null;
d5.startListening({
actionCreator: c5,
effect: (e, t) => {
@@ -61706,7 +61756,7 @@ d5.startListening({
}));
return;
}
- var c = _he(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = vhe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
var u = X0(e, "axis", "hover", String(l));
t.dispatch(o0({
@@ -61789,12 +61839,12 @@ _5.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: Qhe(a),
+ activeCoordinate: $he(a),
activeDataKey: I0(a),
activeIndex: P0(a),
activeLabel: F0(a),
activeTooltipIndex: P0(a),
- isTooltipActive: $he(a)
+ isTooltipActive: ege(a)
};
n && n(o, r);
} finally {
@@ -61818,7 +61868,7 @@ _5.startListening({
}
}
});
-var fTe = $([
+var pTe = $([
$([m0], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -61865,7 +61915,7 @@ S5.startListening({
if (!o || !o.getAttribute) return;
var s = o.getAttribute(KH), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = fTe(e, s, c);
+ var { dataKey: u } = l, d = pTe(e, s, c);
t.dispatch(n0({
activeDataKey: u,
activeIndex: s,
@@ -61903,27 +61953,27 @@ var D5 = {
reducers: { setEventSettings: (e, t) => {
t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = UW(t.payload.throttledEvents));
} }
-}), { setEventSettings: pTe } = O5.actions, mTe = O5.reducer, hTe = iB({
- brush: Mxe,
- cartesianAxis: ybe,
- chartData: Kge,
- errorBars: ZSe,
- eventSettings: mTe,
- graphicalItems: Yye,
+}), { setEventSettings: mTe } = O5.actions, hTe = O5.reducer, gTe = iB({
+ brush: Nxe,
+ cartesianAxis: bbe,
+ chartData: qge,
+ errorBars: QSe,
+ eventSettings: hTe,
+ graphicalItems: Xye,
layout: lH,
legend: XW,
- options: Vge,
- polarAxis: zve,
- polarOptions: dTe,
- referenceElements: Uxe,
- renderedTicks: _Se,
- rootProps: cTe,
- tooltip: Dhe,
- zIndex: Mge
-}), gTe = function(e) {
+ options: Hge,
+ polarAxis: Bve,
+ polarOptions: fTe,
+ referenceElements: Wxe,
+ renderedTicks: vSe,
+ rootProps: lTe,
+ tooltip: Ohe,
+ zIndex: Nge
+}), _Te = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return gfe({
- reducer: hTe,
+ return _fe({
+ reducer: gTe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -61944,7 +61994,7 @@ var D5 = {
return typeof e == "function" && (t = e()), t.concat(CV({ type: "raf" }));
},
devTools: XG.devToolsEnabled && {
- serialize: { replacer: sTe },
+ serialize: { replacer: cTe },
name: `recharts-${t}`
}
});
@@ -61954,7 +62004,7 @@ var D5 = {
function k5(e) {
var { preloadedState: t, children: n, reduxStoreName: r } = e, i = sU(), a = (0, P.useRef)(null);
if (i) return n;
- a.current ??= gTe(t, r);
+ a.current ??= _Te(t, r);
var o = zz;
return /*#__PURE__*/ P.createElement(fG, {
context: o,
@@ -61963,7 +62013,7 @@ function k5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function _Te(e) {
+function vTe(e) {
var { layout: t, margin: n } = e, r = Bz(), i = sU();
return (0, P.useEffect)(() => {
i || (r(oH(t)), r(aH(n)));
@@ -61974,31 +62024,31 @@ function _Te(e) {
n
]), null;
}
-var A5 = /*#__PURE__*/ (0, P.memo)(_Te, hG);
+var A5 = /*#__PURE__*/ (0, P.memo)(vTe, hG);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function j5(e) {
var t = Bz();
return (0, P.useEffect)(() => {
- t(lTe(e));
+ t(uTe(e));
}, [t, e]), null;
}
var M5 = /*#__PURE__*/ (0, P.memo)((e) => {
var t = Bz();
return (0, P.useEffect)(() => {
- t(pTe(e));
+ t(mTe(e));
}, [t, e]), null;
}, hG);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function N5(e) {
var { zIndex: t, isPanorama: n } = e, r = (0, P.useRef)(null), i = Bz();
- return (0, P.useLayoutEffect)(() => (r.current && i(Age({
+ return (0, P.useLayoutEffect)(() => (r.current && i(jge({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(jge({
+ i(Mge({
zIndex: t,
isPanorama: n
}));
@@ -62013,7 +62063,7 @@ function N5(e) {
});
}
function P5(e) {
- var { children: t, isPanorama: n } = e, r = Q(xge);
+ var { children: t, isPanorama: n } = e, r = Q(Sge);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
return /*#__PURE__*/ P.createElement(P.Fragment, null, i.map((e) => /*#__PURE__*/ P.createElement(N5, {
@@ -62028,17 +62078,17 @@ function P5(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var vTe = ["children"];
-function yTe(e, t) {
+var yTe = ["children"];
+function bTe(e, t) {
if (e == null) return {};
- var n, r, i = bTe(e, t);
+ var n, r, i = xTe(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 bTe(e, t) {
+function xTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62056,11 +62106,11 @@ function F5() {
return e;
}, F5.apply(null, arguments);
}
-var xTe = {
+var STe = {
width: "100%",
height: "100%",
display: "block"
-}, STe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
+}, CTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
var n = RU(), r = zU(), i = oK();
if (!fH(n) || !fH(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, l, u;
@@ -62071,10 +62121,10 @@ var xTe = {
tabIndex: l,
width: n,
height: r,
- style: xTe,
+ style: STe,
ref: t
}), a);
-}), CTe = (e) => {
+}), wTe = (e) => {
var { children: t } = e, n = Q(lU);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
@@ -62085,12 +62135,12 @@ var xTe = {
y: a
}, t);
}, I5 = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
- var { children: n } = e, r = yTe(e, vTe);
- return sU() ? /*#__PURE__*/ P.createElement(CTe, null, /*#__PURE__*/ P.createElement(P5, { isPanorama: !0 }, n)) : /*#__PURE__*/ P.createElement(STe, F5({ ref: t }, r), /*#__PURE__*/ P.createElement(P5, { isPanorama: !1 }, n));
+ var { children: n } = e, r = bTe(e, yTe);
+ return sU() ? /*#__PURE__*/ P.createElement(wTe, null, /*#__PURE__*/ P.createElement(P5, { isPanorama: !0 }, n)) : /*#__PURE__*/ P.createElement(CTe, F5({ ref: t }, r), /*#__PURE__*/ P.createElement(P5, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function wTe() {
+function TTe() {
var e = Bz(), [t, n] = (0, P.useState)(null), r = Q(HH);
return (0, P.useEffect)(() => {
if (t != null) {
@@ -62115,30 +62165,30 @@ function L5(e, t) {
}
return n;
}
-function TTe(e) {
+function ETe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? L5(Object(n), !0).forEach(function(t) {
- ETe(e, t, n[t]);
+ DTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ETe(e, t, n) {
- return (t = DTe(t)) in e ? Object.defineProperty(e, t, {
+function DTe(e, t, n) {
+ return (t = OTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DTe(e) {
- var t = OTe(e, "string");
+function OTe(e) {
+ var t = kTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function OTe(e, t) {
+function kTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62157,7 +62207,7 @@ function R5() {
return e;
}, R5.apply(null, arguments);
}
-var kTe = () => (t_e(), null);
+var ATe = () => (n_e(), null);
function z5(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -62166,7 +62216,7 @@ function z5(e) {
}
return 0;
}
-var ATe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
+var jTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
var n = (0, P.useRef)(null), [r, i] = (0, P.useState)({
containerWidth: z5(e.style?.width),
containerHeight: z5(e.style?.height)
@@ -62198,7 +62248,7 @@ var ATe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ P.createElement("div", R5({ ref: o }, e)));
-}), jTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
+}), MTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, P.useState)({
containerWidth: z5(n),
containerHeight: z5(r)
@@ -62220,15 +62270,15 @@ var ATe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ P.createElement("div", R5({ ref: s }, e)));
-}), MTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
+}), NTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
var { width: n, height: r } = e;
return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(qU, {
width: n,
height: r
}), /*#__PURE__*/ P.createElement("div", R5({ ref: t }, e)));
-}), NTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
+}), PTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ P.createElement(jTe, R5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ P.createElement(MTe, R5({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ P.createElement(MTe, R5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ P.createElement(NTe, R5({}, e, {
width: n,
height: r,
ref: t
@@ -62237,11 +62287,11 @@ var ATe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
height: r
}), /*#__PURE__*/ P.createElement("div", R5({ ref: t }, e)));
});
-function PTe(e) {
- return e ? ATe : NTe;
+function FTe(e) {
+ return e ? jTe : PTe;
}
-var FTe = /*#__PURE__*/ (0, P.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, P.useRef)(null), x = Bz(), [S, C] = (0, P.useState)(null), [w, T] = (0, P.useState)(null), E = wTe(), D = jU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, P.useCallback)((e) => {
+var ITe = /*#__PURE__*/ (0, P.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, P.useRef)(null), x = Bz(), [S, C] = (0, P.useState)(null), [w, T] = (0, P.useState)(null), E = TTe(), D = jU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, P.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -62313,12 +62363,12 @@ var FTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), le = PTe(v);
+ }, [x, p]), le = FTe(v);
return /*#__PURE__*/ P.createElement(a2.Provider, { value: S }, /*#__PURE__*/ P.createElement(WL.Provider, { value: w }, /*#__PURE__*/ P.createElement(le, {
width: O ?? g?.width,
height: k ?? g?.height,
className: Pm("recharts-wrapper", r),
- style: TTe({
+ style: ETe({
position: "relative",
cursor: "default",
width: O,
@@ -62339,8 +62389,8 @@ var FTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
onTouchMove: se,
onTouchStart: oe,
ref: A
- }, /*#__PURE__*/ P.createElement(kTe, null), n)));
-}), ITe = [
+ }, /*#__PURE__*/ P.createElement(ATe, null), n)));
+}), LTe = [
"width",
"height",
"responsive",
@@ -62351,16 +62401,16 @@ var FTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
"title",
"desc"
];
-function LTe(e, t) {
+function RTe(e, t) {
if (e == null) return {};
- var n, r, i = RTe(e, t);
+ var n, r, i = zTe(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 RTe(e, t) {
+function zTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62370,7 +62420,7 @@ function RTe(e, t) {
return n;
}
var B5 = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = LL(LTe(e, ITe));
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = LL(RTe(e, LTe));
return c ? /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(qU, {
width: n,
height: r
@@ -62378,7 +62428,7 @@ var B5 = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ P.createElement(FTe, {
+ }, a)) : /*#__PURE__*/ P.createElement(ITe, {
className: o,
style: s,
width: n,
@@ -62400,7 +62450,7 @@ var B5 = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ P.createElement(Wxe, null, a)));
+ }, /*#__PURE__*/ P.createElement(Gxe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -62423,30 +62473,30 @@ function H5(e, t) {
}
return n;
}
-function zTe(e) {
+function BTe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H5(Object(n), !0).forEach(function(t) {
- BTe(e, t, n[t]);
+ VTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function BTe(e, t, n) {
- return (t = VTe(t)) in e ? Object.defineProperty(e, t, {
+function VTe(e, t, n) {
+ return (t = HTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function VTe(e) {
- var t = HTe(e, "string");
+function HTe(e) {
+ var t = UTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function HTe(e, t) {
+function UTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62456,7 +62506,7 @@ function HTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var UTe = zTe({
+var WTe = BTe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -62472,7 +62522,7 @@ var UTe = zTe({
stackOffset: "none",
syncMethod: "index"
}, D5), U5 = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- var n = pz(e.categoricalChartProps, UTe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = pz(e.categoricalChartProps, WTe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -62501,32 +62551,32 @@ var UTe = zTe({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ P.createElement(B5, V5({}, n, { ref: t })));
-}), WTe = ["axis"], GTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => /*#__PURE__*/ P.createElement(U5, {
+}), GTe = ["axis"], KTe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => /*#__PURE__*/ P.createElement(U5, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: WTe,
+ validateTooltipEventTypes: GTe,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
-})), KTe = ["axis", "item"], W5 = /*#__PURE__*/ (0, P.forwardRef)((e, t) => /*#__PURE__*/ P.createElement(U5, {
+})), qTe = ["axis", "item"], W5 = /*#__PURE__*/ (0, P.forwardRef)((e, t) => /*#__PURE__*/ P.createElement(U5, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: KTe,
+ validateTooltipEventTypes: qTe,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function qTe(e) {
+function JTe(e) {
var t = Bz();
return (0, P.useEffect)(() => {
- t(uTe(e));
+ t(dTe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var JTe = ["layout"];
+var YTe = ["layout"];
function G5() {
return G5 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62536,16 +62586,16 @@ function G5() {
return e;
}, G5.apply(null, arguments);
}
-function YTe(e, t) {
+function XTe(e, t) {
if (e == null) return {};
- var n, r, i = XTe(e, t);
+ var n, r, i = ZTe(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 XTe(e, t) {
+function ZTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62564,30 +62614,30 @@ function K5(e, t) {
}
return n;
}
-function ZTe(e) {
+function QTe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K5(Object(n), !0).forEach(function(t) {
- QTe(e, t, n[t]);
+ $Te(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K5(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, {
+function $Te(e, t, n) {
+ return (t = eEe(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");
+function eEe(e) {
+ var t = tEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eEe(e, t) {
+function tEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62597,7 +62647,7 @@ function eEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var q5 = ZTe({
+var q5 = QTe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -62617,7 +62667,7 @@ var q5 = ZTe({
innerRadius: 0,
outerRadius: "80%"
}, D5), J5 = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- var n = pz(e.categoricalChartProps, q5), { layout: r } = n, i = YTe(n, JTe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = pz(e.categoricalChartProps, q5), { layout: r } = n, i = XTe(n, YTe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -62645,7 +62695,7 @@ var q5 = ZTe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ P.createElement(qTe, {
+ }), /*#__PURE__*/ P.createElement(JTe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -62670,26 +62720,26 @@ function X5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Y5(Object(n), !0).forEach(function(t) {
- tEe(e, t, n[t]);
+ nEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y5(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 nEe(e, t, n) {
+ return (t = rEe(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 rEe(e) {
+ var t = iEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rEe(e, t) {
+function iEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62699,24 +62749,24 @@ function rEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var iEe = ["axis"], aEe = X5(X5({}, q5), {}, {
+var aEe = ["axis"], oEe = X5(X5({}, q5), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), oEe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
- var n = pz(e, aEe);
+}), sEe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
+ var n = pz(e, oEe);
return /*#__PURE__*/ P.createElement(J5, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: iEe,
+ validateTooltipEventTypes: aEe,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
});
-}), sEe = ["axis"], cEe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => /*#__PURE__*/ P.createElement(U5, {
+}), cEe = ["axis"], lEe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => /*#__PURE__*/ P.createElement(U5, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: sEe,
+ validateTooltipEventTypes: cEe,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
@@ -62737,26 +62787,26 @@ function Q5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Z5(Object(n), !0).forEach(function(t) {
- lEe(e, t, n[t]);
+ uEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lEe(e, t, n) {
- return (t = uEe(t)) in e ? Object.defineProperty(e, t, {
+function uEe(e, t, n) {
+ return (t = dEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uEe(e) {
- var t = dEe(e, "string");
+function dEe(e) {
+ var t = fEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dEe(e, t) {
+function fEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62766,16 +62816,16 @@ function dEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var fEe = ["axis", "item"], pEe = Q5(Q5({}, q5), {}, {
+var pEe = ["axis", "item"], mEe = Q5(Q5({}, q5), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), mEe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
- var n = pz(e, pEe);
+}), hEe = /*#__PURE__*/ (0, P.forwardRef)((e, t) => {
+ var n = pz(e, mEe);
return /*#__PURE__*/ P.createElement(J5, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: fEe,
+ validateTooltipEventTypes: pEe,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
@@ -62784,7 +62834,7 @@ var fEe = ["axis", "item"], pEe = Q5(Q5({}, q5), {}, {
//#endregion
//#region src/react/charts/cn.ts
function $5(...e) {
- return RC(Pm(e));
+ return hw(Pm(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -62792,7 +62842,7 @@ var e7 = {
light: "",
dark: ".dark"
}, t7 = Object.keys(e7);
-function hEe(e) {
+function gEe(e) {
for (let [t, n] of Object.entries(e)) if (n.colors && !t7.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${t7.join(", ")}). Received empty object or invalid keys.`);
}
var n7 = P.createContext(null);
@@ -62806,7 +62856,7 @@ function i7({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = P.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return hEe(t), /* @__PURE__ */ (0, F.jsx)(n7.Provider, {
+ return gEe(t), /* @__PURE__ */ (0, F.jsx)(n7.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, F.jsxs)("div", {
"data-slot": "chart",
@@ -62837,7 +62887,7 @@ function a7({ isLoading: e }) {
})
}) : null;
}
-function gEe(e, t) {
+function _Ee(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -62852,7 +62902,7 @@ var o7 = ({ id: e, config: t }) => {
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 ? [] : gEe(r, c7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : _Ee(r, c7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
}).filter(Boolean).join("\n"), i = Object.entries(e7).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, F.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
@@ -62866,15 +62916,15 @@ function c7(e) {
let t = t7.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var _Ee = (e = 10, t = 0, n = 70) => {
+var vEe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, vEe = {
+}, yEe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, yEe = {
+}, bEe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -62901,7 +62951,7 @@ function l7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, F.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, F.jsxs)("div", {
- className: $5("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", vEe[p], yEe[m], n),
+ className: $5("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", yEe[p], bEe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, F.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
@@ -62915,7 +62965,7 @@ function l7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: bEe(n, o)
+ style: xEe(n, o)
}), /* @__PURE__ */ (0, F.jsxs)("div", {
className: $5("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -62934,10 +62984,10 @@ function l7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function bEe(e, t) {
+function xEe(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 u7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, F.jsx)(l_e, {
+var u7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, F.jsx)(u_e, {
animationDuration: e,
...t
});
@@ -62954,7 +63004,7 @@ function d7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, F.jsx)(i.icon, {}) : /* @__PURE__ */ (0, F.jsx)(xEe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, F.jsx)(i.icon, {}) : /* @__PURE__ */ (0, F.jsx)(SEe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -62963,8 +63013,8 @@ function d7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function xEe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = SEe(t, n), i = CEe(t, n);
+function SEe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = CEe(t, n), i = wEe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, F.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -62996,10 +63046,10 @@ function xEe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function SEe(e, t) {
+function CEe(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 CEe(e, t) {
+function wEe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -63019,7 +63069,7 @@ var f7 = NG, p7 = () => null, m7 = {
damping: 35,
mass: .8
};
-function wEe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function TEe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = P.useRef(null), [a, o] = P.useState(!1), s = (0, P.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, P.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -63065,7 +63115,7 @@ function wEe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function TEe({ 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 EEe({ 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 = P.useRef(null), S = P.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = P.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = P.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -63099,7 +63149,7 @@ function TEe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = wEe({
+ }, [C, v]), { isDragging: A, bind: j } = TEe({
range: E,
totalPoints: C,
containerRef: x,
@@ -63155,7 +63205,7 @@ function TEe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}),
/* @__PURE__ */ (0, F.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, F.jsx)(EEe, {
+ children: /* @__PURE__ */ (0, F.jsx)(DEe, {
data: e,
keys: S,
chartConfig: t,
@@ -63224,7 +63274,7 @@ function h7({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function EEe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function DEe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = P.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: c7(t)
@@ -63284,7 +63334,7 @@ function EEe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
if (r === "line") return /* @__PURE__ */ (0, F.jsx)(NU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, F.jsxs)(GTe, {
+ children: /* @__PURE__ */ (0, F.jsxs)(KTe, {
data: e,
margin: {
top: 4,
@@ -63340,7 +63390,7 @@ function EEe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, F.jsx)(NU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, F.jsxs)(cEe, {
+ children: /* @__PURE__ */ (0, F.jsxs)(lEe, {
data: e,
margin: {
top: 4,
@@ -63366,7 +63416,7 @@ function EEe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function DEe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function OEe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = P.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -63390,7 +63440,7 @@ function DEe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var OEe = {
+var kEe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, F.jsx)("pattern", {
id: e,
x: "0",
@@ -63563,7 +63613,7 @@ var OEe = {
})
};
function g7({ variant: e }) {
- let t = (0, P.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = OEe[e];
+ let t = (0, P.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = kEe[e];
return /* @__PURE__ */ (0, F.jsxs)(t2, {
zIndex: -1,
children: [/* @__PURE__ */ (0, F.jsxs)("defs", { children: [
@@ -63594,7 +63644,7 @@ function g7({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var _7 = 2, kEe = "loading", AEe = 2e3, jEe = "evil-stacked", MEe = .5, NEe = .05, PEe = [
+var _7 = 2, AEe = "loading", jEe = 2e3, MEe = "evil-stacked", NEe = .5, PEe = .05, FEe = [
0,
.7,
.5,
@@ -63606,7 +63656,7 @@ function y7() {
return e;
}
function b7({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = _7, 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, P.useId)().replace(/:/g, ""), [v] = (0, P.useState)(() => Date.now()), [y, b] = (0, P.useState)(f), [x, S] = (0, P.useState)(!1), { loadingData: C, onShimmerExit: w } = $Ee(m, h), { visibleData: T, brushProps: E } = DEe({ data: t }), D = (0, P.useMemo)(() => {
+ let _ = (0, P.useId)().replace(/:/g, ""), [v] = (0, P.useState)(() => Date.now()), [y, b] = (0, P.useState)(f), [x, S] = (0, P.useState)(!1), { loadingData: C, onShimmerExit: w } = eDe(m, h), { visibleData: T, brushProps: E } = OEe({ data: t }), D = (0, P.useMemo)(() => {
let e = P.Children.toArray(n), t = e.find((e) => (0, P.isValidElement)(e) && e.type === p7), r = (0, P.isValidElement)(t) ? t.props : {};
return {
slot: {
@@ -63649,7 +63699,7 @@ function b7({ config: e, data: t, children: n, className: r, chartProps: i, stac
children: /* @__PURE__ */ (0, F.jsxs)(i7, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, F.jsx)(TEe, {
+ footer: O && !m && /* @__PURE__ */ (0, F.jsx)(EEe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -63680,7 +63730,7 @@ function b7({ config: e, data: t, children: n, className: r, chartProps: i, stac
d && /* @__PURE__ */ (0, F.jsx)(g7, { variant: d }),
/* @__PURE__ */ (0, F.jsx)(O6, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, F.jsx)(eDe, {
+ m && /* @__PURE__ */ (0, F.jsx)(tDe, {
chartId: _,
onShimmerExit: w
})
@@ -63689,7 +63739,7 @@ function b7({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function FEe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+function IEe({ 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 } = y7(), b = (0, P.useId)().replace(/:/g, ""), x = bf();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
@@ -63712,7 +63762,7 @@ function FEe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(I8, {
dataKey: e,
- stackId: u ? jEe : void 0,
+ stackId: u ? MEe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -63729,44 +63779,44 @@ function FEe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, F.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, F.jsx)(WEe, {
+ /* @__PURE__ */ (0, F.jsx)(GEe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, F.jsx)(GEe, {
+ t === "hatched" && /* @__PURE__ */ (0, F.jsx)(KEe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, F.jsx)(qEe, {
+ t === "duotone" && /* @__PURE__ */ (0, F.jsx)(JEe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, F.jsx)(JEe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, F.jsx)(YEe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, F.jsx)(YEe, {
+ t === "gradient" && /* @__PURE__ */ (0, F.jsx)(XEe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, F.jsx)(XEe, {
+ t === "stripped" && /* @__PURE__ */ (0, F.jsx)(ZEe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, F.jsx)(KEe, {
+ s && /* @__PURE__ */ (0, F.jsx)(qEe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, F.jsx)(ZEe, {
+ o && /* @__PURE__ */ (0, F.jsx)(QEe, {
id: b,
dataKey: e
})
] })] });
}
-function IEe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function LEe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = y7();
return o ? null : /* @__PURE__ */ (0, F.jsx)(W8, {
tickLine: e,
@@ -63777,7 +63827,7 @@ function IEe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function LEe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function REe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = y7();
return s ? null : /* @__PURE__ */ (0, F.jsx)(Y8, {
tickLine: e,
@@ -63789,7 +63839,7 @@ function LEe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function REe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function zEe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = y7();
return /* @__PURE__ */ (0, F.jsx)(G6, {
strokeDasharray: e,
@@ -63798,7 +63848,7 @@ function REe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function zEe({ variant: e, roundness: t, defaultIndex: n }) {
+function BEe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = y7();
return r ? null : /* @__PURE__ */ (0, F.jsx)(u7, {
cursor: !1,
@@ -63810,7 +63860,7 @@ function zEe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function BEe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function VEe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = y7();
return /* @__PURE__ */ (0, F.jsx)(f7, {
verticalAlign: n,
@@ -63824,7 +63874,7 @@ function BEe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
});
}
var x7 = (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 = VEe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : HEe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = UEe({
+ 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 = HEe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : UEe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = WEe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -63869,7 +63919,7 @@ var x7 = (e) => {
children: A
}) : A]
});
-}, VEe = (e, t, n, r, i) => {
+}, HEe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -63884,11 +63934,11 @@ var x7 = (e) => {
break;
default: s = t;
}
- let c = s * NEe * 1e3, l = MEe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * PEe * 1e3, l = NEe * 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: PEe,
+ ease: FEe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -63902,7 +63952,7 @@ var x7 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, HEe = (e, t, n) => {
+}, UEe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -63911,10 +63961,10 @@ var x7 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, UEe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, WEe = ({ 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;
-}, WEe = ({ id: e, dataKey: t, config: n }) => {
+}, GEe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {});
return /* @__PURE__ */ (0, F.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -63936,7 +63986,7 @@ var x7 = (e) => {
}, i);
})
});
-}, GEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
+}, KEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -63977,7 +64027,7 @@ var x7 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), KEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
+] }), qEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -64018,7 +64068,7 @@ var x7 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), qEe = ({ id: e, dataKey: t, config: n }) => {
+] }), JEe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {});
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsxs)("linearGradient", {
@@ -64086,7 +64136,7 @@ var x7 = (e) => {
})
})
] });
-}, JEe = ({ id: e, dataKey: t, config: n }) => {
+}, YEe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {});
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsxs)("linearGradient", {
@@ -64154,7 +64204,7 @@ var x7 = (e) => {
})
})
] });
-}, YEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
+}, XEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -64191,7 +64241,7 @@ var x7 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), XEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
+] }), ZEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -64228,7 +64278,7 @@ var x7 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), ZEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)("filter", {
+] }), QEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -64248,35 +64298,35 @@ var x7 = (e) => {
}),
/* @__PURE__ */ (0, F.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, F.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, F.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), QEe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), $Ee = (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 $Ee(e, t = 12) {
+function eDe(e, t = 12) {
let [n, r] = (0, P.useState)(!1), i = (0, P.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, P.useMemo)(() => _Ee(t, 20, 80), [t, n]),
+ loadingData: (0, P.useMemo)(() => vEe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var eDe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(I8, {
- dataKey: kEe,
+var tDe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(I8, {
+ dataKey: AEe,
fill: "currentColor",
fillOpacity: .15,
radius: _7,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, F.jsx)("defs", { children: /* @__PURE__ */ (0, F.jsx)(tDe, {
+}), /* @__PURE__ */ (0, F.jsx)("defs", { children: /* @__PURE__ */ (0, F.jsx)(nDe, {
chartId: e,
onShimmerExit: t
-}) })] }), tDe = ({ chartId: e, onShimmerExit: t }) => {
- let n = QEe(), r = (0, P.useRef)(-1);
+}) })] }), nDe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = $Ee(), r = (0, P.useRef)(-1);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -64307,7 +64357,7 @@ var eDe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: AEe / 1e3,
+ duration: jEe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -64329,10 +64379,10 @@ var eDe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, F.jsxs)(F.Fr
})
] });
};
-b7.Bar = FEe, b7.XAxis = IEe, b7.YAxis = LEe, b7.Grid = REe, b7.Tooltip = zEe, b7.Legend = BEe, b7.Brush = p7;
+b7.Bar = IEe, b7.XAxis = LEe, b7.YAxis = REe, b7.Grid = zEe, b7.Tooltip = BEe, b7.Legend = VEe, b7.Brush = p7;
//#endregion
//#region src/react/charts/chart-card.tsx
-var S7 = `${qC({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var S7 = `${jw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function C7({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, F.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -64359,7 +64409,7 @@ var w7 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], T7 = (e) => ({ light: [e] }), E7 = (e) => `s${e}`;
-function nDe(e) {
+function rDe(e) {
return Object.fromEntries(e.map((e, t) => [E7(t), {
label: e,
colors: T7(w7[t % w7.length])
@@ -64384,7 +64434,7 @@ function O7({ swatch: e, name: t, value: n }) {
});
}
var k7 = "size-2.5 shrink-0 rounded-xs";
-function rDe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function iDe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = r7(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, F.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
@@ -64409,7 +64459,7 @@ function rDe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function A7({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, F.jsx)(u7, {
cursor: !1,
- content: /* @__PURE__ */ (0, F.jsx)(rDe, {
+ content: /* @__PURE__ */ (0, F.jsx)(iDe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -64486,7 +64536,7 @@ var P7 = [
"周六",
"周日"
], F7 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function iDe(e) {
+function aDe(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;
@@ -64503,7 +64553,7 @@ function iDe(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function aDe(e) {
+function oDe(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,
@@ -64542,19 +64592,19 @@ var I7 = 14, L7 = 17, R7 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, oDe = {
+}, sDe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function sDe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function cDe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${D7} ${oDe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${D7} ${sDe[a]}`,
children: [/* @__PURE__ */ (0, F.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -64612,7 +64662,7 @@ function z7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, F.jsx)(sDe, {
+ }), g && _ ? /* @__PURE__ */ (0, F.jsx)(cDe, {
cell: g,
series: t.series,
tone: c,
@@ -64628,7 +64678,7 @@ function z7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var cDe = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [P7.map((e, t) => /* @__PURE__ */ (0, F.jsx)("text", {
+var lDe = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [P7.map((e, t) => /* @__PURE__ */ (0, F.jsx)("text", {
x: 0,
y: 18 + t * L7 + 7,
dominantBaseline: "middle",
@@ -64642,7 +64692,7 @@ var cDe = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [P7.map((e, t) =>
children: t
}, t))] });
function B7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = iDe(e), s = aDe(e);
+ let o = aDe(e), s = oDe(e);
return s.cells.length ? /* @__PURE__ */ (0, F.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
children: [/* @__PURE__ */ (0, F.jsx)(z7, {
@@ -64653,7 +64703,7 @@ function B7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: cDe,
+ axis: lDe,
footer: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
}), /* @__PURE__ */ (0, F.jsx)(z7, {
title: n,
@@ -64719,20 +64769,20 @@ function V7({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, F.jsx)(uS, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, F.jsx)(aS, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var lDe = "30%", uDe = "100%", H7 = 5, U7 = 14, dDe = 5, W7 = 1500, G7 = (0, P.createContext)(null);
+var uDe = "30%", dDe = "100%", H7 = 5, U7 = 14, fDe = 5, W7 = 1500, G7 = (0, P.createContext)(null);
function K7() {
let e = (0, P.use)(G7);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function q7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = lDe, outerRadius: l = uDe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, P.useId)().replace(/:/g, ""), [h, g] = (0, P.useState)(u), _ = vDe(f), v = hDe(o), y = (0, P.useCallback)((e, t) => {
+function q7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = uDe, outerRadius: l = dDe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, P.useId)().replace(/:/g, ""), [h, g] = (0, P.useState)(u), _ = yDe(f), v = gDe(o), y = (0, P.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -64764,7 +64814,7 @@ function q7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
children: /* @__PURE__ */ (0, F.jsxs)(i7, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, F.jsx)(a7, { isLoading: f }), /* @__PURE__ */ (0, F.jsxs)(mEe, {
+ children: [/* @__PURE__ */ (0, F.jsx)(a7, { isLoading: f }), /* @__PURE__ */ (0, F.jsxs)(hEe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -64783,8 +64833,8 @@ function q7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, F.jsx)(g7, { variant: p }),
r,
- f && /* @__PURE__ */ (0, F.jsx)(yDe, {}),
- /* @__PURE__ */ (0, F.jsx)("defs", { children: /* @__PURE__ */ (0, F.jsx)(gDe, {
+ f && /* @__PURE__ */ (0, F.jsx)(bDe, {}),
+ /* @__PURE__ */ (0, F.jsx)("defs", { children: /* @__PURE__ */ (0, F.jsx)(_De, {
config: e,
chartId: m
}) })
@@ -64793,7 +64843,7 @@ function q7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function fDe({ dataKey: e, cornerRadius: t = H7, barSize: n = U7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function pDe({ dataKey: e, cornerRadius: t = H7, barSize: n = U7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = K7();
return s ? null : /* @__PURE__ */ (0, F.jsx)(y6, {
dataKey: e,
@@ -64818,7 +64868,7 @@ function fDe({ dataKey: e, cornerRadius: t = H7, barSize: n = U7, showBackground
...a
});
}
-function pDe({ variant: e, roundness: t, defaultIndex: n }) {
+function mDe({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = K7();
return i ? null : /* @__PURE__ */ (0, F.jsx)(u7, {
defaultIndex: n,
@@ -64831,7 +64881,7 @@ function pDe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function mDe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function hDe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = K7();
return a ? null : /* @__PURE__ */ (0, F.jsx)(f7, {
verticalAlign: n,
@@ -64845,7 +64895,7 @@ function mDe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function hDe(e) {
+function gDe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -64861,7 +64911,7 @@ function hDe(e) {
};
}
}
-var gDe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var _De = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = c7(n);
return /* @__PURE__ */ (0, F.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -64884,13 +64934,13 @@ var gDe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, F.jsx)(F.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function _De() {
- return Array.from({ length: dDe }, (e, t) => ({
+function vDe() {
+ return Array.from({ length: fDe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function vDe(e) {
+function yDe(e) {
let [t, n] = (0, P.useState)(0);
return (0, P.useEffect)(() => {
if (!e) return;
@@ -64898,9 +64948,9 @@ function vDe(e) {
n((e) => e + 1);
}, W7);
return () => clearInterval(t);
- }, [e]), (0, P.useMemo)(() => _De(), [t]);
+ }, [e]), (0, P.useMemo)(() => vDe(), [t]);
}
-var yDe = () => /* @__PURE__ */ (0, F.jsx)(y6, {
+var bDe = () => /* @__PURE__ */ (0, F.jsx)(y6, {
dataKey: "value",
cornerRadius: H7,
barSize: U7,
@@ -64914,17 +64964,17 @@ var yDe = () => /* @__PURE__ */ (0, F.jsx)(y6, {
fillOpacity: .25
})
});
-q7.RadialBar = fDe, q7.Tooltip = pDe, q7.Legend = mDe;
+q7.RadialBar = pDe, q7.Tooltip = mDe, q7.Legend = hDe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var bDe = [
+var xDe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], xDe = [
+], SDe = [
"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",
@@ -64965,13 +65015,13 @@ function J7({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, F.jsxs)(q7, {
data: f,
nameKey: "slice",
- config: nDe(s.map((e) => e.name)),
- max: ple(s.map((e) => e.value)),
+ config: rDe(s.map((e) => e.name)),
+ max: mle(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, F.jsx)(q7.RadialBar, {
dataKey: "value",
- barSize: mle(s.length),
+ barSize: hle(s.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, F.jsx)(bJ, {
...e,
@@ -64997,13 +65047,13 @@ function J7({ title: e, rows: t, unit: n = "个视频" }) {
onPointerLeave: () => o(-1),
onFocus: () => o(t),
onBlur: () => o(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${xDe[t % 6]}`,
+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${SDe[t % 6]}`,
children: [
/* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, F.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${bDe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${xDe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, F.jsx)("b", {
@@ -65022,7 +65072,7 @@ function J7({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var SDe = 10, Y7 = w7[5], CDe = w7[4], wDe = `${qC()} flex flex-col gap-4`, TDe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", EDe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", DDe = "开始播放后,这里会显示最近的真实观看证据。", ODe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", kDe = "添加媒体文件夹后,这里会显示存储空间。";
+var CDe = 10, Y7 = w7[5], wDe = w7[4], TDe = `${jw()} flex flex-col gap-4`, EDe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", DDe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", ODe = "开始播放后,这里会显示最近的真实观看证据。", kDe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", ADe = "添加媒体文件夹后,这里会显示存储空间。";
function X7({ term: e, value: t }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -65047,7 +65097,7 @@ function Z7({ term: e, value: t, total: n }) {
children: [AL(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, F.jsx)($C, {
+ }), /* @__PURE__ */ (0, F.jsx)(Rw, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
@@ -65075,14 +65125,14 @@ function Q7({ term: e, figure: t, unit: n }) {
}
function $7({ headline: e, children: t }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
- className: `${wDe} md:flex-row md:gap-6`,
+ className: `${TDe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, F.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function ADe({ data: t, configurable: n, openMediaSettings: i }) {
+function jDe({ data: t, configurable: n, openMediaSettings: i }) {
return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -65110,7 +65160,7 @@ function ADe({ data: t, configurable: n, openMediaSettings: i }) {
unit: "个视频",
series: "视频",
color: Y7,
- rows: vle(t.by_length)
+ rows: yle(t.by_length)
}),
/* @__PURE__ */ (0, F.jsx)(N7, {
title: "画质",
@@ -65125,13 +65175,13 @@ function ADe({ data: t, configurable: n, openMediaSettings: i }) {
series: "条目",
color: Y7,
layout: "horizontal",
- rows: gle(t.by_medium)
+ rows: _le(t.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: jS,
+ icon: NS,
title: "还没有视频",
actions: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n ? /* @__PURE__ */ (0, F.jsx)(G, {
size: "small",
@@ -65142,10 +65192,10 @@ function ADe({ data: t, configurable: n, openMediaSettings: i }) {
size: "small",
children: "添加关注"
})] }),
- children: TDe
+ children: EDe
});
}
-function jDe({ data: e }) {
+function MDe({ data: e }) {
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(B7, {
activity: e.play_activity,
title: "播放时间",
@@ -65160,11 +65210,11 @@ function jDe({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: CDe,
- rows: ble(e.replays)
+ color: wDe,
+ rows: xle(e.replays)
})] });
}
-function MDe({ attribution: e }) {
+function NDe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col",
@@ -65197,7 +65247,7 @@ function MDe({ attribution: e }) {
]
});
}
-function NDe({ volume: e }) {
+function PDe({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, F.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -65218,7 +65268,7 @@ function NDe({ volume: e }) {
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, F.jsx)($C, {
+ t == null ? null : /* @__PURE__ */ (0, F.jsx)(Rw, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -65236,25 +65286,25 @@ function NDe({ volume: e }) {
]
});
}
-function PDe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function FDe({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, F.jsx)(NDe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ children: e.map((e) => /* @__PURE__ */ (0, F.jsx)(PDe, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: xS,
+ icon: gS,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, F.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: kDe
+ children: ADe
});
}
-function FDe({ tags: e, tagLabel: t, onTag: n }) {
+function IDe({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, F.jsx)(V7, {
- previewCount: SDe,
+ previewCount: CDe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, F.jsx)("li", {
className: "min-w-0",
@@ -65278,19 +65328,19 @@ function FDe({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: CS,
+ icon: wS,
title: "还没有内容标签",
actions: /* @__PURE__ */ (0, F.jsx)(NA, {
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: EDe
+ children: DDe
});
}
-function IDe({ rows: e }) {
+function LDe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
@@ -65302,18 +65352,18 @@ function IDe({ rows: e }) {
children: [/* @__PURE__ */ (0, F.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, F.jsx)("a", {
- href: fle(e),
+ href: ple(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, F.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, F.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: dle(e) })]
+ children: [/* @__PURE__ */ (0, F.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: fle(e) })]
})]
}), /* @__PURE__ */ (0, F.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, F.jsx)($C, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Rw, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, F.jsx)("small", {
@@ -65323,19 +65373,19 @@ function IDe({ rows: e }) {
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: SS,
+ icon: _S,
title: "还没有观看记录",
actions: /* @__PURE__ */ (0, F.jsx)(NA, {
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: DDe
+ children: ODe
});
}
-function LDe({ sources: e, videos: t }) {
+function RDe({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)("article", {
@@ -65354,7 +65404,7 @@ function LDe({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, F.jsx)($C, {
+ /* @__PURE__ */ (0, F.jsx)(Rw, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -65365,20 +65415,20 @@ function LDe({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: CS,
+ icon: wS,
title: "还没有标签来源",
actions: /* @__PURE__ */ (0, F.jsx)(NA, {
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: ODe
+ children: kDe
});
}
function e9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, F.jsx)(nD, {
+ return /* @__PURE__ */ (0, F.jsx)(LD, {
id: e,
className: DA({
interactive: !0,
@@ -65393,33 +65443,33 @@ function e9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function RDe(e) {
+function zDe(e) {
let t = St({
queryKey: OL,
queryFn: ({ signal: e }) => kL(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, F.jsx)(XC, { children: /* @__PURE__ */ (0, F.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, F.jsx)(Fw, { children: /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取统计失败"
}) });
let i = n.consumption, a = n.storage_summary, o = n.by_loc.reduce((e, t) => e + t.videos, 0), s = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = AL(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, F.jsxs)(XC, { children: [
+ return /* @__PURE__ */ (0, F.jsxs)(Fw, { children: [
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${r(s)}`
}),
- /* @__PURE__ */ (0, F.jsxs)(eD, {
+ /* @__PURE__ */ (0, F.jsxs)(FD, {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, F.jsxs)(tD, {
+ /* @__PURE__ */ (0, F.jsxs)(ID, {
"aria-label": "统计视图",
className: OA,
children: [
/* @__PURE__ */ (0, F.jsx)(e9, {
id: "inventory",
label: "馆藏视频",
- icon: _S,
+ icon: fS,
accent: 0,
figure: o.toLocaleString(),
detail: r(s)
@@ -65427,15 +65477,15 @@ function RDe(e) {
/* @__PURE__ */ (0, F.jsx)(e9, {
id: "viewing",
label: "看过",
- icon: bS,
+ icon: hS,
accent: 1,
figure: i.played.toLocaleString(),
- detail: ule(i.play_seconds)
+ detail: dle(i.play_seconds)
}),
/* @__PURE__ */ (0, F.jsx)(e9, {
id: "coverage",
label: "内容标签",
- icon: CS,
+ icon: wS,
accent: 2,
figure: `${c}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -65443,21 +65493,21 @@ function RDe(e) {
/* @__PURE__ */ (0, F.jsx)(e9, {
id: "storage",
label: "使用空间",
- icon: xS,
+ icon: gS,
accent: 3,
figure: `${a.online} 个卷`,
detail: a.measured ? `已用 ${r(a.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, F.jsx)(rD, {
+ /* @__PURE__ */ (0, F.jsx)(RD, {
id: "inventory",
- children: /* @__PURE__ */ (0, F.jsx)(ADe, {
+ children: /* @__PURE__ */ (0, F.jsx)(jDe, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, F.jsxs)(rD, {
+ /* @__PURE__ */ (0, F.jsxs)(RD, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, F.jsx)($7, {
@@ -65503,9 +65553,9 @@ function RDe(e) {
})
]
})
- }), /* @__PURE__ */ (0, F.jsx)(jDe, { data: n })]
+ }), /* @__PURE__ */ (0, F.jsx)(MDe, { data: n })]
}),
- /* @__PURE__ */ (0, F.jsx)(rD, {
+ /* @__PURE__ */ (0, F.jsx)(RD, {
id: "coverage",
children: /* @__PURE__ */ (0, F.jsx)($7, {
headline: /* @__PURE__ */ (0, F.jsx)(Q7, {
@@ -65513,10 +65563,10 @@ function RDe(e) {
figure: `${c}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, F.jsx)(MDe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, F.jsx)(NDe, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, F.jsx)(rD, {
+ /* @__PURE__ */ (0, F.jsx)(RD, {
id: "storage",
children: /* @__PURE__ */ (0, F.jsx)($7, {
headline: /* @__PURE__ */ (0, F.jsx)(Q7, {
@@ -65524,7 +65574,7 @@ function RDe(e) {
figure: String(a.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, F.jsx)(PDe, {
+ children: /* @__PURE__ */ (0, F.jsx)(FDe, {
volumes: n.storage_volumes,
...e
})
@@ -65532,50 +65582,50 @@ function RDe(e) {
})
]
}),
- /* @__PURE__ */ (0, F.jsxs)(eD, {
- className: `${qC({ padding: "none" })} flex flex-col`,
+ /* @__PURE__ */ (0, F.jsxs)(FD, {
+ className: `${jw({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, F.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, F.jsxs)(tD, {
+ children: /* @__PURE__ */ (0, F.jsxs)(ID, {
"aria-label": "统计维度",
- className: UN,
+ className: QM,
children: [
- /* @__PURE__ */ (0, F.jsx)(nD, {
+ /* @__PURE__ */ (0, F.jsx)(LD, {
id: "tags",
- className: WN,
+ className: $M,
children: "内容标签"
}),
- /* @__PURE__ */ (0, F.jsx)(nD, {
+ /* @__PURE__ */ (0, F.jsx)(LD, {
id: "recent",
- className: WN,
+ className: $M,
children: "最近看过"
}),
- /* @__PURE__ */ (0, F.jsx)(nD, {
+ /* @__PURE__ */ (0, F.jsx)(LD, {
id: "sources",
- className: WN,
+ className: $M,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, F.jsx)(rD, {
+ /* @__PURE__ */ (0, F.jsx)(RD, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, F.jsx)(FDe, {
+ children: /* @__PURE__ */ (0, F.jsx)(IDe, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, F.jsx)(rD, {
+ /* @__PURE__ */ (0, F.jsx)(RD, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, F.jsx)(IDe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, F.jsx)(LDe, { rows: n.recent })
}),
- /* @__PURE__ */ (0, F.jsx)(rD, {
+ /* @__PURE__ */ (0, F.jsx)(RD, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, F.jsx)(LDe, {
+ children: /* @__PURE__ */ (0, F.jsx)(RDe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -65586,7 +65636,7 @@ function RDe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function zDe(e, t) {
+function BDe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -65610,13 +65660,13 @@ function i9(e, t) {
function a9(e) {
return e.value;
}
-function BDe(e) {
+function VDe(e) {
return e.index;
}
-function VDe(e) {
+function HDe(e) {
return e.nodes;
}
-function HDe(e) {
+function UDe(e) {
return e.links;
}
function o9(e, t) {
@@ -65631,8 +65681,8 @@ function s9({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function UDe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = BDe, c = zDe, l, u, d = VDe, f = HDe, p = 6;
+function WDe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = VDe, c = BDe, l, u, d = HDe, f = UDe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -65818,7 +65868,7 @@ function UDe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var c9 = Math.PI, l9 = 2 * c9, u9 = 1e-6, WDe = l9 - u9;
+var c9 = Math.PI, l9 = 2 * c9, u9 = 1e-6, GDe = l9 - u9;
function d9() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -65859,7 +65909,7 @@ d9.prototype = f9.prototype = {
e = +e, t = +t, n = +n, a = !!a;
var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
if (n < 0) throw Error("negative radius: " + n);
- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > u9 || Math.abs(this._y1 - l) > u9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % l9 + l9), d > WDe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > u9 && (this._ += "A" + n + "," + n + ",0," + +(d >= c9) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > u9 || Math.abs(this._y1 - l) > u9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % l9 + l9), d > GDe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > u9 && (this._ += "A" + n + "," + n + ",0," + +(d >= c9) + "," + 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";
@@ -65877,27 +65927,27 @@ function p9(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function GDe(e) {
+function KDe(e) {
return e[0];
}
-function KDe(e) {
+function qDe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var qDe = Array.prototype.slice;
+var JDe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function JDe(e) {
+function YDe(e) {
return e.source;
}
-function YDe(e) {
+function XDe(e) {
return e.target;
}
-function XDe(e) {
- var t = JDe, n = YDe, r = GDe, i = KDe, a = null;
+function ZDe(e) {
+ var t = YDe, n = XDe, r = KDe, i = qDe, a = null;
function o() {
- var o, s = qDe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = JDe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
if (a ||= o = f9(), 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) {
@@ -65912,48 +65962,48 @@ function XDe(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function ZDe(e, t, n, r, i) {
+function QDe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function QDe() {
- return XDe(ZDe);
+function $De() {
+ return ZDe(QDe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function $De(e) {
+function eOe(e) {
return [e.source.x1, e.y0];
}
-function eOe(e) {
+function tOe(e) {
return [e.target.x0, e.y1];
}
-function tOe() {
- return QDe().source($De).target(eOe);
+function nOe() {
+ return $De().source(eOe).target(tOe);
}
//#endregion
//#region src/react/taste/taste.ts
-var nOe = "/api/taste", m9 = "/api/taste/refresh", rOe = "/api/taste/import", iOe = "/api/taste/source", h9 = (e) => ["taste", e], aOe = ["taste", "refresh"], oOe = [
+var rOe = "/api/taste", m9 = "/api/taste/refresh", iOe = "/api/taste/import", aOe = "/api/taste/source", h9 = (e) => ["taste", e], oOe = ["taste", "refresh"], sOe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], g9 = (e, t) => KC(`${nOe}?window=${e}`, t), sOe = (e) => KC(m9, e);
-async function cOe(e, t) {
+], g9 = (e, t) => Cw(`${rOe}?window=${e}`, t), cOe = (e) => Cw(m9, e);
+async function lOe(e, t) {
await X.fetchQuery({
queryKey: h9(e),
queryFn: () => g9(e, t)
});
}
-var lOe = (e) => q(m9, {
+var uOe = (e) => q(m9, {
window: e,
background: !0
-}), uOe = (e, t) => q(iOe, {
+}), dOe = (e, t) => q(aOe, {
operation: "remove",
source_key: e,
window: t
});
-async function dOe(e) {
- let t = await fetch(rOe, {
+async function fOe(e) {
+ let t = await fetch(iOe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -65967,25 +66017,25 @@ async function dOe(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new WC(e || `导入失败(${t.status})`, t.status, n);
+ throw new xw(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var fOe = 1e4, _9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", pOe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, mOe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function hOe(e) {
+var pOe = 1e4, _9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", mOe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, hOe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function gOe(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${e.web_visits}`), e.peach_items && t.push(`Peach ${e.peach_items}`), t.join(" · ");
}
-function gOe(e) {
- let t = e.map(mOe), n = Math.max(1, ...t);
+function _Oe(e) {
+ let t = e.map(hOe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
var v9 = (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 _Oe(e) {
+function vOe(e) {
let t = v9(e, 6);
return t.length < 3 ? [] : t;
}
@@ -65996,10 +66046,10 @@ var y9 = {
source: 145,
target: 545
};
-function vOe(e = []) {
+function yOe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = UDe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
+ let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = WDe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -66014,7 +66064,7 @@ function vOe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = tOe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = nOe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -66044,7 +66094,7 @@ function vOe(e = []) {
total: a
};
}
-var yOe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, x9 = P.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var bOe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, x9 = P.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = P.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -66167,14 +66217,14 @@ var w9 = P.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
w9.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var bOe = 1, xOe = .3, SOe = 6, T9 = 1500, E9 = "value", D9 = (0, P.createContext)(null);
+var xOe = 1, SOe = .3, COe = 6, T9 = 1500, E9 = "value", D9 = (0, P.createContext)(null);
function O9() {
let e = (0, P.use)(D9);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
function k9({ 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, P.useId)().replace(/:/g, ""), [d, f] = (0, P.useState)(o), p = FOe(c, l), m = (0, P.useCallback)((e) => {
+ let u = (0, P.useId)().replace(/:/g, ""), [d, f] = (0, P.useState)(o), p = IOe(c, l), m = (0, P.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, P.useMemo)(() => ({
config: e,
@@ -66192,32 +66242,32 @@ function k9({ config: e, data: t, children: n, className: r, chartProps: i, back
children: /* @__PURE__ */ (0, F.jsxs)(i7, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, F.jsx)(a7, { isLoading: c }), /* @__PURE__ */ (0, F.jsxs)(oEe, {
+ children: [/* @__PURE__ */ (0, F.jsx)(a7, { isLoading: c }), /* @__PURE__ */ (0, F.jsxs)(sEe, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, F.jsx)(g7, { variant: a }),
n,
- c && /* @__PURE__ */ (0, F.jsx)(IOe, {})
+ c && /* @__PURE__ */ (0, F.jsx)(LOe, {})
]
})]
})
});
}
-function COe({ dataKey: e, variant: t = "filled", fillOpacity: n = xOe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function wOe({ dataKey: e, variant: t = "filled", fillOpacity: n = SOe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = O9(), d = (0, P.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 } = kOe(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = AOe(a, d, e, p.dot);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(U3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: bOe,
+ strokeWidth: xOe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -66230,29 +66280,29 @@ function COe({ dataKey: e, variant: t = "filled", fillOpacity: n = xOe, isGlowin
},
...o
}), /* @__PURE__ */ (0, F.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, F.jsx)(AOe, {
+ /* @__PURE__ */ (0, F.jsx)(jOe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, F.jsx)(jOe, {
+ /* @__PURE__ */ (0, F.jsx)(MOe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, F.jsx)(MOe, {
+ m && /* @__PURE__ */ (0, F.jsx)(NOe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, F.jsx)(NOe, {
+ r && /* @__PURE__ */ (0, F.jsx)(POe, {
id: d,
dataKey: e
})
] })] });
}
var A9 = () => null, j9 = () => null;
-function wOe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+function TOe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
return /* @__PURE__ */ (0, F.jsx)(I4, {
gridType: e,
stroke: t,
@@ -66261,7 +66311,7 @@ function wOe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function TOe({ tick: e = {
+function EOe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -66272,7 +66322,7 @@ function TOe({ tick: e = {
...n
});
}
-function EOe({ tick: e = {
+function DOe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
@@ -66284,7 +66334,7 @@ function EOe({ tick: e = {
...r
});
}
-function DOe({ variant: e, roundness: t, defaultIndex: n }) {
+function OOe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = O9();
return r ? null : /* @__PURE__ */ (0, F.jsx)(u7, {
defaultIndex: n,
@@ -66296,7 +66346,7 @@ function DOe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function OOe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function kOe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = O9();
return i ? null : /* @__PURE__ */ (0, F.jsx)(f7, {
verticalAlign: n,
@@ -66309,7 +66359,7 @@ function OOe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var kOe = (e, t, n, r) => {
+var AOe = (e, t, n, r) => {
let i = !1, a = !1;
return P.Children.forEach(e, (e) => {
if ((0, P.isValidElement)(e)) {
@@ -66351,7 +66401,7 @@ var kOe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), AOe = ({ id: e, dataKey: t, config: n }) => {
+}) }), jOe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {});
return /* @__PURE__ */ (0, F.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -66364,7 +66414,7 @@ var kOe = (e, t, n, r) => {
colorsCount: r
})
});
-}, jOe = ({ id: e, dataKey: t, config: n }) => {
+}, MOe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {});
return /* @__PURE__ */ (0, F.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -66377,7 +66427,7 @@ var kOe = (e, t, n, r) => {
colorsCount: r
})
});
-}, MOe = ({ id: e, dataKey: t, config: n }) => {
+}, NOe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, F.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -66390,7 +66440,7 @@ var kOe = (e, t, n, r) => {
opacities: i
})
});
-}, NOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)("filter", {
+}, POe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, F.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -66410,7 +66460,7 @@ var kOe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, F.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, F.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, F.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), POe = (e) => [
+}), FOe = (e) => [
"A",
"B",
"C",
@@ -66421,7 +66471,7 @@ var kOe = (e, t, n, r) => {
skill: e,
[E9]: 30 + Math.random() * 70
}));
-function FOe(e, t = SOe) {
+function IOe(e, t = COe) {
let [n, r] = (0, P.useState)(0);
return (0, P.useEffect)(() => {
if (!e) return;
@@ -66429,9 +66479,9 @@ function FOe(e, t = SOe) {
r((e) => e + 1);
}, T9);
return () => clearInterval(t);
- }, [e]), (0, P.useMemo)(() => POe(t), [t, n]);
+ }, [e]), (0, P.useMemo)(() => FOe(t), [t, n]);
}
-var IOe = () => /* @__PURE__ */ (0, F.jsx)(U3, {
+var LOe = () => /* @__PURE__ */ (0, F.jsx)(U3, {
dataKey: E9,
stroke: "currentColor",
strokeOpacity: .3,
@@ -66443,17 +66493,17 @@ var IOe = () => /* @__PURE__ */ (0, F.jsx)(U3, {
animationDuration: T9,
animationEasing: "ease-in-out"
});
-k9.Radar = COe, k9.Dot = A9, k9.ActiveDot = j9, k9.PolarGrid = wOe, k9.PolarAngleAxis = TOe, k9.PolarRadiusAxis = EOe, k9.Tooltip = DOe, k9.Legend = OOe;
+k9.Radar = wOe, k9.Dot = A9, k9.ActiveDot = j9, k9.PolarGrid = TOe, k9.PolarAngleAxis = EOe, k9.PolarRadiusAxis = DOe, k9.Tooltip = OOe, k9.Legend = kOe;
//#endregion
//#region src/react/taste/charts.tsx
-var LOe = [
+var ROe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], ROe = [
+], zOe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -66463,7 +66513,7 @@ var LOe = [
], N9 = { value: {
label: "标签命中",
colors: T7(w7[3])
-} }, zOe = [
+} }, BOe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -66473,20 +66523,20 @@ var LOe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], BOe = 26, VOe = { radius: N9.value }, HOe = (e, t) => Math.sqrt(e / t);
-function UOe({ rows: e, label: t }) {
- let n = _Oe(e);
+], VOe = 26, HOe = { radius: N9.value }, UOe = (e, t) => Math.sqrt(e / t);
+function WOe({ rows: e, label: t }) {
+ let n = vOe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: HOe(e.value, r)
+ radius: UOe(e.value, r)
}));
return /* @__PURE__ */ (0, F.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, F.jsxs)(k9, {
data: i,
- config: VOe,
+ config: HOe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -66503,17 +66553,17 @@ function UOe({ rows: e, label: t }) {
})
});
}
-function WOe({ rows: e, label: t }) {
+function GOe({ rows: e, label: t }) {
let n = v9(e, 8);
return n.length ? /* @__PURE__ */ (0, F.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${zOe[n.length]}`,
+ className: `flex grow flex-col ${BOe[n.length]}`,
children: /* @__PURE__ */ (0, F.jsxs)(b7, {
data: n,
config: N9,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: BOe },
+ chartProps: { maxBarSize: VOe },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, F.jsx)(b7.YAxis, {
@@ -66537,8 +66587,8 @@ function WOe({ rows: e, label: t }) {
})
}) : null;
}
-function GOe({ flows: e }) {
- let [t, n] = (0, P.useState)(null), r = vOe(e);
+function KOe({ flows: e }) {
+ let [t, n] = (0, P.useState)(null), r = yOe(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, F.jsxs)("section", {
@@ -66566,7 +66616,7 @@ function GOe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${LOe[e.color]}`,
+ className: `outline-none transition-opacity ${ROe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -66600,14 +66650,14 @@ function GOe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? ROe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? zOe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, F.jsxs)("text", {
x: b9[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: [yOe(e.name), /* @__PURE__ */ (0, F.jsx)("tspan", {
+ children: [bOe(e.name), /* @__PURE__ */ (0, F.jsx)("tspan", {
x: b9[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -66625,7 +66675,7 @@ function GOe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var KOe = 10, P9 = RC(FA, IA, "text-body-2-medium"), F9 = `${qC()} flex flex-col gap-4`, I9 = "rounded-xl bg-background-primary-default p-3", qOe = "读取运行 Peach 的这台电脑上的浏览记录", JOe = "导入或读取浏览记录后,这里会列出已采集设备。", YOe = "馆藏里暂时没有对得上浏览信号的标签。", XOe = "采集浏览记录后,这里会显示聚合后的口味证据。", ZOe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", QOe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", $Oe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", eke = "需要刷新时再次读取或导入;数据源可在页面底部移除。", tke = "这个数据源将不再用于口味分析。原始导出文件保留。", L9 = "peach-taste-guide-dismissed";
+var qOe = 10, P9 = hw(FA, IA, "text-body-2-medium"), F9 = `${jw()} flex flex-col gap-4`, I9 = "rounded-xl bg-background-primary-default p-3", JOe = "读取运行 Peach 的这台电脑上的浏览记录", YOe = "导入或读取浏览记录后,这里会列出已采集设备。", XOe = "馆藏里暂时没有对得上浏览信号的标签。", ZOe = "采集浏览记录后,这里会显示聚合后的口味证据。", QOe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", $Oe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", eke = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", tke = "需要刷新时再次读取或导入;数据源可在页面底部移除。", nke = "这个数据源将不再用于口味分析。原始导出文件保留。", L9 = "peach-taste-guide-dismissed";
function R9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
className: DA(),
@@ -66652,22 +66702,22 @@ function z9({ name: e, domain: t }) {
})]
});
}
-function nke({ html: e }) {
+function rke({ html: e }) {
return /* @__PURE__ */ (0, F.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 rke({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
- if (!e.length) return /* @__PURE__ */ (0, F.jsx)(JC, {
+function ike({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+ if (!e.length) return /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: ES,
+ icon: DS,
title: "暂无足够证据",
children: r
});
- let o = gOe(e);
+ let o = _Oe(e);
return /* @__PURE__ */ (0, F.jsx)(V7, {
- previewCount: KOe,
+ previewCount: qOe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let s = !!t && !!e.peach_items, c = String(e.source_domain || ""), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
@@ -66694,7 +66744,7 @@ function rke({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
name: e.name,
domain: c
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, F.jsx)(nke, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, F.jsx)(rke, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
@@ -66706,10 +66756,10 @@ function rke({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
children: e.name
}), /* @__PURE__ */ (0, F.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: hOe(e)
+ children: gOe(e)
})]
}),
- s ? /* @__PURE__ */ (0, F.jsx)(fS, {
+ s ? /* @__PURE__ */ (0, F.jsx)(sS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -66730,23 +66780,23 @@ function rke({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
});
}
function B9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
- return /* @__PURE__ */ (0, F.jsxs)(eD, {
- className: `${qC({ padding: "none" })} flex flex-col`,
+ return /* @__PURE__ */ (0, F.jsxs)(FD, {
+ className: `${jw({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, F.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, F.jsx)(tD, {
+ children: /* @__PURE__ */ (0, F.jsx)(ID, {
"aria-label": e,
- className: UN,
- children: t.map((e) => /* @__PURE__ */ (0, F.jsx)(nD, {
+ className: QM,
+ children: t.map((e) => /* @__PURE__ */ (0, F.jsx)(LD, {
id: e.id,
- className: WN,
+ className: $M,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, F.jsx)(rD, {
+ }), t.map((e) => /* @__PURE__ */ (0, F.jsx)(RD, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, F.jsx)(rke, {
+ children: /* @__PURE__ */ (0, F.jsx)(ike, {
...e.props,
onSignal: n,
avatarInner: r
@@ -66754,7 +66804,7 @@ function B9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function ike({ data: e, onSignal: t, navigate: n }) {
+function ake({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -66820,21 +66870,21 @@ function ike({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, F.jsx)(fS, {
+ }), /* @__PURE__ */ (0, F.jsx)(sS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: ES,
+ icon: DS,
title: "还没有可探索的入口",
- children: YOe
+ children: XOe
})
]
});
}
-function ake({ onboarding: e, done: t }) {
+function oke({ onboarding: e, done: t }) {
let [n, r] = (0, P.useState)(() => {
try {
return localStorage.getItem(L9) === "1";
@@ -66843,21 +66893,21 @@ function ake({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, F.jsx)("div", {
- className: qC({
+ className: jw({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, F.jsxs)(tj, {
+ children: /* @__PURE__ */ (0, F.jsxs)(fj, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: QOe
+ children: $Oe
}),
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: $Oe
+ children: eke
}),
/* @__PURE__ */ (0, F.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -66887,7 +66937,7 @@ function ake({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: eke
+ children: tke
}),
/* @__PURE__ */ (0, F.jsx)("span", {
className: "self-start",
@@ -66907,7 +66957,7 @@ function ake({ onboarding: e, done: t }) {
})
});
}
-function oke({ busy: e, onRefresh: t, onImport: n }) {
+function ske({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, P.useRef)(null), [i, a] = (0, P.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -66916,35 +66966,35 @@ function oke({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, F.jsx)(G, {
- leadingIcon: gS,
- title: qOe,
+ leadingIcon: dS,
+ title: JOe,
onClick: t,
...Y(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, F.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: uS,
+ leadingIcon: aS,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
onClick: () => a(!0)
})]
- }), /* @__PURE__ */ (0, F.jsx)(gE, {
+ }), /* @__PURE__ */ (0, F.jsx)(ZE, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
className: PA,
- children: /* @__PURE__ */ (0, F.jsxs)(vE, {
+ children: /* @__PURE__ */ (0, F.jsxs)($E, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
className: P9,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, F.jsx)(gS, {
+ children: [/* @__PURE__ */ (0, F.jsx)(dS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -66952,7 +67002,7 @@ function oke({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: P9,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, F.jsx)(kS, {
+ children: [/* @__PURE__ */ (0, F.jsx)(jS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -66960,9 +67010,9 @@ function oke({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function ske({ sources: e, window: t, toast: n }) {
+function cke({ sources: e, window: t, toast: n }) {
let r = Ct({
- mutationFn: (e) => uOe(e, t),
+ mutationFn: (e) => dOe(e, t),
onSuccess: (e) => {
X.setQueryData(h9(t), e.dashboard), n("已移除口味数据源");
}
@@ -66986,10 +67036,10 @@ function ske({ sources: e, window: t, toast: n }) {
children: [
/* @__PURE__ */ (0, F.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, F.jsx)(kS, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, F.jsx)(jS, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, F.jsx)(_S, {
+ }) : /* @__PURE__ */ (0, F.jsx)(fS, {
"aria-hidden": !0,
className: "size-4"
})
@@ -67009,12 +67059,12 @@ function ske({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: vS,
+ leadingIcon: pS,
...Y(r.isPending),
onClick: () => {
r.isPending || l({
title: "移除口味数据源",
- body: tke,
+ body: nke,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -67022,30 +67072,30 @@ function ske({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: _S,
+ icon: fS,
title: "还没有数据源",
- children: JOe
+ children: YOe
})
]
});
}
-function V9(e) {
+function lke(e) {
let { onSignal: t, navigate: n, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, P.useState)("all"), [l, u] = (0, P.useState)("browser"), d = (0, P.useRef)(null), f = St({
queryKey: h9(s),
queryFn: ({ signal: e }) => g9(s, e),
placeholderData: xe
- }), { job: p, running: m, outcome: h, start: g } = lj({
- queryKey: aOe,
- queryFn: ({ signal: e }) => sOe(e),
- start: () => lOe(s),
- idlePollMs: fOe,
+ }), { job: p, running: m, outcome: h, start: g } = Pj({
+ queryKey: oOe,
+ queryFn: ({ signal: e }) => cOe(e),
+ start: () => uOe(s),
+ idlePollMs: pOe,
onFinish: (e) => {
e.status !== "failed" && (X.invalidateQueries({ queryKey: ["taste"] }), i("已更新口味分析"));
}
}), _ = Ct({
- mutationFn: (e) => dOe(e),
+ mutationFn: (e) => fOe(e),
onSuccess: (e) => {
X.setQueryData(h9("all"), e.dashboard), c("all"), i("已导入口味数据");
}
@@ -67055,47 +67105,47 @@ function V9(e) {
}, y = () => {
m || g.isPending || (g.reset(), g.mutate());
}, b = f.data;
- if (!b) return /* @__PURE__ */ (0, F.jsx)(XC, { children: /* @__PURE__ */ (0, F.jsx)(J, {
+ if (!b) return /* @__PURE__ */ (0, F.jsx)(Fw, { children: /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
title: "读取失败",
children: f.error ? K(f.error) : "读取口味分析失败"
}) });
let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], E = b.gaps || [], D = S.tagged || 0, O = S.identified || 0, k = g.error ? K(g.error) : _.error ? K(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, F.jsxs)(XC, { children: [
- /* @__PURE__ */ (0, F.jsxs)(eD, {
+ return /* @__PURE__ */ (0, F.jsxs)(Fw, { children: [
+ /* @__PURE__ */ (0, F.jsxs)(FD, {
selectedKey: l,
onSelectionChange: (e) => u(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, F.jsxs)(tD, {
+ children: [/* @__PURE__ */ (0, F.jsxs)(ID, {
"aria-label": "口味证据来源",
- className: UN,
- children: [/* @__PURE__ */ (0, F.jsx)(nD, {
+ className: QM,
+ children: [/* @__PURE__ */ (0, F.jsx)(LD, {
id: "browser",
- className: WN,
+ className: $M,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, F.jsx)(nD, {
+ }), /* @__PURE__ */ (0, F.jsx)(LD, {
id: "peach",
- className: WN,
+ className: $M,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(oj, {
+ /* @__PURE__ */ (0, F.jsx)(kj, {
"aria-label": "分析范围",
selectedKey: s,
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: oOe.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(sj, {
+ children: sOe.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(Aj, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, F.jsx)(oke, {
+ /* @__PURE__ */ (0, F.jsx)(ske, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -67111,7 +67161,7 @@ function V9(e) {
]
})]
}),
- /* @__PURE__ */ (0, F.jsx)(ake, {
+ /* @__PURE__ */ (0, F.jsx)(oke, {
onboarding: o,
done: !!(x.history_sources || b.updated_at)
}),
@@ -67121,7 +67171,7 @@ function V9(e) {
children: [
m ? p?.total ? /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, F.jsx)($C, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Rw, {
label: p.message || "正在读取浏览记录",
value: p.checked || 0,
max: p.total
@@ -67129,15 +67179,15 @@ function V9(e) {
className: "text-caption-1-regular text-text-secondary",
children: `${p.message || "正在读取浏览记录"} · ${p.checked || 0} / ${p.total}`
})]
- }) : /* @__PURE__ */ (0, F.jsx)(YC, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
- _.isPending ? /* @__PURE__ */ (0, F.jsx)(YC, { label: "正在导入历史文件" }) : null,
+ }) : /* @__PURE__ */ (0, F.jsx)(Pw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
+ _.isPending ? /* @__PURE__ */ (0, F.jsx)(Pw, { label: "正在导入历史文件" }) : null,
k ? /* @__PURE__ */ (0, F.jsx)(J, {
tone: "error",
children: k
}) : null
]
}),
- /* @__PURE__ */ (0, F.jsxs)(rD, {
+ /* @__PURE__ */ (0, F.jsxs)(RD, {
id: "browser",
className: "flex flex-col gap-5",
children: [
@@ -67146,27 +67196,27 @@ function V9(e) {
children: [
/* @__PURE__ */ (0, F.jsx)(R9, {
accent: 0,
- icon: SS,
+ icon: _S,
term: "浏览记录",
figure: Number(x.history_visits || 0).toLocaleString(),
detail: `${x.history_sources || 0} 个数据源 · ${_9(x.range_start)}—${_9(x.range_end)}`
}),
/* @__PURE__ */ (0, F.jsx)(R9, {
accent: 1,
- icon: CS,
+ icon: wS,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, F.jsx)(R9, {
accent: 2,
- icon: ES,
+ icon: DS,
term: "浏览候选",
figure: E.length.toLocaleString()
}),
/* @__PURE__ */ (0, F.jsx)(R9, {
accent: 3,
- icon: _S,
+ icon: fS,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: r(w.bytes || 0)
@@ -67183,7 +67233,7 @@ function V9(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, F.jsx)(UOe, {
+ /* @__PURE__ */ (0, F.jsx)(WOe, {
rows: T,
label: "主要口味维度"
}),
@@ -67194,14 +67244,14 @@ function V9(e) {
]
}), /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, F.jsx)(WOe, {
+ children: T.length ? /* @__PURE__ */ (0, F.jsx)(GOe, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, F.jsx)(JC, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Nw, {
shell: "plain",
- icon: ES,
+ icon: DS,
title: "暂无口味维度",
- children: XOe
+ children: ZOe
})
})]
}),
@@ -67217,7 +67267,7 @@ function V9(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, F.jsx)(GOe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, F.jsx)(KOe, { flows: b.creator_flows }),
/* @__PURE__ */ (0, F.jsx)(B9, {
label: "浏览器口味维度",
onSignal: t,
@@ -67260,14 +67310,14 @@ function V9(e) {
rows: E,
kind: "",
visual: "none",
- empty: ZOe
+ empty: QOe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, F.jsxs)(rD, {
+ /* @__PURE__ */ (0, F.jsxs)(RD, {
id: "peach",
className: "flex flex-col gap-5",
children: [
@@ -67276,26 +67326,26 @@ function V9(e) {
children: [
/* @__PURE__ */ (0, F.jsx)(R9, {
accent: 0,
- icon: bS,
+ icon: hS,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: pOe(x.peach_seconds || 0)
+ detail: mOe(x.peach_seconds || 0)
}),
/* @__PURE__ */ (0, F.jsx)(R9, {
accent: 1,
- icon: OS,
+ icon: AS,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, F.jsx)(R9, {
accent: 2,
- icon: DS,
+ icon: kS,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, F.jsx)(R9, {
accent: 3,
- icon: CS,
+ icon: wS,
term: "有标签",
figure: D.toLocaleString()
})
@@ -67322,11 +67372,11 @@ function V9(e) {
]
}), /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, F.jsx)(H9, {
+ children: [/* @__PURE__ */ (0, F.jsx)(V9, {
term: "有标签",
value: D,
rest: S.untagged || 0
- }), /* @__PURE__ */ (0, F.jsx)(H9, {
+ }), /* @__PURE__ */ (0, F.jsx)(V9, {
term: "有身份",
value: O,
rest: S.unidentified || 0
@@ -67374,19 +67424,19 @@ function V9(e) {
})
]
}),
- /* @__PURE__ */ (0, F.jsx)(ike, {
+ /* @__PURE__ */ (0, F.jsx)(ake, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, F.jsx)(ske, {
+ /* @__PURE__ */ (0, F.jsx)(cke, {
sources: b.sources || [],
window: s,
toast: i
})
] });
}
-function H9({ term: e, value: t, rest: n }) {
+function V9({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -67399,7 +67449,7 @@ function H9({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, F.jsx)($C, {
+ }), /* @__PURE__ */ (0, F.jsx)(Rw, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -67408,26 +67458,26 @@ function H9({ term: e, value: t, rest: n }) {
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function cke(e) {
+function uke(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var lke = (e) => {
+var dke = (e) => {
switch (e) {
- case "success": return fke;
- case "info": return mke;
- case "warning": return pke;
- case "error": return hke;
+ case "success": return mke;
+ case "info": return gke;
+ case "warning": return hke;
+ case "error": return _ke;
default: return null;
}
-}, uke = Array(12).fill(0), dke = ({ visible: e, className: t }) => /*#__PURE__*/ P.createElement("div", {
+}, fke = Array(12).fill(0), pke = ({ visible: e, className: t }) => /*#__PURE__*/ P.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ P.createElement("div", { className: "sonner-spinner" }, uke.map((e, t) => /*#__PURE__*/ P.createElement("div", {
+}, /*#__PURE__*/ P.createElement("div", { className: "sonner-spinner" }, fke.map((e, t) => /*#__PURE__*/ P.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), fke = /*#__PURE__*/ P.createElement("svg", {
+})))), mke = /*#__PURE__*/ P.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -67438,7 +67488,7 @@ var lke = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), pke = /*#__PURE__*/ P.createElement("svg", {
+})), hke = /*#__PURE__*/ P.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -67449,7 +67499,7 @@ var lke = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), mke = /*#__PURE__*/ P.createElement("svg", {
+})), gke = /*#__PURE__*/ P.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -67460,7 +67510,7 @@ var lke = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), hke = /*#__PURE__*/ P.createElement("svg", {
+})), _ke = /*#__PURE__*/ P.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -67471,7 +67521,7 @@ var lke = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), gke = /*#__PURE__*/ P.createElement("svg", {
+})), vke = /*#__PURE__*/ P.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -67492,7 +67542,7 @@ var lke = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), _ke = () => {
+})), yke = () => {
let [e, t] = P.useState(document.hidden);
return P.useEffect(() => {
let e = () => {
@@ -67500,7 +67550,7 @@ var lke = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, vke = 1, yke = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : vke++, W9 = new class {
+}, bke = 1, H9 = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : bke++, W9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -67510,7 +67560,7 @@ var lke = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - yke;
+ let e = this.toasts.length - H9;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
let { message: t, ...n } = e, r = U9(e), i = this.pendingDismissals.get(r);
@@ -67588,7 +67638,7 @@ var lke = (e) => {
type: "default",
message: e
});
- else if (xke(e) && !e.ok) {
+ else if (Ske(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !P.isValidElement(r) ? r : { message: r };
this.create({
@@ -67641,7 +67691,7 @@ var lke = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), bke = (e, t) => W9.message(e, t), xke = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(bke, {
+}(), xke = (e, t) => W9.message(e, t), Ske = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(xke, {
success: W9.success,
info: W9.info,
warning: W9.warning,
@@ -67655,20 +67705,20 @@ var lke = (e) => {
getHistory: () => W9.toasts,
getToasts: () => W9.getActiveToasts()
});
-cke("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+uke("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function K9(e) {
return e.label !== void 0;
}
-var Ske = 3, Cke = "24px", wke = "16px", q9 = 4e3, Tke = 356, Eke = 14, Dke = 45, Oke = 200;
+var Cke = 3, wke = "24px", Tke = "16px", q9 = 4e3, Eke = 356, Dke = 14, Oke = 45, kke = 200;
function J9(...e) {
return e.filter(Boolean).join(" ");
}
-function kke(e) {
+function Ake(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var Ake = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = P.useState(null), [O, k] = P.useState(null), [A, j] = P.useState(!1), [M, N] = P.useState(!1), [F, I] = P.useState(!1), [ee, te] = P.useState(!1), [ne, re] = P.useState(!1), [ie, ae] = P.useState(0), [oe, se] = P.useState(0), ce = P.useRef(n.duration || y || q9), le = P.useRef(null), L = P.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = P.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = P.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = P.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = P.useRef(0), ye = P.useRef(0), be = P.useRef(0), xe = P.useRef(null), [Se, Ce] = b.split("-"), we = P.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = _ke(), Ee = P.useMemo(() => e.swipeDirections ?? kke(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
+var jke = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = P.useState(null), [O, k] = P.useState(null), [A, j] = P.useState(!1), [M, N] = P.useState(!1), [F, I] = P.useState(!1), [ee, te] = P.useState(!1), [ne, re] = P.useState(!1), [ie, ae] = P.useState(0), [oe, se] = P.useState(0), ce = P.useRef(n.duration || y || q9), le = P.useRef(null), L = P.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = P.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = P.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = P.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = P.useRef(0), ye = P.useRef(0), be = P.useRef(0), xe = P.useRef(null), [Se, Ce] = b.split("-"), we = P.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = yke(), Ee = P.useMemo(() => e.swipeDirections ?? Ake(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
ye.current = P.useMemo(() => he * x + we, [he, we]), P.useEffect(() => {
ce.current = _e;
}, [_e]), P.useEffect(() => {
@@ -67709,7 +67759,7 @@ var Ake = (e) => {
let ke = P.useCallback(() => {
N(!0), ae(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, Oke);
+ }, kke);
}, [
n,
d,
@@ -67742,12 +67792,12 @@ var Ake = (e) => {
return w?.loading ? /*#__PURE__*/ P.createElement("div", {
className: J9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": z === "loading"
- }, w.loading) : /*#__PURE__*/ P.createElement(dke, {
+ }, w.loading) : /*#__PURE__*/ P.createElement(pke, {
className: J9(C?.loader, n?.classNames?.loader),
visible: z === "loading"
});
}
- let je = n.icon || w?.[z] || lke(z);
+ let je = n.icon || w?.[z] || dke(z);
return /*#__PURE__*/ P.createElement("li", {
tabIndex: 0,
ref: L,
@@ -67794,7 +67844,7 @@ var Ake = (e) => {
if (ee || !fe) return;
xe.current = null;
let e = Number(L.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(L.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Dke || a > .11)) {
+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Oke || a > .11)) {
ae(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), te(!0);
return;
}
@@ -67835,7 +67885,7 @@ var Ake = (e) => {
ke(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: J9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? gke) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ P.createElement("div", {
+ }, w?.close ?? vke) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ P.createElement("div", {
"data-icon": "",
className: J9(C?.icon, n?.classNames?.icon)
}, z === "loading" ? n.icon || Ae() : n.promise ? Ae() : null, z === "loading" ? null : je) : null, /*#__PURE__*/ P.createElement("div", {
@@ -67870,10 +67920,10 @@ function Y9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function jke(e, t) {
+function Mke(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? wke : Cke;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Tke : wke;
function o(e) {
[
"top",
@@ -67894,8 +67944,8 @@ function jke(e, t) {
}) : o(a);
}), n;
}
-var Mke = /*#__PURE__*/ P.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Ske, toastOptions: g, dir: _ = Y9(), gap: v = Eke, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = P.useState([]), w = P.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = P.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = P.useState([]), [O, k] = P.useState(!1), [A, j] = P.useState(!1), [M, N] = P.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = P.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = P.useRef(null), te = P.useRef(!1), ne = P.useCallback((e) => {
+var Nke = /*#__PURE__*/ P.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Cke, toastOptions: g, dir: _ = Y9(), gap: v = Dke, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = P.useState([]), w = P.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = P.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = P.useState([]), [O, k] = P.useState(!1), [A, j] = P.useState(!1), [M, N] = P.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = P.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = P.useRef(null), te = P.useRef(!1), ne = P.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || W9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return P.useEffect(() => W9.subscribe((e) => {
@@ -67981,10 +68031,10 @@ var Mke = /*#__PURE__*/ P.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${Tke}px`,
+ "--width": `${Eke}px`,
"--gap": `${v}px`,
...m,
- ...jke(l, u)
+ ...Mke(l, u)
},
onBlur: (e) => {
te.current && !e.currentTarget.contains(e.relatedTarget) && (te.current = !1, ee.current &&= (ee.current.focus({ preventScroll: !0 }), null));
@@ -68002,7 +68052,7 @@ var Mke = /*#__PURE__*/ P.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ P.createElement(Ake, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ P.createElement(jke, {
key: n.id,
icons: y,
index: i,
@@ -68036,8 +68086,8 @@ var Mke = /*#__PURE__*/ P.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Z9 = !1, Nke = (e, t) => {
- Z9 || (Z9 = !0, (0, lS.createRoot)(e).render(/* @__PURE__ */ (0, F.jsx)(Mke, {
+}), Z9 = !1, Pke = (e, t) => {
+ Z9 || (Z9 = !0, (0, iS.createRoot)(e).render(/* @__PURE__ */ (0, F.jsx)(Nke, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -68058,7 +68108,7 @@ var Mke = /*#__PURE__*/ P.forwardRef(function(e, t) {
error: X9(t.error, !1)
}
})));
-}, Pke = (e, t) => {
+}, Fke = (e, t) => {
let n = t.alert ? G9.error : G9.success, r = t.action;
n(/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -68071,17 +68121,17 @@ var Mke = /*#__PURE__*/ P.forwardRef(function(e, t) {
} : void 0
});
}, Q9 = null;
-function Fke() {
+function Ike() {
return Q9?.isConnected || (Q9 = document.createElement("div"), Q9.className = "peach-react", Q9.dataset.reactOverlays = "", document.body.append(Q9)), Q9;
}
function $9(e) {
return (t, n) => {
- let r = (0, lS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, F.jsx)(te, {
+ let r = (0, iS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, F.jsx)(te, {
client: X,
children: /* @__PURE__ */ (0, F.jsx)(Du, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, F.jsx)(ey, {
- getContainer: Fke,
+ children: /* @__PURE__ */ (0, F.jsx)($v, {
+ getContainer: Ike,
children: /* @__PURE__ */ (0, F.jsx)(e, { ...t })
})
})
@@ -68092,79 +68142,79 @@ function $9(e) {
};
};
}
-var Ike = {
+var Lke = {
activity: {
- prefetch: (e, t) => lw(t),
- mount: $9(Dne)
+ prefetch: (e, t) => Jw(t),
+ mount: $9(gT)
},
"avatar-picker": {
prefetch: async () => {},
- mount: $9(oO)
+ mount: $9($re)
},
"catalog-grid": {
- prefetch: bO,
- mount: $9(sie)
+ prefetch: lie,
+ mount: $9(Iie)
},
"cover-crop": {
prefetch: async () => {},
- mount: $9(xie)
+ mount: $9(RO)
},
configuration: {
prefetch: (e, t) => bL(t),
- mount: $9(ale)
+ mount: $9(ole)
},
"configuration-summary": {
prefetch: (e, t) => bL(t),
- mount: $9(sle)
+ mount: $9(cle)
},
"data-cleanup": {
prefetch: (e, t) => Yae(t),
- mount: $9(Xj)
+ mount: $9(boe)
},
duplicates: {
- prefetch: (e, t) => Oie(t),
- mount: $9(mM)
+ prefetch: (e, t) => Zie(t),
+ mount: $9(joe)
},
"follow-manage": {
- prefetch: (e, t) => jN(t, e.tab),
- mount: $9(vI)
+ prefetch: (e, t) => pse(t, e.tab),
+ mount: $9(QP)
},
index: {
- prefetch: (e, t) => Ioe(e, t),
- mount: $9(ase)
+ prefetch: (e, t) => bF(e, t),
+ mount: $9(YF)
},
"junk-queue": {
prefetch: async () => {},
- mount: $9(Sse)
+ mount: $9(vI)
},
"library-processing": {
- prefetch: (e, t) => bk(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(Ose, { ...e }) : /* @__PURE__ */ (0, F.jsx)(ij, { ...e }))
+ prefetch: (e, t) => ek(t),
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(TI, { ...e }) : /* @__PURE__ */ (0, F.jsx)(Cj, { ...e }))
},
playlists: {
- prefetch: (e, t) => Ase(t),
- mount: $9(Hse)
+ prefetch: (e, t) => AI(t),
+ mount: $9(YI)
},
"quality-goals": {
- prefetch: (e, t) => Kie(t),
- mount: $9(Wse)
+ prefetch: (e, t) => lae(t),
+ mount: $9(ZI)
},
review: {
- prefetch: (e, t) => pae(t),
- mount: $9(oce)
+ prefetch: (e, t) => Uk(t),
+ mount: $9(sce)
},
scraping: {
- prefetch: (e, t) => pce(t),
- mount: $9(bce)
+ prefetch: (e, t) => mce(t),
+ mount: $9(xce)
},
stats: {
- prefetch: (e, t) => lle(t),
- mount: $9(RDe)
+ prefetch: (e, t) => ule(t),
+ mount: $9(zDe)
},
taste: {
- prefetch: (e, t) => cOe("all", t),
- mount: $9(V9)
+ prefetch: (e, t) => lOe("all", t),
+ mount: $9(lke)
}
};
//#endregion
-export { Nke as mountToaster, Ike as pages, Pke as showToast };
+export { Pke as mountToaster, Lke as pages, Fke as showToast };