Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(wants): 修复吸顶遮带与入库资源展示和缓存

longmeidao783c5a14ae84
diff --git a/docs/STATUS.md b/docs/STATUS.md
index 708f9edf2..ac5968cd4 100644
--- a/docs/STATUS.md
+++ b/docs/STATUS.md
@@ -6,7 +6,7 @@
## 运行态
-- JAV 取链通过。
+- JAV 入库已核验。
- 女优头像 816 张(中位脸宽 258px,38 张带水印待复核);替下的在 `avatars-superseded/`。
- 数据管理页「整理」(ADR-0039)可预览、执行、回滚上一批,真实库未跑过。
- 产地是独立维度、JAV 是其投影:`region` 空时按厂牌、创作者、番号逐层推断,不落库;韩国 MIB 不算 JAV。
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index 88348c3c2..ce974d16b 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -5228,7 +5228,30 @@ describe('设计决定', () => {
}
});
- it('标签页的筛选玻璃吸到顶栏下沿时影换成抬起来那一档,上沿垫一条页面底色的遮带', { timeout: 60_000 }, async () => {
+ for (const viewport of VIEWPORTS) {
+ it(`首页吸顶筛选条的上沿在深浅主题中保持透明(${viewport.name})`, { timeout: 60_000 }, async () => {
+ const opened = await openHome(browser, viewport);
+ try {
+ const page = opened.page;
+ await page.evaluate(() => document.body.insertAdjacentHTML('beforeend', '<div style="height:200vh"></div>'));
+ await page.evaluate(() => window.scrollTo(0, 600));
+ await page.waitForFunction(() => document.querySelector('[data-filter-glass]')?.hasAttribute('data-stuck'));
+ for (const theme of ['light', 'dark']) {
+ const style = await page.evaluate(value => {
+ document.documentElement.dataset.theme = value;
+ const filter = document.querySelector('[data-filter-glass]')!;
+ return { content: getComputedStyle(filter, '::before').content, shadow: getComputedStyle(filter).boxShadow };
+ }, theme);
+ assert.equal(style.content, 'none');
+ assert.match(style.shadow, /inset/);
+ await page.locator('[data-filter-glass]').screenshot({ path: `../build/sticky-${viewport.name}-${theme}.png` });
+ }
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close(); }
+ });
+ }
+
+ it('筛选玻璃吸顶使用抬起阴影,深浅主题的上沿保持透明间隙', { timeout: 60_000 }, async () => {
const opened = await openIndexPage(browser, '/tags');
try {
const page = opened.page;
@@ -5261,8 +5284,11 @@ describe('设计决定', () => {
assert.equal(farthestShadow(stuck.shadow), farthestShadow(stuck.lift), '吸顶后的影不是 --glass-lift');
assert.ok(farthestShadow(stuck.shadow) > farthestShadow(resting.shadow), '吸顶后影没有抬起来');
assert.match(stuck.shadow, /inset/, '吸顶后四条内嵌 rim 线丢了');
- assert.deepEqual([strip.content, strip.top, strip.height, strip.z], ['""', '-9px', '9px', '-1']);
- assert.match(strip.mask, /linear-gradient/, '遮带两端没有渐隐');
+ assert.equal(strip.content, 'none');
+ for (const theme of ['light', 'dark']) {
+ await page.evaluate(value => { document.documentElement.dataset.theme = value }, theme);
+ assert.equal((await readStrip()).content, 'none', `${theme} 主题的吸顶上沿存在遮带`);
+ }
await page.evaluate(() => window.scrollTo(0, 0));
await page.waitForFunction(() => !document.querySelector('[data-filter-glass]')!.hasAttribute('data-stuck'),
undefined, { timeout: 5_000 });
diff --git a/frontend/e2e/want-resources.test.ts b/frontend/e2e/want-resources.test.ts
index 89c652bba..028ddfb13 100644
--- a/frontend/e2e/want-resources.test.ts
+++ b/frontend/e2e/want-resources.test.ts
@@ -15,26 +15,33 @@ describe('JAV 入库作品卡', () => {
await settle(page);
await page.route('**/api/wants', route => route.fulfill({ json: { items: [{
id: 9001, code: 'DEMO-001', title: '演示作品'.repeat(30), origin: 'code', phase: 'searching',
- link: 'https://example.test/work', release_date: '2025-01-01', studio: '演示厂牌', performers: '演示人物',
+ link: null, release_date: '2025-01-01', studio: '演示厂牌', performers: '演示人物',
fresh: false, search_count: 0, cover: null, scrape_error: null,
}], counts: { searching: 1 }, scraping: false } }));
- await page.route('**/api/wants/magnets?*', route => route.fulfill({ json: {
- state: 'ready', error: '', checked_at: null, warnings: [], items: [{
+ let resourceRequests = 0;
+ await page.route('**/api/wants/magnets?*', route => {
+ resourceRequests += 1;
+ return route.fulfill({ json: {
+ state: 'ready', error: '', checked_at: null, warnings: [], source_url: 'https://example.test/work', items: [{
id: 'magnet:abc', protocol: 'magnet', info_hash: 'abc', uri: 'magnet:?xt=urn:btih:abc',
- name: 'DEMO-001'.repeat(24), size: '4 GB', files: '2 个文件', date: '2026-10-01',
+ name: 'DEMO-001'.repeat(24), size: '4 GB', files: '2 個文件', date: '2026-10-01',
attributes: ['字幕', '高清'], source: 'JavDB', source_url: 'https://example.test/resources',
origins: ['https://example.test/resources'],
}, {
id: 'ed2k:abc', protocol: 'ed2k', info_hash: '', uri: 'ed2k://|file|demo|1|abc|/', name: '评论补充文件',
size: '1 B', files: '', date: '2026-10-02', attributes: [], source: 'JavDB 评论',
source_url: 'https://example.test/comment', origins: ['https://example.test/comment'],
- }],
- } }));
+ }, ...Array.from({ length: 6 }, (_, index) => ({
+ id: `magnet:extra-${index}`, protocol: 'magnet', info_hash: `extra-${index}`, uri: `magnet:?xt=urn:btih:extra-${index}`,
+ name: `DEMO-001 资源 ${index}`, size: '2 GB', files: '1 個文件', date: '2025-01-01',
+ attributes: [], source: 'JavDB', source_url: 'https://example.test/resources', origins: [],
+ }))],
+ } }); });
await page.route('**/api/downloads?*', route => route.fulfill({ json: { available: true,
providers: [{ key: '115', label: '115', configured: true, target: '/下载' }], tasks: [] } }));
await page.getByRole('tab', { name: 'JAV 入库', exact: true }).click();
await page.locator('[data-want-magnets]').scrollIntoViewIfNeeded();
- await page.getByRole('heading', { name: '资源链接 · 2' }).waitFor();
+ await page.getByRole('heading', { name: '资源链接 · 8' }).waitFor();
await settle(page);
const card = page.locator('[data-want-id="9001"]');
const source = card.getByRole('link', { name: '来源页', exact: true });
@@ -44,13 +51,32 @@ describe('JAV 入库作品卡', () => {
assert.equal(style.border, '1px');
assert.equal(await source.evaluate(el => el.getBoundingClientRect().height), 32);
assert.equal(await source.evaluate(el => getComputedStyle(el).borderTopWidth), '1px');
- assert.equal(await source.evaluate(el => getComputedStyle(el).paddingLeft), '8px');
- assert.equal(await card.getByRole('button', { name: '添加下载', exact: true }).count(), 1);
- assert.equal(await card.getByRole('button', { name: '复制链接', exact: true }).count(), 2);
+ assert.equal(await source.getAttribute('href'), 'https://example.test/work');
+ assert.equal(await card.locator('[data-resource-protocol]:visible').count(), 3);
+ assert.equal((await card.textContent())!.includes('個'), false);
+ const magnetStyle = await card.locator('[data-resource-protocol="magnet"]').first().locator('span').first().evaluate(el => getComputedStyle(el).backgroundColor);
+ const ed2kStyle = await card.locator('[data-resource-protocol="ed2k"] span').first().evaluate(el => getComputedStyle(el).backgroundColor);
+ assert.notEqual(magnetStyle, ed2kStyle);
+ const add = card.getByRole('button', { name: '添加下载', exact: true }).first();
+ const copy = card.getByRole('button', { name: '复制链接', exact: true }).first();
+ assert.notEqual(await add.evaluate(el => getComputedStyle(el).backgroundColor), await copy.evaluate(el => getComputedStyle(el).backgroundColor));
+ assert.equal(await add.locator('svg').count(), 1);
const geometry = await layout(page);
assert.ok(geometry.scrollWidth <= geometry.viewportWidth + 1, JSON.stringify(geometry));
assert.deepEqual(geometry.offenders, []);
await card.screenshot({ path: `../build/want-resources-${viewport.name}.png` });
+ await card.locator('summary').click();
+ await page.waitForFunction(() => document.querySelectorAll('[data-resource-protocol]').length === 8 &&
+ !document.querySelector('details [inert=""]'));
+ assert.equal(await card.locator('[data-resource-protocol]:visible').count(), 8);
+ await page.getByRole('tab', { name: '关注列表', exact: true }).click();
+ await page.getByRole('tab', { name: 'JAV 入库', exact: true }).click();
+ await page.getByRole('heading', { name: '资源链接 · 8' }).waitFor();
+ assert.equal(resourceRequests, 1, '返回页面重复查询资源');
+ await page.reload();
+ await page.getByRole('tab', { name: 'JAV 入库', exact: true }).click();
+ await page.getByRole('heading', { name: '资源链接 · 8' }).waitFor();
+ assert.equal(resourceRequests, 1, '刷新页面未复用持久缓存');
assert.deepEqual(opened.problems, []);
} finally { await opened.close(); }
});
diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.css
index da5d3bcbe..e6170b383 100644
--- a/frontend/src/react/styles.css
+++ b/frontend/src/react/styles.css
@@ -451,28 +451,12 @@
overflow: visible;
}
-/* 吸到顶栏下沿那一刻这块玻璃离开纸面抬一档:外面三层影换成 `--glass-lift`,四条内嵌 rim 线
- * 照旧(`box-shadow` 整条归一处,不能只换外面那一层);上沿再垫一条页面底色的遮带,盖住
- * 顶栏和玻璃之间那 8px 缝里滚过去的内容,两端渐隐。同旧 `.board-filter-frame.board-is-stuck`,
- * 标记由 `components/use-stuck.ts` 写。 */
+/* 吸顶由 `components/use-stuck.ts` 标记;玻璃用 --glass-lift 和四条内嵌 rim 线。 */
.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: '';
- position: absolute;
- top: -9px;
- right: -16px;
- left: -16px;
- z-index: -1;
- height: 9px;
- background: var(--page);
- mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
- pointer-events: none;
-}
-
.peach-react [data-selection-dock] {
position: fixed;
z-index: 180;
diff --git a/frontend/src/react/wants/resource-cache.ts b/frontend/src/react/wants/resource-cache.ts
new file mode 100644
index 000000000..54f631503
--- /dev/null
+++ b/frontend/src/react/wants/resource-cache.ts
@@ -0,0 +1,41 @@
+/* 资源查询按作品发行日缓存;浏览器重启后也可读取,最多保留 128 部。 */
+import type { MagnetResult } from './want-magnets';
+
+const KEY = 'peach.want-resources.v1';
+const DAY = 86_400_000;
+type Entry = { code: string; saved: number; result: MagnetResult };
+
+export function resourceLifetime(released: string | null | undefined, now = Date.now()) {
+ const date = Date.parse(released || '');
+ const today = new Date(now);
+ const cutoff = new Date(Date.UTC(today.getFullYear(), today.getMonth(), today.getDate()));
+ const day = cutoff.getUTCDate();
+ cutoff.setUTCHours(0, 0, 0, 0);
+ cutoff.setUTCDate(1);
+ cutoff.setUTCMonth(cutoff.getUTCMonth() - 3);
+ const lastDay = new Date(Date.UTC(cutoff.getUTCFullYear(), cutoff.getUTCMonth() + 1, 0)).getUTCDate();
+ cutoff.setUTCDate(Math.min(day, lastDay));
+ return Number.isFinite(date) && date < cutoff.getTime() ? 365 * DAY : 7 * DAY;
+}
+
+function entries(): Entry[] {
+ try {
+ const value = JSON.parse(localStorage.getItem(KEY) || '[]');
+ return Array.isArray(value) ? value.filter((row) => typeof row?.code === 'string' &&
+ Number.isFinite(row.saved) && row.result?.state === 'ready' && Array.isArray(row.result.items)) : [];
+ } catch { return [] }
+}
+
+export function cachedResources(code: string, released: string | null | undefined) {
+ const found = entries().find((row) => row.code === code);
+ return found && Date.now() - found.saved < resourceLifetime(released) ? found : undefined;
+}
+
+export function rememberResources(code: string, result: MagnetResult) {
+ if (result.state !== 'ready') return;
+ try {
+ const rows = entries().filter((row) => row.code !== code);
+ const checked = Date.parse(result.checked_at || '');
+ localStorage.setItem(KEY, JSON.stringify([{ code, saved: Number.isFinite(checked) ? checked : Date.now(), result }, ...rows].slice(0, 128)));
+ } catch { /* 存储不可用时仍保留 TanStack Query 的内存缓存。 */ }
+}
diff --git a/frontend/src/react/wants/want-list.tsx b/frontend/src/react/wants/want-list.tsx
index 437b47acd..eee6b4879 100644
--- a/frontend/src/react/wants/want-list.tsx
+++ b/frontend/src/react/wants/want-list.tsx
@@ -2,7 +2,7 @@
import { useState } from 'react';
import type { KeyboardEvent } from 'react';
import { useQuery } from '@tanstack/react-query';
-import { RiStarLine } from '@remixicon/react';
+import { RiStarLine, RiExternalLinkLine, RiCloudLine, RiDeleteBinLine } from '@remixicon/react';
import { Button, ButtonLink } from '@/components/base/buttons/button';
import { Input } from '@/components/base/input/input';
@@ -44,6 +44,8 @@ function WantRow({ want, readOnly, busy, onReset, onRemove, onCloudDownload, dow
want: Want; readOnly: boolean; busy: string; downloads?: DownloadsSnapshot; provider: string; toast(message: string): void;
onReset(): void; onRemove(): void; onCloudDownload(): void;
}) {
+ const [resolvedSource, setResolvedSource] = useState('');
+ const source = want.link || resolvedSource || (want.code ? `https://javdb.com/search?q=${encodeURIComponent(want.code)}&f=all` : '');
return (
<li data-want-id={want.id}
className={cardClass({ bordered: 'soft', className: 'flex flex-col gap-4 max-sm:p-4' })}>
@@ -61,22 +63,22 @@ function WantRow({ want, readOnly, busy, onReset, onRemove, onCloudDownload, dow
<p data-want-note="" className="text-caption-1-regular text-text-secondary">{searchNote(want)}</p> : null}
{want.scrape_error ? <p className="text-caption-1-regular text-text-secondary">资料未取得:{want.scrape_error}</p> : null}
<div className="mt-1 flex flex-wrap items-center gap-2">
- {want.link ? <ButtonLink data-button-link="" variant="secondary" size="small" href={want.link} target="_blank" rel="noopener noreferrer">来源页</ButtonLink> : null}
+ {source ? <ButtonLink data-button-link="" variant="secondary" size="small" trailingIcon={RiExternalLinkLine} href={source} target="_blank" rel="noopener noreferrer">来源页</ButtonLink> : null}
{/* 还在找的两段才给云下载:未发售的没有资源可下,已入库的已经到手。 */}
{want.phase === 'searching' || want.phase === 'given_up' ? (
- <Button variant="secondary" size="small" disabled={readOnly} onClick={onCloudDownload}>云下载</Button>
+ <Button variant="secondary" size="small" leadingIcon={RiCloudLine} disabled={readOnly} onClick={onCloudDownload}>云下载</Button>
) : null}
{want.phase === 'given_up' ? (
<Button variant="secondary" size="small" disabled={readOnly} {...busyProps(busy === `reset:${want.id}`)}
onClick={onReset}>重新查找</Button>
) : null}
- <Button variant="secondary" size="small" disabled={readOnly} {...busyProps(busy === `remove:${want.id}`)}
+ <Button variant="secondary" size="small" leadingIcon={RiDeleteBinLine} disabled={readOnly} {...busyProps(busy === `remove:${want.id}`)}
onClick={onRemove}>移除</Button>
</div>
</div>
</div>
{want.code && (want.phase === 'searching' || want.phase === 'given_up')
- ? <WantMagnets want={want} readOnly={readOnly} downloads={downloads} provider={provider} toast={toast} /> : null}
+ ? <WantMagnets want={want} readOnly={readOnly} downloads={downloads} provider={provider} toast={toast} onSource={setResolvedSource} /> : null}
</li>
);
}
diff --git a/frontend/src/react/wants/want-magnets.tsx b/frontend/src/react/wants/want-magnets.tsx
index 0bf78e3b7..64dfd458b 100644
--- a/frontend/src/react/wants/want-magnets.tsx
+++ b/frontend/src/react/wants/want-magnets.tsx
@@ -1,7 +1,10 @@
/* 卡片下方的磁链候选。可见时查询,提交复用云下载的幂等与失败分类。 */
-import { useEffect, useRef, useState } from 'react';
+import { useEffect, useMemo, useRef, useState, type ComponentType, type ReactNode } from 'react';
+import { RiP2pLine, RiFileDownloadLine, RiLink, RiHardDrive2Line, RiFileList2Line,
+ RiCalendarLine, RiPriceTag3Line, RiExternalLinkLine, RiFileCopyLine, RiCloudLine, RiRefreshLine } from '@remixicon/react';
import { useQuery, useQueryClient } from '@tanstack/react-query';
import { Button, ButtonLink } from '@/components/base/buttons/button';
+import { Chip } from '@/components/base/badges/chip';
import { apiGet, apiSend, errorMessage } from '../../api';
import type { DownloadsSnapshot, DownloadSubmitResult } from '../bundle';
import { DOWNLOADS_KEY, DOWNLOADS_URL } from '../activity/downloads-panel';
@@ -9,6 +12,8 @@ import { LoadingDots } from '../components/loading-dots';
import { Note } from '../components/note';
import { busyProps, useAction } from '../settings/use-action';
import type { Want } from './wants';
+import { Disclosure } from '../settings/section';
+import { cachedResources, rememberResources, resourceLifetime } from './resource-cache';
export interface MagnetCandidate {
id: string; protocol: 'magnet' | 'ed2k' | 'url'; info_hash: string; uri: string;
@@ -18,16 +23,24 @@ export interface MagnetCandidate {
export interface MagnetResult {
state: 'ready' | 'error' | 'busy' | 'unavailable'; items: MagnetCandidate[];
error: string; checked_at: string | null; warnings?: string[];
+ source_url?: string;
}
-export function WantMagnets({ want, readOnly, downloads, provider, toast }: {
+function ResourceFact({ icon: Icon, children }: { icon: ComponentType<{ className?: string; 'aria-hidden'?: boolean | 'true' | 'false' }>; children: ReactNode }) {
+ return <span className="inline-flex items-center gap-1"><Icon aria-hidden className="size-3.5 shrink-0" />{children}</span>;
+}
+
+export function WantMagnets({ want, readOnly, downloads, provider, toast, onSource }: {
want: Want; readOnly: boolean; downloads?: DownloadsSnapshot; provider: string; toast(message: string): void;
+ onSource?(url: string): void;
}) {
const root = useRef<HTMLDivElement>(null);
const [visible, setVisible] = useState(typeof IntersectionObserver === 'undefined');
const [submitted, setSubmitted] = useState<string[]>([]);
const action = useAction();
const client = useQueryClient();
+ const refresh = useRef(false);
+ const cached = useMemo(() => cachedResources(want.code || '', want.release_date), [want.code, want.release_date]);
useEffect(() => {
if (!root.current || visible) return;
const observer = new IntersectionObserver((entries) => {
@@ -38,11 +51,27 @@ export function WantMagnets({ want, readOnly, downloads, provider, toast }: {
}, [visible]);
const query = useQuery({
queryKey: ['want-magnets', want.id, want.code],
- queryFn: ({ signal }) => apiGet<MagnetResult>(`/api/wants/magnets?id=${want.id}`, signal),
- enabled: visible, retry: false, staleTime: 60_000,
+ queryFn: async ({ signal }) => {
+ const forced = refresh.current;
+ const result = await apiGet<MagnetResult>(`/api/wants/magnets?id=${want.id}${forced ? '&refresh=1' : ''}`, signal);
+ refresh.current = forced && result.state === 'busy';
+ rememberResources(want.code || '', result);
+ return result;
+ },
+ initialData: cached?.result, initialDataUpdatedAt: cached?.saved,
+ enabled: visible, retry: false,
+ // 年度缓存由时间戳判定,浏览器定时器只负责一天内的内存回收。
+ staleTime: (state) => Date.now() - state.state.dataUpdatedAt <
+ (state.state.data?.state === 'error' ? 60_000 : resourceLifetime(want.release_date)) ? Infinity : 0,
+ gcTime: 86_400_000,
+ refetchOnMount: (state) => Date.now() - state.state.dataUpdatedAt >=
+ (state.state.data?.state === 'error' ? 60_000 : resourceLifetime(want.release_date)) ? 'always' : false,
refetchOnWindowFocus: false,
refetchInterval: (state) => state.state.data?.state === 'busy' ? 3000 : false,
});
+ useEffect(() => {
+ if (query.data?.source_url) onSource?.(query.data.source_url);
+ }, [query.data?.source_url, onSource]);
const configured = downloads?.providers.find((row) => row.key === provider && row.configured);
const add = (candidate: MagnetCandidate) => {
if (readOnly || !downloads?.available || !configured || candidate.protocol !== 'magnet') return;
@@ -69,8 +98,8 @@ export function WantMagnets({ want, readOnly, downloads, provider, toast }: {
<div ref={root} data-want-magnets="" className="flex min-w-0 flex-col gap-3 border-t border-separator-border pt-4">
<div className="flex flex-wrap items-center justify-between gap-2">
<h4 className="text-body-medium text-text-primary">资源链接{query.data?.items.length ? ` · ${query.data.items.length}` : ''}</h4>
- <Button variant="secondary" size="small" {...busyProps(waiting)} onClick={() => {
- if (!waiting) void query.refetch();
+ <Button variant="secondary" size="small" leadingIcon={RiRefreshLine} {...busyProps(waiting)} onClick={() => {
+ if (!waiting) { refresh.current = true; void query.refetch() }
}}>重新查询</Button>
</div>
{waiting ? <LoadingDots label="正在查找资源链接…" /> : null}
@@ -79,32 +108,49 @@ export function WantMagnets({ want, readOnly, downloads, provider, toast }: {
{query.data?.state === 'ready' && !query.data.items.length && !query.data.warnings?.length
? <Note tone="neutral">暂未找到资源链接。</Note> : null}
{action.error ? <Note tone="error" title="操作未完成">{action.error}</Note> : null}
- {query.data?.items.length ? <ul className="flex min-w-0 flex-col gap-4">
- {query.data.items.map((candidate) => {
+ {query.data?.items.length ? (() => {
+ const rows = query.data.items.map((candidate) => {
const added = submitted.includes(candidate.id) || downloads?.tasks.some((task) => candidate.protocol === 'magnet' &&
task.info_hash === candidate.info_hash && (task.cancellable || task.state === 'ingested'));
- return <li key={candidate.id} className="flex min-w-0 items-start justify-between gap-3 max-sm:flex-col">
+ return <li key={candidate.id} data-resource-protocol={candidate.protocol} className="flex min-w-0 items-start justify-between gap-3 max-sm:flex-col">
<div className="flex min-w-0 flex-1 flex-col gap-1">
- <p className="break-all text-body-2-medium text-text-primary">{candidate.name}</p>
- <p className="break-words text-caption-1-regular text-text-secondary">
- {[candidate.protocol === 'magnet' ? '磁链' : candidate.protocol === 'ed2k' ? 'ed2k' : '链接', candidate.source, candidate.size || '大小未知', candidate.files,
- candidate.date ? `${candidate.source === 'JavDB 评论' ? '评论' : '收录'} ${candidate.date}` : '日期未知',
- ...candidate.attributes].filter(Boolean).join(' · ')}
- </p>
+ <div className="flex min-w-0 flex-wrap items-center gap-2">
+ <Chip variant="caption" color={candidate.protocol === 'magnet' ? 'blue' : candidate.protocol === 'ed2k' ? 'purple' : 'neutral'}>
+ <span className="inline-flex items-center gap-1">
+ {candidate.protocol === 'magnet' ? <RiP2pLine aria-hidden className="size-3.5" /> :
+ candidate.protocol === 'ed2k' ? <RiFileDownloadLine aria-hidden className="size-3.5" /> : <RiLink aria-hidden className="size-3.5" />}
+ {candidate.protocol === 'magnet' ? '磁链' : candidate.protocol === 'ed2k' ? 'ed2k' : '网页链接'}
+ </span>
+ </Chip>
+ <p className="min-w-0 break-all text-body-2-medium text-text-primary">{candidate.name}</p>
+ </div>
+ <div className="flex flex-wrap gap-x-3 gap-y-1 break-words text-caption-1-regular text-text-secondary">
+ <ResourceFact icon={RiLink}>{candidate.source}</ResourceFact>
+ <ResourceFact icon={RiHardDrive2Line}>{candidate.size || '大小未知'}</ResourceFact>
+ {candidate.files ? <ResourceFact icon={RiFileList2Line}>{candidate.files.replaceAll('個', '个')}</ResourceFact> : null}
+ <ResourceFact icon={RiCalendarLine}>{candidate.date ? `${candidate.source === 'JavDB 评论' ? '评论' : '收录'} ${candidate.date}` : '日期未知'}</ResourceFact>
+ {candidate.attributes.map((value) => <ResourceFact key={value} icon={RiPriceTag3Line}>{value}</ResourceFact>)}
+ </div>
</div>
<div className="flex shrink-0 flex-wrap gap-2">
- <ButtonLink data-button-link="" variant="secondary" size="small" href={candidate.source_url} target="_blank" rel="noopener noreferrer">链接来源</ButtonLink>
- <Button variant="secondary" size="small" {...busyProps(action.busy === `copy:${candidate.id}`)}
+ <ButtonLink data-button-link="" variant="secondary" size="small" trailingIcon={RiExternalLinkLine} href={candidate.source_url} target="_blank" rel="noopener noreferrer">链接来源</ButtonLink>
+ <Button variant="secondary" size="small" leadingIcon={RiFileCopyLine} {...busyProps(action.busy === `copy:${candidate.id}`)}
onClick={() => copy(candidate)}>复制链接</Button>
{candidate.protocol === 'magnet' ?
- <Button variant="secondary" size="small" disabled={readOnly || !downloads?.available || !configured || added}
+ <Button variant="primary" size="small" leadingIcon={RiCloudLine} disabled={readOnly || !downloads?.available || !configured || added}
{...busyProps(action.busy === candidate.id)} onClick={() => add(candidate)}>
{added ? '已添加' : '添加下载'}
</Button> : null}
</div>
</li>;
- })}
- </ul> : null}
+ });
+ return <>
+ <ul className="flex min-w-0 flex-col gap-4">{rows.slice(0, 3)}</ul>
+ {rows.length > 3 ? <Disclosure summary={`更多资源(${rows.length - 3} 条)`}>
+ <ul className="flex min-w-0 flex-col gap-4">{rows.slice(3)}</ul>
+ </Disclosure> : null}
+ </>;
+ })() : null}
</div>
);
}
diff --git a/frontend/test/react/want-magnets.test.tsx b/frontend/test/react/want-magnets.test.tsx
index 158cc45e7..dae0f24a1 100644
--- a/frontend/test/react/want-magnets.test.tsx
+++ b/frontend/test/react/want-magnets.test.tsx
@@ -1,12 +1,14 @@
+import { act } from 'react';
import { QueryClientProvider, notifyManager } from '@tanstack/react-query';
import { afterEach, expect, it, vi } from 'vitest';
import { queryClient } from '../../src/react/query';
import { WantMagnets, type MagnetCandidate } from '../../src/react/wants/want-magnets';
import type { Want } from '../../src/react/wants/wants';
-import { buttonNamed, click, mount, pending, settle } from './render';
+import { buttonNamed, click, mount, mountRoot, pending, settle } from './render';
+import { cachedResources, rememberResources, resourceLifetime } from '../../src/react/wants/resource-cache';
notifyManager.setScheduler((notify) => notify());
-afterEach(() => queryClient.clear());
+afterEach(() => { queryClient.clear(); localStorage.clear() });
const candidate: MagnetCandidate = {
id: 'magnet:abc', protocol: 'magnet', info_hash: 'abc', uri: 'magnet:?xt=urn:btih:abc',
name: 'DEMO-001 HD', size: '4 GB', files: '2 個文件', date: '2026-10-01', attributes: ['字幕', '高清'],
@@ -32,7 +34,7 @@ async function open(items = [candidate], readOnly = false, ok = true) {
it('自动查询,展示来源、大小、日期与属性,直接添加到选定的云下载目录', async () => {
const { host, fetcher, toast } = await open();
expect(fetcher.mock.calls[0]?.[0]).toBe('/api/wants/magnets?id=1');
- for (const text of ['4 GB', '2 個文件', '2026-10-01', '字幕', '高清', 'JavDB']) expect(host.textContent).toContain(text);
+ for (const text of ['4 GB', '2 个文件', '2026-10-01', '字幕', '高清', 'JavDB']) expect(host.textContent).toContain(text);
await click(buttonNamed('添加下载', host));
await settle();
const writes = fetcher.mock.calls.filter(([, init]) => init?.method === 'POST');
@@ -75,3 +77,68 @@ it('只读时禁止提交,远端失败留在卡片并保留重试', async () =
expect(buttonNamed('已添加', writer.host)).toBeNull();
expect(writer.toast).not.toHaveBeenCalled();
});
+
+it('更多资源默认折叠且协议有独立标记', async () => {
+ const { host } = await open(Array.from({ length: 8 }, (_, index) => ({ ...candidate, id: String(index) })));
+ const more = host.querySelector('details')!;
+ expect(more.open).toBe(false);
+ expect(host.querySelector('summary')?.textContent).toContain('5 条');
+ expect(host.querySelector('[data-resource-protocol="magnet"] svg')).not.toBeNull();
+ await click(more.querySelector('summary'));
+ expect(more.open).toBe(true);
+});
+
+it('发行三个月边界、月末与缓存有效期一致', () => {
+ const now = Date.parse('2026-10-03T12:00:00Z');
+ expect(resourceLifetime('2026-07-03', now)).toBe(7 * 86_400_000);
+ expect(resourceLifetime('2026-07-02', now)).toBe(365 * 86_400_000);
+ expect(resourceLifetime(null, now)).toBe(7 * 86_400_000);
+ expect(resourceLifetime('2026-02-28', Date.parse('2026-05-31T00:00:00Z'))).toBe(7 * 86_400_000);
+});
+
+it('页面与查询客户端重建后复用持久缓存,手动查询强制更新来源', async () => {
+ vi.stubGlobal('IntersectionObserver', undefined);
+ const want = { id: 1, code: 'DEMO-001', release_date: '2020-01-01' } as Want;
+ rememberResources(want.code!, { state: 'ready', items: [candidate], error: '', checked_at: null });
+ const fetcher = vi.fn(async (_url: string) => ({ ok: true, status: 200, json: async () =>
+ ({ state: 'ready', items: [candidate], error: '', checked_at: null }) }));
+ vi.stubGlobal('fetch', fetcher);
+ const render = () => <QueryClientProvider client={queryClient}><WantMagnets want={want} readOnly
+ provider="" toast={() => {}} /></QueryClientProvider>;
+ const first = await mountRoot(render());
+ await settle();
+ await first.unmount();
+ queryClient.clear();
+ const second = await mountRoot(render());
+ await settle();
+ expect(second.host.textContent).toContain(candidate.name);
+ expect(fetcher).not.toHaveBeenCalled();
+ await click(buttonNamed('重新查询', second.host));
+ await settle();
+ expect(fetcher.mock.calls[0]?.[0]).toBe('/api/wants/magnets?id=1&refresh=1');
+ expect(cachedResources(want.code!, want.release_date)?.result.items).toHaveLength(1);
+});
+
+it('过期的内存缓存随卡片进入视口重新查询', async () => {
+ let reveal: (() => void) | undefined;
+ vi.stubGlobal('IntersectionObserver', class {
+ constructor(callback: (entries: { isIntersecting: boolean }[]) => void) {
+ reveal = () => callback([{ isIntersecting: true }]);
+ }
+ observe() {}
+ disconnect() {}
+ });
+ const want = { id: 1, code: 'DEMO-001', release_date: '2020-01-01' } as Want;
+ const result = { state: 'ready', items: [candidate], error: '', checked_at: null };
+ queryClient.setQueryData(['want-magnets', want.id, want.code], result,
+ { updatedAt: Date.now() - 366 * 86_400_000 });
+ const fetcher = vi.fn(async () => ({ ok: true, status: 200, json: async () => result }));
+ vi.stubGlobal('fetch', fetcher);
+ await mount(<QueryClientProvider client={queryClient}><WantMagnets want={want} readOnly
+ provider="" toast={() => {}} /></QueryClientProvider>);
+ await settle();
+ expect(fetcher).not.toHaveBeenCalled();
+ await act(async () => reveal!());
+ await settle();
+ expect(fetcher).toHaveBeenCalledOnce();
+});
diff --git a/src/peach/sources/javdb.py b/src/peach/sources/javdb.py
index 0e638eab4..8af1a62b9 100644
--- a/src/peach/sources/javdb.py
+++ b/src/peach/sources/javdb.py
@@ -110,7 +110,8 @@ class JavDBSource(SiteSource):
warnings.append("已读取前三页评论,其余请打开来源页查看。")
if not entry and not soup.select_one('.review-items'):
warnings.append("评论入口未取得。")
- return {"items": merge_resources(items), "warnings": list(dict.fromkeys(warnings))}
+ return {"items": merge_resources(items), "warnings": list(dict.fromkeys(warnings)),
+ "source_url": page.url}
def search_url(self, code: str) -> str:
return f"{self.config.base_url}/search?q={urllib.parse.quote(code)}&f=all"
diff --git a/src/peach/wants_magnets.py b/src/peach/wants_magnets.py
index 017ec4d8a..38950ac5b 100644
--- a/src/peach/wants_magnets.py
+++ b/src/peach/wants_magnets.py
@@ -6,6 +6,8 @@ from functools import lru_cache
from pathlib import Path
from threading import Lock
import time
+from datetime import date
+from calendar import monthrange
from .sources import FailureReason, JavDBSource, Session, SourceFailure
@@ -22,6 +24,17 @@ def fetch(root: Path, code: str) -> dict:
transport.close()
+def cache_lifetime(released: str | None, today: date | None = None) -> int:
+ today = today or date.today()
+ year, month = divmod(today.year * 12 + today.month - 1 - 3, 12)
+ cutoff = date(year, month + 1, min(today.day, monthrange(year, month + 1)[1]))
+ try:
+ old = date.fromisoformat(released or '') < cutoff
+ except ValueError:
+ old = False
+ return (365 if old else 7) * 86400
+
+
class MagnetSearch:
"""一台服务同时只查一部;缓存最多 128 部,失败一分钟后可重试。"""
@@ -31,13 +44,13 @@ class MagnetSearch:
self.cache: OrderedDict[str, tuple[float, dict]] = OrderedDict()
self.next_request = 0.0
- def query(self, code: str) -> dict:
+ def query(self, code: str, *, refresh: bool = False, released: str | None = None) -> dict:
# 等锁的请求不积压为无限队列;前端把忙态留在卡片上,稍后再取。
if not self.lock.acquire(timeout=0.05):
return {"ok": True, "state": "busy", "items": [], "error": "", "checked_at": None}
try:
cached = self.cache.get(code)
- if cached and cached[0] > self.clock():
+ if not refresh and cached and cached[0] + (60 if cached[1]['state'] == 'error' else cache_lifetime(released)) > self.clock():
self.cache.move_to_end(code)
return cached[1]
delay = self.next_request - self.clock()
@@ -53,7 +66,7 @@ class MagnetSearch:
except Exception: # 来源异常只报告查询失败,不泄露请求或凭据
result.update(state="error", error="JavDB 磁链未取得,请稍后重试或检查来源连接。")
self.next_request = self.clock() + 3
- self.cache[code] = (self.clock() + 60, result)
+ self.cache[code] = (self.clock(), result)
self.cache.move_to_end(code)
while len(self.cache) > 128:
self.cache.popitem(last=False)
diff --git a/src/peach/web_wants.py b/src/peach/web_wants.py
index a90ba9638..ff477ac18 100644
--- a/src/peach/web_wants.py
+++ b/src/peach/web_wants.py
@@ -205,7 +205,8 @@ def q_want_magnets(contract, args) -> dict:
raise KeyError("想要条目不存在")
if not row["code"] or wants.phase(row, date.today()) in {"unreleased", "acquired"}:
return {"ok": True, "state": "unavailable", "items": [], "error": "", "checked_at": None}
- return search_for(contract.follow_secrets_root).query(row["code"])
+ return search_for(contract.follow_secrets_root).query(
+ row["code"], refresh=str(args.get('refresh') or '') == '1', released=row['release_date'])
def _add(connection, body) -> dict:
diff --git a/tests/test_metadata_sources.py b/tests/test_metadata_sources.py
index 08e92313e..9a1f5db27 100644
--- a/tests/test_metadata_sources.py
+++ b/tests/test_metadata_sources.py
@@ -64,6 +64,7 @@ class JavDBResourceTests(unittest.TestCase):
patch.object(source, '_page', side_effect=SourceFailure(FailureReason.AUTH_REQUIRED, 'login')):
result = source.resources('DEMO-001', session=Session(lambda *args: None))
self.assertEqual(result['items'], [])
+ self.assertEqual(result['source_url'], 'https://javdb.com/v/demo')
self.assertTrue(result['warnings'])
def test_comment_urls_cannot_fetch_other_hosts(self):
diff --git a/tests/test_wants_web.py b/tests/test_wants_web.py
index b7d953484..ab1e9f507 100644
--- a/tests/test_wants_web.py
+++ b/tests/test_wants_web.py
@@ -6,7 +6,7 @@ import sys
import tempfile
import unittest
from unittest.mock import patch
-from datetime import datetime, timedelta, timezone
+from datetime import date, datetime, timedelta, timezone
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "src"))
@@ -28,12 +28,41 @@ class MagnetLookupTests(unittest.TestCase):
self.assertEqual(search.query('DEMO-001')['state'], 'ready')
search.query('DEMO-001')
self.assertEqual(calls, ['DEMO-001'])
- now[0] += 61
+ now[0] += 7 * 86400 + 1
search.query('DEMO-001')
self.assertEqual(len(calls), 2)
with search.lock:
self.assertEqual(search.query('DEMO-002')['state'], 'busy')
+ def test_release_age_controls_cache_and_manual_refresh_bypasses_it(self):
+ from peach.wants_magnets import cache_lifetime, MagnetSearch
+ today = date(2026, 10, 3)
+ self.assertEqual(cache_lifetime('2026-07-03', today), 7 * 86400)
+ self.assertEqual(cache_lifetime('2026-07-02', today), 365 * 86400)
+ self.assertEqual(cache_lifetime(None, today), 7 * 86400)
+ self.assertEqual(cache_lifetime('2026-02-28', date(2026, 5, 31)), 7 * 86400)
+ now, calls = [100.0], []
+ search = MagnetSearch(Path('.'), fetcher=lambda root, code: calls.append(code) or {'items': []},
+ clock=lambda: now[0], sleeper=lambda seconds: None)
+ search.query('OLD-001', released='2020-01-01')
+ now[0] += 8 * 86400
+ search.query('OLD-001', released='2020-01-01')
+ self.assertEqual(len(calls), 1)
+ search.query('OLD-001', released='2020-01-01', refresh=True)
+ self.assertEqual(len(calls), 2)
+
+ def test_failures_retry_after_one_minute(self):
+ from peach.wants_magnets import MagnetSearch
+ now, calls = [100.0], []
+ def failed(root, code):
+ calls.append(code)
+ raise ValueError('failed')
+ search = MagnetSearch(Path('.'), fetcher=failed, clock=lambda: now[0], sleeper=lambda seconds: None)
+ search.query('OLD-001', released='2020-01-01')
+ now[0] += 61
+ search.query('OLD-001', released='2020-01-01')
+ self.assertEqual(len(calls), 2)
+
def test_source_failure_is_distinct_from_no_results(self):
from peach.wants_magnets import MagnetSearch
from peach.sources import SourceFailure, FailureReason
@@ -70,11 +99,13 @@ class WantWebFixture(unittest.TestCase):
with patch('peach.wants_magnets.search_for') as factory:
factory.return_value.query.return_value = {"state": "ready", "items": []}
self.get('/api/wants/magnets', id=str(row['id']))
- factory.return_value.query.assert_called_once_with('DEMO-001')
+ factory.return_value.query.assert_called_once_with('DEMO-001', refresh=False, released=None)
+ self.get('/api/wants/magnets', id=str(row['id']), refresh='1')
+ factory.return_value.query.assert_called_with('DEMO-001', refresh=True, released=None)
with self.contract.database.write_transaction() as connection:
connection.execute("UPDATE want_item SET release_date='2999-01-01' WHERE id=?", (row['id'],))
self.assertEqual(self.get('/api/wants/magnets', id=str(row['id']))['state'], 'unavailable')
- self.assertEqual(factory.return_value.query.call_count, 1)
+ self.assertEqual(factory.return_value.query.call_count, 2)
with self.assertRaises(ValueError):
self.get('/api/wants/magnets', id='-1')
with self.assertRaises(KeyError):
diff --git a/web/board.css b/web/board.css
index bd7c1f2e9..4e1664626 100644
--- a/web/board.css
+++ b/web/board.css
@@ -211,7 +211,6 @@ body.board-scrolled .top{box-shadow:none;border-bottom:0}
`.board-filter-frame` 起头,`box-shadow` 整条归特异性高的那一条,少写一遍这里就
不生效,抬起来的那一档看不出来。 */
.board-filter-frame.board-filter-frame.board-filter-frame.board-is-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)}
-.board-filter-frame.board-is-stuck::before{content:'';position:absolute;left:-16px;right:-16px;top:-9px;height:9px;z-index:-1;background:var(--page);mask-image:linear-gradient(to right,transparent,#000 24px,#000 calc(100% - 24px),transparent);pointer-events:none}
.board-filter-frame .tagbar.is-stuck,.board-filter-frame .count.is-stuck{backdrop-filter:none;-webkit-backdrop-filter:none}
.peach-insights{max-width:1120px;margin:0 auto 40px;color:var(--ink)}
.peach-insights[hidden]{display:none}
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index aff099d4b..aea9237f0 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-4{margin-inline:calc(var(--spacing) * 4)}.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-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.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-80{max-height:calc(var(--spacing) * 80)}.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\.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-12{min-height:calc(var(--spacing) * 12)}.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-72{max-width:calc(var(--spacing) * 72)}.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-44{min-width:calc(var(--spacing) * 44)}.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}.columns-2{columns:2}.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-nowrap{flex-wrap:nowrap}.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-normal{white-space:normal}.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-background-tertiary-default{color:var(--color-background-tertiary-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}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.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-border-button-hover:hover{border-color:var(--color-border-button-hover)}.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-focus-visible\:ring-2[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)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.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-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\:hidden{display:none}.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\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:min-w-0{min-width:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.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\:gap-3{gap:calc(var(--spacing) * 3)}.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\:w-review-cover{width:var(--container-review-cover)}}@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\: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-3{grid-template-columns:repeat(3,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))}.xl\:grid-cols-6{grid-template-columns:repeat(6,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-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.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]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height: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 :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);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-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);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]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .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]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .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]:not([data-surface=\/trash]) .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]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .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-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-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{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)}.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(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.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]{height:60px}.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}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 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);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span: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){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;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}.peach-react [data-refreshing] [data-tier-ring][class~=imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;min-width:0;height:30px;margin:0}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{border:1px solid var(--line-soft);background:var(--overlay-5);width:38px;height:38px;color:inherit;cursor:default;border-radius:50%;flex:none;place-items:center;margin-top:2px;padding:0;display:grid;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){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-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}body[data-detail-open]{overflow:hidden}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side""queue queue";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);word-break:break-all;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:wrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);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-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;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);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{color:#f1f1f1;pointer-events:auto;font-weight:600;text-decoration:none}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{color:#aaa;font-size:var(--fs-sm)}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);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-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}@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 #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-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}.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}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):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}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.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)}.peach-react [data-glass-pill]:hover:not([aria-busy]){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);border-color:#0000}@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);position:relative;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)}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:20px;margin-bottom:28px;display:block}[data-manage-menu]{border-bottom:1px solid var(--line);scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{min-height:44px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:7px;margin:0;padding:12px 10px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{color:var(--tungsten);font-weight:500}[data-manage-indicator]{z-index:1;width:var(--tab-width,0px);background:var(--tungsten);height:2px;transform:translateX(var(--tab-x,0px));pointer-events:none;position:absolute;bottom:0;left:0}[data-manage-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){[data-manage-indicator][data-ready]{transition:none}}[data-manage-crumb]{margin-top:0;margin-bottom:6px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:16px;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}
+@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-4{margin-inline:calc(var(--spacing) * 4)}.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-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.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-80{max-height:calc(var(--spacing) * 80)}.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\.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-12{min-height:calc(var(--spacing) * 12)}.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-72{max-width:calc(var(--spacing) * 72)}.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-44{min-width:calc(var(--spacing) * 44)}.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}.columns-2{columns:2}.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-nowrap{flex-wrap:nowrap}.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-3{column-gap:calc(var(--spacing) * 3)}.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-normal{white-space:normal}.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-background-tertiary-default{color:var(--color-background-tertiary-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}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.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-border-button-hover:hover{border-color:var(--color-border-button-hover)}.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-focus-visible\:ring-2[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)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.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-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\:hidden{display:none}.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\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:min-w-0{min-width:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.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\:gap-3{gap:calc(var(--spacing) * 3)}.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\:w-review-cover{width:var(--container-review-cover)}}@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\: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-3{grid-template-columns:repeat(3,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))}.xl\:grid-cols-6{grid-template-columns:repeat(6,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-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.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]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height: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 :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);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-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);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]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .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]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .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]:not([data-surface=\/trash]) .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]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .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-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-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{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)}.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(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.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]{height:60px}.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}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 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);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span: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){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;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}.peach-react [data-refreshing] [data-tier-ring][class~=imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;min-width:0;height:30px;margin:0}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{border:1px solid var(--line-soft);background:var(--overlay-5);width:38px;height:38px;color:inherit;cursor:default;border-radius:50%;flex:none;place-items:center;margin-top:2px;padding:0;display:grid;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){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-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}body[data-detail-open]{overflow:hidden}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side""queue queue";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);word-break:break-all;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:wrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);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-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;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);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{color:#f1f1f1;pointer-events:auto;font-weight:600;text-decoration:none}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{color:#aaa;font-size:var(--fs-sm)}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);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-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}@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 #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-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}.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-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}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):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}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.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)}.peach-react [data-glass-pill]:hover:not([aria-busy]){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);border-color:#0000}@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);position:relative;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)}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:20px;margin-bottom:28px;display:block}[data-manage-menu]{border-bottom:1px solid var(--line);scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{min-height:44px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:7px;margin:0;padding:12px 10px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{color:var(--tungsten);font-weight:500}[data-manage-indicator]{z-index:1;width:var(--tab-width,0px);background:var(--tungsten);height:2px;transform:translateX(var(--tab-x,0px));pointer-events:none;position:absolute;bottom:0;left:0}[data-manage-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){[data-manage-indicator][data-ready]{transition:none}}[data-manage-crumb]{margin-top:0;margin-bottom:6px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:16px;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index 12ed92a1a..eb7991238 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -19776,9 +19776,9 @@ function uee(e, t) {
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var dee = Math.round(Math.random() * 1e10), fee = 0;
-function pee(e) {
- let t = (0, B.useMemo)(() => e.name || `radio-group-${dee}-${++fee}`, [e.name]), [n, r] = yo(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, B.useState)(n), [a, o] = (0, B.useState)(null), s = tl({
+var dee = Math.round(Math.random() * 1e10), lg = 0;
+function fee(e) {
+ let t = (0, B.useMemo)(() => e.name || `radio-group-${dee}-${++lg}`, [e.name]), [n, r] = yo(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, B.useState)(n), [a, o] = (0, B.useState)(null), s = tl({
...e,
value: n
}), c = (t) => {
@@ -19801,9 +19801,9 @@ function pee(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var mee = /*#__PURE__*/ (0, B.createContext)(null), hee = /*#__PURE__*/ (0, B.createContext)(null), lg = /*#__PURE__*/ (0, B.createContext)(null), ug = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
- [e, t] = ei(e, t, mee);
- let { validationBehavior: n } = $r(sl) || {}, r = e.validationBehavior ?? n ?? "native", i = pee({
+var pee = /*#__PURE__*/ (0, B.createContext)(null), mee = /*#__PURE__*/ (0, B.createContext)(null), ug = /*#__PURE__*/ (0, B.createContext)(null), dg = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+ [e, t] = ei(e, t, pee);
+ let { validationBehavior: n } = $r(sl) || {}, r = e.validationBehavior ?? n ?? "native", i = fee({
...e,
validationBehavior: r
}), [a, o] = ti(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = uee({
@@ -19832,7 +19832,7 @@ var mee = /*#__PURE__*/ (0, B.createContext)(null), hee = /*#__PURE__*/ (0, B.cr
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
}, /*#__PURE__*/ B.createElement(Zr, { values: [
- [lg, i],
+ [ug, i],
[vc, {
...c,
ref: a,
@@ -19844,23 +19844,23 @@ var mee = /*#__PURE__*/ (0, B.createContext)(null), hee = /*#__PURE__*/ (0, B.cr
} }],
[Yc, d]
] }, /*#__PURE__*/ B.createElement(Su, null, f.children)));
-}), dg = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+}), fg = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = ei(r, t, hee);
- let i = B.useContext(lg), a = Yr((0, B.useMemo)(() => Gr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = lee({
+ [e, t] = ei(r, t, mee);
+ let i = B.useContext(ug), a = Yr((0, B.useMemo)(() => Gr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = lee({
...ni(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ B.createElement(fg.Provider, { value: {
+ return /*#__PURE__*/ B.createElement(pg.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ B.createElement(pg, {
+ } }, /*#__PURE__*/ B.createElement(mg, {
...e,
ref: t
}));
-}), fg = /*#__PURE__*/ (0, B.createContext)(null), pg = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, B.useContext)(fg), l = B.useContext(lg), { isFocused: u, isFocusVisible: d, focusProps: f } = dc(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = _c({
+}), pg = /*#__PURE__*/ (0, B.createContext)(null), mg = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, B.useContext)(pg), l = B.useContext(ug), { isFocused: u, isFocusVisible: d, focusProps: f } = dc(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = _c({
...e,
isDisabled: p
}), g = Qr({
@@ -19894,8 +19894,8 @@ var mee = /*#__PURE__*/ (0, B.createContext)(null), hee = /*#__PURE__*/ (0, B.cr
...U(r, f),
ref: c
})), g.children);
-}), mg = /* @__PURE__ */ new WeakMap();
-function gee(e, t, n) {
+}), hg = /* @__PURE__ */ new WeakMap();
+function hee(e, t, n) {
let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = vd({
usage: "search",
sensitivity: "base"
@@ -19938,7 +19938,7 @@ function gee(e, t, n) {
});
t.selectionManager.selectionMode === "multiple" && (m = {});
let S = Bs(e, { labelable: !0 }), C = U(m, d, y), w = Hr();
- return mg.set(t, {
+ return hg.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -19999,8 +19999,8 @@ function gee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function _ee(e, t, n) {
- let r = mg.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = qc({ style: {
+function gee(e, t, n) {
+ let r = hg.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = qc({ style: {
position: "fixed",
top: 0,
left: 0
@@ -20035,8 +20035,8 @@ function _ee(e, t, n) {
}
};
}
-function vee(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, B.useRef)(null), c = (0, B.useRef)(null), { containerProps: l, selectProps: u } = _ee({
+function _ee(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, B.useRef)(null), c = (0, B.useRef)(null), { containerProps: l, selectProps: u } = gee({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -20060,7 +20060,7 @@ function vee(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = mg.get(t) || {};
+ let { validationBehavior: e } = hg.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -20091,7 +20091,7 @@ function vee(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function yee(e) {
+function vee(e) {
let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = Xp(e), [i, a] = (0, B.useState)(null), o = (0, B.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
@@ -20113,7 +20113,7 @@ function yee(e) {
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, B.useMemo)(() => bee(l), [l]),
+ selectedKeys: (0, B.useMemo)(() => yee(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -20150,16 +20150,16 @@ function yee(e) {
setFocused: g
};
}
-function bee(e) {
+function yee(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 xee(e) {
+function bee(e) {
return e && e.__esModule ? e.default : e;
}
-var hg = /*#__PURE__*/ (0, B.createContext)(null), gg = /*#__PURE__*/ (0, B.createContext)(null), See = /*#__PURE__*/ ss(function(e, t) {
- [e, t] = ei(e, t, hg);
+var gg = /*#__PURE__*/ (0, B.createContext)(null), _g = /*#__PURE__*/ (0, B.createContext)(null), xee = /*#__PURE__*/ ss(function(e, t) {
+ [e, t] = ei(e, t, gg);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, B.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -20174,23 +20174,23 @@ var hg = /*#__PURE__*/ (0, B.createContext)(null), gg = /*#__PURE__*/ (0, B.crea
i,
a
]);
- return /*#__PURE__*/ B.createElement(ms, { content: o }, (n) => /*#__PURE__*/ B.createElement(wee, {
+ return /*#__PURE__*/ B.createElement(ms, { content: o }, (n) => /*#__PURE__*/ B.createElement(Cee, {
props: e,
collection: n,
selectRef: t
}));
-}), Cee = [
+}), See = [
vc,
Oc,
Pc
];
-function wee({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = $r(sl) || {}, i = e.validationBehavior ?? r ?? "native", a = yee({
+function Cee({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = $r(sl) || {}, i = e.validationBehavior ?? r ?? "native", a = vee({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = dc({ within: !0 }), c = (0, B.useRef)(null), [l, u] = ti(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = gee({
+ }), { isFocusVisible: o, focusProps: s } = dc({ within: !0 }), c = (0, B.useRef)(null), [l, u] = ti(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = hee({
...ni(e),
label: u,
validationBehavior: i
@@ -20216,9 +20216,9 @@ function wee({ props: e, selectRef: t, collection: n }) {
delete x.id;
let S = (0, B.useRef)(null);
return /*#__PURE__*/ B.createElement(Zr, { values: [
- [hg, e],
- [gg, a],
- [_g, p],
+ [gg, e],
+ [_g, a],
+ [vg, p],
[vc, {
...d,
ref: l,
@@ -20237,7 +20237,7 @@ function wee({ props: e, selectRef: t, collection: n }) {
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: Cee
+ clearContexts: See
}],
[Qd, {
...m,
@@ -20259,14 +20259,14 @@ function wee({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, b.children, /*#__PURE__*/ B.createElement(vee, {
+ }, b.children, /*#__PURE__*/ B.createElement(_ee, {
..._,
autoComplete: e.autoComplete
})));
}
-var _g = /*#__PURE__*/ (0, B.createContext)(null), Tee = /*#__PURE__*/ ss(function(e, t) {
- [e, t] = ei(e, t, _g);
- let n = (0, B.useContext)(gg), { placeholder: r } = $r(hg), i = n.selectedItems.map((e) => {
+var vg = /*#__PURE__*/ (0, B.createContext)(null), wee = /*#__PURE__*/ ss(function(e, t) {
+ [e, t] = ei(e, t, vg);
+ let n = (0, B.useContext)(_g), { placeholder: r } = $r(gg), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -20293,7 +20293,7 @@ var _g = /*#__PURE__*/ (0, B.createContext)(null), Tee = /*#__PURE__*/ ss(functi
a,
o,
i
- ]), u = _o(xee(mu), "react-aria-components"), d = Qr({
+ ]), u = _o(bee(mu), "react-aria-components"), d = Qr({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -20314,7 +20314,7 @@ var _g = /*#__PURE__*/ (0, B.createContext)(null), Tee = /*#__PURE__*/ ss(functi
});
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function Eee(e, t, n) {
+function Tee(e, t, n) {
let { labelProps: r, inputProps: i, isSelected: a, ...o } = _l(e, t, n);
return {
labelProps: r,
@@ -20327,23 +20327,23 @@ function Eee(e, t, n) {
...o
};
}
-for (var Dee = /*#__PURE__*/ (0, B.createContext)(null), vg = /*#__PURE__*/ (0, B.createContext)(null), Oee = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+for (var Eee = /*#__PURE__*/ (0, B.createContext)(null), yg = /*#__PURE__*/ (0, B.createContext)(null), Dee = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = ei(r, t, Dee);
- let i = Yr((0, B.useMemo)(() => Gr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = yl(e), o = Eee({
+ [e, t] = ei(r, t, Eee);
+ let i = Yr((0, B.useMemo)(() => Gr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = yl(e), o = Tee({
...ni(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ B.createElement(Zr, { values: [[vg, a], [yg, {
+ return /*#__PURE__*/ B.createElement(Zr, { values: [[yg, a], [bg, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ B.createElement(kee, {
+ }]] }, /*#__PURE__*/ B.createElement(Oee, {
...e,
ref: t
}));
-}), yg = /*#__PURE__*/ (0, B.createContext)(null), kee = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, B.useContext)(yg), { isFocused: f, isFocusVisible: p, focusProps: m } = dc(), h = a || o, g = (0, B.useContext)(vg), { hoverProps: _, isHovered: v } = _c({
+}), bg = /*#__PURE__*/ (0, B.createContext)(null), Oee = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, B.useContext)(bg), { isFocused: f, isFocusVisible: p, focusProps: m } = dc(), h = a || o, g = (0, B.useContext)(yg), { hoverProps: _, isHovered: v } = _c({
...e,
isDisabled: h
}), y = Qr({
@@ -20379,7 +20379,7 @@ for (var Dee = /*#__PURE__*/ (0, B.createContext)(null), vg = /*#__PURE__*/ (0,
...U(r, m),
ref: l
})), y.children);
-}), bg = 10, xg = 5, Aee = class {
+}), xg = 10, Sg = 5, kee = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -20389,7 +20389,7 @@ for (var Dee = /*#__PURE__*/ (0, B.createContext)(null), vg = /*#__PURE__*/ (0,
}
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) > xg && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > bg && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > Sg && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > xg && (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);
@@ -20468,11 +20468,11 @@ for (var Dee = /*#__PURE__*/ (0, B.createContext)(null), vg = /*#__PURE__*/ (0,
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > xg && i) {
+ if (Math.abs(r - c.lastSwitchY) > Sg && 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 > bg && a) {
+ if (l > xg && 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;
}
@@ -20487,7 +20487,7 @@ for (var Dee = /*#__PURE__*/ (0, B.createContext)(null), vg = /*#__PURE__*/ (0,
boundaryContext: null
};
}
-}, jee = class {
+}, Aee = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -20557,8 +20557,8 @@ for (var Dee = /*#__PURE__*/ (0, B.createContext)(null), vg = /*#__PURE__*/ (0,
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, Sg = "row-header-column-" + Math.random().toString(36).slice(2), Cg = "row-header-column-" + Math.random().toString(36).slice(2); Sg === Cg;) Cg = "row-header-column-" + Math.random().toString(36).slice(2);
-function wg(e, t) {
+}, Cg = "row-header-column-" + Math.random().toString(36).slice(2), wg = "row-header-column-" + Math.random().toString(36).slice(2); Cg === wg;) wg = "row-header-column-" + Math.random().toString(36).slice(2);
+function Tg(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -20642,13 +20642,13 @@ function wg(e, t) {
textValue: ""
}));
}
-var Mee = class extends jee {
+var jee = class extends Aee {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: Sg,
+ key: Cg,
value: null,
textValue: "",
level: 0,
@@ -20663,7 +20663,7 @@ var Mee = class extends jee {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: Cg,
+ key: wg,
value: null,
textValue: "",
level: 0,
@@ -20690,7 +20690,7 @@ var Mee = class extends jee {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = wg(s, a);
+ let l = Tg(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -20751,7 +20751,7 @@ var Mee = class extends jee {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Nee(e) {
+function Mee(e) {
let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || Bd(e), i = (0, B.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
@@ -20802,11 +20802,11 @@ function Nee(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var Pee = {
+var Nee = {
ascending: "descending",
descending: "ascending"
};
-function Fee(e) {
+function Pee(e) {
let [t, n] = (0, B.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, B.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -20817,7 +20817,7 @@ function Fee(e) {
i,
r,
a
- ]), c = qd(e, (0, B.useCallback)((e) => new Mee(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Nee({
+ ]), c = qd(e, (0, B.useCallback)((e) => new jee(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Mee({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -20833,7 +20833,7 @@ function Fee(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Pee[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Nee[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -20846,7 +20846,7 @@ function Fee(e) {
treeColumn: o
};
}
-function Iee(e, t) {
+function Fee(e, t) {
let n = (0, B.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -20856,10 +20856,10 @@ function Iee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var Tg = class {
+var Eg = 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 Lee(e.layout) : new hd(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Iee(e.layout) : new hd(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -21025,7 +21025,7 @@ var Tg = class {
}
return null;
}
-}, Lee = class {
+}, Iee = class {
constructor(e) {
this.layout = e;
}
@@ -21038,16 +21038,16 @@ var Tg = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, Eg = /* @__PURE__ */ new WeakMap();
+}, Dg = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function Ree(e, t, n) {
+function Lee(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 = vd({
usage: "search",
sensitivity: "base"
- }), { direction: g } = no(), _ = t.selectionManager.disabledBehavior, v = (0, B.useMemo)(() => a || new Tg({
+ }), { direction: g } = no(), _ = t.selectionManager.disabledBehavior, v = (0, B.useMemo)(() => a || new Eg({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -21073,7 +21073,7 @@ function Ree(e, t, n) {
disallowTypeAhead: i,
escapeKeyBehavior: d
}), b = Hr(e.id);
- Eg.set(t, {
+ Dg.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -21103,27 +21103,27 @@ function Ree(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var Dg = /* @__PURE__ */ new WeakMap();
-function Og(e) {
+var Og = /* @__PURE__ */ new WeakMap();
+function kg(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function zee(e, t) {
- let n = Dg.get(e);
+function Ree(e, t) {
+ let n = Og.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${Og(t)}`;
+ return `${n}-${kg(t)}`;
}
-function kg(e, t, n) {
- let r = Dg.get(e);
+function Ag(e, t, n) {
+ let r = Og.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${Og(t)}-${Og(n)}`;
+ return `${r}-${kg(t)}-${kg(n)}`;
}
-function Ag(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => kg(e, t, n)).join(" ");
+function jg(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => Ag(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var jg = {};
-jg = {
+var Mg = {};
+Mg = {
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: "طي",
@@ -21138,8 +21138,8 @@ jg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var Mg = {};
-Mg = {
+var Ng = {};
+Ng = {
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: "Свиване",
@@ -21154,8 +21154,8 @@ Mg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var Ng = {};
-Ng = {
+var Pg = {};
+Pg = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -21170,8 +21170,8 @@ Ng = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var Pg = {};
-Pg = {
+var Fg = {};
+Fg = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -21186,8 +21186,8 @@ Pg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var Fg = {};
-Fg = {
+var Ig = {};
+Ig = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -21202,8 +21202,8 @@ Fg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Ig = {};
-Ig = {
+var Lg = {};
+Lg = {
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: "Σύμπτυξη",
@@ -21218,8 +21218,8 @@ Ig = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Lg = {};
-Lg = {
+var Rg = {};
+Rg = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -21234,8 +21234,8 @@ Lg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Rg = {};
-Rg = {
+var zg = {};
+zg = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -21250,8 +21250,8 @@ Rg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var zg = {};
-zg = {
+var Bg = {};
+Bg = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -21266,8 +21266,8 @@ zg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Bg = {};
-Bg = {
+var Vg = {};
+Vg = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -21282,8 +21282,8 @@ Bg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Vg = {};
-Vg = {
+var Hg = {};
+Hg = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -21298,8 +21298,8 @@ Vg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var Hg = {};
-Hg = {
+var Ug = {};
+Ug = {
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: "כווץ",
@@ -21314,8 +21314,8 @@ Hg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Ug = {};
-Ug = {
+var Wg = {};
+Wg = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -21330,8 +21330,8 @@ Ug = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Wg = {};
-Wg = {
+var Gg = {};
+Gg = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -21346,8 +21346,8 @@ Wg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Gg = {};
-Gg = {
+var Kg = {};
+Kg = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -21362,8 +21362,8 @@ Gg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Kg = {};
-Kg = {
+var qg = {};
+qg = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -21378,8 +21378,8 @@ Kg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var qg = {};
-qg = {
+var Jg = {};
+Jg = {
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: "접기",
@@ -21394,8 +21394,8 @@ qg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Jg = {};
-Jg = {
+var Yg = {};
+Yg = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -21410,8 +21410,8 @@ Jg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var Yg = {};
-Yg = {
+var Xg = {};
+Xg = {
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",
@@ -21426,8 +21426,8 @@ Yg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Xg = {};
-Xg = {
+var Zg = {};
+Zg = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -21442,8 +21442,8 @@ Xg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var Zg = {};
-Zg = {
+var Qg = {};
+Qg = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -21458,8 +21458,8 @@ Zg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Qg = {};
-Qg = {
+var $g = {};
+$g = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -21474,8 +21474,8 @@ Qg = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var $g = {};
-$g = {
+var e_ = {};
+e_ = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -21490,8 +21490,8 @@ $g = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var e_ = {};
-e_ = {
+var t_ = {};
+t_ = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -21506,8 +21506,8 @@ e_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var t_ = {};
-t_ = {
+var n_ = {};
+n_ = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -21522,8 +21522,8 @@ t_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var n_ = {};
-n_ = {
+var r_ = {};
+r_ = {
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: "Свернуть",
@@ -21538,8 +21538,8 @@ n_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var r_ = {};
-r_ = {
+var i_ = {};
+i_ = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -21554,8 +21554,8 @@ r_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var i_ = {};
-i_ = {
+var a_ = {};
+a_ = {
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",
@@ -21570,8 +21570,8 @@ i_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var a_ = {};
-a_ = {
+var o_ = {};
+o_ = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -21586,8 +21586,8 @@ a_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var o_ = {};
-o_ = {
+var s_ = {};
+s_ = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -21602,8 +21602,8 @@ o_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var s_ = {};
-s_ = {
+var c_ = {};
+c_ = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -21618,8 +21618,8 @@ s_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var c_ = {};
-c_ = {
+var l_ = {};
+l_ = {
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: "Згорнути",
@@ -21634,8 +21634,8 @@ c_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var l_ = {};
-l_ = {
+var u_ = {};
+u_ = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -21650,8 +21650,8 @@ l_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var u_ = {};
-u_ = {
+var d_ = {};
+d_ = {
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: "收合",
@@ -21666,46 +21666,46 @@ u_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var d_ = {};
-d_ = {
- "ar-AE": jg,
- "bg-BG": Mg,
- "cs-CZ": Ng,
- "da-DK": Pg,
- "de-DE": Fg,
- "el-GR": Ig,
- "en-US": Lg,
- "es-ES": Rg,
- "et-EE": zg,
- "fi-FI": Bg,
- "fr-FR": Vg,
- "he-IL": Hg,
- "hr-HR": Ug,
- "hu-HU": Wg,
- "it-IT": Gg,
- "ja-JP": Kg,
- "ko-KR": qg,
- "lt-LT": Jg,
- "lv-LV": Yg,
- "nb-NO": Xg,
- "nl-NL": Zg,
- "pl-PL": Qg,
- "pt-BR": $g,
- "pt-PT": e_,
- "ro-RO": t_,
- "ru-RU": n_,
- "sk-SK": r_,
- "sl-SI": i_,
- "sr-SP": a_,
- "sv-SE": o_,
- "tr-TR": s_,
- "uk-UA": c_,
- "zh-CN": l_,
- "zh-TW": u_
+var f_ = {};
+f_ = {
+ "ar-AE": Mg,
+ "bg-BG": Ng,
+ "cs-CZ": Pg,
+ "da-DK": Fg,
+ "de-DE": Ig,
+ "el-GR": Lg,
+ "en-US": Rg,
+ "es-ES": zg,
+ "et-EE": Bg,
+ "fi-FI": Vg,
+ "fr-FR": Hg,
+ "he-IL": Ug,
+ "hr-HR": Wg,
+ "hu-HU": Gg,
+ "it-IT": Kg,
+ "ja-JP": qg,
+ "ko-KR": Jg,
+ "lt-LT": Yg,
+ "lv-LV": Xg,
+ "nb-NO": Zg,
+ "nl-NL": Qg,
+ "pl-PL": $g,
+ "pt-BR": e_,
+ "pt-PT": t_,
+ "ro-RO": n_,
+ "ru-RU": r_,
+ "sk-SK": i_,
+ "sl-SI": a_,
+ "sr-SP": o_,
+ "sv-SE": s_,
+ "tr-TR": c_,
+ "uk-UA": l_,
+ "zh-CN": u_,
+ "zh-TW": d_
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var f_ = class extends Tg {
+var zee = class extends Eg {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -21790,7 +21790,7 @@ function Vee(e, t, n) {
let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = vd({
usage: "search",
sensitivity: "base"
- }), { direction: c } = no(), l = t.selectionManager.disabledBehavior, u = (0, B.useMemo)(() => r || new f_({
+ }), { direction: c } = no(), l = t.selectionManager.disabledBehavior, u = (0, B.useMemo)(() => r || new zee({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -21810,14 +21810,14 @@ function Vee(e, t, n) {
a,
o
]), d = Hr(e.id);
- Dg.set(t, d);
- let { gridProps: f } = Ree({
+ Og.set(t, d);
+ let { gridProps: f } = Lee({
...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 = _o(Bee(d_), "@react-aria/table"), g = (0, B.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = _o(Bee(f_), "@react-aria/table"), g = (0, B.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
@@ -21832,7 +21832,7 @@ function Vee(e, t, n) {
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
function p_(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = no(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Eg.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, B.useRef)(null), h = () => {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = no(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Dg.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, B.useRef)(null), h = () => {
if (n.current) {
let e = td(n.current);
if (p === "child") {
@@ -21950,7 +21950,7 @@ function Uee(e, t, n) {
ref: n
}), { focusableProps: l } = is({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !na() && (u = d ? f : "none");
- let p = _o(Hee(d_), "@react-aria/table"), m;
+ let p = _o(Hee(f_), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && na() && (m = `${m}, ${p.format(f)}`));
let h = Gc(m), g = t.collection.size === 0;
return (0, B.useEffect)(() => {
@@ -21963,7 +21963,7 @@ function Uee(e, t, n) {
columnHeaderProps: {
...U(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: zee(t, r.key),
+ id: Ree(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -21973,7 +21973,7 @@ function Uee(e, t, n) {
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
function Wee(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Eg.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Cd({
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Dg.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Cd({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -22010,9 +22010,9 @@ var h_ = {
function Kee(e, t, n) {
let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Wee(e, t, n), { direction: s } = no();
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 = _o(Gee(d_), "@react-aria/table"), u = Ga({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = _o(Gee(f_), "@react-aria/table"), u = Ga({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": Ag(t, r.key)
+ "aria-labelledby": jg(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
@@ -22043,7 +22043,7 @@ function Kee(e, t, n) {
return {
rowProps: {
...U(a, d, m),
- "aria-labelledby": Ag(t, r.key)
+ "aria-labelledby": jg(t, r.key)
},
expandButtonProps: f,
...o
@@ -22062,7 +22062,7 @@ function qee(e, t, n) {
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
function Jee(e, t, n) {
let { gridCellProps: r, isPressed: i } = p_(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = kg(t, e.node.parentKey, a)), {
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Ag(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
@@ -22076,13 +22076,13 @@ function Xee(e, t) {
let { key: n } = e, { checkboxProps: r } = nee(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${Ag(t, n)}`
+ "aria-labelledby": `${r.id} ${jg(t, n)}`
} };
}
function Zee(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": _o(Yee(d_), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": _o(Yee(f_), "@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,
@@ -22142,7 +22142,7 @@ var $ee = class extends Do {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = wg(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 = Tg(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;
@@ -22272,20 +22272,20 @@ function ite({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
t = Yr((0, B.useMemo)(() => Gr(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = yo(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, B.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Fee({
+ let d = Pee({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Iee(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, B.useContext)(Ms), { dragAndDropHooks: _ } = e, { gridProps: v } = Vee({
+ }), f = Fee(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, B.useContext)(Ms), { dragAndDropHooks: _ } = e, { gridProps: v } = Vee({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, B.useRef)(b), (0, B.useRef)(x), (0, B.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, B.useRef)(null), { direction: O } = no(), [k] = (0, B.useState)(() => new Aee());
+ let S, C, w, T = !1, E = null, D = (0, B.useRef)(null), { direction: O } = no(), [k] = (0, B.useState)(() => new kee());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -23506,29 +23506,29 @@ function Yv({ split: e, types: t }) {
function rne(e) {
return Yv(Jv(e));
}
-var ine = (e) => typeof e == "number" ? 0 : Wv.test(e) ? Wv.getAnimatableNone(e) : e, ane = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : ine(e);
-function one(e) {
+var ine = (e) => typeof e == "number" ? 0 : Wv.test(e) ? Wv.getAnimatableNone(e) : e, Xv = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : ine(e);
+function ane(e) {
let t = Jv(e);
- return Yv(t)(t.values.map((e, n) => ane(e, t.split[n])));
+ return Yv(t)(t.values.map((e, n) => Xv(e, t.split[n])));
}
-var Xv = {
+var Zv = {
test: Qte,
parse: nne,
createTransformer: rne,
- getAnimatableNone: one
+ getAnimatableNone: ane
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs
-function Zv(e, t, n) {
+function Qv(e, t, n) {
return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
}
-function sne({ hue: e, saturation: t, lightness: n, alpha: r }) {
+function one({ hue: e, saturation: t, lightness: n, alpha: r }) {
e /= 360, t /= 100, n /= 100;
let i = 0, a = 0, o = 0;
if (!t) i = a = o = n;
else {
let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;
- i = Zv(s, r, e + 1 / 3), a = Zv(s, r, e), o = Zv(s, r, e - 1 / 3);
+ i = Qv(s, r, e + 1 / 3), a = Qv(s, r, e), o = Qv(s, r, e - 1 / 3);
}
return {
red: Math.round(i * 255),
@@ -23539,61 +23539,61 @@ function sne({ hue: e, saturation: t, lightness: n, alpha: r }) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/immediate.mjs
-function Qv(e, t) {
+function $v(e, t) {
return (n) => n > 0 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/number.mjs
-var $v = (e, t, n) => e + (t - e) * n, ey = (e, t, n) => {
+var ey = (e, t, n) => e + (t - e) * n, ty = (e, t, n) => {
let r = e * e, i = n * (t * t - r) + r;
return i < 0 ? 0 : Math.sqrt(i);
-}, ty = [
+}, sne = [
Lv,
Iv,
Uv
-], cne = (e) => ty.find((t) => t.test(e));
+], cne = (e) => sne.find((t) => t.test(e));
function ny(e) {
let t = cne(e);
if (`${e}`, !t) return !1;
let n = t.parse(e);
- return t === Uv && (n = sne(n)), n;
+ return t === Uv && (n = one(n)), n;
}
var ry = (e, t) => {
let n = ny(e), r = ny(t);
- if (!n || !r) return Qv(e, t);
+ if (!n || !r) return $v(e, t);
let i = { ...n };
- return (e) => (i.red = ey(n.red, r.red, e), i.green = ey(n.green, r.green, e), i.blue = ey(n.blue, r.blue, e), i.alpha = $v(n.alpha, r.alpha, e), Iv.transform(i));
+ return (e) => (i.red = ty(n.red, r.red, e), i.green = ty(n.green, r.green, e), i.blue = ty(n.blue, r.blue, e), i.alpha = ey(n.alpha, r.alpha, e), Iv.transform(i));
}, iy = /* @__PURE__ */ new Set(["none", "hidden"]);
function lne(e, t) {
return iy.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/complex.mjs
-function ay(e, t) {
- return (n) => $v(e, t, n);
+function une(e, t) {
+ return (n) => ey(e, t, n);
}
-function oy(e) {
- return typeof e == "number" ? ay : typeof e == "string" ? Ev(e) ? Qv : Wv.test(e) ? ry : fne : Array.isArray(e) ? sy : typeof e == "object" ? Wv.test(e) ? ry : une : Qv;
+function ay(e) {
+ return typeof e == "number" ? une : typeof e == "string" ? Ev(e) ? $v : Wv.test(e) ? ry : pne : Array.isArray(e) ? oy : typeof e == "object" ? Wv.test(e) ? ry : dne : $v;
}
-function sy(e, t) {
- let n = [...e], r = n.length, i = e.map((e, n) => oy(e)(e, t[n]));
+function oy(e, t) {
+ let n = [...e], r = n.length, i = e.map((e, n) => ay(e)(e, t[n]));
return (e) => {
for (let t = 0; t < r; t++) n[t] = i[t](e);
return n;
};
}
-function une(e, t) {
+function dne(e, t) {
let n = {
...e,
...t
}, r = {};
- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = oy(e[i])(e[i], t[i]));
+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = ay(e[i])(e[i], t[i]));
return (e) => {
for (let t in r) n[t] = r[t](e);
return n;
};
}
-function dne(e, t) {
+function fne(e, t) {
let n = [], r = {
color: 0,
var: 0,
@@ -23605,41 +23605,41 @@ function dne(e, t) {
}
return n;
}
-var fne = (e, t) => {
- let n = Xv.createTransformer(t), r = Jv(e), i = Jv(t);
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? iy.has(e) && !i.values.length || iy.has(t) && !r.values.length ? lne(e, t) : Y_(sy(dne(r, i), i.values), n) : (`${e}${t}`, Qv(e, t));
+var pne = (e, t) => {
+ let n = Zv.createTransformer(t), r = Jv(e), i = Jv(t);
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? iy.has(e) && !i.values.length || iy.has(t) && !r.values.length ? lne(e, t) : Y_(oy(fne(r, i), i.values), n) : (`${e}${t}`, $v(e, t));
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/index.mjs
-function cy(e, t, n) {
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? $v(e, t, n) : oy(e)(e, t);
+function sy(e, t, n) {
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? ey(e, t, n) : ay(e)(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/drivers/frame.mjs
-var pne = (e) => {
+var mne = (e) => {
let t = ({ timestamp: t }) => e(t);
return {
start: (e = !0) => vv.update(t, e),
stop: () => yv(t),
now: () => bv.isProcessing ? bv.timestamp : Cv.now()
};
-}, ly = (e, t, n = 10) => {
+}, cy = (e, t, n = 10) => {
let r = "", i = Math.max(Math.round(t / n), 2);
for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";
return `linear(${r.substring(0, r.length - 2)})`;
-}, uy = 2e4;
-function dy(e) {
+}, ly = 2e4;
+function uy(e) {
let t = 0, n = e.next(t);
for (; !n.done && t < 2e4;) t += 50, n = e.next(t);
return t >= 2e4 ? Infinity : t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs
-function mne(e, t = 100, n) {
+function hne(e, t = 100, n) {
let r = n({
...e,
keyframes: [0, t]
- }), i = Math.min(dy(r), uy);
+ }), i = Math.min(uy(r), ly);
return {
type: "keyframes",
ease: (e) => r.next(i * e).value / t,
@@ -23648,7 +23648,7 @@ function mne(e, t = 100, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs
-var fy = {
+var dy = {
stiffness: 100,
damping: 10,
mass: 1,
@@ -23669,31 +23669,31 @@ var fy = {
minDamping: .05,
maxDamping: 1
};
-function py(e, t) {
+function fy(e, t) {
return e * Math.sqrt(1 - t * t);
}
-var hne = 12;
-function gne(e, t, n) {
+var gne = 12;
+function _ne(e, t, n) {
let r = n;
- for (let n = 1; n < hne; n++) r -= e(r) / t(r);
+ for (let n = 1; n < gne; n++) r -= e(r) / t(r);
return r;
}
-var my = .001;
-function _ne({ duration: e = fy.duration, bounce: t = fy.bounce, velocity: n = fy.velocity, mass: r = fy.mass }) {
+var py = .001;
+function vne({ duration: e = dy.duration, bounce: t = dy.bounce, velocity: n = dy.velocity, mass: r = dy.mass }) {
let i, a;
- fy.maxDuration;
+ dy.maxDuration;
let o = 1 - t;
- o = H_(fy.minDamping, fy.maxDamping, o), e = H_(fy.minDuration, fy.maxDuration, /* @__PURE__ */ $_(e)), o < 1 ? (i = (t) => {
- let r = t * o, i = r * e, a = r - n, s = py(t, o), c = Math.exp(-i);
- return my - a / s * c;
+ o = H_(dy.minDamping, dy.maxDamping, o), e = H_(dy.minDuration, dy.maxDuration, /* @__PURE__ */ $_(e)), o < 1 ? (i = (t) => {
+ let r = t * o, i = r * e, a = r - n, s = fy(t, o), c = Math.exp(-i);
+ return py - a / s * c;
}, a = (t) => {
- let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = py(t ** 2, o);
- return (-i(t) + my > 0 ? -1 : 1) * ((a - s) * c) / l;
+ let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = fy(t ** 2, o);
+ return (-i(t) + py > 0 ? -1 : 1) * ((a - s) * c) / l;
}) : (i = (t) => -.001 + Math.exp(-t * e) * ((t - n) * e + 1), a = (t) => Math.exp(-t * e) * ((n - t) * (e * e)));
- let s = 5 / e, c = gne(i, a, s);
+ let s = 5 / e, c = _ne(i, a, s);
if (e = /* @__PURE__ */ Q_(e), isNaN(c)) return {
- stiffness: fy.stiffness,
- damping: fy.damping,
+ stiffness: dy.stiffness,
+ damping: dy.damping,
duration: e
};
{
@@ -23705,47 +23705,47 @@ function _ne({ duration: e = fy.duration, bounce: t = fy.bounce, velocity: n = f
};
}
}
-var vne = ["duration", "bounce"], yne = [
+var yne = ["duration", "bounce"], bne = [
"stiffness",
"damping",
"mass"
];
-function hy(e, t) {
+function my(e, t) {
return t.some((t) => e[t] !== void 0);
}
-function bne(e) {
+function xne(e) {
let t = {
- velocity: fy.velocity,
- stiffness: fy.stiffness,
- damping: fy.damping,
- mass: fy.mass,
+ velocity: dy.velocity,
+ stiffness: dy.stiffness,
+ damping: dy.damping,
+ mass: dy.mass,
isResolvedFromDuration: !1,
...e
};
- if (!hy(e, yne) && hy(e, vne)) {
+ if (!my(e, bne) && my(e, yne)) {
if (t.velocity = 0, e.visualDuration) {
let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * H_(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
t = {
...t,
- mass: fy.mass,
+ mass: dy.mass,
stiffness: i,
damping: a
};
} else {
- let n = _ne({
+ let n = vne({
...e,
velocity: 0
});
t = {
...t,
...n,
- mass: fy.mass
+ mass: dy.mass
}, t.isResolvedFromDuration = !0;
}
}
return t;
}
-function gy(e = fy.visualDuration, t = fy.bounce) {
+function hy(e = dy.visualDuration, t = dy.bounce) {
let n = typeof e == "object" ? e : {
visualDuration: e,
keyframes: [0, 1],
@@ -23753,13 +23753,13 @@ function gy(e = fy.visualDuration, t = fy.bounce) {
}, { restSpeed: r, restDelta: i } = n, a = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], s = {
done: !1,
value: a
- }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = bne({
+ }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = xne({
...n,
velocity: -/* @__PURE__ */ $_(n.velocity || 0)
}), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ $_(Math.sqrt(c / u)), v = Math.abs(g) < 5;
- r ||= v ? fy.restSpeed.granular : fy.restSpeed.default, i ||= v ? fy.restDelta.granular : fy.restDelta.default;
+ r ||= v ? dy.restSpeed.granular : dy.restSpeed.default, i ||= v ? dy.restDelta.granular : dy.restDelta.default;
let y, b, x, S, C, w;
- if (h < 1) x = py(_, h), S = (m + h * _ * g) / x, y = (e) => {
+ if (h < 1) x = fy(_, h), S = (m + h * _ * g) / x, y = (e) => {
let t = Math.exp(-h * _ * e);
return o - t * (S * Math.sin(x * e) + g * Math.cos(x * e));
}, C = h * _ * S + g * x, w = h * _ * g - S * x, b = (e) => Math.exp(-h * _ * e) * (C * Math.sin(x * e) + w * Math.cos(x * e));
@@ -23796,27 +23796,27 @@ function gy(e = fy.visualDuration, t = fy.bounce) {
return s.value = s.done ? o : t, s;
},
toString: () => {
- let e = Math.min(dy(T), uy), t = ly((t) => T.next(e * t).value, e, 30);
+ let e = Math.min(uy(T), ly), t = cy((t) => T.next(e * t).value, e, 30);
return e + "ms " + t;
},
toTransition: () => {}
};
return T;
}
-gy.applyToOptions = (e) => {
- let t = mne(e, 100, gy);
+hy.applyToOptions = (e) => {
+ let t = hne(e, 100, hy);
return e.ease = t.ease, e.duration = /* @__PURE__ */ Q_(t.duration), e.type = "keyframes", e;
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
-var xne = 5;
-function _y(e, t, n) {
- let r = Math.max(t - xne, 0);
+var Sne = 5;
+function gy(e, t, n) {
+ let r = Math.max(t - Sne, 0);
return /* @__PURE__ */ ev(n - e(r), t - r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
-function vy({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
+function _y({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
let d = e[0], f = {
done: !1,
value: d
@@ -23826,9 +23826,9 @@ function vy({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
let t = v(e), n = y(e);
f.done = Math.abs(t) <= l, f.value = f.done ? _ : n;
}, x, S, C = (e) => {
- p(f.value) && (x = e, S = gy({
+ p(f.value) && (x = e, S = hy({
keyframes: [f.value, m(f.value)],
- velocity: _y(y, e, f.value),
+ velocity: gy(y, e, f.value),
damping: i,
stiffness: a,
restDelta: l,
@@ -23845,21 +23845,21 @@ function vy({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/interpolate.mjs
-function Sne(e, t, n) {
- let r = [], i = n || U_.mix || cy, a = e.length - 1;
+function Cne(e, t, n) {
+ let r = [], i = n || U_.mix || sy, a = e.length - 1;
for (let n = 0; n < a; n++) {
let a = i(e[n], e[n + 1]);
t && (a = Y_(Array.isArray(t) ? t[n] || J_ : t, a)), r.push(a);
}
return r;
}
-function yy(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
+function vy(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
let a = e.length;
if (t.length, a === 1) return () => t[0];
if (a === 2 && t[0] === t[1]) return () => t[1];
let o = e[0] === e[1];
e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());
- let s = Sne(t, r, i), c = s.length, l = (n) => {
+ let s = Cne(t, r, i), c = s.length, l = (n) => {
if (o && n < e[0]) return t[0];
let r = 0;
if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);
@@ -23870,34 +23870,34 @@ function yy(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
-function Cne(e, t) {
+function wne(e, t) {
let n = e[e.length - 1];
for (let r = 1; r <= t; r++) {
let i = /* @__PURE__ */ X_(0, t, r);
- e.push($v(n, 1, i));
+ e.push(ey(n, 1, i));
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
-function wne(e) {
+function Tne(e) {
let t = [0];
- return Cne(t, e.length - 1), t;
+ return wne(t, e.length - 1), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
-function by(e, t) {
+function yy(e, t) {
return e.map((e) => e * t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
-function xy(e, t) {
+function by(e, t) {
return e.map(() => t || fv).splice(0, e.length - 1);
}
-function Sy({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
+function xy({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
let i = /* @__PURE__ */ Rte(r) ? r.map(hv) : hv(r), a = {
done: !1,
value: t[0]
- }, o = yy(by(n && n.length === t.length ? n : wne(t), e), t, { ease: Array.isArray(i) ? i : xy(t, i) });
+ }, o = vy(yy(n && n.length === t.length ? n : Tne(t), e), t, { ease: Array.isArray(i) ? i : by(t, i) });
return {
calculatedDuration: e,
next: (t) => (a.value = o(t), a.done = t >= e, a)
@@ -23905,26 +23905,26 @@ function Sy({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
-var Cy = (e) => e !== null;
-function wy(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
- let a = e.filter(Cy), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
+var Sy = (e) => e !== null;
+function Cy(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
+ let a = e.filter(Sy), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
return !o || r === void 0 ? a[o] : r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs
-var Ty = {
- decay: vy,
- inertia: vy,
- tween: Sy,
- keyframes: Sy,
- spring: gy
+var wy = {
+ decay: _y,
+ inertia: _y,
+ tween: xy,
+ keyframes: xy,
+ spring: hy
};
-function Ey(e) {
- typeof e.type == "string" && (e.type = Ty[e.type]);
+function Ty(e) {
+ typeof e.type == "string" && (e.type = wy[e.type]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
-var Dy = class {
+var Ey = class {
constructor() {
this.updateFinished();
}
@@ -23942,7 +23942,7 @@ var Dy = class {
then(e, t) {
return this.finished.then(e, t);
}
-}, Tne = (e) => e / 100, Oy = class extends Dy {
+}, Ene = (e) => e / 100, Dy = class extends Ey {
constructor(e) {
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
done: !1,
@@ -23954,9 +23954,9 @@ var Dy = class {
}
initAnimation() {
let { options: e } = this;
- Ey(e);
- let { type: t = Sy, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Sy;
- s !== Sy && typeof o[0] != "number" && (this.mixKeyframes = Y_(Tne, cy(o[0], o[1])), o = [0, 100]);
+ Ty(e);
+ let { type: t = xy, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || xy;
+ s !== xy && typeof o[0] != "number" && (this.mixKeyframes = Y_(Ene, sy(o[0], o[1])), o = [0, 100]);
let c = s({
...e,
keyframes: o
@@ -23965,7 +23965,7 @@ var Dy = class {
...e,
keyframes: [...o].reverse(),
velocity: -a
- })), c.calculatedDuration === null && (c.calculatedDuration = dy(c));
+ })), c.calculatedDuration === null && (c.calculatedDuration = uy(c));
let { calculatedDuration: l } = c;
this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;
}
@@ -23990,7 +23990,7 @@ var Dy = class {
let { done: x } = b;
!_ && s !== null && (x = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
let S = this.holdTime === null && (this.state === "finished" || this.state === "running" && x);
- return S && p !== vy && (b.value = wy(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
+ return S && p !== _y && (b.value = Cy(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
}
then(e, t) {
return this.finished.then(e, t);
@@ -24013,7 +24013,7 @@ var Dy = class {
if (e <= 0) return this.options.velocity || 0;
if (this.generator.velocity) return this.generator.velocity(e);
let t = this.generator.next(e).value;
- return _y((e) => this.generator.next(e).value, e, t);
+ return gy((e) => this.generator.next(e).value, e, t);
}
get speed() {
return this.playbackSpeed;
@@ -24024,7 +24024,7 @@ var Dy = class {
}
play() {
if (this.isStopped) return;
- let { driver: e = pne, startTime: t } = this.options;
+ let { driver: e = mne, startTime: t } = this.options;
this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();
let n = this.driver.now();
this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? n : this.startTime = n - this.holdTime, this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
@@ -24056,12 +24056,12 @@ var Dy = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
-function ky(e) {
+function Oy(e) {
for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
-var Ay = (e) => e * 180 / Math.PI, jy = (e) => My(Ay(Math.atan2(e[1], e[0]))), Ene = {
+var ky = (e) => e * 180 / Math.PI, Ay = (e) => jy(ky(Math.atan2(e[1], e[0]))), Dne = {
x: 4,
y: 5,
translateX: 4,
@@ -24069,54 +24069,54 @@ var Ay = (e) => e * 180 / Math.PI, jy = (e) => My(Ay(Math.atan2(e[1], e[0]))), E
scaleX: 0,
scaleY: 3,
scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
- rotate: jy,
- rotateZ: jy,
- skewX: (e) => Ay(Math.atan(e[1])),
- skewY: (e) => Ay(Math.atan(e[2])),
+ rotate: Ay,
+ rotateZ: Ay,
+ skewX: (e) => ky(Math.atan(e[1])),
+ skewY: (e) => ky(Math.atan(e[2])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
-}, My = (e) => (e %= 360, e < 0 && (e += 360), e), Ny = jy, Py = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Fy = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Dne = {
+}, jy = (e) => (e %= 360, e < 0 && (e += 360), e), My = Ay, Ny = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Py = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), One = {
x: 12,
y: 13,
z: 14,
translateX: 12,
translateY: 13,
translateZ: 14,
- scaleX: Py,
- scaleY: Fy,
- scale: (e) => (Py(e) + Fy(e)) / 2,
- rotateX: (e) => My(Ay(Math.atan2(e[6], e[5]))),
- rotateY: (e) => My(Ay(Math.atan2(-e[2], e[0]))),
- rotateZ: Ny,
- rotate: Ny,
- skewX: (e) => Ay(Math.atan(e[4])),
- skewY: (e) => Ay(Math.atan(e[1])),
+ scaleX: Ny,
+ scaleY: Py,
+ scale: (e) => (Ny(e) + Py(e)) / 2,
+ rotateX: (e) => jy(ky(Math.atan2(e[6], e[5]))),
+ rotateY: (e) => jy(ky(Math.atan2(-e[2], e[0]))),
+ rotateZ: My,
+ rotate: My,
+ skewX: (e) => ky(Math.atan(e[4])),
+ skewY: (e) => ky(Math.atan(e[1])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
};
-function Iy(e) {
+function Fy(e) {
return +!!e.includes("scale");
}
-function Ly(e, t) {
- if (!e || e === "none") return Iy(t);
+function Iy(e, t) {
+ if (!e || e === "none") return Fy(t);
let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;
- if (n) r = Dne, i = n;
+ if (n) r = One, i = n;
else {
let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
- r = Ene, i = t;
+ r = Dne, i = t;
}
- if (!i) return Iy(t);
- let a = r[t], o = i[1].split(",").map(kne);
+ if (!i) return Fy(t);
+ let a = r[t], o = i[1].split(",").map(Ane);
return typeof a == "function" ? a(o) : o[a];
}
-var One = (e, t) => {
+var kne = (e, t) => {
let { transform: n = "none" } = getComputedStyle(e);
- return Ly(n, t);
+ return Iy(n, t);
};
-function kne(e) {
+function Ane(e) {
return parseFloat(e.trim());
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
-var Ry = [
+var Ly = [
"transformPerspective",
"x",
"y",
@@ -24134,19 +24134,19 @@ var Ry = [
"skew",
"skewX",
"skewY"
-], zy = /* @__PURE__ */ new Set([...Ry, "pathRotation"]), By = (e) => e === Ov || e === Vv, Ane = /* @__PURE__ */ new Set([
+], Ry = /* @__PURE__ */ new Set([...Ly, "pathRotation"]), zy = (e) => e === Ov || e === Vv, jne = /* @__PURE__ */ new Set([
"x",
"y",
"z"
-]), jne = Ry.filter((e) => !Ane.has(e));
-function Mne(e) {
+]), Mne = Ly.filter((e) => !jne.has(e));
+function Nne(e) {
let t = [];
- return jne.forEach((n) => {
+ return Mne.forEach((n) => {
let r = e.getValue(n);
r !== void 0 && (t.push([n, r.get()]), r.set(+!!n.startsWith("scale")));
}), t;
}
-var Vy = {
+var By = {
width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }) => {
let i = e.max - e.min;
return r === "border-box" ? i : i - parseFloat(t) - parseFloat(n);
@@ -24159,18 +24159,18 @@ var Vy = {
left: (e, { left: t }) => parseFloat(t),
bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min),
right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min),
- x: (e, { transform: t }) => Ly(t, "x"),
- y: (e, { transform: t }) => Ly(t, "y")
+ x: (e, { transform: t }) => Iy(t, "x"),
+ y: (e, { transform: t }) => Iy(t, "y")
};
-Vy.translateX = Vy.x, Vy.translateY = Vy.y;
+By.translateX = By.x, By.translateY = By.y;
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs
-var Hy = /* @__PURE__ */ new Set(), Uy = !1, Wy = !1, Gy = !1;
-function Ky() {
- if (Wy) {
- let e = Array.from(Hy).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
+var Vy = /* @__PURE__ */ new Set(), Hy = !1, Uy = !1, Wy = !1;
+function Gy() {
+ if (Uy) {
+ let e = Array.from(Vy).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
t.forEach((e) => {
- let t = Mne(e);
+ let t = Nne(e);
t.length && (n.set(e, t), e.render());
}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {
e.render();
@@ -24182,22 +24182,22 @@ function Ky() {
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
});
}
- Wy = !1, Uy = !1, Hy.forEach((e) => e.complete(Gy)), Hy.clear();
+ Uy = !1, Hy = !1, Vy.forEach((e) => e.complete(Wy)), Vy.clear();
}
-function qy() {
- Hy.forEach((e) => {
- e.readKeyframes(), e.needsMeasurement && (Wy = !0);
+function Ky() {
+ Vy.forEach((e) => {
+ e.readKeyframes(), e.needsMeasurement && (Uy = !0);
});
}
-function Nne() {
- Gy = !0, qy(), Ky(), Gy = !1;
+function Pne() {
+ Wy = !0, Ky(), Gy(), Wy = !1;
}
-var Jy = class {
+var qy = class {
constructor(e, t, n, r, i, a = !1) {
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;
}
scheduleResolve() {
- this.state = "scheduled", this.isAsync ? (Hy.add(this), Uy || (Uy = !0, vv.read(qy), vv.resolveKeyframes(Ky))) : (this.readKeyframes(), this.complete());
+ this.state = "scheduled", this.isAsync ? (Vy.add(this), Hy || (Hy = !0, vv.read(Ky), vv.resolveKeyframes(Gy))) : (this.readKeyframes(), this.complete());
}
readKeyframes() {
let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;
@@ -24210,70 +24210,70 @@ var Jy = class {
}
e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);
}
- ky(e);
+ Oy(e);
}
setFinalKeyframe() {}
measureInitialState() {}
renderEndStyles() {}
measureEndState() {}
complete(e = !1) {
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Hy.delete(this);
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Vy.delete(this);
}
cancel() {
- this.state === "scheduled" && (Hy.delete(this), this.state = "pending");
+ this.state === "scheduled" && (Vy.delete(this), this.state = "pending");
}
resume() {
this.state === "pending" && this.scheduleResolve();
}
-}, Yy = (e) => e.startsWith("--");
+}, Jy = (e) => e.startsWith("--");
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs
-function Xy(e, t, n) {
- Yy(t) ? e.style.setProperty(t, n) : e.style[t] = n;
+function Yy(e, t, n) {
+ Jy(t) ? e.style.setProperty(t, n) : e.style[t] = n;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs
-var Pne = {};
+var Fne = {};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs
-function Zy(e, t) {
+function Xy(e, t) {
let n = /* @__PURE__ */ q_(e);
- return () => Pne[t] ?? n();
+ return () => Fne[t] ?? n();
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
-var Fne = /* @__PURE__ */ Zy(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Qy = /*@__PURE__*/ Zy(() => {
+var Ine = /* @__PURE__ */ Xy(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Zy = /*@__PURE__*/ Xy(() => {
try {
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
} catch {
return !1;
}
return !0;
-}, "linearEasing"), $y = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, eb = {
+}, "linearEasing"), Qy = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, $y = {
linear: "linear",
ease: "ease",
easeIn: "ease-in",
easeOut: "ease-out",
easeInOut: "ease-in-out",
- circIn: /*@__PURE__*/ $y([
+ circIn: /*@__PURE__*/ Qy([
0,
.65,
.55,
1
]),
- circOut: /*@__PURE__*/ $y([
+ circOut: /*@__PURE__*/ Qy([
.55,
0,
1,
.45
]),
- backIn: /*@__PURE__*/ $y([
+ backIn: /*@__PURE__*/ Qy([
.31,
.01,
.66,
-.59
]),
- backOut: /*@__PURE__*/ $y([
+ backOut: /*@__PURE__*/ Qy([
.33,
1.53,
.69,
@@ -24282,15 +24282,15 @@ var Fne = /* @__PURE__ */ Zy(() => window.ScrollTimeline !== void 0, "scrollTime
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
-function tb(e, t) {
- if (e) return typeof e == "function" ? Qy() ? ly(e, t) : "ease-out" : /* @__PURE__ */ pv(e) ? $y(e) : Array.isArray(e) ? e.map((e) => tb(e, t) || eb.easeOut) : eb[e];
+function eb(e, t) {
+ if (e) return typeof e == "function" ? Zy() ? cy(e, t) : "ease-out" : /* @__PURE__ */ pv(e) ? Qy(e) : Array.isArray(e) ? e.map((e) => eb(e, t) || $y.easeOut) : $y[e];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
-function Ine(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
+function Lne(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
let u = { [t]: n };
c && (u.offset = c);
- let d = tb(s, i);
+ let d = eb(s, i);
Array.isArray(d) && (u.easing = d);
let f = {
delay: r,
@@ -24304,26 +24304,26 @@ function Ine(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTy
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
-function nb(e) {
+function tb(e) {
return typeof e == "function" && "applyToOptions" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
-function Lne({ type: e, ...t }) {
- return nb(e) && Qy() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
+function Rne({ type: e, ...t }) {
+ return tb(e) && Zy() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
-var rb = class extends Dy {
+var nb = class extends Ey {
constructor(e) {
if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;
let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;
this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;
- let c = Lne(e);
- this.animation = Ine(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
+ let c = Rne(e);
+ this.animation = Lne(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
if (this.finishedTime = this.time, !i) {
- let e = wy(r, this.options, o, this.speed);
- this.updateMotionValue && this.updateMotionValue(e), Xy(t, n, e), this.animation.cancel();
+ let e = Cy(r, this.options, o, this.speed);
+ this.updateMotionValue && this.updateMotionValue(e), Yy(t, n, e), this.animation.cancel();
}
s?.(), this.notifyFinished();
};
@@ -24383,24 +24383,24 @@ var rb = class extends Dy {
this.manualStartTime = this.animation.startTime = e;
}
attachTimeline({ timeline: e, rangeStart: t, rangeEnd: n, observe: r }) {
- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Fne() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), J_) : r(this);
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Ine() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), J_) : r(this);
}
-}, ib = {
+}, rb = {
anticipate: cv,
backInOut: sv,
circInOut: dv
};
-function Rne(e) {
- return e in ib;
-}
function zne(e) {
- typeof e.ease == "string" && Rne(e.ease) && (e.ease = ib[e.ease]);
+ return e in rb;
+}
+function Bne(e) {
+ typeof e.ease == "string" && zne(e.ease) && (e.ease = rb[e.ease]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs
-var ab = 10, ob = class extends rb {
+var ib = 10, ab = class extends nb {
constructor(e) {
- zne(e), Ey(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
+ Bne(e), Ty(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
}
updateMotionValue(e) {
let { motionValue: t, onUpdate: n, onComplete: r, element: i, ...a } = this.options;
@@ -24409,48 +24409,48 @@ var ab = 10, ob = class extends rb {
t.set(e);
return;
}
- let o = new Oy({
+ let o = new Dy({
...a,
autoplay: !1
- }), s = Math.max(ab, Cv.now() - this.startTime), c = H_(0, ab, s - ab), l = o.sample(s).value, { name: u } = this.options;
- i && u && Xy(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
+ }), s = Math.max(ib, Cv.now() - this.startTime), c = H_(0, ib, s - ib), l = o.sample(s).value, { name: u } = this.options;
+ i && u && Yy(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
}
-}, sb = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Xv.test(e) || e === "0") && !e.startsWith("url("));
+}, ob = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Zv.test(e) || e === "0") && !e.startsWith("url("));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
-function cb(e) {
+function sb(e) {
let t = e[0];
if (e.length === 1) return !0;
for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;
}
-function lb(e, t, n, r) {
+function Vne(e, t, n, r) {
let i = e[0];
if (i === null) return !1;
if (t === "display" || t === "visibility") return !0;
- let a = e[e.length - 1], o = sb(i, t), s = sb(a, t);
- return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : cb(e) || (n === "spring" || nb(n)) && r;
+ let a = e[e.length - 1], o = ob(i, t), s = ob(a, t);
+ return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : sb(e) || (n === "spring" || tb(n)) && r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
-function ub(e) {
+function cb(e) {
e.duration = 0, e.type = "keyframes";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
-var db = /* @__PURE__ */ new Set([
+var lb = /* @__PURE__ */ new Set([
"opacity",
"clipPath",
"filter",
"transform",
"backgroundColor"
-]), Bne = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
-function Vne(e) {
- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Bne.test(e[t])) return !0;
+]), Hne = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
+function Une(e) {
+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Hne.test(e[t])) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs
-var Hne = /* @__PURE__ */ new Set([
+var Wne = /* @__PURE__ */ new Set([
"color",
"backgroundColor",
"outlineColor",
@@ -24461,16 +24461,16 @@ var Hne = /* @__PURE__ */ new Set([
"borderRightColor",
"borderBottomColor",
"borderLeftColor"
-]), Une = /*@__PURE__*/ q_(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
-function Wne(e) {
+]), Gne = /*@__PURE__*/ q_(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
+function Kne(e) {
let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e, c = t?.owner?.current;
if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;
let { onUpdate: l, transformTemplate: u } = t.owner.getProps();
- return Une() && n && (db.has(n) || Hne.has(n) && Vne(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
+ return Gne() && n && (lb.has(n) || Wne.has(n) && Une(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
-var Gne = 40, Kne = class extends Dy {
+var qne = 40, Jne = class extends Ey {
constructor({ autoplay: e = !0, delay: t = 0, type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: a = "loop", keyframes: o, name: s, motionValue: c, element: l, ...u }) {
super(), this.stop = () => {
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
@@ -24486,7 +24486,7 @@ var Gne = 40, Kne = class extends Dy {
motionValue: c,
element: l,
...u
- }, f = l?.KeyframeResolver || Jy;
+ }, f = l?.KeyframeResolver || qy;
this.keyframeResolver = new f(o, (e, t, n) => this.onKeyframesResolved(e, t, d, !n), s, c, l), this.keyframeResolver?.scheduleResolve();
}
onKeyframesResolved(e, t, n, r) {
@@ -24494,22 +24494,22 @@ var Gne = 40, Kne = class extends Dy {
let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;
this.resolvedAt = Cv.now();
let u = !0;
- lb(e, i, a, o) || (u = !1, (U_.instantAnimations || !s) && l?.(wy(e, n, t)), e[0] = e[e.length - 1], ub(n), n.repeat = 0);
+ Vne(e, i, a, o) || (u = !1, (U_.instantAnimations || !s) && l?.(Cy(e, n, t)), e[0] = e[e.length - 1], cb(n), n.repeat = 0);
let d = {
- startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > Gne ? this.resolvedAt : this.createdAt : void 0,
+ startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > qne ? this.resolvedAt : this.createdAt : void 0,
finalKeyframe: t,
...n,
keyframes: e
- }, f = u && !c && Wne(d), p = d.motionValue?.owner?.current, m;
+ }, f = u && !c && Kne(d), p = d.motionValue?.owner?.current, m;
if (f) try {
- m = new ob({
+ m = new ab({
...d,
element: p
});
} catch {
- m = new Oy(d);
+ m = new Dy(d);
}
- else m = new Oy(d);
+ else m = new Dy(d);
m.finished.then(() => {
this.notifyFinished();
}).catch(J_), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
@@ -24521,7 +24521,7 @@ var Gne = 40, Kne = class extends Dy {
return this.finished.finally(e).then(() => {});
}
get animation() {
- return this._animation || (this.keyframeResolver?.resume(), Nne()), this._animation;
+ return this._animation || (this.keyframeResolver?.resume(), Pne()), this._animation;
}
get duration() {
return this.animation.duration;
@@ -24562,7 +24562,7 @@ var Gne = 40, Kne = class extends Dy {
cancel() {
this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
}
-}, qne = class {
+}, Yne = class {
constructor(e) {
this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
}
@@ -24602,10 +24602,10 @@ var Gne = 40, Kne = class extends Dy {
return this.getAll("startTime");
}
get duration() {
- return fb(this.animations, "duration");
+ return ub(this.animations, "duration");
}
get iterationDuration() {
- return fb(this.animations, "iterationDuration");
+ return ub(this.animations, "iterationDuration");
}
runAll(e) {
this.animations.forEach((t) => t[e]());
@@ -24623,7 +24623,7 @@ var Gne = 40, Kne = class extends Dy {
this.runAll("complete");
}
};
-function fb(e, t) {
+function ub(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) {
let i = e[r][t];
@@ -24633,24 +24633,24 @@ function fb(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
-var Jne = class extends qne {
+var Xne = class extends Yne {
then(e, t) {
return this.finished.finally(e).then(() => {});
}
-}, pb = /* @__PURE__ */ new WeakMap(), Yne = (e, t = "") => `${e}:${t}`;
-function Xne(e) {
- let t = pb.get(e);
- return t || (t = /* @__PURE__ */ new Map(), pb.set(e, t)), t;
+}, db = /* @__PURE__ */ new WeakMap(), Zne = (e, t = "") => `${e}:${t}`;
+function Qne(e) {
+ let t = db.get(e);
+ return t || (t = /* @__PURE__ */ new Map(), db.set(e, t)), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function mb(e, t, n, r = 0, i = 1) {
+function fb(e, t, n, r = 0, i = 1) {
let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/index.mjs
-var hb = 30, Zne = (e) => !isNaN(parseFloat(e)), gb = { current: void 0 }, Qne = class {
+var pb = 30, $ne = (e) => !isNaN(parseFloat(e)), mb = { current: void 0 }, ere = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
let t = Cv.now();
@@ -24658,7 +24658,7 @@ var hb = 30, Zne = (e) => !isNaN(parseFloat(e)), gb = { current: void 0 }, Qne =
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
}
setCurrent(e) {
- this.current = e, this.updatedAt = Cv.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Zne(this.current));
+ this.current = e, this.updatedAt = Cv.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = $ne(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -24700,15 +24700,15 @@ var hb = 30, Zne = (e) => !isNaN(parseFloat(e)), gb = { current: void 0 }, Qne =
this.dependents && this.dependents.delete(e);
}
get() {
- return gb.current && gb.current.push(this), this.current;
+ return mb.current && mb.current.push(this), this.current;
}
getPrevious() {
return this.prev;
}
getVelocity() {
let e = Cv.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > hb) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, hb);
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > pb) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, pb);
return /* @__PURE__ */ ev(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
@@ -24731,12 +24731,12 @@ var hb = 30, Zne = (e) => !isNaN(parseFloat(e)), gb = { current: void 0 }, Qne =
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
}
};
-function _b(e, t) {
- return new Qne(e, t);
+function hb(e, t) {
+ return new ere(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function vb(e, t) {
+function gb(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -24748,26 +24748,26 @@ function vb(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function yb(e, t) {
+function _b(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : vb(n, e);
+ return n === e ? n : gb(n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var $ne = {
+var tre = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, ere = (e) => ({
+}, nre = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), tre = {
+}), rre = {
type: "keyframes",
duration: .8
-}, nre = {
+}, ire = {
type: "keyframes",
ease: [
.25,
@@ -24776,7 +24776,7 @@ var $ne = {
1
],
duration: .3
-}, rre = (e, { keyframes: t }) => t.length > 2 ? tre : zy.has(e) ? e.startsWith("scale") ? ere(t[1]) : $ne : nre, ire = /* @__PURE__ */ new Set([
+}, are = (e, { keyframes: t }) => t.length > 2 ? rre : Ry.has(e) ? e.startsWith("scale") ? nre(t[1]) : tre : ire, ore = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -24788,14 +24788,14 @@ var $ne = {
"from",
"elapsed"
]);
-function are(e) {
- for (let t in e) if (!ire.has(t)) return !0;
+function sre(e) {
+ for (let t in e) if (!ore.has(t)) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var bb = (e, t, n, r = {}, i, a) => (o) => {
- let s = yb(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+var vb = (e, t, n, r = {}, i, a) => (o) => {
+ let s = _b(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
l -= /* @__PURE__ */ Q_(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
@@ -24813,10 +24813,10 @@ var bb = (e, t, n, r = {}, i, a) => (o) => {
motionValue: t,
element: a ? void 0 : i
};
- are(s) || Object.assign(u, rre(e, u)), u.duration &&= /* @__PURE__ */ Q_(u.duration), u.repeatDelay &&= /* @__PURE__ */ Q_(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ sre(s) || Object.assign(u, are(e, u)), u.duration &&= /* @__PURE__ */ Q_(u.duration), u.repeatDelay &&= /* @__PURE__ */ Q_(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (ub(u), u.delay === 0 && (d = !0)), (U_.instantAnimations || U_.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, ub(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
- let e = wy(u.keyframes, s);
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (cb(u), u.delay === 0 && (d = !0)), (U_.instantAnimations || U_.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, cb(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
+ let e = Cy(u.keyframes, s);
if (e !== void 0) {
vv.update(() => {
u.onUpdate(e), u.onComplete();
@@ -24824,90 +24824,90 @@ var bb = (e, t, n, r = {}, i, a) => (o) => {
return;
}
}
- return s.isSync ? new Oy(u) : new Kne(u);
-}, ore = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function sre(e) {
- let t = ore.exec(e);
+ return s.isSync ? new Dy(u) : new Jne(u);
+}, cre = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function lre(e) {
+ let t = cre.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function xb(e, t, n = 1) {
+function yb(e, t, n = 1) {
`${e}`;
- let [r, i] = sre(e);
+ let [r, i] = lre(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
return W_(e) ? parseFloat(e) : e;
}
- return Ev(i) ? xb(i, t, n + 1) : i;
+ return Ev(i) ? yb(i, t, n + 1) : i;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function Sb(e) {
+function bb(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function Cb(e, t, n, r) {
+function xb(e, t, n, r) {
if (typeof t == "function") {
- let [i, a] = Sb(r);
+ let [i, a] = bb(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
if (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") {
- let [i, a] = Sb(r);
+ let [i, a] = bb(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
-function wb(e, t, n) {
+function Sb(e, t, n) {
let r = e.getProps();
- return Cb(r, t, n === void 0 ? r.custom : n, e);
+ return xb(r, t, n === void 0 ? r.custom : n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
-var Tb = /* @__PURE__ */ new Set([
+var Cb = /* @__PURE__ */ new Set([
"width",
"height",
"top",
"left",
"right",
"bottom",
- ...Ry
-]), Eb = (e) => Array.isArray(e);
+ ...Ly
+]), wb = (e) => Array.isArray(e);
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function cre(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, _b(n));
+function ure(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, hb(n));
}
-function lre(e) {
- return Eb(e) ? e[e.length - 1] || 0 : e;
+function dre(e) {
+ return wb(e) ? e[e.length - 1] || 0 : e;
}
-function ure(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = wb(e, t) || {};
+function fre(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = Sb(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) cre(e, t, lre(i[t]));
+ for (let t in i) ure(e, t, dre(i[t]));
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var Db = (e) => !!(e && e.getVelocity);
+var Tb = (e) => !!(e && e.getVelocity);
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function dre(e) {
- return !!(Db(e) && e.add);
+function pre(e) {
+ return !!(Tb(e) && e.add);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function Ob(e, t) {
+function Eb(e, t) {
let n = e.getValue("willChange");
- if (dre(n)) return n.add(t);
+ if (pre(n)) return n.add(t);
if (!n && U_.WillChange) {
let n = new U_.WillChange("auto");
e.addValue("willChange", n), n.add(t);
@@ -24915,34 +24915,34 @@ function Ob(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
-function kb(e) {
+function Db(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
-var Ab = "data-" + kb("framerAppearId");
+var Ob = "data-" + Db("framerAppearId");
//#endregion
//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function jb(e) {
- return e.props[Ab];
+function kb(e) {
+ return e.props[Ob];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-function fre({ protectedKeys: e, needsAnimating: t }, n) {
+function mre({ protectedKeys: e, needsAnimating: t }, n) {
let r = e.hasOwnProperty(n) && t[n] !== !0;
return t[n] = !1, r;
}
-function Mb(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function Ab(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? vb(a, c) : c;
+ a = a ? gb(a, c) : c;
let l = a?.reduceMotion, u = a?.skipAnimations;
r && (a = r);
let d = [], f = i && e.animationState && e.animationState.getState()[i], p = a?.path;
p && p.animateVisualElement(e, s, a, n, d);
for (let t in s) {
let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
- if (i === void 0 || f && fre(f, t)) continue;
+ if (i === void 0 || f && mre(f, t)) continue;
let o = {
delay: n,
- ...yb(a || {}, t)
+ ..._b(a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
@@ -24952,21 +24952,21 @@ function Mb(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
let p = !1;
if (window.MotionHandoffAnimation) {
- let n = jb(e);
+ let n = kb(e);
if (n) {
let e = window.MotionHandoffAnimation(n, t, vv);
e !== null && (o.startTime = e, p = !0);
}
}
- Ob(e, t);
+ Eb(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(bb(t, r, i, m && Tb.has(t) ? { type: !1 } : o, e, p));
+ r.start(vb(t, r, i, m && Cb.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
let t = () => vv.update(() => {
- o && ure(e, o);
+ o && fre(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
@@ -24974,12 +24974,12 @@ function Mb(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function Nb(e, t, n = {}) {
- let r = wb(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
+function jb(e, t, n = {}) {
+ let r = Sb(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
n.transitionOverride && (i = n.transitionOverride);
- let a = r ? () => Promise.all(Mb(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
+ let a = r ? () => Promise.all(Ab(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
let { delayChildren: a = 0, staggerChildren: o, staggerDirection: s } = i;
- return pre(e, t, r, a, o, s, n);
+ return hre(e, t, r, a, o, s, n);
} : () => Promise.resolve(), { when: s } = i;
if (s) {
let [e, t] = s === "beforeChildren" ? [a, o] : [o, a];
@@ -24987,26 +24987,26 @@ function Nb(e, t, n = {}) {
}
return Promise.all([a(), o(n.delay)]);
}
-function pre(e, t, n = 0, r = 0, i = 0, a = 1, o) {
+function hre(e, t, n = 0, r = 0, i = 0, a = 1, o) {
let s = [];
- for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(Nb(c, t, {
+ for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(jb(c, t, {
...o,
- delay: n + (typeof r == "function" ? 0 : r) + mb(e.variantChildren, c, r, i, a)
+ delay: n + (typeof r == "function" ? 0 : r) + fb(e.variantChildren, c, r, i, a)
}).then(() => c.notify("AnimationComplete", t)));
return Promise.all(s);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
-function mre(e, t, n = {}) {
+function gre(e, t, n = {}) {
e.notify("AnimationStart", t);
let r;
if (Array.isArray(t)) {
- let i = t.map((t) => Nb(e, t, n));
+ let i = t.map((t) => jb(e, t, n));
r = Promise.all(i);
- } else if (typeof t == "string") r = Nb(e, t, n);
+ } else if (typeof t == "string") r = jb(e, t, n);
else {
- let i = typeof t == "function" ? wb(e, t, n.custom) : t;
- r = Promise.all(Mb(e, i, n));
+ let i = typeof t == "function" ? Sb(e, t, n.custom) : t;
+ r = Promise.all(Ab(e, i, n));
}
return r.then(() => {
e.notify("AnimationComplete", t);
@@ -25014,58 +25014,58 @@ function mre(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/auto.mjs
-var hre = {
+var _re = {
test: (e) => e === "auto",
parse: (e) => e
-}, Pb = (e) => (t) => t.test(e), Fb = [
+}, Mb = (e) => (t) => t.test(e), Nb = [
Ov,
Vv,
Bv,
zv,
Xte,
Yte,
- hre
-], Ib = (e) => Fb.find(Pb(e));
+ _re
+], Pb = (e) => Nb.find(Mb(e));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function gre(e) {
+function vre(e) {
return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || K_(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/filter.mjs
-var _re = /* @__PURE__ */ new Set([
+var yre = /* @__PURE__ */ new Set([
"brightness",
"contrast",
"saturate",
"opacity"
]);
-function vre(e) {
+function bre(e) {
let [t, n] = e.slice(0, -1).split("(");
if (t === "drop-shadow") return e;
let [r] = n.match(Mv) || [];
if (!r) return e;
- let i = n.replace(r, ""), a = +!!_re.has(t);
+ let i = n.replace(r, ""), a = +!!yre.has(t);
return r !== n && (a *= 100), t + "(" + a + i + ")";
}
-var yre = /\b([a-z-]*)\(.*?\)/gu, Lb = {
- ...Xv,
+var xre = /\b([a-z-]*)\(.*?\)/gu, Fb = {
+ ...Zv,
getAnimatableNone: (e) => {
- let t = e.match(yre);
- return t ? t.map(vre).join(" ") : e;
+ let t = e.match(xre);
+ return t ? t.map(bre).join(" ") : e;
}
-}, Rb = {
- ...Xv,
+}, Ib = {
+ ...Zv,
getAnimatableNone: (e) => {
- let t = Xv.parse(e);
- return Xv.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
+ let t = Zv.parse(e);
+ return Zv.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
...e,
alpha: 1
} : e));
}
-}, zb = {
+}, Lb = {
...Ov,
transform: Math.round
-}, Bb = {
+}, Rb = {
borderWidth: Vv,
borderTopWidth: Vv,
borderRightWidth: Vv,
@@ -25141,12 +25141,12 @@ var yre = /\b([a-z-]*)\(.*?\)/gu, Lb = {
originX: Hv,
originY: Hv,
originZ: Vv,
- zIndex: zb,
+ zIndex: Lb,
fillOpacity: kv,
strokeOpacity: kv,
- numOctaves: zb
-}, bre = {
- ...Bb,
+ numOctaves: Lb
+}, Sre = {
+ ...Rb,
color: Wv,
backgroundColor: Wv,
outlineColor: Wv,
@@ -25157,33 +25157,33 @@ var yre = /\b([a-z-]*)\(.*?\)/gu, Lb = {
borderRightColor: Wv,
borderBottomColor: Wv,
borderLeftColor: Wv,
- filter: Lb,
- WebkitFilter: Lb,
- mask: Rb,
- WebkitMask: Rb
-}, Vb = (e) => bre[e], xre = /*@__PURE__*/ new Set([Lb, Rb]);
-function Hb(e, t) {
- let n = Vb(e);
- return xre.has(n) || (n = Xv), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
+ filter: Fb,
+ WebkitFilter: Fb,
+ mask: Ib,
+ WebkitMask: Ib
+}, zb = (e) => Sre[e], Cre = /*@__PURE__*/ new Set([Fb, Ib]);
+function Bb(e, t) {
+ let n = zb(e);
+ return Cre.has(n) || (n = Zv), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var Sre = /* @__PURE__ */ new Set([
+var wre = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function Cre(e, t, n) {
+function Tre(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !Sre.has(t) && Jv(t).values.length && (i = e[r]), r++;
+ typeof t == "string" && !wre.has(t) && Jv(t).values.length && (i = e[r]), r++;
}
- if (i && n) for (let r of t) e[r] = Hb(n, i);
+ if (i && n) for (let r of t) e[r] = Bb(n, i);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var wre = class extends Jy {
+var Ere = class extends qy {
constructor(e, t, n, r, i) {
super(e, t, n, r, i, !0);
}
@@ -25194,33 +25194,33 @@ var wre = class extends Jy {
for (let n = 0; n < e.length; n++) {
let r = e[n];
if (typeof r == "string" && (r = r.trim(), Ev(r))) {
- let i = xb(r, t.current);
+ let i = yb(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !Tb.has(n) || e.length !== 2) return;
- let [r, i] = e, a = Ib(r), o = Ib(i);
- if (Dv(r) !== Dv(i) && Vy[n]) {
+ if (this.resolveNoneKeyframes(), !Cb.has(n) || e.length !== 2) return;
+ let [r, i] = e, a = Pb(r), o = Pb(i);
+ if (Dv(r) !== Dv(i) && By[n]) {
this.needsMeasurement = !0;
return;
}
if (a !== o) {
- if (By(a) && By(o)) for (let t = 0; t < e.length; t++) {
+ if (zy(a) && zy(o)) for (let t = 0; t < e.length; t++) {
let n = e[t];
typeof n == "string" && (e[t] = parseFloat(n));
}
- else Vy[n] && (this.needsMeasurement = !0);
+ else By[n] && (this.needsMeasurement = !0);
}
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || gre(e[t])) && n.push(t);
- n.length && Cre(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || vre(e[t])) && n.push(t);
+ n.length && Tre(e, n, t);
}
measureInitialState() {
let { element: e, unresolvedKeyframes: t, name: n } = this;
if (!e || !e.current) return;
- n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Vy[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
+ n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = By[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
let r = t[t.length - 1];
r !== void 0 && e.getValue(n, r).jump(r, !1);
}
@@ -25230,23 +25230,23 @@ var wre = class extends Jy {
let r = e.getValue(t);
r && r.jump(this.measuredOrigin, !1);
let i = n.length - 1, a = n[i];
- n[i] = Vy[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
+ n[i] = By[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
e.getValue(t).set(n);
}), this.resolveNoneKeyframes();
}
-}, Ub = [
+}, Vb = [
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomRightRadius",
"borderBottomLeftRadius"
-], Tre = /* @__PURE__ */ new Set([
+], Dre = /* @__PURE__ */ new Set([
"borderWidth",
"borderTopWidth",
"borderRightWidth",
"borderBottomWidth",
"borderLeftWidth",
"borderRadius",
- ...Ub,
+ ...Vb,
"width",
"maxWidth",
"height",
@@ -25290,12 +25290,12 @@ var wre = class extends Jy {
]);
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs
-function Ere(e, t) {
- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Tre.has(t) && (e[n] = e[n] + "px");
+function Ore(e, t) {
+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Dre.has(t) && (e[n] = e[n] + "px");
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function Wb(e, t, n) {
+function Hb(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
@@ -25308,34 +25308,34 @@ function Wb(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
-var Gb = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
+var Ub = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function Kb(e) {
+function Wb(e) {
return G_(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/microtask.mjs
-var { schedule: qb, cancel: Dre } = /* @__PURE__ */ _v(queueMicrotask, !1), Jb = {
+var { schedule: Gb, cancel: kre } = /* @__PURE__ */ _v(queueMicrotask, !1), Kb = {
x: !1,
y: !1
};
-function Yb() {
- return Jb.x || Jb.y;
+function qb() {
+ return Kb.x || Kb.y;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function Ore(e) {
- return e === "x" || e === "y" ? Jb[e] ? null : (Jb[e] = !0, () => {
- Jb[e] = !1;
- }) : Jb.x || Jb.y ? null : (Jb.x = Jb.y = !0, () => {
- Jb.x = Jb.y = !1;
+function Are(e) {
+ return e === "x" || e === "y" ? Kb[e] ? null : (Kb[e] = !0, () => {
+ Kb[e] = !1;
+ }) : Kb.x || Kb.y ? null : (Kb.x = Kb.y = !0, () => {
+ Kb.x = Kb.y = !1;
});
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function Xb(e, t) {
- let n = Wb(e), r = new AbortController();
+function Jb(e, t) {
+ let n = Hb(e), r = new AbortController();
return [
n,
{
@@ -25348,11 +25348,11 @@ function Xb(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/hover.mjs
-function kre(e) {
- return !(e.pointerType === "touch" || Yb());
+function jre(e) {
+ return !(e.pointerType === "touch" || qb());
}
-function Are(e, t, n = {}) {
- let [r, i, a] = Xb(e, n);
+function Mre(e, t, n = {}) {
+ let [r, i, a] = Jb(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -25372,7 +25372,7 @@ function Are(e, t, n = {}) {
}
};
e.addEventListener("pointerenter", (n) => {
- if (!kre(n)) return;
+ if (!jre(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -25381,130 +25381,130 @@ function Are(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var Zb = (e, t) => t ? e === t || Zb(e, t.parentElement) : !1, Qb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, jre = /* @__PURE__ */ new Set([
+var Yb = (e, t) => t ? e === t || Yb(e, t.parentElement) : !1, Xb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Nre = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function Mre(e) {
- return jre.has(e.tagName) || e.isContentEditable === !0;
+function Pre(e) {
+ return Nre.has(e.tagName) || e.isContentEditable === !0;
}
-var Nre = /* @__PURE__ */ new Set([
+var Fre = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function Pre(e) {
- return Nre.has(e.tagName) || e.isContentEditable === !0;
+function Ire(e) {
+ return Fre.has(e.tagName) || e.isContentEditable === !0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
-var $b = /* @__PURE__ */ new WeakSet();
+var Zb = /* @__PURE__ */ new WeakSet();
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function ex(e) {
+function Qb(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function tx(e, t) {
+function $b(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var Fre = (e, t) => {
+var Lre = (e, t) => {
let n = e.currentTarget;
if (!n) return;
- let r = ex(() => {
- if ($b.has(n)) return;
- tx(n, "down");
- let e = ex(() => {
- tx(n, "up");
+ let r = Qb(() => {
+ if (Zb.has(n)) return;
+ $b(n, "down");
+ let e = Qb(() => {
+ $b(n, "up");
});
- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => tx(n, "cancel"), t);
+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => $b(n, "cancel"), t);
});
n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);
};
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function nx(e) {
- return Qb(e) && !Yb();
+function ex(e) {
+ return Xb(e) && !qb();
}
-var rx = /* @__PURE__ */ new WeakSet();
-function Ire(e, t, n = {}) {
- let [r, i, a] = Xb(e, n), o = (e) => {
+var tx = /* @__PURE__ */ new WeakSet();
+function Rre(e, t, n = {}) {
+ let [r, i, a] = Jb(e, n), o = (e) => {
let r = e.currentTarget;
- if (!nx(e) || rx.has(e)) return;
- $b.add(r), n.stopPropagation && rx.add(e);
+ if (!ex(e) || tx.has(e)) return;
+ Zb.add(r), n.stopPropagation && tx.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), $b.has(r) && $b.delete(r), nx(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Zb.has(r) && Zb.delete(r), ex(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || Zb(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || Yb(r, e.target));
}, l = (e) => {
s(e, !1);
};
window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);
};
return r.forEach((e) => {
- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Kb(e) && (e.addEventListener("focus", (e) => Fre(e, i)), !Mre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Wb(e) && (e.addEventListener("focus", (e) => Lre(e, i)), !Pre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function ix(e, t) {
+function nx(e, t) {
let n = window.getComputedStyle(e);
- return Yy(t) ? n.getPropertyValue(t) : n[t];
+ return Jy(t) ? n.getPropertyValue(t) : n[t];
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function ax(e) {
+function rx(e) {
return G_(e) && "ownerSVGElement" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var ox = /* @__PURE__ */ new WeakMap(), sx, cx = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : ax(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Lre = /*@__PURE__*/ cx("inline", "width", "offsetWidth"), Rre = /*@__PURE__*/ cx("block", "height", "offsetHeight");
-function zre({ target: e, borderBoxSize: t }) {
- ox.get(e)?.forEach((n) => {
+var ix = /* @__PURE__ */ new WeakMap(), ax, ox = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : rx(r) && "getBBox" in r ? r.getBBox()[t] : r[n], zre = /*@__PURE__*/ ox("inline", "width", "offsetWidth"), Bre = /*@__PURE__*/ ox("block", "height", "offsetHeight");
+function Vre({ target: e, borderBoxSize: t }) {
+ ix.get(e)?.forEach((n) => {
n(e, {
get width() {
- return Lre(e, t);
+ return zre(e, t);
},
get height() {
- return Rre(e, t);
+ return Bre(e, t);
}
});
});
}
-function Bre(e) {
- e.forEach(zre);
+function Hre(e) {
+ e.forEach(Vre);
}
-function Vre() {
- typeof ResizeObserver > "u" || (sx = new ResizeObserver(Bre));
+function Ure() {
+ typeof ResizeObserver > "u" || (ax = new ResizeObserver(Hre));
}
-function Hre(e, t) {
- sx || Vre();
- let n = Wb(e);
+function Wre(e, t) {
+ ax || Ure();
+ let n = Hb(e);
return n.forEach((e) => {
- let n = ox.get(e);
- n || (n = /* @__PURE__ */ new Set(), ox.set(e, n)), n.add(t), sx?.observe(e);
+ let n = ix.get(e);
+ n || (n = /* @__PURE__ */ new Set(), ix.set(e, n)), n.add(t), ax?.observe(e);
}), () => {
n.forEach((e) => {
- let n = ox.get(e);
- n?.delete(t), n?.size || sx?.unobserve(e);
+ let n = ix.get(e);
+ n?.delete(t), n?.size || ax?.unobserve(e);
});
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var lx = /* @__PURE__ */ new Set(), ux;
-function Ure() {
- ux = () => {
+var sx = /* @__PURE__ */ new Set(), cx;
+function Gre() {
+ cx = () => {
let e = {
get width() {
return window.innerWidth;
@@ -25513,49 +25513,49 @@ function Ure() {
return window.innerHeight;
}
};
- lx.forEach((t) => t(e));
- }, window.addEventListener("resize", ux);
+ sx.forEach((t) => t(e));
+ }, window.addEventListener("resize", cx);
}
-function Wre(e) {
- return lx.add(e), ux || Ure(), () => {
- lx.delete(e), !lx.size && typeof ux == "function" && (window.removeEventListener("resize", ux), ux = void 0);
+function Kre(e) {
+ return sx.add(e), cx || Gre(), () => {
+ sx.delete(e), !sx.size && typeof cx == "function" && (window.removeEventListener("resize", cx), cx = void 0);
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/index.mjs
-function dx(e, t) {
- return typeof e == "function" ? Wre(e) : Hre(e, t);
+function lx(e, t) {
+ return typeof e == "function" ? Kre(e) : Wre(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/stats/buffer.mjs
-var fx = {
+var ux = {
value: null,
addProjectionMetrics: null
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function Gre(e) {
- return ax(e) && e.tagName === "svg";
+function qre(e) {
+ return rx(e) && e.tagName === "svg";
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/transform.mjs
-function Kre(...e) {
- let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = yy(i, a, o);
+function Jre(...e) {
+ let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = vy(i, a, o);
return t ? s(r) : s;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/follow-value.mjs
-function qre(e, t, n = {}) {
+function Yre(e, t, n = {}) {
let r = e.get(), i = null, a = r, o, s = typeof r == "string" ? r.replace(/[\d.-]/g, "") : void 0, c = () => {
i &&= (i.stop(), null), e.animation = void 0;
}, l = () => {
- let t = mx(e.get()), r = mx(a);
+ let t = fx(e.get()), r = fx(a);
if (t === r) {
c();
return;
}
let s = i ? i.getGeneratorVelocity() : e.getVelocity();
- c(), i = new Oy({
+ c(), i = new Dy({
keyframes: [t, r],
velocity: s,
type: "spring",
@@ -25570,10 +25570,10 @@ function qre(e, t, n = {}) {
});
};
if (e.attach((e, t) => {
- a = e, o = (e) => t(px(e, s)), vv.postRender(u);
- }, c), Db(t)) {
+ a = e, o = (e) => t(dx(e, s)), vv.postRender(u);
+ }, c), Tb(t)) {
let r = n.skipInitialAnimation === !0, i = t.on("change", (t) => {
- r ? (r = !1, e.jump(px(t, s), !1)) : e.set(px(t, s));
+ r ? (r = !1, e.jump(dx(t, s), !1)) : e.set(dx(t, s));
}), a = e.on("destroy", i);
return () => {
i(), a();
@@ -25581,46 +25581,46 @@ function qre(e, t, n = {}) {
}
return c;
}
-function px(e, t) {
+function dx(e, t) {
return t ? e + t : e;
}
-function mx(e) {
+function fx(e) {
return typeof e == "number" ? e : parseFloat(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/find.mjs
-var Jre = [
- ...Fb,
+var Xre = [
+ ...Nb,
Wv,
- Xv
-], Yre = (e) => Jre.find(Pb(e)), hx = () => ({
+ Zv
+], Zre = (e) => Xre.find(Mb(e)), px = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
+}), mx = () => ({
+ x: px(),
+ y: px()
+}), hx = () => ({
+ min: 0,
+ max: 0
}), gx = () => ({
x: hx(),
y: hx()
-}), _x = () => ({
- min: 0,
- max: 0
-}), vx = () => ({
- x: _x(),
- y: _x()
-}), Xre = /* @__PURE__ */ new WeakMap();
+}), Qre = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function yx(e) {
+function _x(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function bx(e) {
+function vx(e) {
return typeof e == "string" || Array.isArray(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var xx = [
+var yx = [
"animate",
"whileInView",
"whileFocus",
@@ -25628,29 +25628,29 @@ var xx = [
"whileTap",
"whileDrag",
"exit"
-], Sx = ["initial", ...xx];
+], bx = ["initial", ...yx];
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function Cx(e) {
- return yx(e.animate) || Sx.some((t) => bx(e[t]));
+function xx(e) {
+ return _x(e.animate) || bx.some((t) => vx(e[t]));
}
-function wx(e) {
- return !!(Cx(e) || e.variants);
+function Sx(e) {
+ return !!(xx(e) || e.variants);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function Zre(e, t, n) {
+function $re(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (Db(i)) e.addValue(r, i);
- else if (Db(a)) e.addValue(r, _b(i, { owner: e }));
+ if (Tb(i)) e.addValue(r, i);
+ else if (Tb(a)) e.addValue(r, hb(i, { owner: e }));
else if (a !== i) {
if (e.hasValue(r)) {
let t = e.getValue(r);
t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);
} else {
let t = e.getStaticValue(r);
- e.addValue(r, _b(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, hb(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -25659,18 +25659,18 @@ function Zre(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var Tx = { current: null }, Ex = { current: !1 }, Qre = typeof window < "u";
-function Dx() {
- if (Ex.current = !0, Qre) {
+var Cx = { current: null }, wx = { current: !1 }, eie = typeof window < "u";
+function Tx() {
+ if (wx.current = !0, eie) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Tx.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Cx.current = e.matches;
e.addEventListener("change", t), t();
- } else Tx.current = !1;
+ } else Cx.current = !1;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var Ox = [
+var Ex = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -25678,35 +25678,35 @@ var Ox = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], kx = {};
-function Ax(e) {
- kx = e;
+], Dx = {};
+function Ox(e) {
+ Dx = e;
}
-function $re() {
- return kx;
+function tie() {
+ return Dx;
}
-var eie = class {
+var nie = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Jy, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = qy, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
let e = Cv.now();
this.renderScheduledAt < e && (this.renderScheduledAt = e, vv.render(this.render, !1, !0));
};
let { latestValues: c, renderState: l } = o;
- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = Cx(t), this.isVariantNode = wx(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = xx(t), this.isVariantNode = Sx(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
- c[e] !== void 0 && Db(t) && t.set(c[e]);
+ c[e] !== void 0 && Tb(t) && t.set(c[e]);
}
}
mount(e) {
if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- this.current = e, Xre.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Ex.current || Dx(), this.shouldReduceMotion = Tx.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.current = e, Qre.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (wx.current || Tx(), this.shouldReduceMotion = Cx.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
this.projection && this.projection.unmount(), yv(this.notifyUpdate), yv(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
@@ -25724,8 +25724,8 @@ var eie = class {
this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);
}
bindToMotionValue(e, t) {
- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && db.has(e) && this.current instanceof HTMLElement) {
- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new rb({
+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && lb.has(e) && this.current instanceof HTMLElement) {
+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new nb({
element: this.current,
name: e,
keyframes: r,
@@ -25738,7 +25738,7 @@ var eie = class {
});
return;
}
- let n = zy.has(e);
+ let n = Ry.has(e);
n && this.onBindTransform && this.onBindTransform();
let r = t.on("change", (t) => {
this.latestValues[e] = t, this.props.onUpdate && vv.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
@@ -25752,8 +25752,8 @@ var eie = class {
}
updateFeatures() {
let e = "animation";
- for (e in kx) {
- let t = kx[e];
+ for (e in Dx) {
+ let t = Dx[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -25766,7 +25766,7 @@ var eie = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : vx();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : gx();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -25776,13 +25776,13 @@ var eie = class {
}
update(e, t) {
(e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < Ox.length; t++) {
- let n = Ox[t];
+ for (let t = 0; t < Ex.length; t++) {
+ let n = Ex[t];
this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = Zre(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
+ this.prevMotionValues = $re(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
}
getProps() {
return this.props;
@@ -25818,11 +25818,11 @@ var eie = class {
getValue(e, t) {
if (this.props.values && this.props.values[e]) return this.props.values[e];
let n = this.values.get(e);
- return n === void 0 && t !== void 0 && (n = _b(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
+ return n === void 0 && t !== void 0 && (n = hb(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
}
readValue(e, t) {
let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
- return n != null && (typeof n == "string" && (W_(n) || K_(n)) ? n = parseFloat(n) : !Yre(n) && Xv.test(t) && (n = Hb(e, t)), this.setBaseTarget(e, Db(n) ? n.get() : n)), Db(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (W_(n) || K_(n)) ? n = parseFloat(n) : !Zre(n) && Zv.test(t) && (n = Bb(e, t)), this.setBaseTarget(e, Tb(n) ? n.get() : n)), Tb(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -25830,12 +25830,12 @@ var eie = class {
getBaseTarget(e) {
let { initial: t } = this.props, n;
if (typeof t == "string" || typeof t == "object") {
- let r = Cb(this.props, t, this.presenceContext?.custom);
+ let r = xb(this.props, t, this.presenceContext?.custom);
r && (n = r[e]);
}
if (t && n !== void 0) return n;
let r = this.getBaseTargetFromProps(this.props, e);
- return r !== void 0 && !Db(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
+ return r !== void 0 && !Tb(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
}
on(e, t) {
return this.events[e] || (this.events[e] = new Z_()), this.events[e].add(t);
@@ -25844,11 +25844,11 @@ var eie = class {
this.events[e] && this.events[e].notify(...t);
}
scheduleRenderMicrotask() {
- qb.render(this.render);
+ Gb.render(this.render);
}
-}, jx = class extends eie {
+}, kx = class extends nie {
constructor() {
- super(...arguments), this.KeyframeResolver = wre;
+ super(...arguments), this.KeyframeResolver = Ere;
}
sortInstanceNodePosition(e, t) {
return e.compareDocumentPosition(t) & 2 ? 1 : -1;
@@ -25863,11 +25863,11 @@ var eie = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- Db(e) && (this.childSubscription = e.on("change", (e) => {
+ Tb(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
-}, Mx = class {
+}, Ax = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
@@ -25875,7 +25875,7 @@ var eie = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function Nx({ top: e, left: t, right: n, bottom: r }) {
+function jx({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -25887,7 +25887,7 @@ function Nx({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function tie({ x: e, y: t }) {
+function rie({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -25895,7 +25895,7 @@ function tie({ x: e, y: t }) {
left: e.min
};
}
-function nie(e, t) {
+function iie(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -25913,37 +25913,37 @@ function nie(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function Px(e) {
+function Mx(e) {
return e === void 0 || e === 1;
}
-function Fx({ scale: e, scaleX: t, scaleY: n }) {
- return !Px(e) || !Px(t) || !Px(n);
+function Nx({ scale: e, scaleX: t, scaleY: n }) {
+ return !Mx(e) || !Mx(t) || !Mx(n);
}
-function Ix(e) {
- return Fx(e) || Lx(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
+function Px(e) {
+ return Nx(e) || Fx(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
}
-function Lx(e) {
- return Rx(e.x) || Rx(e.y);
+function Fx(e) {
+ return Ix(e.x) || Ix(e.y);
}
-function Rx(e) {
+function Ix(e) {
return e && e !== "0%";
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function zx(e, t, n) {
+function Lx(e, t, n) {
return n + t * (e - n);
}
-function Bx(e, t, n, r, i) {
- return i !== void 0 && (e = zx(e, i, r)), zx(e, n, r) + t;
+function Rx(e, t, n, r, i) {
+ return i !== void 0 && (e = Lx(e, i, r)), Lx(e, n, r) + t;
}
-function Vx(e, t = 0, n = 1, r, i) {
- e.min = Bx(e.min, t, n, r, i), e.max = Bx(e.max, t, n, r, i);
+function zx(e, t = 0, n = 1, r, i) {
+ e.min = Rx(e.min, t, n, r, i), e.max = Rx(e.max, t, n, r, i);
}
-function Hx(e, { x: t, y: n }) {
- Vx(e.x, t.translate, t.scale, t.originPoint), Vx(e.y, n.translate, n.scale, n.originPoint);
+function Bx(e, { x: t, y: n }) {
+ zx(e.x, t.translate, t.scale, t.originPoint), zx(e.y, n.translate, n.scale, n.originPoint);
}
-var Ux = .999999999999, Wx = 1.0000000000001;
-function rie(e, t, n, r = !1) {
+var Vx = .999999999999, Hx = 1.0000000000001;
+function aie(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
@@ -25951,44 +25951,44 @@ function rie(e, t, n, r = !1) {
for (let s = 0; s < i; s++) {
a = n[s], o = a.projectionDelta;
let { visualElement: i } = a.options;
- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (Gx(e.x, -a.scroll.offset.x), Gx(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Hx(e, o)), r && Ix(a.latestValues) && Jx(e, a.latestValues, a.layout?.layoutBox));
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (Ux(e.x, -a.scroll.offset.x), Ux(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Bx(e, o)), r && Px(a.latestValues) && Kx(e, a.latestValues, a.layout?.layoutBox));
}
- t.x < Wx && t.x > Ux && (t.x = 1), t.y < Wx && t.y > Ux && (t.y = 1);
+ t.x < Hx && t.x > Vx && (t.x = 1), t.y < Hx && t.y > Vx && (t.y = 1);
}
-function Gx(e, t) {
+function Ux(e, t) {
e.min += t, e.max += t;
}
-function Kx(e, t, n, r, i = .5) {
- Vx(e, t, n, $v(e.min, e.max, i), r);
+function Wx(e, t, n, r, i = .5) {
+ zx(e, t, n, ey(e.min, e.max, i), r);
}
-function qx(e, t) {
+function Gx(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function Jx(e, t, n) {
+function Kx(e, t, n) {
let r = n ?? e;
- Kx(e.x, qx(t.x, r.x), t.scaleX, t.scale, t.originX), Kx(e.y, qx(t.y, r.y), t.scaleY, t.scale, t.originY);
+ Wx(e.x, Gx(t.x, r.x), t.scaleX, t.scale, t.originX), Wx(e.y, Gx(t.y, r.y), t.scaleY, t.scale, t.originY);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function Yx(e, t) {
- return Nx(nie(e.getBoundingClientRect(), t));
+function qx(e, t) {
+ return jx(iie(e.getBoundingClientRect(), t));
}
-function iie(e, t, n) {
- let r = Yx(e, n), { scroll: i } = t;
- return i && (Gx(r.x, i.offset.x), Gx(r.y, i.offset.y)), r;
+function oie(e, t, n) {
+ let r = qx(e, n), { scroll: i } = t;
+ return i && (Ux(r.x, i.offset.x), Ux(r.y, i.offset.y)), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
-var aie = {
+var sie = {
x: "translateX",
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, oie = Ry.length;
-function sie(e, t, n) {
+}, cie = Ly.length;
+function lie(e, t, n) {
let r = "", i = !0;
- for (let a = 0; a < oie; a++) {
- let o = Ry[a], s = e[o];
+ for (let a = 0; a < cie; a++) {
+ let o = Ly[a], s = e[o];
if (s === void 0) continue;
let c = !0;
if (typeof s == "number") c = s === +!!o.startsWith("scale");
@@ -25997,25 +25997,25 @@ function sie(e, t, n) {
c = o.startsWith("scale") ? e === 1 : e === 0;
}
if (!c || n) {
- let e = Gb(s, Bb[o]);
+ let e = Ub(s, Rb[o]);
if (!c) {
i = !1;
- let t = aie[o] || o;
+ let t = sie[o] || o;
r += `${t}(${e}) `;
}
n && (t[o] = e);
}
}
let a = e.pathRotation;
- return a && (i = !1, r += `rotate(${Gb(a, Bb.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
+ return a && (i = !1, r += `rotate(${Ub(a, Rb.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function Xx(e, t, n) {
+function Jx(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
- if (zy.has(e)) {
+ if (Ry.has(e)) {
o = !0;
continue;
}
@@ -26024,127 +26024,127 @@ function Xx(e, t, n) {
continue;
}
{
- let t = Gb(n, Bb[e]);
+ let t = Ub(n, Rb[e]);
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = sie(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = lie(t, e.transform, n) : r.transform &&= "none"), s) {
let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;
r.transformOrigin = `${e} ${t} ${n}`;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function Zx(e, { style: t, vars: n }, r, i) {
+function Yx(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function Qx(e, t) {
+function Xx(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var $x = { correct: (e, t) => {
+var Zx = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
if (Vv.test(e)) e = parseFloat(e);
else return e;
}
- return `${Qx(e, t.target.x)}% ${Qx(e, t.target.y)}%`;
-} }, eS = { correct: (e, { treeScale: t, projectionDelta: n }) => {
- let r = e, i = Xv.parse(e);
+ return `${Xx(e, t.target.x)}% ${Xx(e, t.target.y)}%`;
+} }, Qx = { correct: (e, { treeScale: t, projectionDelta: n }) => {
+ let r = e, i = Zv.parse(e);
if (i.length > 5) return r;
- let a = Xv.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
+ let a = Zv.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
i[0 + o] /= s, i[1 + o] /= c;
- let l = $v(s, c, .5);
+ let l = ey(s, c, .5);
return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);
-} }, tS = {
+} }, $x = {
borderRadius: {
- ...$x,
- applyTo: [...Ub]
+ ...Zx,
+ applyTo: [...Vb]
},
- borderTopLeftRadius: $x,
- borderTopRightRadius: $x,
- borderBottomLeftRadius: $x,
- borderBottomRightRadius: $x,
- boxShadow: eS
+ borderTopLeftRadius: Zx,
+ borderTopRightRadius: Zx,
+ borderBottomLeftRadius: Zx,
+ borderBottomRightRadius: Zx,
+ boxShadow: Qx
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function nS(e, { layout: t, layoutId: n }) {
- return zy.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!tS[e] || e === "opacity");
+function eS(e, { layout: t, layoutId: n }) {
+ return Ry.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!$x[e] || e === "opacity");
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function rS(e, t, n) {
+function tS(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (Db(r[t]) || i && Db(i[t]) || nS(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (Tb(r[t]) || i && Tb(i[t]) || eS(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function iS(e) {
+function nS(e) {
return window.getComputedStyle(e);
}
-var aS = class extends jx {
+var rS = class extends kx {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = Zx;
+ super(...arguments), this.type = "html", this.renderInstance = Yx;
}
mount(e) {
e.style, super.mount(e);
}
readValueFromInstance(e, t) {
- if (zy.has(t)) return this.projection?.isProjecting ? Iy(t) : One(e, t);
+ if (Ry.has(t)) return this.projection?.isProjecting ? Fy(t) : kne(e, t);
{
- let n = iS(e), r = (Tv(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = nS(e), r = (Tv(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return Yx(e, t);
+ return qx(e, t);
}
build(e, t, n) {
- Xx(e, t, n.transformTemplate);
+ Jx(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return rS(e, t, n);
+ return tS(e, t, n);
}
-}, oS = {
+}, iS = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, sS = {
+}, aS = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function cS(e, t, n = 1, r = 0, i = !0) {
+function oS(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? oS : sS;
+ let a = i ? iS : aS;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var lS = [
+var sS = [
"offsetDistance",
"offsetPath",
"offsetRotate",
"offsetAnchor"
];
-function uS(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (Xx(e, s, l), c) {
+function cS(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if (Jx(e, s, l), c) {
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
return;
}
e.attrs = e.style, e.style = {};
let { attrs: d, style: f } = e;
d.transform && (f.transform = d.transform, delete d.transform), (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox);
- for (let e of lS) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && cS(d, i, a, o, !1);
+ for (let e of sS) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && oS(d, i, a, o, !1);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
-var dS = /* @__PURE__ */ new Set([
+var lS = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -26168,68 +26168,68 @@ var dS = /* @__PURE__ */ new Set([
"startOffset",
"textLength",
"lengthAdjust"
-]), fS = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), uS = (e) => typeof e == "string" && e.toLowerCase() === "svg";
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function pS(e, t, n, r) {
- Zx(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(dS.has(n) ? n : kb(n), t.attrs[n]);
+function dS(e, t, n, r) {
+ Yx(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(lS.has(n) ? n : Db(n), t.attrs[n]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function mS(e, t, n) {
- let r = rS(e, t, n);
- for (let n in e) if (Db(e[n]) || Db(t[n])) {
- let t = Ry.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
+function fS(e, t, n) {
+ let r = tS(e, t, n);
+ for (let n in e) if (Tb(e[n]) || Tb(t[n])) {
+ let t = Ly.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
}
return r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var hS = class extends jx {
+var pS = class extends kx {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = vx;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = gx;
}
getBaseTargetFromProps(e, t) {
return e[t];
}
readValueFromInstance(e, t) {
- if (zy.has(t)) {
- let e = Vb(t);
+ if (Ry.has(t)) {
+ let e = zb(t);
return e && e.default || 0;
}
- return t = dS.has(t) ? t : kb(t), e.getAttribute(t);
+ return t = lS.has(t) ? t : Db(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return mS(e, t, n);
+ return fS(e, t, n);
}
build(e, t, n) {
- uS(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ cS(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- pS(e, t, n, r);
+ dS(e, t, n, r);
}
mount(e) {
- this.isSVGTag = fS(e.tagName), super.mount(e);
+ this.isSVGTag = uS(e.tagName), super.mount(e);
}
-}, gS = Sx.length;
-function _S(e) {
+}, mS = bx.length;
+function hS(e) {
if (!e) return;
if (!e.isControllingVariants) {
- let t = e.parent && _S(e.parent) || {};
+ let t = e.parent && hS(e.parent) || {};
return e.props.initial !== void 0 && (t.initial = e.props.initial), t;
}
let t = {};
- for (let n = 0; n < gS; n++) {
- let r = Sx[n], i = e.props[r];
- (bx(i) || i === !1) && (t[r] = i);
+ for (let n = 0; n < mS; n++) {
+ let r = bx[n], i = e.props[r];
+ (vx(i) || i === !1) && (t[r] = i);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function vS(e, t) {
+function gS(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -26238,13 +26238,13 @@ function vS(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var yS = [...xx].reverse(), bS = xx.length;
-function xS(e) {
- return (t) => Promise.all(t.map(({ animation: t, options: n }) => mre(e, t, n)));
+var _S = [...yx].reverse(), vS = yx.length;
+function yS(e) {
+ return (t) => Promise.all(t.map(({ animation: t, options: n }) => gre(e, t, n)));
}
-function SS(e) {
- let t = xS(e), n = TS(), r = !0, i = !1, a = (t) => (n, r) => {
- let i = wb(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
+function bS(e) {
+ let t = yS(e), n = CS(), r = !0, i = !1, a = (t) => (n, r) => {
+ let i = Sb(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
if (i) {
let { transition: e, transitionEnd: t, ...r } = i;
n = {
@@ -26259,12 +26259,12 @@ function SS(e) {
t = n(e);
}
function s(o) {
- let { props: s } = e, c = _S(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
- for (let t = 0; t < bS; t++) {
- let p = yS[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = bx(h), _ = p === o ? m.isActive : null;
+ let { props: s } = e, c = hS(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
+ for (let t = 0; t < vS; t++) {
+ let p = _S[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = vx(h), _ = p === o ? m.isActive : null;
_ === !1 && (f = t);
let v = h === c[p] && h !== s[p] && g;
- if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || yx(h) || typeof h == "boolean") continue;
+ if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || _x(h) || typeof h == "boolean") continue;
if (p === "exit" && m.isActive && _ !== !0) {
m.prevResolvedValues && (d = {
...d,
@@ -26272,7 +26272,7 @@ function SS(e) {
});
continue;
}
- let y = CS(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
+ let y = xS(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
_ === !1 && (C = {});
let { prevResolvedValues: w = {} } = m, T = {
...w,
@@ -26286,7 +26286,7 @@ function SS(e) {
let t = C[e], n = w[e];
if (d.hasOwnProperty(e)) continue;
let r = !1;
- r = Eb(t) && Eb(n) ? !vS(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
+ r = wb(t) && wb(n) ? !gS(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
}
m.prevProp = h, m.prevResolvedValues = C, m.isActive && (d = {
...d,
@@ -26296,10 +26296,10 @@ function SS(e) {
b && (!D || x) && l.push(...S.map((t) => {
let n = { type: p };
if (typeof t == "string" && (r || i) && !D && e.manuallyAnimateOnMount && e.parent) {
- let { parent: r } = e, i = wb(r, t);
+ let { parent: r } = e, i = Sb(r, t);
if (r.enteringChildren && i) {
let { delayChildren: t } = i.transition || {};
- n.delay = mb(r.enteringChildren, e, t);
+ n.delay = fb(r.enteringChildren, e, t);
}
}
return {
@@ -26311,7 +26311,7 @@ function SS(e) {
if (u.size) {
let t = {};
if (typeof s.initial != "boolean") {
- let n = wb(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
+ let n = Sb(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
n && n.transition && (t.transition = n.transition);
}
u.forEach((n) => {
@@ -26335,14 +26335,14 @@ function SS(e) {
setAnimateFunction: o,
getState: () => n,
reset: () => {
- n = TS(), i = !0;
+ n = CS(), i = !0;
}
};
}
-function CS(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !vS(t, e) : !1;
+function xS(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !gS(t, e) : !1;
}
-function wS(e = !1) {
+function SS(e = !1) {
return {
isActive: e,
protectedKeys: {},
@@ -26350,115 +26350,115 @@ function wS(e = !1) {
prevResolvedValues: {}
};
}
-function TS() {
+function CS() {
return {
- animate: wS(!0),
- whileInView: wS(),
- whileHover: wS(),
- whileTap: wS(),
- whileDrag: wS(),
- whileFocus: wS(),
- exit: wS()
+ animate: SS(!0),
+ whileInView: SS(),
+ whileHover: SS(),
+ whileTap: SS(),
+ whileDrag: SS(),
+ whileFocus: SS(),
+ exit: SS()
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function ES(e, t) {
+function wS(e, t) {
e.min = t.min, e.max = t.max;
}
-function DS(e, t) {
- ES(e.x, t.x), ES(e.y, t.y);
+function TS(e, t) {
+ wS(e.x, t.x), wS(e.y, t.y);
}
-function OS(e, t) {
+function ES(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var kS = .9999, AS = 1.0001, jS = -.01, MS = .01;
-function NS(e) {
+var DS = .9999, uie = 1.0001, die = -.01, fie = .01;
+function OS(e) {
return e.max - e.min;
}
-function PS(e, t, n) {
+function pie(e, t, n) {
return Math.abs(e - t) <= n;
}
-function FS(e, t, n, r = .5) {
- e.origin = r, e.originPoint = $v(t.min, t.max, e.origin), e.scale = NS(n) / NS(t), e.translate = $v(n.min, n.max, e.origin) - e.originPoint, (e.scale >= kS && e.scale <= AS || isNaN(e.scale)) && (e.scale = 1), (e.translate >= jS && e.translate <= MS || isNaN(e.translate)) && (e.translate = 0);
+function kS(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = ey(t.min, t.max, e.origin), e.scale = OS(n) / OS(t), e.translate = ey(n.min, n.max, e.origin) - e.originPoint, (e.scale >= DS && e.scale <= uie || isNaN(e.scale)) && (e.scale = 1), (e.translate >= die && e.translate <= fie || isNaN(e.translate)) && (e.translate = 0);
}
-function IS(e, t, n, r) {
- FS(e.x, t.x, n.x, r ? r.originX : void 0), FS(e.y, t.y, n.y, r ? r.originY : void 0);
+function AS(e, t, n, r) {
+ kS(e.x, t.x, n.x, r ? r.originX : void 0), kS(e.y, t.y, n.y, r ? r.originY : void 0);
}
-function LS(e, t, n, r = 0) {
- e.min = (r ? $v(n.min, n.max, r) : n.min) + t.min, e.max = e.min + NS(t);
+function jS(e, t, n, r = 0) {
+ e.min = (r ? ey(n.min, n.max, r) : n.min) + t.min, e.max = e.min + OS(t);
}
-function cie(e, t, n, r) {
- LS(e.x, t.x, n.x, r?.x), LS(e.y, t.y, n.y, r?.y);
+function mie(e, t, n, r) {
+ jS(e.x, t.x, n.x, r?.x), jS(e.y, t.y, n.y, r?.y);
}
-function RS(e, t, n, r = 0) {
- let i = r ? $v(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + NS(t);
+function MS(e, t, n, r = 0) {
+ let i = r ? ey(n.min, n.max, r) : n.min;
+ e.min = t.min - i, e.max = e.min + OS(t);
}
-function zS(e, t, n, r) {
- RS(e.x, t.x, n.x, r?.x), RS(e.y, t.y, n.y, r?.y);
+function NS(e, t, n, r) {
+ MS(e.x, t.x, n.x, r?.x), MS(e.y, t.y, n.y, r?.y);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function BS(e, t, n, r, i) {
- return e -= t, e = zx(e, 1 / n, r), i !== void 0 && (e = zx(e, 1 / i, r)), e;
+function PS(e, t, n, r, i) {
+ return e -= t, e = Lx(e, 1 / n, r), i !== void 0 && (e = Lx(e, 1 / i, r)), e;
}
-function lie(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
- if (Bv.test(t) && (t = parseFloat(t), t = $v(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
- let s = $v(a.min, a.max, r);
- e === a && (s -= t), e.min = BS(e.min, t, n, s, i), e.max = BS(e.max, t, n, s, i);
+function hie(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+ if (Bv.test(t) && (t = parseFloat(t), t = ey(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
+ let s = ey(a.min, a.max, r);
+ e === a && (s -= t), e.min = PS(e.min, t, n, s, i), e.max = PS(e.max, t, n, s, i);
}
-function VS(e, t, [n, r, i], a, o) {
- lie(e, t[n], t[r], t[i], t.scale, a, o);
+function FS(e, t, [n, r, i], a, o) {
+ hie(e, t[n], t[r], t[i], t.scale, a, o);
}
-var uie = [
+var gie = [
"x",
"scaleX",
"originX"
-], die = [
+], _ie = [
"y",
"scaleY",
"originY"
];
-function HS(e, t, n, r) {
- VS(e.x, t, uie, n ? n.x : void 0, r ? r.x : void 0), VS(e.y, t, die, n ? n.y : void 0, r ? r.y : void 0);
+function IS(e, t, n, r) {
+ FS(e.x, t, gie, n ? n.x : void 0, r ? r.x : void 0), FS(e.y, t, _ie, n ? n.y : void 0, r ? r.y : void 0);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function US(e) {
+function LS(e) {
return e.translate === 0 && e.scale === 1;
}
-function WS(e) {
- return US(e.x) && US(e.y);
+function RS(e) {
+ return LS(e.x) && LS(e.y);
}
-function GS(e, t) {
+function zS(e, t) {
return e.min === t.min && e.max === t.max;
}
-function fie(e, t) {
- return GS(e.x, t.x) && GS(e.y, t.y);
+function vie(e, t) {
+ return zS(e.x, t.x) && zS(e.y, t.y);
}
-function KS(e, t) {
+function BS(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function qS(e, t) {
- return KS(e.x, t.x) && KS(e.y, t.y);
+function VS(e, t) {
+ return BS(e.x, t.x) && BS(e.y, t.y);
}
-function JS(e) {
- return NS(e.x) / NS(e.y);
+function HS(e) {
+ return OS(e.x) / OS(e.y);
}
-function YS(e, t) {
+function US(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function XS(e) {
+function WS(e) {
return [e("x"), e("y")];
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function pie(e, t, n) {
+function yie(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;
@@ -26469,36 +26469,36 @@ function pie(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
-var mie = Ub.length, ZS = (e) => typeof e == "string" ? parseFloat(e) : e, QS = (e) => typeof e == "number" || Vv.test(e);
-function hie(e, t, n, r, i, a) {
- i ? (e.opacity = $v(0, n.opacity ?? 1, gie(r)), e.opacityExit = $v(t.opacity ?? 1, 0, _ie(r))) : a && (e.opacity = $v(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < mie; i++) {
- let a = Ub[i], o = $S(t, a), s = $S(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || QS(o) === QS(s) ? (e[a] = Math.max($v(ZS(o), ZS(s), r), 0), (Bv.test(s) || Bv.test(o)) && (e[a] += "%")) : e[a] = s);
+var bie = Vb.length, GS = (e) => typeof e == "string" ? parseFloat(e) : e, KS = (e) => typeof e == "number" || Vv.test(e);
+function xie(e, t, n, r, i, a) {
+ i ? (e.opacity = ey(0, n.opacity ?? 1, Sie(r)), e.opacityExit = ey(t.opacity ?? 1, 0, Cie(r))) : a && (e.opacity = ey(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < bie; i++) {
+ let a = Vb[i], o = qS(t, a), s = qS(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || KS(o) === KS(s) ? (e[a] = Math.max(ey(GS(o), GS(s), r), 0), (Bv.test(s) || Bv.test(o)) && (e[a] += "%")) : e[a] = s);
}
- (t.rotate || n.rotate) && (e.rotate = $v(t.rotate || 0, n.rotate || 0, r));
+ (t.rotate || n.rotate) && (e.rotate = ey(t.rotate || 0, n.rotate || 0, r));
}
-function $S(e, t) {
+function qS(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var gie = /*@__PURE__*/ eC(0, .5, uv), _ie = /*@__PURE__*/ eC(.5, .95, J_);
-function eC(e, t, n) {
+var Sie = /*@__PURE__*/ JS(0, .5, uv), Cie = /*@__PURE__*/ JS(.5, .95, J_);
+function JS(e, t, n) {
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ X_(e, t, r));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function vie(e, t, n) {
- let r = Db(e) ? e : _b(e);
- return r.start(bb("", r, t, n)), r.animation;
+function wie(e, t, n) {
+ let r = Tb(e) ? e : hb(e);
+ return r.start(vb("", r, t, n)), r.animation;
}
//#endregion
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function tC(e, t, n, r = { passive: !0 }) {
+function YS(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var yie = (e, t) => e.depth - t.depth, bie = class {
+var Tie = (e, t) => e.depth - t.depth, Eie = class {
constructor() {
this.children = [], this.isDirty = !1;
}
@@ -26509,12 +26509,12 @@ var yie = (e, t) => e.depth - t.depth, bie = class {
V_(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(yie), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(Tie), this.isDirty = !1, this.children.forEach(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/delay.mjs
-function xie(e, t) {
+function Die(e, t) {
let n = Cv.now(), r = ({ timestamp: i }) => {
let a = i - n;
a >= t && (yv(r), e(a - t));
@@ -26523,12 +26523,12 @@ function xie(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function nC(e) {
- return Db(e) ? e.get() : e;
+function XS(e) {
+ return Tb(e) ? e.get() : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var Sie = class {
+var Oie = class {
constructor() {
this.members = [];
}
@@ -26574,48 +26574,48 @@ var Sie = class {
removeLeadSnapshot() {
this.lead?.snapshot && (this.lead.snapshot = void 0);
}
-}, rC = {
+}, ZS = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, iC = {
+}, QS = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, aC = [
+}, $S = [
"",
"X",
"Y",
"Z"
-], Cie = 1e3, wie = 0;
-function oC(e, t, n, r) {
+], kie = 1e3, Aie = 0;
+function eC(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-function sC(e) {
+function tC(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = jb(t);
+ let n = kb(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
window.MotionCancelOptimisedAnimation(n, "transform", vv, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && sC(r);
+ r && !r.hasCheckedOptimisedAppear && tC(r);
}
-function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+function nC({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
return class {
constructor(e = {}, n = t?.()) {
- this.id = wie++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
+ this.id = Aie++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
x: 1,
y: 1
}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
}, this.updateProjection = () => {
- this.projectionUpdateScheduled = !1, fx.value && (iC.nodes = iC.calculatedTargetDeltas = iC.calculatedProjections = 0), this.nodes.forEach(Die), this.nodes.forEach(Nie), this.nodes.forEach(Pie), this.nodes.forEach(Oie), fx.addProjectionMetrics && fx.addProjectionMetrics(iC);
+ this.projectionUpdateScheduled = !1, ux.value && (QS.nodes = QS.calculatedTargetDeltas = QS.calculatedProjections = 0), this.nodes.forEach(Nie), this.nodes.forEach(zie), this.nodes.forEach(Bie), this.nodes.forEach(Pie), ux.addProjectionMetrics && ux.addProjectionMetrics(QS);
}, this.resolvedRelativeTargetAt = 0, this.linkedParentVersion = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
- this.root === this && (this.nodes = new bie());
+ this.root === this && (this.nodes = new Eie());
}
addEventListener(e, t) {
return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Z_()), this.eventHandlers.get(e).add(t);
@@ -26629,7 +26629,7 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = ax(t) && !Gre(t), this.instance = t;
+ this.isSVG = rx(t) && !qre(t), this.instance = t;
let { layoutId: n, layout: r, visualElement: i } = this.options;
if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
@@ -26637,7 +26637,7 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = xie(i, 250), rC.hasAnimatedSinceResize && (rC.hasAnimatedSinceResize = !1, this.nodes.forEach(dC)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Die(i, 250), ZS.hasAnimatedSinceResize && (ZS.hasAnimatedSinceResize = !1, this.nodes.forEach(aC)));
});
}
n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
@@ -26645,16 +26645,16 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || i.getDefaultTransition() || zie, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !qS(this.targetLayout, r), l = !t && n;
+ let a = this.options.transition || i.getDefaultTransition() || Gie, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !VS(this.targetLayout, r), l = !t && n;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
- ...yb(a, "layout"),
+ ..._b(a, "layout"),
onPlay: o,
onComplete: s
};
(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || dC(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || aC(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
this.targetLayout = r;
});
}
@@ -26676,7 +26676,7 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Fie), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Vie), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -26687,7 +26687,7 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && sC(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && tC(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
@@ -26701,22 +26701,22 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Aie), this.nodes.forEach(lC);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Iie), this.nodes.forEach(rC);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(uC);
+ this.nodes.forEach(iC);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(jie), this.nodes.forEach(Mie), this.nodes.forEach(Tie), this.nodes.forEach(Eie)) : this.nodes.forEach(uC), this.clearAllSnapshots();
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Lie), this.nodes.forEach(Rie), this.nodes.forEach(jie), this.nodes.forEach(Mie)) : this.nodes.forEach(iC), this.clearAllSnapshots();
let e = Cv.now();
bv.delta = H_(0, 1e3 / 60, e - bv.timestamp), bv.timestamp = e, bv.isProcessing = !0, xv.update.process(bv), xv.preRender.process(bv), xv.render.process(bv), bv.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, qb.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, Gb.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(kie), this.sharedNodes.forEach(Iie);
+ this.nodes.forEach(Fie), this.sharedNodes.forEach(Hie);
}
scheduleUpdateProjection() {
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, vv.preRender(this.updateProjection, !1, !0));
@@ -26727,13 +26727,13 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
});
}
updateSnapshot() {
- this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !NS(this.snapshot.measuredBox.x) && !NS(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !OS(this.snapshot.measuredBox.x) && !OS(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
let e = this.layout;
- this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= vx(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= gx(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
}
@@ -26752,12 +26752,12 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
resetTransform() {
if (!i) return;
- let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !WS(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || Ix(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !RS(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || Px(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
}
measure(e = !0) {
let t = this.measurePageBox(), n = this.removeElementScroll(t);
- return e && (n = this.removeTransform(n)), Bie(n), {
+ return e && (n = this.removeTransform(n)), Kie(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -26767,42 +26767,42 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return vx();
+ if (!e) return gx();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(Vie))) {
+ if (!(this.scroll?.wasRoot || this.path.some(qie))) {
let { scroll: e } = this.root;
- e && (Gx(t.x, e.offset.x), Gx(t.y, e.offset.y));
+ e && (Ux(t.x, e.offset.x), Ux(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = vx();
- if (DS(t, e), this.scroll?.wasRoot) return t;
+ let t = gx();
+ if (TS(t, e), this.scroll?.wasRoot) return t;
for (let n = 0; n < this.path.length; n++) {
let r = this.path[n], { scroll: i, options: a } = r;
- r !== this.root && i && a.layoutScroll && (i.wasRoot && DS(t, e), Gx(t.x, i.offset.x), Gx(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && TS(t, e), Ux(t.x, i.offset.x), Ux(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n) {
- let r = n || vx();
- DS(r, e);
+ let r = n || gx();
+ TS(r, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (Gx(r.x, -n.scroll.offset.x), Gx(r.y, -n.scroll.offset.y)), Ix(n.latestValues) && Jx(r, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (Ux(r.x, -n.scroll.offset.x), Ux(r.y, -n.scroll.offset.y)), Px(n.latestValues) && Kx(r, n.latestValues, n.layout?.layoutBox);
}
- return Ix(this.latestValues) && Jx(r, this.latestValues, this.layout?.layoutBox), r;
+ return Px(this.latestValues) && Kx(r, this.latestValues, this.layout?.layoutBox), r;
}
removeTransform(e) {
- let t = vx();
- DS(t, e);
+ let t = gx();
+ TS(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!Ix(n.latestValues)) continue;
+ if (!Px(n.latestValues)) continue;
let r;
- n.instance && (Fx(n.latestValues) && n.updateSnapshot(), r = vx(), DS(r, n.measurePageBox())), HS(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (Nx(n.latestValues) && n.updateSnapshot(), r = gx(), TS(r, n.measurePageBox())), IS(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return Ix(this.latestValues) && HS(t, this.latestValues), t;
+ return Px(this.latestValues) && IS(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -26829,16 +26829,16 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!this.layout || !(r || i)) return;
this.resolvedRelativeTargetAt = bv.timestamp;
let a = this.getClosestProjectingParent();
- a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = vx(), this.targetWithTransforms = vx()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), cie(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : DS(this.target, this.layout.layoutBox), Hx(this.target, this.targetDelta)) : DS(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), fx.value && iC.calculatedTargetDeltas++);
+ a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = gx(), this.targetWithTransforms = gx()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), mie(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : TS(this.target, this.layout.layoutBox), Bx(this.target, this.targetDelta)) : TS(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), ux.value && QS.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
- if (!(!this.parent || Fx(this.parent.latestValues) || Lx(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || Nx(this.parent.latestValues) || Fx(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
}
isProjecting() {
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = vx(), this.relativeTargetOrigin = vx(), zS(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), DS(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = gx(), this.relativeTargetOrigin = gx(), NS(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), TS(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
@@ -26848,15 +26848,15 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === bv.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- DS(this.layoutCorrected, this.layout.layoutBox);
+ TS(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- rie(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = vx());
+ aie(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = gx());
let { target: s } = e;
if (!s) {
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
return;
}
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (OS(this.prevProjectionDelta.x, this.projectionDelta.x), OS(this.prevProjectionDelta.y, this.projectionDelta.y)), IS(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !YS(this.projectionDelta.x, this.prevProjectionDelta.x) || !YS(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), fx.value && iC.calculatedProjections++;
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (ES(this.prevProjectionDelta.x, this.projectionDelta.x), ES(this.prevProjectionDelta.y, this.projectionDelta.y)), AS(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !US(this.projectionDelta.x, this.prevProjectionDelta.x) || !US(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), ux.value && QS.calculatedProjections++;
}
hide() {
this.isVisible = !1;
@@ -26872,22 +26872,22 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = gx(), this.projectionDelta = gx(), this.projectionDeltaWithTransform = gx();
+ this.prevProjectionDelta = mx(), this.projectionDelta = mx(), this.projectionDeltaWithTransform = mx();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = gx();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = mx();
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = vx(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(Rie));
+ let s = gx(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(Wie));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- r ? (o.x.translate = r.x, o.x.scale = $v(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = $v(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (fC(o.x, e.x, n), fC(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (zS(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Lie(this.relativeTarget, this.relativeTargetOrigin, s, n), f && fie(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= vx(), DS(f, this.relativeTarget)), c && (this.animationValues = a, hie(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ r ? (o.x.translate = r.x, o.x.scale = ey(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = ey(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (oC(o.x, e.x, n), oC(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (NS(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Uie(this.relativeTarget, this.relativeTargetOrigin, s, n), f && vie(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= gx(), TS(f, this.relativeTarget)), c && (this.animationValues = a, xie(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (yv(this.pendingAnimation), void 0), this.pendingAnimation = vv.update(() => {
- rC.hasAnimatedSinceResize = !0, this.motionValue ||= _b(0), this.motionValue.jump(0, !1), this.currentAnimation = vie(this.motionValue, [0, 1e3], {
+ ZS.hasAnimatedSinceResize = !0, this.motionValue ||= hb(0), this.motionValue.jump(0, !1), this.currentAnimation = wie(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -26906,23 +26906,23 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Cie), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(kie), this.currentAnimation.stop()), this.completeAnimation();
}
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, target: n, layout: r, latestValues: i } = e;
if (!(!t || !n || !r)) {
- if (this !== e && this.layout && r && _C(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
- n = this.target || vx();
- let t = NS(this.layout.layoutBox.x);
+ if (this !== e && this.layout && r && dC(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
+ n = this.target || gx();
+ let t = OS(this.layout.layoutBox.x);
n.x.min = e.target.x.min, n.x.max = n.x.min + t;
- let r = NS(this.layout.layoutBox.y);
+ let r = OS(this.layout.layoutBox.y);
n.y.min = e.target.y.min, n.y.max = n.y.min + r;
}
- DS(t, n), Jx(t, i), IS(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
+ TS(t, n), Kx(t, i), AS(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Sie()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Oie()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -26959,8 +26959,8 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let t = !1, { latestValues: n } = e;
if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
let r = {};
- n.z && oC("z", e, r, this.animationValues);
- for (let t = 0; t < aC.length; t++) oC(`rotate${aC[t]}`, e, r, this.animationValues), oC(`skew${aC[t]}`, e, r, this.animationValues);
+ n.z && eC("z", e, r, this.animationValues);
+ for (let t = 0; t < $S.length; t++) eC(`rotate${$S[t]}`, e, r, this.animationValues), eC(`skew${$S[t]}`, e, r, this.animationValues);
e.render();
for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
e.scheduleRender();
@@ -26973,71 +26973,71 @@ function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = nC(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = XS(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
return;
}
let r = this.getLead();
if (!this.projectionDelta || !this.layout || !r.target) {
- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = nC(t?.pointerEvents) || ""), this.hasProjected && !Ix(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = XS(t?.pointerEvents) || ""), this.hasProjected && !Px(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = r.animationValues || r.latestValues;
this.applyTransformsToTarget();
- let a = pie(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = yie(this.projectionDeltaWithTransform, this.treeScale, i);
n && (a = n(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in tS) {
+ for (let t in $x) {
if (i[t] === void 0) continue;
- let { correct: n, applyTo: o, isCSSVariable: s } = tS[t], c = a === "none" ? i[t] : n(i[t], r);
+ let { correct: n, applyTo: o, isCSSVariable: s } = $x[t], c = a === "none" ? i[t] : n(i[t], r);
if (o) {
let t = o.length;
for (let n = 0; n < t; n++) e[o[n]] = c;
} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
}
- this.options.layoutId && (e.pointerEvents = r === this ? nC(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? XS(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
this.resumeFrom = this.snapshot = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(lC), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(rC), this.root.sharedNodes.clear();
}
};
}
-function Tie(e) {
+function jie(e) {
e.updateLayout();
}
-function Eie(e) {
+function Mie(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;
- if (i === "size") XS((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = NS(r);
+ if (i === "size") WS((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = OS(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- ES(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else _C(i, t.layoutBox, n) && XS((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = NS(n[r]);
+ wS(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
+ } else dC(i, t.layoutBox, n) && WS((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = OS(n[r]);
i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
});
- let o = gx();
- IS(o, n, t.layoutBox);
- let s = gx();
- a ? IS(s, e.applyTransform(r, !0), t.measuredBox) : IS(s, n, t.layoutBox);
- let c = !WS(o), l = !1;
+ let o = mx();
+ AS(o, n, t.layoutBox);
+ let s = mx();
+ a ? AS(s, e.applyTransform(r, !0), t.measuredBox) : AS(s, n, t.layoutBox);
+ let c = !RS(o), l = !1;
if (!e.resumeFrom) {
let r = e.getClosestProjectingParent();
if (r && !r.resumeFrom) {
let { snapshot: i, layout: a } = r;
if (i && a) {
- let o = e.options.layoutAnchor || void 0, s = vx();
- zS(s, t.layoutBox, i.layoutBox, o);
- let c = vx();
- zS(c, n, a.layoutBox, o), qS(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ let o = e.options.layoutAnchor || void 0, s = gx();
+ NS(s, t.layoutBox, i.layoutBox, o);
+ let c = gx();
+ NS(c, n, a.layoutBox, o), VS(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -27055,59 +27055,59 @@ function Eie(e) {
}
e.options.transition = void 0;
}
-function Die(e) {
- fx.value && iC.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
+function Nie(e) {
+ ux.value && QS.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
-function Oie(e) {
+function Pie(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function kie(e) {
+function Fie(e) {
e.clearSnapshot();
}
-function lC(e) {
+function rC(e) {
e.clearMeasurements();
}
-function Aie(e) {
+function Iie(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function uC(e) {
+function iC(e) {
e.isLayoutDirty = !1;
}
-function jie(e) {
+function Lie(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
}
-function Mie(e) {
+function Rie(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function dC(e) {
+function aC(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function Nie(e) {
+function zie(e) {
e.resolveTargetDelta();
}
-function Pie(e) {
+function Bie(e) {
e.calcProjection();
}
-function Fie(e) {
+function Vie(e) {
e.resetSkewAndRotation();
}
-function Iie(e) {
+function Hie(e) {
e.removeLeadSnapshot();
}
-function fC(e, t, n) {
- e.translate = $v(t.translate, 0, n), e.scale = $v(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
+function oC(e, t, n) {
+ e.translate = ey(t.translate, 0, n), e.scale = ey(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function pC(e, t, n, r) {
- e.min = $v(t.min, n.min, r), e.max = $v(t.max, n.max, r);
+function sC(e, t, n, r) {
+ e.min = ey(t.min, n.min, r), e.max = ey(t.max, n.max, r);
}
-function Lie(e, t, n, r) {
- pC(e.x, t.x, n.x, r), pC(e.y, t.y, n.y, r);
+function Uie(e, t, n, r) {
+ sC(e.x, t.x, n.x, r), sC(e.y, t.y, n.y, r);
}
-function Rie(e) {
+function Wie(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var zie = {
+var Gie = {
duration: .45,
ease: [
.4,
@@ -27115,39 +27115,39 @@ var zie = {
.1,
1
]
-}, mC = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), hC = mC("applewebkit/") && !mC("chrome/") ? Math.round : J_;
-function gC(e) {
- e.min = hC(e.min), e.max = hC(e.max);
+}, cC = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), lC = cC("applewebkit/") && !cC("chrome/") ? Math.round : J_;
+function uC(e) {
+ e.min = lC(e.min), e.max = lC(e.max);
}
-function Bie(e) {
- gC(e.x), gC(e.y);
+function Kie(e) {
+ uC(e.x), uC(e.y);
}
-function _C(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !PS(JS(t), JS(n), .2);
+function dC(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !pie(HS(t), HS(n), .2);
}
-function Vie(e) {
+function qie(e) {
return e !== e.root && e.scroll?.wasRoot;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var Hie = cC({
- attachResizeListener: (e, t) => tC(e, "resize", t),
+var Jie = nC({
+ attachResizeListener: (e, t) => YS(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), vC = { current: void 0 }, yC = cC({
+}), fC = { current: void 0 }, pC = nC({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!vC.current) {
- let e = new Hie({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), vC.current = e;
+ if (!fC.current) {
+ let e = new Jie({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), fC.current = e;
}
- return vC.current;
+ return fC.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
@@ -27156,18 +27156,18 @@ var Hie = cC({
});
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function Uie(e, t, n, r) {
+function Yie(e, t, n, r) {
if (e == null) return [];
- let i = Wb(e, r), a = i.length, o = [];
+ let i = Hb(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
let r = i[e], s = { ...n };
typeof s.delay == "function" && (s.delay = s.delay(e, a));
for (let e in t) {
let n = t[e];
Array.isArray(n) || (n = [n]);
- let i = { ...yb(s, e) };
+ let i = { ..._b(s, e) };
i.duration &&= /* @__PURE__ */ Q_(i.duration), i.delay &&= /* @__PURE__ */ Q_(i.delay);
- let a = Xne(r), c = Yne(e, i.pseudoElement || ""), l = a.get(c);
+ let a = Qne(r), c = Zne(e, i.pseudoElement || ""), l = a.get(c);
l && l.stop(), o.push({
map: a,
key: c,
@@ -27183,40 +27183,40 @@ function Uie(e, t, n, r) {
}
for (let e = 0; e < o.length; e++) {
let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;
- !a && t[0] === null && (t[0] = ix(r, i)), ky(t), Ere(t, i), !a && t.length < 2 && t.unshift(ix(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = nx(r, i)), Oy(t), Ore(t, i), !a && t.length < 2 && t.unshift(nx(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
- let { map: t, key: n, options: r } = o[e], i = new rb(r);
+ let { map: t, key: n, options: r } = o[e], i = new nb(r);
t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);
}
return s;
}
-var Wie = /*@__PURE__*/ ((e) => {
+var Xie = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new Jne(Uie(t, n, r, e));
+ return new Xne(Yie(t, n, r, e));
}
return t;
-})(), bC = (e, t) => Math.abs(e - t);
-function Gie(e, t) {
- let n = bC(e.x, t.x), r = bC(e.y, t.y);
+})(), mC = (e, t) => Math.abs(e - t);
+function Zie(e, t) {
+ let n = mC(e.x, t.x), r = mC(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var Kie = {
+var Qie = {
selection: {
- type: gy,
+ type: hy,
duration: .16,
bounce: 0
},
hover: {
- type: gy,
+ type: hy,
duration: .08,
bounce: 0
}
};
-function xC(e) {
+function hC(e) {
let [t, n] = (0, B.useState)(null);
return (0, B.useLayoutEffect)(() => {
if (!t) return;
@@ -27237,7 +27237,7 @@ function xC(e) {
let E = `translate(${b}px, ${x}px) scale(1, 1)`;
if (u && a && !r.matches && T && s !== h) {
let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
- l = Wie(n, { transform: [r, E] }, Kie[e]);
+ l = Xie(n, { transform: [r, E] }, Qie[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -27274,25 +27274,25 @@ function xC(e) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function SC(e) {
- let t = xC("selection");
+function gC(e) {
+ let t = hC("selection");
return /* @__PURE__ */ (0, H.jsx)(L_, {
...e,
ref: t
});
}
-function CC(e) {
- let t = xC("selection");
- return /* @__PURE__ */ (0, H.jsx)(ug, {
+function _C(e) {
+ let t = hC("selection");
+ return /* @__PURE__ */ (0, H.jsx)(dg, {
...e,
ref: t
});
}
-var wC = "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", TC = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", qie = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", EC = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", DC = "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)", Jie = { "text-aa": 1.435 }, OC = /* @__PURE__ */ new Map();
-function kC(e) {
- let t = OC.get(e);
+var vC = "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", yC = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", $ie = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", bC = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", xC = "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)", eae = { "text-aa": 1.435 }, SC = /* @__PURE__ */ new Map();
+function CC(e) {
+ let t = SC.get(e);
if (t) return t;
- let n = Jie[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, H.jsx)("svg", {
+ let n = eae[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, H.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -27306,19 +27306,19 @@ function kC(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, OC.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, SC.set(e, r), r;
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var Yie = (e) => e === "videos", AC = () => /* @__PURE__ */ (0, H.jsx)("span", {
+var tae = (e) => e === "videos", wC = () => /* @__PURE__ */ (0, H.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function Xie(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Yie(t), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(null), h = (0, B.useRef)(null), g = (0, B.useRef)(null), _ = Sr(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = Sr(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+function nae(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = tae(t), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(null), h = (0, B.useRef)(null), g = (0, B.useRef)(null), _ = Sr(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = Sr(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
return (0, B.useEffect)(() => {
c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);
- }, [c]), /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(jC, {
+ }, [c]), /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(TC, {
items: o,
hidden: !l,
actions: s
@@ -27342,13 +27342,13 @@ function Xie(e) {
"data-view-glide": "round",
"aria-hidden": "true"
})] }),
- top: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [n ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Zie, {
+ top: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [n ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(rae, {
keys: n,
view: t,
row: p,
glide: v,
onView: s.setView
- }), l ? /* @__PURE__ */ (0, H.jsx)(AC, {}) : null] }) : null, /* @__PURE__ */ (0, H.jsxs)("div", {
+ }), l ? /* @__PURE__ */ (0, H.jsx)(wC, {}) : null] }) : null, /* @__PURE__ */ (0, H.jsxs)("div", {
ref: m,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -27368,7 +27368,7 @@ function Xie(e) {
r !== e.k && s.setState(e.k);
},
children: e.label
- }, e.k)), /* @__PURE__ */ (0, H.jsx)(AC, {})]
+ }, e.k)), /* @__PURE__ */ (0, H.jsx)(wC, {})]
}), /* @__PURE__ */ (0, H.jsx)("div", {
ref: h,
"data-entity-tags": "",
@@ -27384,10 +27384,10 @@ function Xie(e) {
}, e.k)) : null
})]
})] }),
- bottom: /* @__PURE__ */ (0, H.jsx)(Qie, { ...e })
+ bottom: /* @__PURE__ */ (0, H.jsx)(iae, { ...e })
})] });
}
-function Zie({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function rae({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -27429,7 +27429,7 @@ function Zie({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function jC({ items: e, hidden: t, actions: n }) {
+function TC({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -27449,7 +27449,7 @@ function jC({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function Qie(e) {
+function iae(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, H.jsxs)("button", {
@@ -27461,22 +27461,22 @@ function Qie(e) {
dangerouslySetInnerHTML: { __html: L("chevron-left") }
}), /* @__PURE__ */ (0, H.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, H.jsx)($ie, {
+ /* @__PURE__ */ (0, H.jsx)(aae, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, H.jsx)(eae, {
+ t === "videos" && i ? /* @__PURE__ */ (0, H.jsx)(oae, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, H.jsx)(tae, {
+ t === "photos" && a ? /* @__PURE__ */ (0, H.jsx)(sae, {
head: a,
actions: o,
helpers: s
}) : null
] });
}
-function $ie({ text: e, busy: t }) {
+function aae({ text: e, busy: t }) {
return /* @__PURE__ */ (0, H.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, H.jsx)("span", {
@@ -27486,22 +27486,22 @@ function $ie({ text: e, busy: t }) {
}) : e
});
}
-function MC({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, H.jsx)(ug, {
+function EC({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, H.jsx)(dg, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: EC,
+ className: bC,
children: r.map(([e, t, n]) => {
- let r = kC(n);
- return /* @__PURE__ */ (0, H.jsx)(dg, {
+ let r = CC(n);
+ return /* @__PURE__ */ (0, H.jsx)(fg, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: DC,
+ className: xC,
children: /* @__PURE__ */ (0, H.jsx)("span", {
title: t,
className: "contents",
@@ -27511,7 +27511,7 @@ function MC({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function NC({ onPress: e, busy: t = !1 }) {
+function DC({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -27525,27 +27525,27 @@ function NC({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? w("正在换一批") : L("shuffle") }
});
}
-function eae({ head: e, actions: t }) {
+function oae({ head: e, actions: t }) {
return /* @__PURE__ */ (0, H.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(NC, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, H.jsx)(MC, {
+ /* @__PURE__ */ (0, H.jsx)(DC, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, H.jsx)(EC, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, H.jsx)(PC, {
+ /* @__PURE__ */ (0, H.jsx)(OC, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function PC({ sorts: e, onSort: t }) {
+function OC({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, H.jsx)(H.Fragment, { children: e.map((e) => {
- let n = kC(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = CC(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -27557,20 +27557,20 @@ function PC({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function tae({ head: e, actions: t, helpers: n }) {
+function sae({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, B.useState)(!1), a = (0, B.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, B.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, H.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, H.jsx)(NC, {
+ e.shuffle ? /* @__PURE__ */ (0, H.jsx)(DC, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, H.jsx)(MC, {
+ /* @__PURE__ */ (0, H.jsx)(EC, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -27586,31 +27586,31 @@ function tae({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var FC = "";
-function nae(e) {
- let t = !e.tiers, n = lae(e.comboHost);
+var kC = "";
+function cae(e) {
+ let t = !e.tiers, n = hae(e.comboHost);
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(jC, {
+ n ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(TC, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, H.jsx)(aae, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, H.jsx)(rae, { ...e })
+ /* @__PURE__ */ (0, H.jsx)(dae, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, H.jsx)(lae, { ...e })
]
});
}
-function rae(e) {
+function lae(e) {
let { actions: t, helpers: n } = e, r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = Sr(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, B.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = LC(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = jC(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, B.useLayoutEffect)(() => {
h(o.current, "tagbar");
}, [u]), /* @__PURE__ */ (0, H.jsx)(gr, {
@@ -27656,16 +27656,16 @@ function rae(e) {
}), /* @__PURE__ */ (0, H.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, H.jsx)(IC, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, H.jsx)(iae, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, H.jsx)(AC, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, H.jsx)(uae, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, H.jsx)(sae, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, H.jsx)(pae, { ...e })
});
}
-function iae({ tag: e, onPress: t }) {
+function uae({ tag: e, onPress: t }) {
return /* @__PURE__ */ (0, H.jsxs)(vr, {
"data-catalog-tag": e.k,
"data-entity-press": "",
@@ -27677,12 +27677,12 @@ function iae({ tag: e, onPress: t }) {
})]
});
}
-function aae(e) {
+function dae(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useCallback)((e) => () => t.moreTops(e), [t]), c = LC(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = LC(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useCallback)((e) => () => t.moreTops(e), [t]), c = jC(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = jC(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
return (0, B.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -27695,7 +27695,7 @@ function aae(e) {
children: [u ? /* @__PURE__ */ (0, H.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, H.jsx)(IC, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, H.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, H.jsx)(AC, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -27712,18 +27712,18 @@ function aae(e) {
}) : null, d ? /* @__PURE__ */ (0, H.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, H.jsx)(IC, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, H.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, H.jsx)(AC, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": e.name,
onClick: () => t.openEntity("studio", e.name),
- children: [/* @__PURE__ */ (0, H.jsx)(oae, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, H.jsx)(fae, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function oae({ studio: e }) {
+function fae({ studio: e }) {
let [t, n] = (0, B.useState)(!1);
return /* @__PURE__ */ (0, H.jsx)("span", {
"data-tier-mark": "",
@@ -27737,7 +27737,7 @@ function oae({ studio: e }) {
}) : e.fallback
});
}
-function IC({ kind: e }) {
+function AC({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -27753,32 +27753,32 @@ function IC({ kind: e }) {
children: [/* @__PURE__ */ (0, H.jsx)("span", {}), /* @__PURE__ */ (0, H.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function sae({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function pae({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, B.useState)(!1);
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(cae, { count: e }), /* @__PURE__ */ (0, H.jsxs)("span", {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(mae, { count: e }), /* @__PURE__ */ (0, H.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(NC, {
+ /* @__PURE__ */ (0, H.jsx)(DC, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, H.jsx)(MC, {
+ n ? /* @__PURE__ */ (0, H.jsx)(EC, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, H.jsx)(PC, {
+ /* @__PURE__ */ (0, H.jsx)(OC, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function cae({ count: e }) {
+function mae({ count: e }) {
let t = (0, B.useRef)(null), n = (0, B.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown}` : "";
return (0, B.useLayoutEffect)(() => {
if (!e) {
@@ -27786,7 +27786,7 @@ function cae({ count: e }) {
return;
}
let i = t.current;
- i && (FC && i.dataset.popCount === void 0 && (i.dataset.popCount = FC), FC = r, g(i, r));
+ i && (kC && i.dataset.popCount === void 0 && (i.dataset.popCount = kC), kC = r, g(i, r));
}, [e, r]), e ? /* @__PURE__ */ (0, H.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -27802,7 +27802,7 @@ function cae({ count: e }) {
})
}, "skeleton");
}
-function lae(e) {
+function hae(e) {
let [t, n] = (0, B.useState)(null);
return (0, B.useLayoutEffect)(() => {
if (!e) return;
@@ -27812,7 +27812,7 @@ function lae(e) {
};
}, [e]), t;
}
-function LC(e, t, n, r, i) {
+function jC(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -27858,13 +27858,13 @@ function LC(e, t, n, r, i) {
}
//#endregion
//#region src/api.ts
-var RC = class extends Error {
+var MC = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(ce(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, zC = (e) => {
+}, NC = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -27886,7 +27886,7 @@ async function K(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new RC(zC(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new MC(NC(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function q(e, t, n = "POST", r) {
@@ -27903,20 +27903,20 @@ async function q(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new RC(zC(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new MC(NC(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function BC({ value: e }) {
+function PC({ value: e }) {
return /* @__PURE__ */ (0, H.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 uae = "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 VC({ tabs: e, value: t, label: n, onChange: r }) {
+var gae = "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 FC({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, B.useRef)(null), a = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
let e = i.current;
@@ -27944,14 +27944,14 @@ function VC({ 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 ? kC(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? CC(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: uae,
+ className: gae,
onClick: () => {
i || r(e.value);
},
@@ -27967,21 +27967,21 @@ function VC({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/search/search.ts
-var HC = /* @__PURE__ */ new Set([
+var IC = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), UC = /* @__PURE__ */ new Set(["asset"]), WC = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function dae({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
+]), LC = /* @__PURE__ */ new Set(["asset"]), RC = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function _ae({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
let s = 0, c = [], l = (e) => {
let t = {
...e,
index: s++
};
return c.push(t), t;
- }, u = t.filter((t) => !e || WC(t).includes(WC(e)));
+ }, u = t.filter((t) => !e || RC(t).includes(RC(e)));
if (!e) {
let e = u.length ? {
label: "搜索记录",
@@ -28019,7 +28019,7 @@ function dae({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
kind: e.kind,
item: t
}))
- }), h = p.filter((e) => !UC.has(e.kind)).map(m), g = p.filter((e) => UC.has(e.kind)).map(m);
+ }), h = p.filter((e) => !LC.has(e.kind)).map(m), g = p.filter((e) => LC.has(e.kind)).map(m);
return {
tabs: d && a.length > 1 ? [...a] : null,
recent: f,
@@ -28028,17 +28028,17 @@ function dae({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: c
};
}
-function fae(e, t, n = Math.random) {
+function vae(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => WC(t) === WC(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => RC(t) === RC(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var pae = () => ({
+var yae = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -28053,7 +28053,7 @@ var pae = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), GC = (e) => dae({
+}), zC = (e) => _ae({
query: e.query,
history: e.history,
picks: e.picks,
@@ -28061,18 +28061,18 @@ var pae = () => ({
groups: e.groups,
tabs: e.tabs,
kind: e.kind
-}), mae = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), KC = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
+}), bae = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), BC = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
-function hae(e) {
+function xae(e) {
let t = (0, B.useRef)(e);
t.current = e;
let n = (0, B.useRef)(null);
- n.current ??= pae();
+ n.current ??= yae();
let r = n.current, i = (0, B.useRef)(null), [, a] = (0, B.useReducer)((e) => e + 1, 0), o = (0, B.useRef)(null);
- o.current ??= gae(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= Sae(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, B.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
@@ -28085,7 +28085,7 @@ function hae(e) {
let e = i.current?.closest("[data-search-menu]");
r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
});
- let c = GC(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, H.jsx)(vae, {
+ let c = zC(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, H.jsx)(wae, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -28105,7 +28105,7 @@ function hae(e) {
"data-search-root": "",
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, H.jsx)(_ae, {
+ c.tabs ? /* @__PURE__ */ (0, H.jsx)(Cae, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -28126,7 +28126,7 @@ function hae(e) {
]
});
}
-function gae(e, t, n, r) {
+function Sae(e, t, n, r) {
let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {
t.history = n.slice(0, e().historyLimit);
}, c = async () => {
@@ -28140,7 +28140,7 @@ function gae(e, t, n, r) {
t.history = Array.isArray(e.items) ? e.items.map(String) : [];
} catch {}
}, l = (t) => {
- !t || !e().historyLimit || (s([t, ...o().filter((e) => WC(e) !== WC(t))]), q("/api/search-history", { query: t }).catch(() => null));
+ !t || !e().historyLimit || (s([t, ...o().filter((e) => RC(e) !== RC(t))]), q("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -28173,9 +28173,9 @@ function gae(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, m = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : fae(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : vae(t.pool, o()), t.active = -1;
let a = n();
- a && (mae(GC(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (bae(zC(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, h = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -28187,7 +28187,7 @@ function gae(e, t, n, r) {
!n || e === t.kind || (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {
a() && t.kind === e && m();
}));
- }, _ = () => f() ? GC(t).options : [], v = (e) => {
+ }, _ = () => f() ? zC(t).options : [], v = (e) => {
let n = _();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, y = (t, n) => {
@@ -28200,7 +28200,7 @@ function gae(e, t, n, r) {
i().blur(), e().actions.openItem(t.item.id);
return;
}
- if (t.type === "suggest" && HC.has(t.kind)) {
+ if (t.type === "suggest" && IC.has(t.kind)) {
b(t.kind, t.value);
return;
}
@@ -28252,12 +28252,12 @@ function gae(e, t, n, r) {
await q("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => WC(t) !== WC(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => RC(t) !== RC(e))), t.active = -1, r();
},
pickKind: g
};
}
-function _ae({ tabs: e, kind: t, onPick: n, wire: r }) {
+function Cae({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, B.useRef)(null);
(0, B.useLayoutEffect)(() => {
r(i.current);
@@ -28269,7 +28269,7 @@ function _ae({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, H.jsx)(BC, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, H.jsx)(PC, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, H.jsxs)("div", {
ref: i,
@@ -28279,8 +28279,8 @@ function _ae({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var qC = (e) => e.preventDefault();
-function vae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var VC = (e) => e.preventDefault();
+function wae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -28292,28 +28292,28 @@ function vae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, H.jsx)(KC, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, H.jsx)(BC, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, H.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: qC,
+ onMouseDown: VC,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, H.jsx)(KC, { name: "x" })
+ children: /* @__PURE__ */ (0, H.jsx)(BC, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = HC.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = IC.has(c) ? c : void 0;
if (c === "asset") {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-search-option": "work",
"data-open-item": s.id,
...o,
- children: [/* @__PURE__ */ (0, H.jsx)(JC, {
+ children: [/* @__PURE__ */ (0, H.jsx)(HC, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, H.jsxs)("span", {
@@ -28339,7 +28339,7 @@ function vae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- /* @__PURE__ */ (0, H.jsx)(YC, {
+ /* @__PURE__ */ (0, H.jsx)(UC, {
item: s,
kind: c
}),
@@ -28359,11 +28359,11 @@ function vae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-open-work": e.id,
"aria-label": `打开 ${e.code || s.value}`,
- onMouseDown: qC,
+ onMouseDown: VC,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, H.jsx)(JC, {
+ children: /* @__PURE__ */ (0, H.jsx)(HC, {
card: e,
helpers: n
})
@@ -28377,7 +28377,7 @@ function vae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, H.jsx)(YC, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, H.jsx)(UC, {
item: s,
kind: c
}) : null,
@@ -28390,13 +28390,13 @@ function vae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function JC({ card: e, helpers: t }) {
+function HC({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, H.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function YC({ item: e, kind: t }) {
+function UC({ item: e, kind: t }) {
let n = {
id: e.entity_id,
has_image: e.has_image,
@@ -28411,8 +28411,8 @@ function YC({ item: e, kind: t }) {
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var XC = (e) => ["feed-new", e ?? "home"], yae = 8, bae = 1500;
-function xae(e, t, n) {
+var WC = (e) => ["feed-new", e ?? "home"], Tae = 8, Eae = 1500;
+function Dae(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -28423,43 +28423,43 @@ function xae(e, t, n) {
setTimeout(e, n);
})]);
}
-async function Sae(e, t, n) {
+async function Oae(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
let i = await N(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await xae(s, yae, bae), {
+ return n && o.length && await Dae(s, Tae, Eae), {
items: o,
html: s
};
}
-var ZC = (e, t, n = !1) => ({
- queryKey: XC(e),
- queryFn: () => Sae(e, t, n),
+var GC = (e, t, n = !1) => ({
+ queryKey: WC(e),
+ queryFn: () => Oae(e, t, n),
staleTime: Infinity
-}), QC = (e, t) => N("/api/feeds/discovery", {
+}), KC = (e, t) => N("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function Cae(e) {
- z.removeQueries({ queryKey: XC(null) }), await z.fetchQuery(ZC(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function kae(e) {
+ z.removeQueries({ queryKey: WC(null) }), await z.fetchQuery(GC(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
-var $C = B.createContext(void 0), ew = (e) => {
- let t = B.useContext($C);
+var qC = B.createContext(void 0), JC = (e) => {
+ let t = B.useContext(qC);
if (e) return e;
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
return t;
-}, tw = ({ client: e, children: t }) => (B.useEffect(() => (e.mount(), () => {
+}, YC = ({ client: e, children: t }) => (B.useEffect(() => (e.mount(), () => {
e.unmount();
-}), [e]), /* @__PURE__ */ (0, H.jsx)($C.Provider, {
+}), [e]), /* @__PURE__ */ (0, H.jsx)(qC.Provider, {
value: e,
children: t
-})), wae = ({ children: e, options: t = {}, state: n, queryClient: r }) => {
- let i = ew(r), a = B.useRef(t);
+})), Aae = ({ children: e, options: t = {}, state: n, queryClient: r }) => {
+ let i = JC(r), a = B.useRef(t);
B.useEffect(() => {
a.current = t;
});
@@ -28477,10 +28477,10 @@ var $C = B.createContext(void 0), ew = (e) => {
return B.useEffect(() => {
o && Pe(i, { queries: o }, a.current);
}, [i, o]), e;
-}, nw = B.createContext(!1), rw = () => B.useContext(nw), Tae = nw.Provider;
+}, XC = B.createContext(!1), ZC = () => B.useContext(XC), jae = XC.Provider;
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
-function iw() {
+function QC() {
let e = !1;
return {
clearReset: () => {
@@ -28492,31 +28492,31 @@ function iw() {
isReset: () => e
};
}
-var aw = B.createContext(iw()), ow = () => B.useContext(aw), Eae = ({ children: e }) => {
- let [t] = B.useState(() => iw());
- return /* @__PURE__ */ (0, H.jsx)(aw.Provider, {
+var $C = B.createContext(QC()), ew = () => B.useContext($C), Mae = ({ children: e }) => {
+ let [t] = B.useState(() => QC());
+ return /* @__PURE__ */ (0, H.jsx)($C.Provider, {
value: t,
children: typeof e == "function" ? e(t) : e
});
-}, sw = (e, t, n) => {
+}, tw = (e, t, n) => {
let r = n?.state.error && typeof e.throwOnError == "function" ? Re(e.throwOnError, [n.state.error, n]) : e.throwOnError;
(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));
-}, cw = (e) => {
+}, nw = (e) => {
B.useEffect(() => {
e.clearReset();
}, [e]);
-}, lw = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Re(n, [e.error, r])), uw = (e, t) => t.state.data === void 0, dw = (e) => {
+}, rw = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Re(n, [e.error, r])), iw = (e, t) => t.state.data === void 0, aw = (e) => {
if (e.suspense) {
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
}
-}, fw = (e, t) => e?.suspense && t.isPending, pw = (e, t, n) => t.fetchOptimistic(e).catch(() => {
+}, ow = (e, t) => e?.suspense && t.isPending, sw = (e, t, n) => t.fetchOptimistic(e).catch(() => {
n.clearReset();
});
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQueries.js
-function mw({ queries: e, ...t }, n) {
- let r = ew(n), i = rw(), a = ow(), o = t.subscribed !== !1, s = B.useMemo(() => e.map((e) => {
+function cw({ queries: e, ...t }, n) {
+ let r = JC(n), i = ZC(), a = ew(), o = t.subscribed !== !1, s = B.useMemo(() => e.map((e) => {
let t = r.defaultQueryOptions(e);
return t._optimisticResults = i ? "isRestoring" : o ? "optimistic" : void 0, t;
}), [
@@ -28526,10 +28526,10 @@ function mw({ queries: e, ...t }, n) {
o
]);
s.forEach((e) => {
- dw(e);
+ aw(e);
let t = r.getQueryCache().get(e.queryHash);
- sw(e, a, t);
- }), cw(a);
+ tw(e, a, t);
+ }), nw(a);
let [c] = B.useState(() => new Me(r, s, t)), [l, u, d] = c.getOptimisticResult(s, t.combine), f = !i && o;
B.useSyncExternalStore(B.useCallback((e) => f ? c.subscribe(Ie.batchCalls(e)) : Fe, [c, f]), () => c.getCurrentResult(), () => c.getCurrentResult()), B.useEffect(() => {
c.setQueries(s, t);
@@ -28538,14 +28538,14 @@ function mw({ queries: e, ...t }, n) {
t,
c
]);
- let p = l.some((e, t) => fw(s[t], e)) ? l.flatMap((e, t) => {
+ let p = l.some((e, t) => ow(s[t], e)) ? l.flatMap((e, t) => {
let n = s[t];
- return n && fw(n, e) ? pw(n, new Ne(r, n), a) : [];
+ return n && ow(n, e) ? sw(n, new Ne(r, n), a) : [];
}) : [];
if (p.length > 0) throw Promise.all(p);
let m = l.find((e, t) => {
let n = s[t];
- return n && lw({
+ return n && rw({
result: e,
errorResetBoundary: a,
throwOnError: n.throwOnError,
@@ -28558,17 +28558,17 @@ function mw({ queries: e, ...t }, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
-function hw(e, t, n) {
- let r = rw(), i = ow(), a = ew(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, dw(o), sw(o, i, s), cw(i);
+function lw(e, t, n) {
+ let r = ZC(), i = ew(), a = JC(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, aw(o), tw(o, i, s), nw(i);
let [l] = B.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;
if (B.useSyncExternalStore(B.useCallback((e) => {
let t = d ? l.subscribe(Ie.batchCalls(e)) : Fe;
return l.updateResult(), t;
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), B.useEffect(() => {
l.setOptions(o);
- }, [o, l]), fw(o, u)) throw pw(o, l, i);
- if (lw({
+ }, [o, l]), ow(o, u)) throw sw(o, l, i);
+ if (rw({
result: u,
errorResetBoundary: i,
throwOnError: o.throwOnError,
@@ -28579,40 +28579,40 @@ function hw(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
-function gw(e, t) {
- return hw(e, Ne, t);
+function uw(e, t) {
+ return lw(e, Ne, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseQuery.js
-function Dae(e, t) {
- return hw({
+function Nae(e, t) {
+ return lw({
...e,
enabled: !0,
suspense: !0,
- throwOnError: uw,
+ throwOnError: iw,
placeholderData: void 0
}, Ne, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.js
-function Oae(e, t) {
- return hw({
+function Pae(e, t) {
+ return lw({
...e,
enabled: !0,
suspense: !0,
- throwOnError: uw,
+ throwOnError: iw,
placeholderData: void 0
}, Ae, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseQueries.js
-function kae(e, t) {
- return mw({
+function Fae(e, t) {
+ return cw({
...e,
queries: e.queries.map((e) => ({
...e,
suspense: !0,
- throwOnError: uw,
+ throwOnError: iw,
enabled: !0,
placeholderData: void 0
}))
@@ -28620,57 +28620,57 @@ function kae(e, t) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/usePrefetchQuery.js
-function Aae(e, t) {
- let n = ew(t);
+function Iae(e, t) {
+ let n = JC(t);
n.getQueryState(e.queryKey) || n.query(e).catch(Fe);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.js
-function jae(e, t) {
- let n = ew(t);
+function Lae(e, t) {
+ let n = JC(t);
n.getQueryState(e.queryKey) || n.infiniteQuery(e).catch(Fe);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/queryOptions.js
-function Mae(e) {
+function Rae(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/infiniteQueryOptions.js
-function Nae(e) {
+function zae(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useIsFetching.js
-function Pae(e, t) {
- let n = ew(t), r = n.getQueryCache();
+function Bae(e, t) {
+ let n = JC(t), r = n.getQueryCache();
return B.useSyncExternalStore(B.useCallback((e) => r.subscribe(Ie.batchCalls(e)), [r]), () => n.isFetching(e), () => n.isFetching(e));
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutationState.js
-function Fae(e, t) {
- let n = ew(t);
- return vw({ filters: {
+function Vae(e, t) {
+ let n = JC(t);
+ return fw({ filters: {
...e,
status: "pending"
} }, n).length;
}
-function _w(e, t) {
+function dw(e, t) {
return e.findAll(t.filters).map((e) => t.select ? t.select(e) : e.state);
}
-function vw(e = {}, t) {
- let n = ew(t).getMutationCache(), r = B.useRef(e), i = B.useRef(null);
- return i.current === null && (i.current = _w(n, e)), B.useEffect(() => {
+function fw(e = {}, t) {
+ let n = JC(t).getMutationCache(), r = B.useRef(e), i = B.useRef(null);
+ return i.current === null && (i.current = dw(n, e)), B.useEffect(() => {
r.current = e;
}), B.useSyncExternalStore(B.useCallback((e) => n.subscribe(() => {
- let t = Le(i.current, _w(n, r.current));
+ let t = Le(i.current, dw(n, r.current));
i.current !== t && (i.current = t, Ie.schedule(e));
}), [n]), () => i.current, () => i.current);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutation.js
-function yw(e, t) {
- let n = ew(t), [r] = B.useState(() => new je(n, e));
+function pw(e, t) {
+ let n = JC(t), [r] = B.useState(() => new je(n, e));
B.useEffect(() => {
r.setOptions(e);
}, [r, e]);
@@ -28686,47 +28686,47 @@ function yw(e, t) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/mutationOptions.js
-function Iae(e) {
+function Hae(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js
-function bw(e, t) {
- return hw(e, Ae, t);
+function mw(e, t) {
+ return lw(e, Ae, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/index.js
-var xw = /* @__PURE__ */ ht({
- HydrationBoundary: () => wae,
- IsRestoringProvider: () => Tae,
- QueryClientContext: () => $C,
- QueryClientProvider: () => tw,
- QueryErrorResetBoundary: () => Eae,
- infiniteQueryOptions: () => Nae,
- mutationOptions: () => Iae,
- queryOptions: () => Mae,
- useInfiniteQuery: () => bw,
- useIsFetching: () => Pae,
- useIsMutating: () => Fae,
- useIsRestoring: () => rw,
- useMutation: () => yw,
- useMutationState: () => vw,
- usePrefetchInfiniteQuery: () => jae,
- usePrefetchQuery: () => Aae,
- useQueries: () => mw,
- useQuery: () => gw,
- useQueryClient: () => ew,
- useQueryErrorResetBoundary: () => ow,
- useSuspenseInfiniteQuery: () => Oae,
- useSuspenseQueries: () => kae,
- useSuspenseQuery: () => Dae
+var hw = /* @__PURE__ */ ht({
+ HydrationBoundary: () => Aae,
+ IsRestoringProvider: () => jae,
+ QueryClientContext: () => qC,
+ QueryClientProvider: () => YC,
+ QueryErrorResetBoundary: () => Mae,
+ infiniteQueryOptions: () => zae,
+ mutationOptions: () => Hae,
+ queryOptions: () => Rae,
+ useInfiniteQuery: () => mw,
+ useIsFetching: () => Bae,
+ useIsMutating: () => Vae,
+ useIsRestoring: () => ZC,
+ useMutation: () => pw,
+ useMutationState: () => fw,
+ usePrefetchInfiniteQuery: () => Lae,
+ usePrefetchQuery: () => Iae,
+ useQueries: () => cw,
+ useQuery: () => uw,
+ useQueryClient: () => JC,
+ useQueryErrorResetBoundary: () => ew,
+ useSuspenseInfiniteQuery: () => Pae,
+ useSuspenseQueries: () => Fae,
+ useSuspenseQuery: () => Nae
});
-import * as Lae from "/dist/peach-ui.js";
-_t(xw, Lae);
+import * as Uae from "/dist/peach-ui.js";
+_t(hw, Uae);
/* istanbul ignore file */
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function Sw({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+function gw({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
let a = (0, B.useRef)(null), o = e?.items.length ? e.html : "";
(0, B.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !o, e && i?.(!!o);
@@ -28760,49 +28760,49 @@ function Sw({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function Rae({ host: e, revision: t, helpers: n, actions: r }) {
- let i = gw(ZC(null, n.feedRowHtml)), a = (0, B.useRef)(t);
+function Wae({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = uw(GC(null, n.feedRowHtml)), a = (0, B.useRef)(t);
return (0, B.useEffect)(() => {
- a.current !== t && (a.current = t, z.invalidateQueries({ queryKey: XC(null) }));
- }, [t]), (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(Sw, {
+ a.current !== t && (a.current = t, z.invalidateQueries({ queryKey: WC(null) }));
+ }, [t]), (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(gw, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: QC,
+ act: KC,
settled: r.settled
}), e);
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var Cw = "/api/library-processing", ww = ["library-processing"], Tw = (e) => K(Cw, e);
-async function Ew(e) {
+var _w = "/api/library-processing", vw = ["library-processing"], yw = (e) => K(_w, e);
+async function bw(e) {
await z.fetchQuery({
- queryKey: ww,
- queryFn: () => Tw(e)
+ queryKey: vw,
+ queryFn: () => yw(e)
});
}
-var zae = 2e3, Bae = 1e4, Dw = "连接中断,正在重新读取处理进度";
-function Vae(e, t) {
- return e?.status === "running" ? zae : t ? Bae : !1;
+var Gae = 2e3, Kae = 1e4, xw = "连接中断,正在重新读取处理进度";
+function qae(e, t) {
+ return e?.status === "running" ? Gae : t ? Kae : !1;
}
-var Hae = {
+var Jae = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, Ow = {
+}, Sw = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function Uae(e) {
- let t = Object.entries(e).filter(([e, t]) => Ow[e] && t > 0).map(([e, t]) => `${Ow[e]} ${t} 部`);
+function Yae(e) {
+ let t = Object.entries(e).filter(([e, t]) => Sw[e] && t > 0).map(([e, t]) => `${Sw[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function kw(e) {
- let t = Hae[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+function Cw(e) {
+ let t = Jae[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 Wae(e) {
+function Xae(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -28816,21 +28816,61 @@ function Wae(e) {
log: e.issues_log || ""
} : null;
}
-var Aw = "peach.library-processing.announced", Gae = 120;
-function Kae(e, t, n) {
+var ww = "peach.library-processing.announced", Zae = 120;
+function Qae(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Gae;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Zae;
if (!(!n && !r)) {
try {
- if (e.job_id && localStorage.getItem(Aw) === e.job_id) return;
- e.job_id && localStorage.setItem(Aw, e.job_id);
+ if (e.job_id && localStorage.getItem(ww) === e.job_id) return;
+ e.job_id && localStorage.setItem(ww, e.job_id);
} catch {}
t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);
}
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+var $ae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+ viewBox: "0 0 24 24",
+ xmlns: "http://www.w3.org/2000/svg",
+ width: t,
+ height: t,
+ fill: e,
+ ...r,
+ className: "remixicon " + (n || "")
+}, B.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), eoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+ viewBox: "0 0 24 24",
+ xmlns: "http://www.w3.org/2000/svg",
+ width: t,
+ height: t,
+ fill: e,
+ ...r,
+ className: "remixicon " + (n || "")
+}, B.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), Tw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+ viewBox: "0 0 24 24",
+ xmlns: "http://www.w3.org/2000/svg",
+ width: t,
+ height: t,
+ fill: e,
+ ...r,
+ className: "remixicon " + (n || "")
+}, B.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), Ew = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+ viewBox: "0 0 24 24",
+ xmlns: "http://www.w3.org/2000/svg",
+ width: t,
+ height: t,
+ fill: e,
+ ...r,
+ className: "remixicon " + (n || "")
+}, B.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), Dw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+ viewBox: "0 0 24 24",
+ xmlns: "http://www.w3.org/2000/svg",
+ width: t,
+ height: t,
+ fill: e,
+ ...r,
+ className: "remixicon " + (n || "")
+}, B.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), toe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28838,7 +28878,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Jae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Ow = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28846,7 +28886,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), jw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), noe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28854,7 +28894,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), Mw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), kw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28862,7 +28902,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), Nw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), roe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28870,7 +28910,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Yae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), Aw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28878,7 +28918,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Pw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), jw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28886,7 +28926,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Fw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), Mw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28894,7 +28934,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Xae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Nw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28902,7 +28942,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), Iw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Pw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28910,7 +28950,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Lw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), ioe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28918,7 +28958,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Rw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), Fw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28926,7 +28966,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), zw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Iw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28934,7 +28974,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Zae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), aoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28942,7 +28982,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), Bw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), ooe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28950,7 +28990,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Vw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M13 12H16L12 16L8 12H11V8H13V12ZM15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" })), soe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28958,7 +28998,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), coe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28966,7 +29006,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), $ae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), loe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28974,7 +29014,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), eoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), uoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28982,7 +29022,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Hw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Lw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28990,7 +29030,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Uw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Rw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28998,7 +29038,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), toe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), doe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29006,7 +29046,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), noe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), foe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29014,7 +29054,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), roe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), poe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29022,7 +29062,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), ioe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), moe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29030,7 +29070,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), aoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), hoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29038,7 +29078,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), ooe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), zw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29046,7 +29086,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), Ww = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), goe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29054,7 +29094,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Gw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), Bw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29062,7 +29102,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), Kw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Vw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29070,7 +29110,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), qw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), Hw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29078,7 +29118,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), soe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), Uw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29086,7 +29126,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), coe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), _oe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29094,7 +29134,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), loe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), voe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29102,7 +29142,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), uoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), yoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29110,7 +29150,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), Jw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), boe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29118,7 +29158,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Yw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), Ww = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29126,7 +29166,7 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), doe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Gw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29134,7 +29174,23 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), foe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), xoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+ viewBox: "0 0 24 24",
+ xmlns: "http://www.w3.org/2000/svg",
+ width: t,
+ height: t,
+ fill: e,
+ ...r,
+ className: "remixicon " + (n || "")
+}, B.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), Soe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+ viewBox: "0 0 24 24",
+ xmlns: "http://www.w3.org/2000/svg",
+ width: t,
+ height: t,
+ fill: e,
+ ...r,
+ className: "remixicon " + (n || "")
+}, B.createElement("path", { d: "M17 6C16.4477 6 16 5.55228 16 5C16 4.44772 16.4477 4 17 4C17.5523 4 18 4.44772 18 5C18 5.55228 17.5523 6 17 6ZM17 8C18.6569 8 20 6.65685 20 5C20 3.34315 18.6569 2 17 2C15.3431 2 14 3.34315 14 5C14 6.65685 15.3431 8 17 8ZM7 3C4.79086 3 3 4.79086 3 7V9H5V7C5 5.89543 5.89543 5 7 5H10V3H7ZM17 21C19.2091 21 21 19.2091 21 17V15H19V17C19 18.1046 18.1046 19 17 19H14V21H17ZM8 13C8 12.4477 7.55228 12 7 12C6.44772 12 6 12.4477 6 13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13ZM10 13C10 14.6569 8.65685 16 7 16C5.34315 16 4 14.6569 4 13C4 11.3431 5.34315 10 7 10C8.65685 10 10 11.3431 10 13ZM17 11C15.8954 11 15 11.8954 15 13H13C13 10.7909 14.7909 9 17 9C19.2091 9 21 10.7909 21 13H19C19 11.8954 18.1046 11 17 11ZM5 21C5 19.8954 5.89543 19 7 19C8.10457 19 9 19.8954 9 21H11C11 18.7909 9.20914 17 7 17C4.79086 17 3 18.7909 3 21H5Z" })), Coe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29145,8 +29201,8 @@ var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
}, B.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" }));
//#endregion
//#region src/react/components/menu-dialog.tsx
-function Xw(e) {
- let t = xC("hover");
+function Kw(e) {
+ let t = hC("hover");
return /* @__PURE__ */ (0, H.jsx)(mh, {
...e,
ref: t
@@ -29154,7 +29210,7 @@ function Xw(e) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var Zw = fr({
+var qw = fr({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -29213,40 +29269,40 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, H.jsxs)("button", {
ref: c,
type: s,
- className: dr(Zw.base, Zw.size[t], Zw.variant[e], n && Zw.iconOnlySize[t], o),
+ className: dr(qw.base, qw.size[t], qw.variant[e], n && qw.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, H.jsx)(r, {
- className: Zw.icon[t],
+ className: qw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, H.jsx)("span", {
- className: Zw.label[t],
+ className: qw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, H.jsx)(i, {
- className: Zw.icon[t],
+ className: qw.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function Qw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function Jw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, H.jsxs)("a", {
ref: s,
- className: dr(Zw.base, Zw.size[t], Zw.variant[e], n && Zw.iconOnlySize[t], o),
+ className: dr(qw.base, qw.size[t], qw.variant[e], n && qw.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, H.jsx)(r, {
- className: Zw.icon[t],
+ className: qw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, H.jsx)("span", {
- className: Zw.label[t],
+ className: qw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, H.jsx)(i, {
- className: Zw.icon[t],
+ className: qw.icon[t],
"aria-hidden": !0
}) : null
]
@@ -29254,7 +29310,7 @@ function Qw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var $w = fr({
+var Yw = fr({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -29278,15 +29334,15 @@ var $w = fr({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function eT({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = dr($w.base, $w.size[t], $w.variant[e], a), l = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
+function Xw({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = dr(Yw.base, Yw.size[t], Yw.variant[e], a), l = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
n ? /* @__PURE__ */ (0, H.jsx)(n, {
- className: $w.icon[t],
+ className: Yw.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, H.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, H.jsx)(r, {
- className: $w.icon[t],
+ className: Yw.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -29313,7 +29369,7 @@ function eT({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var tT = [
+var Zw = [
"max-w-[calc(100vw-32px)] overflow-y-auto",
"rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",
"transition duration-150 ease-out",
@@ -29321,98 +29377,98 @@ var tT = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), poe = "w-[266px]", moe = "flex w-full flex-col gap-1 outline-none", nT = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), rT = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), woe = "w-[266px]", Toe = "flex w-full flex-col gap-1 outline-none", Qw = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), $w = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
({
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
}).medium;
//#endregion
//#region src/management.ts
-var hoe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", goe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", _oe = "min-w-0", voe = {
+var Eoe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", Doe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Ooe = "min-w-0", koe = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, yoe = {
+}, Aoe = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, boe = {
+}, joe = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, xoe = {
+}, Moe = {
none: "",
default: "p-5"
-}, Soe = "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", Coe = "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 iT(e = {}) {
+}, Noe = "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", Poe = "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 eT(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 [
- _oe,
- voe[t],
- yoe[s],
- xoe[n],
- a ? boe[a] : "",
- r ? Soe : "",
- i ? Coe : "",
+ Ooe,
+ koe[t],
+ Aoe[s],
+ Moe[n],
+ a ? joe[a] : "",
+ r ? Noe : "",
+ i ? Poe : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/fieldset.tsx
-var woe = iT({
+var Foe = eT({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), Toe = {
+}), Ioe = {
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"
-}, Eoe = {
+}, Loe = {
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"
-}, Doe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", Ooe = {
+}, Roe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", zoe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, koe = iT({
+}, Boe = eT({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), aT = "border-t border-border-button-default p-4 first:border-t-0";
-function oT({ tone: e = "neutral", status: t, children: n }) {
+}), tT = "border-t border-border-button-default p-4 first:border-t-0";
+function nT({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: `${Doe} ${Ooe[e]}`,
+ className: `${Roe} ${zoe[e]}`,
children: [t ? /* @__PURE__ */ (0, H.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 sT({ id: e, children: t }) {
+function rT({ id: e, children: t }) {
return /* @__PURE__ */ (0, H.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function cT({ id: e, gap: t = "none", children: n }) {
+function iT({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, H.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function lT({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function aT({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, H.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${woe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${Foe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, H.jsx)("div", {
- className: Toe[e],
+ className: Ioe[e],
children: a
}), i ? /* @__PURE__ */ (0, H.jsx)("footer", {
- className: Eoe[e],
+ className: Loe[e],
children: i
}) : null]
});
@@ -29463,7 +29519,7 @@ function Y({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function uT() {
+function oT() {
let e = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
t(e.current);
@@ -29471,7 +29527,7 @@ function uT() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var dT = fr({
+var sT = fr({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -29492,21 +29548,21 @@ var dT = fr({
small: "size-4 shrink-0"
}
});
-function fT({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function cT({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, H.jsx)("button", {
ref: i,
type: r,
- className: dr(dT.base, dT.size[t], n),
+ className: dr(sT.base, sT.size[t], n),
...a,
children: /* @__PURE__ */ (0, H.jsx)(e, {
- className: dT.icon[t],
+ className: sT.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/settings/use-action.ts
-function pT(e = "") {
+function lT(e = "") {
let t = (0, B.useRef)(null), [n, r] = (0, B.useState)(""), [i, a] = (0, B.useState)(e);
(0, B.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -29538,7 +29594,7 @@ function X(e) {
}
//#endregion
//#region src/react/components/path-line.tsx
-function Aoe({ className: e }) {
+function Voe({ className: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -29551,8 +29607,8 @@ function Aoe({ className: e }) {
children: /* @__PURE__ */ (0, H.jsx)("use", { href: "#i-folder-open" })
});
}
-var joe = "打开文件管理器失败,请重试";
-function mT({ path: e, prefix: t, className: n, onRevealed: r }) {
+var Hoe = "打开文件管理器失败,请重试";
+function uT({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, B.useState)(!1), [o, s] = (0, B.useState)(""), c = (0, B.useRef)(!0);
(0, B.useEffect)(() => () => {
c.current = !1;
@@ -29563,7 +29619,7 @@ function mT({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof RC ? e.message : joe);
+ c.current && s(e instanceof MC ? e.message : Hoe);
} finally {
c.current && a(!1);
}
@@ -29576,8 +29632,8 @@ function mT({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, H.jsxs)("p", {
className: dr("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, H.jsx)(fT, {
- icon: Aoe,
+ }), /* @__PURE__ */ (0, H.jsx)(cT, {
+ icon: Voe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -29592,7 +29648,7 @@ function mT({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function hT({ label: e, inline: t = !1 }) {
+function dT({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, H.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -29614,21 +29670,21 @@ function hT({ label: e, inline: t = !1 }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var gT = 100, Moe = .4;
-function _T({ 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 * gT;
+var fT = 100, Uoe = .4;
+function pT({ 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 * fT;
return /* @__PURE__ */ (0, H.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${gT} 1`,
+ viewBox: `0 0 ${fT} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, H.jsx)("rect", {
- width: gT,
+ width: fT,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -29639,7 +29695,7 @@ function _T({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, H.jsx)("rect", {
x: a(e),
- width: Moe,
+ width: Uoe,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -29648,39 +29704,39 @@ function _T({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function vT({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function mT({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : iT({
+ className: r ? "flex flex-col gap-1.5" : eT({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(_T, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(pT, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, H.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, H.jsx)(hT, { label: e })
+ })] }) : /* @__PURE__ */ (0, H.jsx)(dT, { label: e })
});
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function yT({ className: e, children: t }) {
+function hT({ className: e, children: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
className: dr("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function bT({ className: e, children: t }) {
+function gT({ className: e, children: t }) {
return /* @__PURE__ */ (0, H.jsx)("p", {
className: dr("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function xT({ label: e, description: t, children: n }) {
+function _T({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: dr("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, H.jsxs)("div", {
@@ -29697,14 +29753,14 @@ function xT({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/settings/section.tsx
-function ST({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function vT({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [n ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, H.jsx)(bT, { children: e })
+ children: /* @__PURE__ */ (0, H.jsx)(gT, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, H.jsx)(bT, { children: e }), /* @__PURE__ */ (0, H.jsx)(yT, { children: i })] });
+ }) : /* @__PURE__ */ (0, H.jsx)(gT, { children: e }), /* @__PURE__ */ (0, H.jsx)(hT, { children: i })] });
return r ? /* @__PURE__ */ (0, H.jsx)("form", {
id: t,
"aria-label": e,
@@ -29719,13 +29775,13 @@ function ST({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function CT({ children: e }) {
+function yT({ children: e }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function wT({ divided: e = !1, children: t }) {
+function bT({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -29734,7 +29790,7 @@ function wT({ divided: e = !1, children: t }) {
children: t
});
}
-function TT({ status: e, children: t }) {
+function xT({ status: e, children: t }) {
return /* @__PURE__ */ (0, H.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, H.jsx)("div", {
@@ -29743,34 +29799,34 @@ function TT({ status: e, children: t }) {
}) : null, t]
});
}
-function ET({ role: e, children: t }) {
+function ST({ role: e, children: t }) {
return /* @__PURE__ */ (0, H.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function DT({ children: e }) {
+function CT({ children: e }) {
return /* @__PURE__ */ (0, H.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function OT({ children: e }) {
+function wT({ children: e }) {
return /* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function kT({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, H.jsx)(eT, {
+function TT({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, H.jsx)(Xw, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: Bw,
+ trailingIcon: Fw,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, H.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -29778,13 +29834,13 @@ function kT({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function AT({ children: e }) {
+function ET({ children: e }) {
return /* @__PURE__ */ (0, H.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function jT({ term: e, children: t }) {
+function DT({ term: e, children: t }) {
return /* @__PURE__ */ (0, H.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, H.jsx)("dt", {
@@ -29796,7 +29852,7 @@ function jT({ term: e, children: t }) {
})]
});
}
-function MT({ summary: e, defaultOpen: t = !1, children: n }) {
+function OT({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, B.useId)(), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(!1), [s, c] = (0, B.useState)(t);
return /* @__PURE__ */ (0, H.jsxs)("details", {
ref: (e) => {
@@ -29809,7 +29865,7 @@ function MT({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (S(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, H.jsx)(Nw, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Dw, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -29824,7 +29880,7 @@ function MT({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function Noe({ name: e }) {
+function Woe({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -29833,29 +29889,29 @@ function Noe({ name: e }) {
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-function NT({ mark: e }) {
+function kT({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, H.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, H.jsx)(Noe, { name: e });
+ }) : /* @__PURE__ */ (0, H.jsx)(Woe, { name: e });
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function PT({ toast: e, mode: t, monitor: n }) {
- let r = t === "notice" || !!n, i = gw({
- queryKey: ww,
- queryFn: ({ signal: e }) => Tw(e),
- refetchInterval: (e) => Vae(e.state.data, r)
+function AT({ toast: e, mode: t, monitor: n }) {
+ let r = t === "notice" || !!n, i = uw({
+ queryKey: vw,
+ queryFn: ({ signal: e }) => yw(e),
+ refetchInterval: (e) => qae(e.state.data, r)
}), [a, o] = (0, B.useState)(null), s = (0, B.useRef)(void 0), c = i.data;
return (0, B.useEffect)(() => {
if (!c) return;
let n = s.current;
s.current = c.status;
let r = n === "running" && c.status !== "running";
- r && o(c), (r || t === "notice") && Kae(c, e, r);
+ r && o(c), (r || t === "notice") && Qae(c, e, r);
}, [
c,
t,
@@ -29868,29 +29924,29 @@ function PT({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var Poe = [
+var Goe = [
{
label: "扫描并补全资料",
- icon: Rw,
+ icon: Nw,
command: {}
},
{
label: "只扫描",
- icon: Hw,
+ icon: Lw,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: eoe,
+ icon: uoe,
command: { stage: "collect" }
}
-], Foe = dr(nT, rT, "text-body-2-medium"), Ioe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Loe = (e) => {
+], Koe = dr(Qw, $w, "text-body-2-medium"), qoe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Joe = (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(",")}。`;
-}, Roe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Loe(e);
-function zoe({ busy: e, onRun: t }) {
+}, Yoe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Joe(e);
+function Xoe({ busy: e, onRun: t }) {
let n = (0, B.useRef)(null), [r, i] = (0, B.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -29899,14 +29955,14 @@ function zoe({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
- leadingIcon: Rw,
+ leadingIcon: Nw,
onClick: () => a({}),
...X(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, H.jsx)(J, {
ref: n,
iconOnly: !0,
- leadingIcon: jw,
+ leadingIcon: Tw,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -29921,13 +29977,13 @@ function zoe({ busy: e, onRun: t }) {
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: tT,
- children: /* @__PURE__ */ (0, H.jsx)(Xw, {
+ className: Zw,
+ children: /* @__PURE__ */ (0, H.jsx)(Kw, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: Poe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, H.jsxs)("button", {
+ children: Goe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
- className: Foe,
+ className: Koe,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, H.jsx)(t, {
"aria-hidden": !0,
@@ -29937,8 +29993,8 @@ function zoe({ busy: e, onRun: t }) {
})
})] });
}
-function Boe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = Wae(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Uae(e.notes || {}), c = uT();
+function Zoe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = Xae(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Yae(e.notes || {}), c = oT();
return /* @__PURE__ */ (0, H.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -29946,7 +30002,7 @@ function Boe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "warning",
title: "处理较慢",
- children: Ioe
+ children: qoe
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
@@ -29958,7 +30014,7 @@ function Boe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, H.jsxs)(MT, {
+ children: /* @__PURE__ */ (0, H.jsxs)(OT, {
summary: a.label,
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "relative",
@@ -29989,7 +30045,7 @@ function Boe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, H.jsx)(mT, {
+ children: /* @__PURE__ */ (0, H.jsx)(uT, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -30003,13 +30059,13 @@ function Boe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "success",
title: "处理完成",
- children: Roe(n)
+ children: Yoe(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, H.jsx)(mT, {
+ children: /* @__PURE__ */ (0, H.jsx)(uT, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -30021,38 +30077,38 @@ function Boe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function FT(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = PT(e), o = yw({
- mutationFn: (e) => q(Cw, e),
+function jT(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = AT(e), o = pw({
+ mutationFn: (e) => q(_w, e),
onSuccess: (e) => {
- a(), z.setQueryData(ww, e), z.invalidateQueries({ queryKey: ww });
+ a(), z.setQueryData(vw, e), z.invalidateQueries({ queryKey: vw });
}
});
(0, B.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? G(o.error) : r.isError ? r.data ? Dw : G(r.error) : "", l = o.isPending || s.status === "running", u = kw(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? G(o.error) : r.isError ? r.data ? xw : G(r.error) : "", l = o.isPending || s.status === "running", u = Cw(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, H.jsx)(lT, {
+ children: [/* @__PURE__ */ (0, H.jsx)(aT, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(eT, {
+ /* @__PURE__ */ (0, H.jsx)(Xw, {
href: "/scraping",
size: "small",
- trailingIcon: Mw,
+ trailingIcon: Ew,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, H.jsx)(eT, {
+ s.candidates ? /* @__PURE__ */ (0, H.jsx)(Xw, {
href: "/review",
size: "small",
- trailingIcon: Mw,
+ trailingIcon: Ew,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, H.jsx)(zoe, {
+ /* @__PURE__ */ (0, H.jsx)(Xoe, {
busy: l,
onRun: d
})
@@ -30060,12 +30116,12 @@ function FT(e) {
children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(cT, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, H.jsx)(iT, { children: "扫描与采集" }),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: hoe
+ children: Eoe
}),
- s.status === "running" ? /* @__PURE__ */ (0, H.jsx)(vT, {
+ s.status === "running" ? /* @__PURE__ */ (0, H.jsx)(mT, {
embedded: !0,
label: u,
value: s.checked,
@@ -30073,7 +30129,7 @@ function FT(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, H.jsx)(Boe, {
+ }), /* @__PURE__ */ (0, H.jsx)(Zoe, {
state: s,
problem: c,
settled: i,
@@ -30089,12 +30145,12 @@ function FT(e) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var IT = "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", Voe = {
- gray: `${IT} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${IT} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${IT} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var MT = "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", Qoe = {
+ gray: `${MT} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${MT} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${MT} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function Hoe({ value: e, max: t }) {
+function $oe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, H.jsxs)("svg", {
role: "progressbar",
@@ -30122,16 +30178,16 @@ function Hoe({ value: e, max: t }) {
})]
});
}
-function Uoe(e) {
- let { job: t } = PT(e), n = t.data, r = t.isError ? n ? Dw : G(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function ese(e) {
+ let { job: t } = AT(e), n = t.data, r = t.isError ? n ? xw : G(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 ? "扫描与资料采集未完成" : kw(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? roe : Zae;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : Cw(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? poe : ioe;
return /* @__PURE__ */ (0, H.jsxs)("aside", {
role: a ? "alert" : "status",
- className: Voe[s],
+ className: Qoe[s],
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, H.jsx)(Hoe, {
+ children: [o && l ? /* @__PURE__ */ (0, H.jsx)($oe, {
value: c,
max: l
}) : /* @__PURE__ */ (0, H.jsx)(d, {
@@ -30141,60 +30197,60 @@ function Uoe(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, H.jsx)(eT, {
+ }), /* @__PURE__ */ (0, H.jsx)(Xw, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: Mw,
+ trailingIcon: Ew,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs
-var LT = (0, B.createContext)({});
+var NT = (0, B.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-constant.mjs
-function RT(e) {
+function PT(e) {
let t = (0, B.useRef)(null);
return t.current === null && (t.current = e()), t.current;
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
-var zT = typeof window < "u" ? B.useLayoutEffect : B.useEffect, BT = /* @__PURE__ */ (0, B.createContext)(null), VT = (0, B.createContext)({
+var FT = typeof window < "u" ? B.useLayoutEffect : B.useEffect, IT = /* @__PURE__ */ (0, B.createContext)(null), LT = (0, B.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function HT(e, t) {
+function RT(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function Woe(...e) {
+function tse(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = HT(e, t);
+ let r = RT(e, t);
return !n && typeof r == "function" && (n = !0), r;
});
if (n) return () => {
for (let t = 0; t < r.length; t++) {
let n = r[t];
- typeof n == "function" ? n() : HT(e[t], null);
+ typeof n == "function" ? n() : RT(e[t], null);
}
};
};
}
-function Goe(...e) {
- return B.useCallback(Woe(...e), e);
+function nse(...e) {
+ return B.useCallback(tse(...e), e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var Koe = class extends B.Component {
+var rse = class extends B.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.childRef.current;
- if (Kb(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
- let e = t.offsetParent, n = Kb(e) && e.offsetWidth || 0, r = Kb(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
+ if (Wb(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
+ let e = t.offsetParent, n = Wb(e) && e.offsetWidth || 0, r = Wb(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction;
}
return null;
@@ -30204,7 +30260,7 @@ var Koe = class extends B.Component {
return this.props.children;
}
};
-function qoe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
+function ise({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
let o = (0, B.useId)(), s = (0, B.useRef)(null), c = (0, B.useRef)({
width: 0,
height: 0,
@@ -30213,7 +30269,7 @@ function qoe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: l } = (0, B.useContext)(VT), u = Goe(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
+ }), { nonce: l } = (0, B.useContext)(LT), u = nse(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
return (0, B.useInsertionEffect)(() => {
let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;
if (t || a === !1 || !s.current || !e || !u) return;
@@ -30233,7 +30289,7 @@ function qoe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
`), () => {
s.current?.removeAttribute("data-motion-pop-id"), b.contains(y) && b.removeChild(y);
};
- }, [t]), (0, H.jsx)(Koe, {
+ }, [t]), (0, H.jsx)(rse, {
isPresent: t,
childRef: s,
sizeRef: c,
@@ -30243,9 +30299,9 @@ function qoe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var Joe = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = RT(Yoe), d = (0, B.useId)(), f = (0, B.useRef)(n), p = (0, B.useRef)(r);
- zT(() => {
+var ase = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = PT(ose), d = (0, B.useId)(), f = (0, B.useRef)(n), p = (0, B.useRef)(r);
+ FT(() => {
f.current = n, p.current = r;
});
let m = !0, h = (0, B.useMemo)(() => (m = !1, {
@@ -30270,25 +30326,25 @@ var Joe = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
u.forEach((e, t) => u.set(t, !1));
}, [n]), B.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, H.jsx)(qoe, {
+ }, [n]), e = (0, H.jsx)(ise, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
anchorY: c,
root: l,
children: e
- }), (0, H.jsx)(BT.Provider, {
+ }), (0, H.jsx)(IT.Provider, {
value: h,
children: e
});
};
-function Yoe() {
+function ose() {
return /* @__PURE__ */ new Map();
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function UT(e = !0) {
- let t = (0, B.useContext)(BT);
+function zT(e = !0) {
+ let t = (0, B.useContext)(IT);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, B.useId)();
(0, B.useEffect)(() => {
@@ -30301,16 +30357,16 @@ function UT(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function Xoe() {
- return Zoe((0, B.useContext)(BT));
+function sse() {
+ return cse((0, B.useContext)(IT));
}
-function Zoe(e) {
+function cse(e) {
return e === null || e.isPresent;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var WT = (e) => e.key || "";
-function GT(e) {
+var BT = (e) => e.key || "";
+function VT(e) {
let t = [];
return B.Children.forEach(e, (e) => {
(0, B.isValidElement)(e) && t.push(e);
@@ -30318,12 +30374,12 @@ function GT(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var Qoe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
- let [u, d] = UT(o), f = (0, B.useMemo)(() => GT(e), [e]), p = o && !u ? [] : f.map(WT), m = (0, B.useRef)(!0), h = (0, B.useRef)(f), g = RT(() => /* @__PURE__ */ new Map()), _ = (0, B.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, B.useState)(f), [b, x] = (0, B.useState)(f);
- zT(() => {
+var lse = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
+ let [u, d] = zT(o), f = (0, B.useMemo)(() => VT(e), [e]), p = o && !u ? [] : f.map(BT), m = (0, B.useRef)(!0), h = (0, B.useRef)(f), g = PT(() => /* @__PURE__ */ new Map()), _ = (0, B.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, B.useState)(f), [b, x] = (0, B.useState)(f);
+ FT(() => {
m.current = !1, h.current = f;
for (let e = 0; e < b.length; e++) {
- let t = WT(b[e]);
+ let t = BT(b[e]);
p.includes(t) ? (g.delete(t), _.current.delete(t)) : g.get(t) !== !0 && g.set(t, !1);
}
}, [
@@ -30335,15 +30391,15 @@ var Qoe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenc
if (f !== v) {
let e = [...f];
for (let t = 0; t < b.length; t++) {
- let n = b[t], r = WT(n);
+ let n = b[t], r = BT(n);
p.includes(r) || (e.splice(t, 0, n), S.push(n));
}
- return a === "wait" && S.length && (e = S), x(GT(e)), y(f), null;
+ return a === "wait" && S.length && (e = S), x(VT(e)), y(f), null;
}
- let { forceRender: C } = (0, B.useContext)(LT);
+ let { forceRender: C } = (0, B.useContext)(NT);
return (0, H.jsx)(H.Fragment, { children: b.map((e) => {
- let v = WT(e), y = o && !u ? !1 : f === b || p.includes(v);
- return (0, H.jsx)(Joe, {
+ let v = BT(e), y = o && !u ? !1 : f === b || p.includes(v);
+ return (0, H.jsx)(ase, {
isPresent: y,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -30364,7 +30420,7 @@ var Qoe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenc
children: e
}, v);
}) });
-}, KT = (0, B.createContext)({ strict: !1 }), qT = {
+}, HT = (0, B.createContext)({ strict: !1 }), UT = {
animation: [
"animate",
"variants",
@@ -30401,98 +30457,98 @@ var Qoe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenc
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, JT = !1;
-function $oe() {
- if (JT) return;
+}, WT = !1;
+function use() {
+ if (WT) return;
let e = {};
- for (let t in qT) e[t] = { isEnabled: (e) => qT[t].some((t) => !!e[t]) };
- Ax(e), JT = !0;
+ for (let t in UT) e[t] = { isEnabled: (e) => UT[t].some((t) => !!e[t]) };
+ Ox(e), WT = !0;
}
-function YT() {
- return $oe(), $re();
+function GT() {
+ return use(), tie();
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function ese(e) {
- let t = YT();
+function dse(e) {
+ let t = GT();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- Ax(t);
+ Ox(t);
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var tse = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
-function XT(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || tse.has(e);
+var fse = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
+function KT(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || fse.has(e);
}
//#endregion
//#region __vite-optional-peer-dep:@emotion/is-prop-valid:framer-motion
-var nse = /* @__PURE__ */ ht({ default: () => ZT }), ZT, rse = pt((() => {
- throw ZT = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
-})), QT = (e) => !XT(e);
-function $T(e) {
- typeof e == "function" && (QT = (t) => t.startsWith("on") ? !XT(t) : e(t));
+var pse = /* @__PURE__ */ ht({ default: () => qT }), qT, mse = pt((() => {
+ throw qT = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
+})), JT = (e) => !KT(e);
+function YT(e) {
+ typeof e == "function" && (JT = (t) => t.startsWith("on") ? !KT(t) : e(t));
}
try {
- $T((rse(), yt(nse)).default);
+ YT((mse(), yt(pse)).default);
} catch {}
-function ise(e, t, n) {
+function hse(e, t, n) {
let r = {};
- for (let i in e) (i !== "values" || typeof e.values != "object") && (Db(e[i]) || (QT(i) || n === !0 && XT(i) || !t && !XT(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
+ for (let i in e) (i !== "values" || typeof e.values != "object") && (Tb(e[i]) || (JT(i) || n === !0 && KT(i) || !t && !KT(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
return r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function ase({ children: e, isValidProp: t, ...n }) {
- t && $T(t);
- let r = (0, B.useContext)(VT);
+function gse({ children: e, isValidProp: t, ...n }) {
+ t && YT(t);
+ let r = (0, B.useContext)(LT);
n = {
...r,
...n
- }, n.transition = vb(n.transition, r.transition), n.isStatic = RT(() => n.isStatic);
+ }, n.transition = gb(n.transition, r.transition), n.isStatic = PT(() => n.isStatic);
let i = (0, B.useMemo)(() => n, [
JSON.stringify(n.transition),
n.transformPagePoint,
n.reducedMotion,
n.skipAnimations
]);
- return (0, H.jsx)(VT.Provider, {
+ return (0, H.jsx)(LT.Provider, {
value: i,
children: e
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var eE = /* @__PURE__ */ (0, B.createContext)({});
+var XT = /* @__PURE__ */ (0, B.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function ose(e, t) {
- if (Cx(e)) {
+function _se(e, t) {
+ if (xx(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || bx(t) ? t : void 0,
- animate: bx(n) ? n : void 0
+ initial: t === !1 || vx(t) ? t : void 0,
+ animate: vx(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function sse(e) {
- let { initial: t, animate: n } = ose(e, (0, B.useContext)(eE));
+function vse(e) {
+ let { initial: t, animate: n } = _se(e, (0, B.useContext)(XT));
return (0, B.useMemo)(() => ({
initial: t,
animate: n
- }), [tE(t), tE(n)]);
+ }), [ZT(t), ZT(n)]);
}
-function tE(e) {
+function ZT(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var nE = () => ({
+var QT = () => ({
style: {},
transform: {},
transformOrigin: {},
@@ -30500,42 +30556,42 @@ var nE = () => ({
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function rE(e, t, n) {
- for (let r in t) !Db(t[r]) && !nS(r, n) && (e[r] = t[r]);
+function $T(e, t, n) {
+ for (let r in t) !Tb(t[r]) && !eS(r, n) && (e[r] = t[r]);
}
-function cse({ transformTemplate: e }, t) {
+function yse({ transformTemplate: e }, t) {
return (0, B.useMemo)(() => {
- let n = nE();
- return Xx(n, t, e), Object.assign({}, n.vars, n.style);
+ let n = QT();
+ return Jx(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function lse(e, t) {
+function bse(e, t) {
let n = e.style || {}, r = {};
- return rE(r, n, e), Object.assign(r, cse(e, t)), r;
+ return $T(r, n, e), Object.assign(r, yse(e, t)), r;
}
-function use(e, t) {
- let n = {}, r = lse(e, t);
+function xse(e, t) {
+ let n = {}, r = bse(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var iE = () => ({
- ...nE(),
+var eE = () => ({
+ ...QT(),
attrs: {}
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function dse(e, t, n, r) {
+function Sse(e, t, n, r) {
let i = (0, B.useMemo)(() => {
- let n = iE();
- return uS(n, t, fS(r), e.transformTemplate, e.style), {
+ let n = eE();
+ return cS(n, t, uS(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- rE(t, e.style, e), i.style = {
+ $T(t, e.style, e), i.style = {
...t,
...i.style
};
@@ -30544,7 +30600,7 @@ function dse(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var fse = [
+var Cse = [
"animate",
"circle",
"defs",
@@ -30573,17 +30629,17 @@ var fse = [
];
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function aE(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(fse.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function tE(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(Cse.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function pse(e, t, n, { latestValues: r }, i, a = !1, o) {
- let s = (o ?? aE(e) ? dse : use)(t, r, i, e), c = ise(t, typeof e == "string", a), l = e === B.Fragment ? {} : {
+function wse(e, t, n, { latestValues: r }, i, a = !1, o) {
+ let s = (o ?? tE(e) ? Sse : xse)(t, r, i, e), c = hse(t, typeof e == "string", a), l = e === B.Fragment ? {} : {
...c,
...s,
ref: n
- }, { children: u } = t, d = (0, B.useMemo)(() => Db(u) ? u.get() : u, [u]);
+ }, { children: u } = t, d = (0, B.useMemo)(() => Tb(u) ? u.get() : u, [u]);
return (0, B.createElement)(e, {
...l,
children: d
@@ -30591,24 +30647,24 @@ function pse(e, t, n, { latestValues: r }, i, a = !1, o) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function mse({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function Tse({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: hse(n, r, i, e),
+ latestValues: Ese(n, r, i, e),
renderState: t()
};
}
-function hse(e, t, n, r) {
+function Ese(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = nC(a[e]);
- let { initial: o, animate: s } = e, c = Cx(e), l = wx(e);
+ for (let e in a) i[e] = XS(a[e]);
+ let { initial: o, animate: s } = e, c = xx(e), l = Sx(e);
t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
let u = n ? n.initial === !1 : !1;
u ||= o === !1;
let d = u ? s : o;
- if (d && typeof d != "boolean" && !yx(d)) {
+ if (d && typeof d != "boolean" && !_x(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = Cb(e, t[n]);
+ let r = xb(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -30625,19 +30681,19 @@ function hse(e, t, n, r) {
}
return i;
}
-var oE = (e) => (t, n) => {
- let r = (0, B.useContext)(eE), i = (0, B.useContext)(BT), a = () => mse(e, t, r, i);
- return n ? a() : RT(a);
-}, gse = /*@__PURE__*/ oE({
- scrapeMotionValuesFromProps: rS,
- createRenderState: nE
-}), _se = /*@__PURE__*/ oE({
- scrapeMotionValuesFromProps: mS,
- createRenderState: iE
-}), vse = Symbol.for("motionComponentSymbol");
+var nE = (e) => (t, n) => {
+ let r = (0, B.useContext)(XT), i = (0, B.useContext)(IT), a = () => Tse(e, t, r, i);
+ return n ? a() : PT(a);
+}, Dse = /*@__PURE__*/ nE({
+ scrapeMotionValuesFromProps: tS,
+ createRenderState: QT
+}), Ose = /*@__PURE__*/ nE({
+ scrapeMotionValuesFromProps: fS,
+ createRenderState: eE
+}), kse = Symbol.for("motionComponentSymbol");
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function yse(e, t, n) {
+function Ase(e, t, n) {
let r = (0, B.useRef)(n);
(0, B.useInsertionEffect)(() => {
r.current = n;
@@ -30656,16 +30712,16 @@ function yse(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var sE = (0, B.createContext)({});
+var rE = (0, B.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
-function cE(e) {
+function iE(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function bse(e, t, n, r, i, a) {
- let { visualElement: o } = (0, B.useContext)(eE), s = (0, B.useContext)(KT), c = (0, B.useContext)(BT), l = (0, B.useContext)(VT), u = l.reducedMotion, d = l.skipAnimations, f = (0, B.useRef)(null), p = (0, B.useRef)(!1);
+function jse(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, B.useContext)(XT), s = (0, B.useContext)(HT), c = (0, B.useContext)(IT), l = (0, B.useContext)(LT), u = l.reducedMotion, d = l.skipAnimations, f = (0, B.useRef)(null), p = (0, B.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -30676,14 +30732,14 @@ function bse(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, B.useContext)(sE);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && xse(f.current, n, i, h);
+ let m = f.current, h = (0, B.useContext)(rE);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Mse(f.current, n, i, h);
let g = (0, B.useRef)(!1);
(0, B.useInsertionEffect)(() => {
m && g.current && m.update(n, c);
});
- let _ = n[Ab], v = (0, B.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
- return zT(() => {
+ let _ = n[Ob], v = (0, B.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
+ return FT(() => {
p.current = !0, m && (g.current = !0, window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), v.current && m.animationState && m.animationState.animateChanges());
}), (0, B.useEffect)(() => {
m && (!v.current && m.animationState && m.animationState.animateChanges(), v.current &&= (queueMicrotask(() => {
@@ -30691,12 +30747,12 @@ function bse(e, t, n, r, i, a) {
}), !1), m.enteringChildren = void 0);
}), m;
}
-function xse(e, t, n, r) {
+function Mse(e, t, n, r) {
let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : lE(e.parent)), e.projection.setOptions({
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : aE(e.parent)), e.projection.setOptions({
layoutId: i,
layout: a,
- alwaysMeasureLayout: !!o || s && cE(s),
+ alwaysMeasureLayout: !!o || s && iE(s),
visualElement: e,
animationType: typeof a == "string" ? a : "both",
initialPromotionConfig: r,
@@ -30706,46 +30762,46 @@ function xse(e, t, n, r) {
layoutAnchor: u
});
}
-function lE(e) {
- if (e) return e.options.allowProjection === !1 ? lE(e.parent) : e.projection;
+function aE(e) {
+ if (e) return e.options.allowProjection === !1 ? aE(e.parent) : e.projection;
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/index.mjs
-function uE(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && ese(r);
- let a = n ? n === "svg" : aE(e), o = a ? _se : gse;
+function oE(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && dse(r);
+ let a = n ? n === "svg" : tE(e), o = a ? Ose : Dse;
function s(n, s) {
let c, l = {
- ...(0, B.useContext)(VT),
+ ...(0, B.useContext)(LT),
...n,
- layoutId: Sse(n)
- }, { isStatic: u } = l, d = sse(n), f = o(n, u);
+ layoutId: Nse(n)
+ }, { isStatic: u } = l, d = vse(n), f = o(n, u);
if (!u && typeof window < "u") {
- Cse(l, r);
- let t = wse(l);
- c = t.MeasureLayout, d.visualElement = bse(e, f, l, i, t.ProjectionNode, a);
+ Pse(l, r);
+ let t = Fse(l);
+ c = t.MeasureLayout, d.visualElement = jse(e, f, l, i, t.ProjectionNode, a);
}
- return (0, H.jsxs)(eE.Provider, {
+ return (0, H.jsxs)(XT.Provider, {
value: d,
children: [c && d.visualElement ? (0, H.jsx)(c, {
visualElement: d.visualElement,
...l
- }) : null, pse(e, n, yse(f, d.visualElement, s), f, u, t, a)]
+ }) : null, wse(e, n, Ase(f, d.visualElement, s), f, u, t, a)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, B.forwardRef)(s);
- return c[vse] = e, c;
+ return c[kse] = e, c;
}
-function Sse({ layoutId: e }) {
- let t = (0, B.useContext)(LT).id;
+function Nse({ layoutId: e }) {
+ let t = (0, B.useContext)(NT).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function Cse(e, t) {
- (0, B.useContext)(KT).strict;
+function Pse(e, t) {
+ (0, B.useContext)(HT).strict;
}
-function wse(e) {
- let { drag: t, layout: n } = YT();
+function Fse(e) {
+ let { drag: t, layout: n } = GT();
if (!t && !n) return {};
let r = {
...t,
@@ -30758,20 +30814,20 @@ function wse(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function Tse(e, t) {
- if (typeof Proxy > "u") return uE;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => uE(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, uE(a, void 0, e, t)), n.get(a)) });
+function Ise(e, t) {
+ if (typeof Proxy > "u") return oE;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => oE(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, oE(a, void 0, e, t)), n.get(a)) });
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var Ese = (e, t) => t.isSVG ?? aE(e) ? new hS(t) : new aS(t, { allowProjection: e !== B.Fragment }), Dse = class extends Mx {
+var Lse = (e, t) => t.isSVG ?? tE(e) ? new pS(t) : new rS(t, { allowProjection: e !== B.Fragment }), Rse = class extends Ax {
constructor(e) {
- super(e), e.animationState ||= SS(e);
+ super(e), e.animationState ||= bS(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- yx(e) && (this.unmountControls = e.subscribe(this.node));
+ _x(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -30783,11 +30839,11 @@ var Ese = (e, t) => t.isSVG ?? aE(e) ? new hS(t) : new aS(t, { allowProjection:
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, Ose = 0, kse = {
- animation: { Feature: Dse },
- exit: { Feature: class extends Mx {
+}, zse = 0, Bse = {
+ animation: { Feature: Rse },
+ exit: { Feature: class extends Ax {
constructor() {
- super(...arguments), this.id = Ose++, this.isExitComplete = !1;
+ super(...arguments), this.id = zse++, this.isExitComplete = !1;
}
update() {
if (!this.node.presenceContext) return;
@@ -30797,7 +30853,7 @@ var Ese = (e, t) => t.isSVG ?? aE(e) ? new hS(t) : new aS(t, { allowProjection:
if (this.isExitComplete) {
let { initial: e, custom: t } = this.node.getProps();
if (typeof e == "string" || typeof e == "object" && e && !Array.isArray(e)) {
- let n = wb(this.node, e, t);
+ let n = Sb(this.node, e, t);
if (n) {
let { transition: e, transitionEnd: t, ...r } = n;
for (let e in r) this.node.getValue(e)?.jump(r[e]);
@@ -30822,21 +30878,21 @@ var Ese = (e, t) => t.isSVG ?? aE(e) ? new hS(t) : new aS(t, { allowProjection:
};
//#endregion
//#region node_modules/framer-motion/dist/es/events/event-info.mjs
-function dE(e) {
+function sE(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var Ase = (e) => (t) => Qb(t) && e(t, dE(t));
+var Vse = (e) => (t) => Xb(t) && e(t, sE(t));
//#endregion
//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
-function fE(e, t, n, r) {
- return tC(e, t, Ase(n), r);
+function cE(e, t, n, r) {
+ return YS(e, t, Vse(n), r);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
-var pE = ({ current: e }) => e ? e.ownerDocument.defaultView : null, mE = /*#__PURE__*/ new Set(["auto", "scroll"]), hE = class {
+var lE = ({ current: e }) => e ? e.ownerDocument.defaultView : null, uE = /*#__PURE__*/ new Set(["auto", "scroll"]), dE = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -30844,8 +30900,8 @@ var pE = ({ current: e }) => e ? e.ownerDocument.defaultView : null, mE = /*#__P
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.lastRawMoveEventInfo && (this.lastMoveEventInfo = gE(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = vE(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Gie(e.offset, {
+ this.lastRawMoveEventInfo && (this.lastMoveEventInfo = fE(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = mE(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Zie(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
@@ -30858,33 +30914,33 @@ var pE = ({ current: e }) => e ? e.ownerDocument.defaultView : null, mE = /*#__P
let { onStart: a, onMove: o } = this.handlers;
t || (a && a(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), o && o(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = gE(t, this.transformPagePoint), vv.update(this.updatePoint, !0);
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = fE(t, this.transformPagePoint), vv.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = vE(e.type === "pointercancel" ? this.lastMoveEventInfo : gE(t, this.transformPagePoint), this.history);
+ let a = mE(e.type === "pointercancel" ? this.lastMoveEventInfo : fE(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
- }, !Qb(e)) return;
+ }, !Xb(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = gE(dE(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = bv;
+ let s = fE(sE(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = bv;
this.history = [{
...c,
timestamp: l
}];
let { onSessionStart: u } = t;
- u && u(e, vE(s, this.history));
+ u && u(e, mE(s, this.history));
let d = {
passive: !0,
capture: !0
};
- this.removeListeners = Y_(fE(this.contextWindow, "pointermove", this.handlePointerMove, d), fE(this.contextWindow, "pointerup", this.handlePointerUp, d), fE(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = Y_(cE(this.contextWindow, "pointermove", this.handlePointerMove, d), cE(this.contextWindow, "pointerup", this.handlePointerUp, d), cE(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (mE.has(e.overflowX) || mE.has(e.overflowY)) && this.scrollPositions.set(t, {
+ (uE.has(e.overflowX) || uE.has(e.overflowY)) && this.scrollPositions.set(t, {
x: t.scrollLeft,
y: t.scrollTop
}), t = t.parentElement;
@@ -30918,35 +30974,35 @@ var pE = ({ current: e }) => e ? e.ownerDocument.defaultView : null, mE = /*#__P
this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), yv(this.updatePoint);
}
};
-function gE(e, t) {
+function fE(e, t) {
return t ? { point: t(e.point) } : e;
}
-function _E(e, t) {
+function pE(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function vE({ point: e }, t) {
+function mE({ point: e }, t) {
return {
point: e,
- delta: _E(e, yE(t)),
- offset: _E(e, jse(t)),
- velocity: Mse(t, .1)
+ delta: pE(e, hE(t)),
+ offset: pE(e, Hse(t)),
+ velocity: Use(t, .1)
};
}
-function jse(e) {
+function Hse(e) {
return e[0];
}
-function yE(e) {
+function hE(e) {
return e[e.length - 1];
}
-function Mse(e, t) {
+function Use(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = yE(e);
+ let n = e.length - 1, r = null, i = hE(e);
for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Q_(t)));) n--;
if (!r) return {
x: 0,
@@ -30966,86 +31022,86 @@ function Mse(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
-function Nse(e, { min: t, max: n }, r) {
- return t !== void 0 && e < t ? e = r ? $v(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? $v(n, e, r.max) : Math.min(e, n)), e;
+function Wse(e, { min: t, max: n }, r) {
+ return t !== void 0 && e < t ? e = r ? ey(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? ey(n, e, r.max) : Math.min(e, n)), e;
}
-function bE(e, t, n) {
+function gE(e, t, n) {
return {
min: t === void 0 ? void 0 : e.min + t,
max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)
};
}
-function Pse(e, { top: t, left: n, bottom: r, right: i }) {
+function Gse(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: bE(e.x, n, i),
- y: bE(e.y, t, r)
+ x: gE(e.x, n, i),
+ y: gE(e.y, t, r)
};
}
-function xE(e, t) {
+function _E(e, t) {
let n = t.min - e.min, r = t.max - e.max;
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {
min: n,
max: r
};
}
-function Fse(e, t) {
+function Kse(e, t) {
return {
- x: xE(e.x, t.x),
- y: xE(e.y, t.y)
+ x: _E(e.x, t.x),
+ y: _E(e.y, t.y)
};
}
-function Ise(e, t) {
- let n = .5, r = NS(e), i = NS(t);
+function qse(e, t) {
+ let n = .5, r = OS(e), i = OS(t);
return i > r ? n = /* @__PURE__ */ X_(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ X_(e.min, e.max - i, t.min)), H_(0, 1, n);
}
-function Lse(e, t) {
+function Jse(e, t) {
let n = {};
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
}
-var SE = .35;
-function Rse(e = SE) {
- return e === !1 ? e = 0 : e === !0 && (e = SE), {
- x: CE(e, "left", "right"),
- y: CE(e, "top", "bottom")
+var vE = .35;
+function Yse(e = vE) {
+ return e === !1 ? e = 0 : e === !0 && (e = vE), {
+ x: yE(e, "left", "right"),
+ y: yE(e, "top", "bottom")
};
}
-function CE(e, t, n) {
+function yE(e, t, n) {
return {
- min: wE(e, t),
- max: wE(e, n)
+ min: bE(e, t),
+ max: bE(e, n)
};
}
-function wE(e, t) {
+function bE(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var zse = /* @__PURE__ */ new WeakMap(), Bse = class {
+var Xse = /* @__PURE__ */ new WeakMap(), Zse = class {
constructor(e) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
y: 0
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = vx(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = gx(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
let { presenceContext: r } = this.visualElement;
if (r && r.isPresent === !1) return;
let i = (e) => {
- t && this.snapToCursor(dE(e).point), this.stopAnimation();
+ t && this.snapToCursor(sE(e).point), this.stopAnimation();
}, a = (e, t) => {
let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();
- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Ore(n), !this.openDragLock)) return;
- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), XS((e) => {
+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Are(n), !this.openDragLock)) return;
+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), WS((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
if (Bv.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = NS(r) * (parseFloat(t) / 100));
+ r && (t = OS(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
- }), i && vv.update(() => i(e, t), !1, !0), Ob(this.visualElement, "transform");
+ }), i && vv.update(() => i(e, t), !1, !0), Eb(this.visualElement, "transform");
let { animationState: a } = this.visualElement;
a && a.setActive("whileDrag", !0);
}, o = (e, t) => {
@@ -31054,7 +31110,7 @@ var zse = /* @__PURE__ */ new WeakMap(), Bse = class {
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- this.currentDirection = Hse(o), this.currentDirection !== null && i && i(this.currentDirection);
+ this.currentDirection = $se(o), this.currentDirection !== null && i && i(this.currentDirection);
return;
}
this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && vv.update(() => a(e, t), !1, !0);
@@ -31067,7 +31123,7 @@ var zse = /* @__PURE__ */ new WeakMap(), Bse = class {
y: 0
});
}, { dragSnapToOrigin: l } = this.getProps();
- this.panSession = new hE(e, {
+ this.panSession = new dE(e, {
onSessionStart: i,
onStart: a,
onMove: o,
@@ -31077,7 +31133,7 @@ var zse = /* @__PURE__ */ new WeakMap(), Bse = class {
transformPagePoint: this.visualElement.getTransformPagePoint(),
dragSnapToOrigin: l,
distanceThreshold: n,
- contextWindow: pE(this.visualElement),
+ contextWindow: lE(this.visualElement),
element: this.visualElement.current
});
}
@@ -31101,32 +31157,32 @@ var zse = /* @__PURE__ */ new WeakMap(), Bse = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !EE(e, r, this.currentDirection)) return;
+ if (!n || !SE(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = Nse(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = Wse(a, this.constraints[e], this.elastic[e])), i.set(a);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
- e && cE(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Pse(n.layoutBox, e) : !1, this.elastic = Rse(t), r !== this.constraints && !cE(e) && n && this.constraints && !this.hasMutatedConstraints && XS((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Lse(n.layoutBox[e], this.constraints[e]));
+ e && iE(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Gse(n.layoutBox, e) : !1, this.elastic = Yse(t), r !== this.constraints && !iE(e) && n && this.constraints && !this.hasMutatedConstraints && WS((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Jse(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!e || !cE(e)) return !1;
+ if (!e || !iE(e)) return !1;
let n = e.current, { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
r.root && (r.root.scroll = void 0, r.root.updateScroll());
- let i = iie(n, r.root, this.visualElement.getTransformPagePoint()), a = Fse(r.layout.layoutBox, i);
+ let i = oie(n, r.root, this.visualElement.getTransformPagePoint()), a = Kse(r.layout.layoutBox, i);
if (t) {
- let e = t(tie(a));
- this.hasMutatedConstraints = !!e, e && (a = Nx(e));
+ let e = t(rie(a));
+ this.hasMutatedConstraints = !!e, e && (a = jx(e));
}
return a;
}
startAnimation(e) {
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = XS((o) => {
- if (!EE(o, t, this.currentDirection)) return;
+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = WS((o) => {
+ if (!SE(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
min: 0,
@@ -31149,65 +31205,65 @@ var zse = /* @__PURE__ */ new WeakMap(), Bse = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return Ob(this.visualElement, e), n.start(bb(e, n, 0, t, this.visualElement, !1));
+ return Eb(this.visualElement, e), n.start(vb(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- XS((e) => this.getAxisMotionValue(e).stop());
+ WS((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
return this.visualElement.getProps()[t] || this.visualElement.getValue(e, this.visualElement.latestValues[e] ?? 0);
}
snapToCursor(e) {
- XS((t) => {
+ WS((t) => {
let { drag: n } = this.getProps();
- if (!EE(t, n, this.currentDirection)) return;
+ if (!SE(t, n, this.currentDirection)) return;
let { projection: r } = this.visualElement, i = this.getAxisMotionValue(t);
if (r && r.layout) {
let { min: n, max: a } = r.layout.layoutBox[t], o = i.get() || 0;
- i.set(e[t] - $v(n, a, .5) + o);
+ i.set(e[t] - ey(n, a, .5) + o);
}
});
}
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!cE(t) || !n || !this.constraints) return;
+ if (!iE(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = {
x: 0,
y: 0
};
- XS((e) => {
+ WS((e) => {
let t = this.getAxisMotionValue(e);
if (t && this.constraints !== !1) {
let n = t.get();
- r[e] = Ise({
+ r[e] = qse({
min: n,
max: n
}, this.constraints[e]);
}
});
let { transformTemplate: i } = this.visualElement.getProps();
- this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), XS((t) => {
- if (!EE(t, e, null)) return;
+ this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), WS((t) => {
+ if (!SE(t, e, null)) return;
let n = this.getAxisMotionValue(t), { min: i, max: a } = this.constraints[t];
- n.set($v(i, a, r[t]));
+ n.set(ey(i, a, r[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- zse.set(this.visualElement, this);
- let e = this.visualElement.current, t = fE(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Pre(i);
+ Xse.set(this.visualElement, this);
+ let e = this.visualElement.current, t = cE(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Ire(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- cE(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Vse(e, t.current, () => this.scalePositionWithinConstraints()));
+ iE(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Qse(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), vv.read(r);
- let o = tC(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (XS((t) => {
+ let o = YS(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (WS((t) => {
let n = this.getAxisMotionValue(t);
n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
}), this.visualElement.render());
@@ -31217,7 +31273,7 @@ var zse = /* @__PURE__ */ new WeakMap(), Bse = class {
};
}
getProps() {
- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = SE, dragMomentum: o = !0 } = e;
+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = vE, dragMomentum: o = !0 } = e;
return {
...e,
drag: t,
@@ -31229,7 +31285,7 @@ var zse = /* @__PURE__ */ new WeakMap(), Bse = class {
};
}
};
-function TE(e) {
+function xE(e) {
let t = !0;
return () => {
if (t) {
@@ -31239,24 +31295,24 @@ function TE(e) {
e();
};
}
-function Vse(e, t, n) {
- let r = dx(e, TE(n)), i = dx(t, TE(n));
+function Qse(e, t, n) {
+ let r = lx(e, xE(n)), i = lx(t, xE(n));
return () => {
r(), i();
};
}
-function EE(e, t, n) {
+function SE(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Hse(e, t = 10) {
+function $se(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs
-var Use = class extends Mx {
+var ece = class extends Ax {
constructor(e) {
- super(e), this.removeGroupControls = J_, this.removeListeners = J_, this.controls = new Bse(e);
+ super(e), this.removeGroupControls = J_, this.removeListeners = J_, this.controls = new Zse(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
@@ -31269,31 +31325,31 @@ var Use = class extends Mx {
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, DE = (e) => (t, n) => {
+}, CE = (e) => (t, n) => {
e && vv.update(() => e(t, n), !1, !0);
-}, Wse = class extends Mx {
+}, tce = class extends Ax {
constructor() {
super(...arguments), this.removePointerDownListener = J_;
}
onPointerDown(e) {
- this.session = new hE(e, this.createPanHandlers(), {
+ this.session = new dE(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
- contextWindow: pE(this.node)
+ contextWindow: lE(this.node)
});
}
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: DE(e),
- onStart: DE(t),
- onMove: DE(n),
+ onSessionStart: CE(e),
+ onStart: CE(t),
+ onMove: CE(n),
onEnd: (e, t) => {
delete this.session, r && vv.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = fE(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = cE(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -31301,36 +31357,36 @@ var Use = class extends Mx {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, OE = !1, Gse = class extends B.Component {
+}, wE = !1, nce = class extends B.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), OE && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), wE && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
layoutDependency: this.props.layoutDependency,
onExitComplete: () => this.safeToRemove()
- })), rC.hasEverUpdated = !0;
+ })), ZS.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;
return a ? (a.isPresent = i, e.layoutDependency !== t && a.setOptions({
...a.options,
layoutDependency: t
- }), OE = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || vv.postRender(() => {
+ }), wE = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || vv.postRender(() => {
let e = a.getStack();
(!e || !e.members.length) && this.safeToRemove();
})), null) : null;
}
componentDidUpdate() {
let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;
- n && (n.options.layoutAnchor = t, n.root.didUpdate(), qb.postRender(() => {
+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), Gb.postRender(() => {
!n.currentAnimation && n.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- OE = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ wE = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -31340,41 +31396,41 @@ var Use = class extends Mx {
return null;
}
};
-function kE(e) {
- let [t, n] = UT(), r = (0, B.useContext)(LT);
- return (0, H.jsx)(Gse, {
+function TE(e) {
+ let [t, n] = zT(), r = (0, B.useContext)(NT);
+ return (0, H.jsx)(nce, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, B.useContext)(sE),
+ switchLayoutGroup: (0, B.useContext)(rE),
isPresent: t,
safeToRemove: n
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var Kse = {
- pan: { Feature: Wse },
+var rce = {
+ pan: { Feature: tce },
drag: {
- Feature: Use,
- ProjectionNode: yC,
- MeasureLayout: kE
+ Feature: ece,
+ ProjectionNode: pC,
+ MeasureLayout: TE
}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/hover.mjs
-function AE(e, t, n) {
+function EE(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && vv.postRender(() => i(t, dE(t)));
+ i && vv.postRender(() => i(t, sE(t)));
}
-var qse = class extends Mx {
+var ice = class extends Ax {
mount() {
let { current: e } = this.node;
- e && (this.unmount = Are(e, (e, t) => (AE(this.node, t, "Start"), (e) => AE(this.node, e, "End"))));
+ e && (this.unmount = Mre(e, (e, t) => (EE(this.node, t, "Start"), (e) => EE(this.node, e, "End"))));
}
unmount() {}
-}, Jse = class extends Mx {
+}, ace = class extends Ax {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -31391,57 +31447,57 @@ var qse = class extends Mx {
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = Y_(tC(this.node.current, "focus", () => this.onFocus()), tC(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = Y_(YS(this.node.current, "focus", () => this.onFocus()), YS(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/press.mjs
-function jE(e, t, n) {
+function DE(e, t, n) {
let { props: r } = e;
if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
let i = r["onTap" + (n === "End" ? "" : n)];
- i && vv.postRender(() => i(t, dE(t)));
+ i && vv.postRender(() => i(t, sE(t)));
}
-var Yse = class extends Mx {
+var oce = class extends Ax {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Ire(e, (e, t) => (jE(this.node, t, "Start"), (e, { success: t }) => jE(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = Rre(e, (e, t) => (DE(this.node, t, "Start"), (e, { success: t }) => DE(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, ME = /* @__PURE__ */ new WeakMap(), NE = /* @__PURE__ */ new WeakMap(), Xse = (e) => {
- let t = ME.get(e.target);
+}, OE = /* @__PURE__ */ new WeakMap(), kE = /* @__PURE__ */ new WeakMap(), sce = (e) => {
+ let t = OE.get(e.target);
t && t(e);
-}, Zse = (e) => {
- e.forEach(Xse);
+}, cce = (e) => {
+ e.forEach(sce);
};
-function Qse({ root: e, ...t }) {
+function lce({ root: e, ...t }) {
let n = e || document;
- NE.has(n) || NE.set(n, {});
- let r = NE.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(Zse, {
+ kE.has(n) || kE.set(n, {});
+ let r = kE.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(cce, {
root: e,
...t
})), r[i];
}
-function $se(e, t, n) {
- let r = Qse(t);
- return ME.set(e, n), r.observe(e), () => {
- ME.delete(e), r.unobserve(e);
+function uce(e, t, n) {
+ let r = lce(t);
+ return OE.set(e, n), r.observe(e), () => {
+ OE.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var ece = {
+var dce = {
some: 0,
all: 1
-}, tce = class extends Mx {
+}, fce = class extends Ax {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -31450,7 +31506,7 @@ var ece = {
let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {
root: t ? t.current : void 0,
rootMargin: n,
- threshold: typeof r == "number" ? r : ece[r]
+ threshold: typeof r == "number" ? r : dce[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -31458,7 +31514,7 @@ var ece = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = $se(this.node.current, a, o);
+ this.stopObserver = uce(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -31470,34 +31526,34 @@ var ece = {
"amount",
"margin",
"root"
- ].some(nce(e, t)) && this.startObserver();
+ ].some(pce(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function nce({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function pce({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var rce = {
- inView: { Feature: tce },
- tap: { Feature: Yse },
- focus: { Feature: Jse },
- hover: { Feature: qse }
-}, ice = { layout: {
- ProjectionNode: yC,
- MeasureLayout: kE
-} }, ace = /*@__PURE__*/ Tse({
- ...kse,
+var mce = {
+ inView: { Feature: fce },
+ tap: { Feature: oce },
+ focus: { Feature: ace },
+ hover: { Feature: ice }
+}, hce = { layout: {
+ ProjectionNode: pC,
+ MeasureLayout: TE
+} }, gce = /*@__PURE__*/ Ise({
+ ...Bse,
+ ...mce,
...rce,
- ...Kse,
- ...ice
-}, Ese);
+ ...hce
+}, Lse);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs
-function PE(e, t, n) {
+function AE(e, t, n) {
(0, B.useInsertionEffect)(() => e.on(t, n), [
e,
t,
@@ -31506,8 +31562,8 @@ function PE(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
-function FE(e) {
- let t = RT(() => _b(e)), { isStatic: n } = (0, B.useContext)(VT);
+function jE(e) {
+ let t = PT(() => hb(e)), { isStatic: n } = (0, B.useContext)(LT);
if (n) {
let [, n] = (0, B.useState)(e);
(0, B.useEffect)(() => t.on("change", n), []);
@@ -31516,9 +31572,9 @@ function FE(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-combine-values.mjs
-function IE(e, t) {
- let n = FE(t()), r = () => n.set(t());
- return r(), zT(() => {
+function ME(e, t) {
+ let n = jE(t()), r = () => n.set(t());
+ return r(), FT(() => {
let t = () => vv.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
return () => {
n.forEach((e) => e()), yv(r);
@@ -31527,17 +31583,17 @@ function IE(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-computed.mjs
-function oce(e) {
- gb.current = [], e();
- let t = IE(gb.current, e);
- return gb.current = void 0, t;
+function _ce(e) {
+ mb.current = [], e();
+ let t = ME(mb.current, e);
+ return mb.current = void 0, t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-transform.mjs
-function LE(e, t, n, r) {
- if (typeof e == "function") return oce(e);
- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return sce(e, t, n, r);
- let i = typeof t == "function" ? t : Kre(t, n, r), a = Array.isArray(e) ? RE(e, i) : RE([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
+function NE(e, t, n, r) {
+ if (typeof e == "function") return _ce(e);
+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return vce(e, t, n, r);
+ let i = typeof t == "function" ? t : Jre(t, n, r), a = Array.isArray(e) ? PE(e, i) : PE([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
return o && !o.isTransformed && typeof t != "function" && Array.isArray(n) && r?.clamp !== !1 && (a.accelerate = {
...o,
times: t,
@@ -31546,56 +31602,56 @@ function LE(e, t, n, r) {
...r?.ease ? { ease: r.ease } : {}
}), a;
}
-function RE(e, t) {
- let n = RT(() => []);
- return IE(e, () => {
+function PE(e, t) {
+ let n = PT(() => []);
+ return ME(e, () => {
n.length = 0;
let r = e.length;
for (let t = 0; t < r; t++) n[t] = e[t].get();
return t(n);
});
}
-function sce(e, t, n, r) {
- let i = RT(() => Object.keys(n)), a = RT(() => ({}));
- for (let o of i) a[o] = LE(e, t, n[o], r);
+function vce(e, t, n, r) {
+ let i = PT(() => Object.keys(n)), a = PT(() => ({}));
+ for (let o of i) a[o] = NE(e, t, n[o], r);
return a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs
-function cce(e, t = {}) {
- let { isStatic: n } = (0, B.useContext)(VT), r = () => Db(e) ? e.get() : e;
- if (n) return LE(r);
- let i = FE(r());
- return (0, B.useInsertionEffect)(() => qre(i, e, t), [i, JSON.stringify(t)]), i;
+function yce(e, t = {}) {
+ let { isStatic: n } = (0, B.useContext)(LT), r = () => Tb(e) ? e.get() : e;
+ if (n) return NE(r);
+ let i = jE(r());
+ return (0, B.useInsertionEffect)(() => Yre(i, e, t), [i, JSON.stringify(t)]), i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-spring.mjs
-function zE(e, t = {}) {
- return cce(e, {
+function FE(e, t = {}) {
+ return yce(e, {
type: "spring",
...t
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function lce() {
- !Ex.current && Dx();
- let [e] = (0, B.useState)(Tx.current);
+function bce() {
+ !wx.current && Tx();
+ let [e] = (0, B.useState)(Cx.current);
return e;
}
//#endregion
//#region node_modules/motion/dist/es/react.mjs
-var BE = ace, VE = null;
-function uce() {
- return VE?.isConnected || (VE = document.createElement("div"), VE.className = "peach-react", VE.dataset.reactOverlays = "", document.body.append(VE)), VE;
+var IE = gce, LE = null;
+function xce() {
+ return LE?.isConnected || (LE = document.createElement("div"), LE.className = "peach-react", LE.dataset.reactOverlays = "", document.body.append(LE)), LE;
}
-function HE({ children: e }) {
- return /* @__PURE__ */ (0, H.jsx)(tw, {
+function RE({ children: e }) {
+ return /* @__PURE__ */ (0, H.jsx)(YC, {
client: z,
- children: /* @__PURE__ */ (0, H.jsx)(ase, {
+ children: /* @__PURE__ */ (0, H.jsx)(gse, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, H.jsx)(Gp, {
- getContainer: uce,
+ getContainer: xce,
children: e
})
})
@@ -31603,16 +31659,16 @@ function HE({ children: e }) {
}
//#endregion
//#region src/react/components/selection-dock.tsx
-var UE = "(prefers-reduced-motion: reduce)", dce = () => matchMedia(UE).matches, fce = (e) => {
- let t = matchMedia(UE);
+var zE = "(prefers-reduced-motion: reduce)", Sce = () => matchMedia(zE).matches, Cce = (e) => {
+ let t = matchMedia(zE);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
-function pce({ children: e, count: t, label: n }) {
- let r = Xoe(), i = (0, B.useSyncExternalStore)(fce, dce, () => !1), { isFocusVisible: a } = La(), o = i || a, s = {
+function wce({ children: e, count: t, label: n }) {
+ let r = sse(), i = (0, B.useSyncExternalStore)(Cce, Sce, () => !1), { isFocusVisible: a } = La(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
- return /* @__PURE__ */ (0, H.jsxs)(BE.div, {
+ return /* @__PURE__ */ (0, H.jsxs)(IE.div, {
role: "group",
"aria-label": n,
"data-selection-dock": !0,
@@ -31644,18 +31700,18 @@ function pce({ children: e, count: t, label: n }) {
}), e]
});
}
-function WE({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, H.jsx)(Qoe, { children: e ? /* @__PURE__ */ (0, H.jsx)(pce, { ...t }, "selection") : null });
+function BE({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, H.jsx)(lse, { children: e ? /* @__PURE__ */ (0, H.jsx)(wce, { ...t }, "selection") : null });
}
//#endregion
//#region src/react/batch-dock/batch-dock-api.ts
-var GE = {
+var VE = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function mce(e, t = !1) {
+function Tce(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -31671,7 +31727,7 @@ function mce(e, t = !1) {
glyph: "trash",
danger: !0
},
- GE
+ VE
];
case "junk": return [
t ? {
@@ -31692,7 +31748,7 @@ function mce(e, t = !1) {
glyph: "trash",
danger: !0
},
- GE
+ VE
];
case "follow": return [
{
@@ -31713,7 +31769,7 @@ function mce(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- GE
+ VE
];
default: return [
{
@@ -31747,42 +31803,42 @@ function mce(e, t = !1) {
glyph: "trash",
danger: !0
},
- GE
+ VE
];
}
}
//#endregion
//#region src/react/batch-dock/batch-dock-island.tsx
-var KE = null, qE = null, JE = {
+var HE = null, UE = null, WE = {
count: 0,
context: "catalog",
junkDismissed: !1
};
-function YE() {
- let e = KE;
- if (!e || !qE) return;
- let t = JE;
- (0, Dt.flushSync)(() => qE.render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(_ce, {
+function GE() {
+ let e = HE;
+ if (!e || !UE) return;
+ let t = WE;
+ (0, Dt.flushSync)(() => UE.render(/* @__PURE__ */ (0, H.jsx)(RE, { children: /* @__PURE__ */ (0, H.jsx)(Oce, {
host: e,
props: t
}) })));
}
-var hce = { render(e) {
- JE = e, YE();
+var Ece = { render(e) {
+ WE = e, GE();
} };
-function gce(e) {
- return KE = e, qE = (0, Ot.createRoot)(e.root), YE(), hce;
+function Dce(e) {
+ return HE = e, UE = (0, Ot.createRoot)(e.root), GE(), Ece;
}
-function _ce({ host: e, props: t }) {
+function Oce({ host: e, props: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, H.jsx)(WE, {
+ children: /* @__PURE__ */ (0, H.jsx)(BE, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count} 项`,
- children: mce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, H.jsxs)("button", {
+ children: Tce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -31799,7 +31855,7 @@ function _ce({ host: e, props: t }) {
}
//#endregion
//#region src/react/components/glow-preset-grid.tsx
-function XE({ store: e, label: t, hidden: n }) {
+function KE({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-glow-grid": "",
@@ -31825,11 +31881,11 @@ function XE({ store: e, label: t, hidden: n }) {
}
//#endregion
//#region src/react/glow-picker/glow-picker-island.tsx
-function vce(e) {
+function kce(e) {
let t = (0, Ot.createRoot)(e.root);
- (0, Dt.flushSync)(() => t.render(/* @__PURE__ */ (0, H.jsx)(yce, { host: e })));
+ (0, Dt.flushSync)(() => t.render(/* @__PURE__ */ (0, H.jsx)(Ace, { host: e })));
}
-function yce({ host: e }) {
+function Ace({ host: e }) {
let { store: t } = e;
(0, B.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -31845,7 +31901,7 @@ function yce({ host: e }) {
children: "重置"
})]
}),
- /* @__PURE__ */ (0, H.jsx)(XE, {
+ /* @__PURE__ */ (0, H.jsx)(KE, {
store: t,
label: "光晕",
hidden: !n.on
@@ -31885,32 +31941,32 @@ function yce({ host: e }) {
}
//#endregion
//#region src/player/host.ts
-var ZE = null;
-function bce(e) {
- ZE = e;
+var qE = null;
+function jce(e) {
+ qE = e;
}
-function QE() {
- if (!ZE) throw Error("播放器还没有接上宿主(configurePlayer)");
- return ZE;
+function JE() {
+ if (!qE) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return qE;
}
//#endregion
//#region src/player/menu.ts
-var $E = null;
-function xce(e) {
- $E = e;
+var YE = null;
+function Mce(e) {
+ YE = e;
}
-function Sce() {
+function Nce() {
let e = document.getElementById("playerMenu");
return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;
}
-var eD = null, tD = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function nD() {
+var XE = null, ZE = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function QE() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && a(e, () => {
e.innerHTML = "";
- }), eD &&= (eD(), null);
+ }), XE &&= (XE(), null);
}
-async function Cce(e) {
+async function Pce(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -31923,12 +31979,12 @@ async function Cce(e) {
return t.remove(), n;
}
}
-function wce(e) {
- let t = !!$E?.inMiniplayer(e), n = e.peachItem, r = $E?.kind(e) ?? "item", i = (t) => {
+function Fce(e) {
+ let t = !!YE?.inMiniplayer(e), n = e.peachItem, r = YE?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/follow/item/${n?.id}` : `/item/${n?.id}`, location.origin);
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- Cce(i(e)).then((e) => QE().toast(e ? t : "复制失败,请手动复制地址栏", {
+ Pce(i(e)).then((e) => JE().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -31940,11 +31996,11 @@ function wce(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => $E?.expand()
+ run: () => YE?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => $E?.toMiniplayer()
+ run: () => YE?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -31967,29 +32023,29 @@ function wce(e) {
run: () => s.click()
}), o;
}
-function Tce(e, t, n) {
- let r = Sce();
- nD();
- let i = QE().stage();
+function Ice(e, t, n) {
+ let r = Nce();
+ QE();
+ let i = JE().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = wce(e);
+ let a = Fce(e);
r.innerHTML = a.map((e, t) => {
let n = e.checked !== void 0;
- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${tD(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${P(e.label)}</span>${n ? tD(L("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${ZE(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${P(e.label)}</span>${n ? ZE(L("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), _(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;
let o = [...r.querySelectorAll("[data-player-menu]")];
o.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = a[Number(e.dataset.playerMenu)];
- nD(), n?.run();
+ QE(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || nD();
+ r.contains(e.target) || QE();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), nD();
+ e.preventDefault(), e.stopPropagation(), QE();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -31997,51 +32053,51 @@ function Tce(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- y(t, e.el()) && nD();
+ y(t, e.el()) && QE();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), eD = () => {
+ }, 0), XE = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function Ece(e) {
+function Lce(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Tce(e, t.clientX, t.clientY));
- }), e.on("dispose", nD);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Ice(e, t.clientX, t.clientY));
+ }), e.on("dispose", QE);
}
//#endregion
//#region src/player/registry.ts
-var rD = null, iD = () => rD;
-function aD(e) {
- rD = e;
+var $E = null, eD = () => $E;
+function tD(e) {
+ $E = e;
}
-function oD(e) {
+function nD(e) {
!e || e.isDisposed() || requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
//#endregion
//#region src/player/stats.ts
-function sD(e) {
+function rD(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);
return 0;
}
-function Dce(e) {
+function Rce(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);
return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;
}
-var cD = 3e3;
-function lD(e, t) {
+var iD = 3e3;
+function aD(e, t) {
let n = Number(e) || 0, r = se(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function Oce(e) {
+function zce(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -32056,10 +32112,10 @@ function Oce(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = Dce(e), s = e.currentTime || 0;
+ let a = performance.now(), o = Rce(e), s = e.currentTime || 0;
if (n) {
let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;
- !i && c > 0 && (r += c), e * 1e3 > cD * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > iD * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -32068,56 +32124,56 @@ function Oce(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > cD;) t.shift();
+ }); t.length > 2 && a - t[0].at > iD;) t.shift();
let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;
return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;
}
};
}
-var uD = 24;
-function dD(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > uD && e.splice(0, e.length - uD);
+var oD = 24;
+function sD(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > oD && e.splice(0, e.length - oD);
}
-var fD = "peach-player-panel";
-function pD(e, t, n, r) {
- let i = [...Array(Math.max(0, uD - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var cD = "peach-player-panel";
+function lD(e, t, n, r) {
+ let i = [...Array(Math.max(0, oD - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
if (e === null) return "<i aria-hidden=\"true\"></i>";
let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));
return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;
}).join("");
return `<span data-player-stats-plot="${t}" role="img" aria-label="${P(r)}">${o}</span>`;
}
-function kce() {
+function Bce() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${L("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function mD(e, t = "") {
+function uD(e, t = "") {
let n = t ? encodeURIComponent(t) : "";
return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));
}
-function hD(e, t = "") {
- let n = mD(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+function dD(e, t = "") {
+ let n = uD(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
return r > 0 && i > 0 ? r * 8 / i : 0;
}
-function gD(e, t, n = "", r = null) {
+function fD(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.tech({ IWillNotUseThisInPlugins: !0 })?.vhs?.stats?.bandwidth) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : hD(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : dD(t, n);
}
-function _D(e) {
+function pD(e) {
if (!Number.isFinite(e) || e <= 0) return "加载中…";
let t = e / 8;
return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;
}
-function Ace(e, t) {
- return e > 0 ? _D(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : _D(0);
+function Vce(e, t) {
+ return e > 0 ? pD(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : pD(0);
}
//#endregion
//#region src/player/controls.ts
-function vD(e, t, n = "") {
+function mD(e, t, n = "") {
if (!e) return () => {};
let r = e.querySelector(":scope>.vjs-peach-tooltip");
r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));
@@ -32128,24 +32184,24 @@ function vD(e, t, n = "") {
};
return o(), o;
}
-function jce(e, t = !0) {
- let n = QE(), r = n.settings();
+function Hce(e, t = !0) {
+ let n = JE(), r = n.settings();
r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));
}
-var yD = /* @__PURE__ */ new WeakMap();
-function bD(e) {
+var hD = /* @__PURE__ */ new WeakMap();
+function gD(e) {
if (!e) return;
- let t = QE().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), yD.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = JE().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), hD.get(e)?.(t ? "默认视图" : "影院模式");
}
-function xD(e, t = !0) {
- let n = QE(), r = n.settings();
+function _D(e, t = !0) {
+ let n = JE(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), bD(i?.querySelector("[data-player-theater]")), oD(iD());
+ i?.toggleAttribute("data-theater", r.theaterMode), gD(i?.querySelector("[data-player-theater]")), nD(eD());
}
-function Mce(e) {
- let t = QE().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function Uce(e) {
+ let t = JE().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -32162,14 +32218,14 @@ function Mce(e) {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => u(t, e)) : requestAnimationFrame((e) => u(t, e));
}, u = (t, n) => {
if (!(i || t !== o)) {
- if (!QE().settings().ambientMode) {
+ if (!JE().settings().ambientMode) {
s();
return;
}
e.paused || (!document.hidden && n - a > 480 && (a = n, c()), l(t));
}
}, d = () => {
- i || !QE().settings().ambientMode || (c(), e.paused || l(++o));
+ i || !JE().settings().ambientMode || (c(), e.paused || l(++o));
}, f = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? d() : (o++, s());
@@ -32178,7 +32234,7 @@ function Mce(e) {
i = !0, o++, document.removeEventListener("peachambientchange", f), e.removeEventListener("play", d), e.removeEventListener("loadeddata", d), s();
};
}
-function Nce(e, t, n = 0, r = null) {
+function Wce(e, t, n = 0, r = null) {
let i = e.getChild("controlBar")?.el();
if (!i || i.querySelector("[data-player-quality]")) return;
let a = document.createElement("div");
@@ -32188,7 +32244,7 @@ function Nce(e, t, n = 0, r = null) {
let o = i.querySelector(".vjs-fullscreen-control");
i.insertBefore(a, o || null);
let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");
- vD(s, "设置");
+ mD(s, "设置");
let l = a.querySelector(".vjs-peach-settings-menu"), u = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, d = r, f = "auto", p = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
@@ -32230,11 +32286,11 @@ function Nce(e, t, n = 0, r = null) {
active: t
};
}, g = () => l.getAttribute("aria-hidden") !== "true", _ = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(fD, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(cD, { detail: "settings" }));
}, v = () => _(!1), y = (e) => {
e.detail !== "settings" && v();
};
- document.addEventListener(fD, y);
+ document.addEventListener(cD, y);
let b = null, x = (e, t) => {
let n = l.querySelector(".vjs-peach-panel"), r = document.createElement("div");
if (r.className = "vjs-peach-panel", r.innerHTML = e, !n || !t || !g()) return l.replaceChildren(r), l.style.height = "", r;
@@ -32248,12 +32304,12 @@ function Nce(e, t, n = 0, r = null) {
}, 250);
}), r;
}, S = (e, t) => e.querySelector(t), C = (t = 0) => {
- let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${QE().settings().ambientMode}">
+ let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${JE().settings().ambientMode}">
${L("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${L("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${L("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${L("player-quality")}<span>清晰度</span><b>${P(n.label)}</b>${L("player-menu-next")}</button></div>`, t);
S(i, "[data-player-ambient]").onclick = () => {
- jce(!QE().settings().ambientMode), C();
+ Hce(!JE().settings().ambientMode), C();
}, S(i, "[data-player-speed]").onclick = () => D(), S(i, "[data-player-quality-view]").onclick = () => O();
}, w = .05, T = [
1,
@@ -32310,22 +32366,22 @@ function Nce(e, t, n = 0, r = null) {
}), u?.on?.(["addqualitylevel", "removequalitylevel"], () => {
g() ? C() : h();
}), e.on("dispose", () => {
- document.removeEventListener("pointerdown", k), document.removeEventListener(fD, y), b && clearTimeout(b);
- }), h(), Pce(e, a), Fce(e), (e) => {
+ document.removeEventListener("pointerdown", k), document.removeEventListener(cD, y), b && clearTimeout(b);
+ }), h(), Gce(e, a), Kce(e), (e) => {
d = e?.length ? e : null, g() ? C() : h();
};
}
-function Pce(e, t) {
+function Gce(e, t) {
let n = e.getChild("controlBar")?.el();
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = QE().settings().theaterMode, i = document.createElement("div");
+ let r = JE().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${L(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- yD.set(a, vD(a, "影院模式", "T")), bD(a), a.onclick = (e) => {
- e.stopPropagation(), xD(!QE().settings().theaterMode);
+ hD.set(a, mD(a, "影院模式", "T")), gD(a), a.onclick = (e) => {
+ e.stopPropagation(), _D(!JE().settings().theaterMode);
};
}
-function Fce(e) {
+function Kce(e) {
let t = e.getChild("controlBar")?.el();
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -32337,7 +32393,7 @@ function Fce(e) {
e.dataset.peachExplicitIcon = "";
let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");
return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;
- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = vD(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = mD(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
let t = e.paused() || e.ended(), n = t ? s : c;
o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");
};
@@ -32348,7 +32404,7 @@ function Fce(e) {
], d), d();
let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");
m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));
- let h = vD(p, "静音", "M"), g = () => {
+ let h = mD(p, "静音", "M"), g = () => {
let t = e.muted() || e.volume() === 0;
m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");
};
@@ -32374,7 +32430,7 @@ function Fce(e) {
});
let x = document.createElement("button"), S = !1;
x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";
- let C = x.querySelector(".vjs-peach-time-text"), w = vD(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = mD(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = F(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : F(t)} / ${F(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${F(n)};点击显示已播放时间` : `已播放 ${F(t)},总时长 ${F(n)};点击显示剩余时间`);
};
@@ -32387,11 +32443,11 @@ function Fce(e) {
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
r(E, "player-pip");
- let D = vD(E, "画中画");
+ let D = mD(E, "画中画");
e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));
- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = vD(O, "全屏", "F"), j = () => {
+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = mD(O, "全屏", "F"), j = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), oD(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), nD(e);
};
e.on([
"fullscreenchange",
@@ -32411,7 +32467,7 @@ function Fce(e) {
});
let ee = document.createElement("div");
ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${L("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(ee);
- let te = ee.querySelector("button"), P = vD(te, "展开控件"), ne = (t) => {
+ let te = ee.querySelector("button"), P = mD(te, "展开控件"), ne = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), P(t ? "收起控件" : "展开控件");
};
te.onclick = (t) => {
@@ -32423,7 +32479,7 @@ function Fce(e) {
}, re = new ResizeObserver(I);
re.observe(e.el()), e.on("dispose", () => re.disconnect()), ne(!1), I();
}
-function Ice(e, t, n = {}) {
+function qce(e, t, n = {}) {
let r = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");
if (!r || r.querySelector("[data-player-seek-preview]")) return;
let i = n.thumbnail !== !1, a = document.createElement("div");
@@ -32456,13 +32512,13 @@ function Ice(e, t, n = {}) {
r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);
});
}
-function Lce(e, t) {
+function Jce(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => se(e.duration()) || se(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(QE().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(JE().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -32503,11 +32559,11 @@ function Lce(e, t) {
} catch {}
});
}
-function Rce(e) {
+function Yce(e) {
let t = e.el().querySelector(".vjs-loading-spinner");
!t || t.querySelector(".vjs-peach-spinner-container") || (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");
}
-function zce(e, t) {
+function Xce(e, t) {
N(`/api/assets/${t}/subtitles`).then((t) => {
!e || e.isDisposed() || (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -32522,7 +32578,7 @@ function zce(e, t) {
}
//#endregion
//#region src/player/dispose.ts
-function SD(e) {
+function vD(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
@@ -32540,23 +32596,23 @@ function SD(e) {
}
//#endregion
//#region src/player/stream.ts
-function CD() {
+function yD() {
return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
}
-function wD(e, t) {
+function bD(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function Bce(e) {
+function Zce(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function TD(e, t) {
- let n = Bce(e);
+async function xD(e, t) {
+ let n = Zce(e);
if (n) return n;
try {
let n = await N(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -32565,9 +32621,9 @@ async function TD(e, t) {
type: n.mime_type || "application/vnd.apple.mpegurl"
};
} catch {}
- return wD(e, t);
+ return bD(e, t);
}
-function ED(e) {
+function SD(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -32576,21 +32632,21 @@ function ED(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var DD = "";
-function OD() {
- return DD;
+var CD = "";
+function wD() {
+ return CD;
}
-function kD() {
- return DD ||= CD(), DD;
+function TD() {
+ return CD ||= yD(), CD;
}
-var Vce = (e) => wD(e, kD()), Hce = (e) => TD(e, kD());
-function AD() {
- let e = DD;
- e && (DD = "", ED(e));
+var Qce = (e) => bD(e, TD()), $ce = (e) => xD(e, TD());
+function ED() {
+ let e = CD;
+ e && (CD = "", SD(e));
}
//#endregion
//#region src/player/telemetry.ts
-function jD(e, t, n = {}) {
+function DD(e, t, n = {}) {
if (!t) return;
let r = 0, i = 0, a = 0, o = null;
t.addEventListener("seeking", () => {
@@ -32638,7 +32694,7 @@ function jD(e, t, n = {}) {
u(), l(!1);
}, { once: !0 }), c();
}
-function Uce(e, t) {
+function ele(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = se(e.duration) || se(t.duration);
!r && !n || (N("/api/follow/activity", {
@@ -32674,7 +32730,7 @@ function Uce(e, t) {
}
//#endregion
//#region src/player/videojs.ts
-var MD = "/vendor/videojs/8.24.1/", ND = (e) => new Promise((t, n) => {
+var OD = "/vendor/videojs/8.24.1/", kD = (e) => new Promise((t, n) => {
let r = document.head.querySelector(`script[src="${e}"]`);
if (r?.dataset.loaded) {
t();
@@ -32686,20 +32742,20 @@ var MD = "/vendor/videojs/8.24.1/", ND = (e) => new Promise((t, n) => {
}, { once: !0 }), i.addEventListener("error", () => {
i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));
}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));
-}), PD = () => globalThis.videojs, FD = null;
-function ID() {
- let e = PD();
- return e ? Promise.resolve(e) : (FD ??= ND(`${MD}video.min.js`).then(() => ND(`${MD}lang/zh-CN.js`)).then(() => {
- let e = PD();
+}), AD = () => globalThis.videojs, jD = null;
+function MD() {
+ let e = AD();
+ return e ? Promise.resolve(e) : (jD ??= kD(`${OD}video.min.js`).then(() => kD(`${OD}lang/zh-CN.js`)).then(() => {
+ let e = AD();
if (!e) throw Error("videojs unavailable");
return e;
}).catch((e) => {
- throw FD = null, e;
- }), FD);
+ throw jD = null, e;
+ }), jD);
}
//#endregion
//#region src/player/immerse-player.ts
-var Wce = {
+var tle = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -32711,37 +32767,37 @@ var Wce = {
errorDisplay: !1,
textTrackSettings: !1
};
-function Gce(e, t) {
+function nle(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([TD(n, r), ID().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([xD(n, r), MD().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = wD(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = bD(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, Wce);
+ let t = s(e, tle);
i = t, l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- jD(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ DD(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, ED(r), i ? SD(i) : (e.pause(), e.removeAttribute("src"), e.load()));
+ a || (a = !0, SD(r), i ? vD(i) : (e.pause(), e.removeAttribute("src"), e.load()));
};
}
//#endregion
//#region src/player/detail-player.ts
-var LD = /* @__PURE__ */ new WeakMap(), RD = null, zD = null, BD = null;
-function VD() {
- RD &&= (clearInterval(RD), null), zD &&= (clearInterval(zD), null), BD &&= (clearTimeout(BD), null);
+var ND = /* @__PURE__ */ new WeakMap(), PD = null, FD = null, ID = null;
+function LD() {
+ PD &&= (clearInterval(PD), null), FD &&= (clearInterval(FD), null), ID &&= (clearTimeout(ID), null);
}
-async function Kce(e, t, n, r = {}) {
- let i = iD();
+async function rle(e, t, n, r = {}) {
+ let i = eD();
if (i && !i.isDisposed()) return i;
- let a = QE(), o = r.resume ?? null;
+ let a = JE(), o = r.resume ?? null;
o?.autoplay && (n = !0);
- let s = () => r.source ? Promise.resolve(r.source) : Hce(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : $ce(e), c;
try {
- c = await ID();
+ c = await MD();
} catch {
return t.controls = !0, s().then((e) => {
t.src = e.src, n && t.play().catch(() => {});
@@ -32761,7 +32817,7 @@ async function Kce(e, t, n, r = {}) {
remainingTimeDisplay: !1
}
});
- aD(l), l.peachItem = e, Ece(l), l.on("loadedmetadata", () => {
+ tD(l), l.peachItem = e, Lce(l), l.on("loadedmetadata", () => {
let e = l.el()?.querySelector("video");
e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);
});
@@ -32769,7 +32825,7 @@ async function Kce(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = Oce(lD(f, e.duration)), m = 0, h = !1, g = () => iD() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = zce(aD(f, e.duration)), m = 0, h = !1, g = () => eD() === l && !l.isDisposed(), _ = () => {
if (!u || h || !g()) return;
let e = Number(l.duration());
(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {
@@ -32780,15 +32836,15 @@ async function Kce(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- LD.set(l, y), y.updateStats = () => {
+ ND.set(l, y), y.updateStats = () => {
let n = y.chrome?.statsPanel;
if (!n || n.hidden || !g()) return;
- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = OD(), h = s ? mD(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = wD(), h = s ? uD(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
p.sample(t);
- let x = gD(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
+ let x = fD(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
m = S;
- let w = sD(t);
- dD(d.speed, x), dD(d.activity, C), dD(d.buffer, w);
+ let w = rD(t);
+ sD(d.speed, x), sD(d.activity, C), sD(d.buffer, w);
let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? [
"网络活动",
`${_ ? I(_) : "—"} · ${h.length} 请求`,
@@ -32806,17 +32862,17 @@ async function Kce(e, t, n, r = {}) {
[
"连接速度",
D,
- pD(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ lD(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- pD(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ lD(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- pD(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ lD(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${F(t.currentTime)} / ${F(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -32832,15 +32888,15 @@ async function Kce(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = gD(l, e.id, OD(), r ? null : p), a = r ? _D(i) : Ace(i, sD(t));
+ let i = fD(l, e.id, wD(), r ? null : p), a = r ? pD(i) : Vce(i, rD(t));
n.innerHTML = `${L("gauge")}<span class="sr-only">加载速度</span><span>${P(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- !e || !e.isConnected || (e.hidden = !1, S(), zD && clearInterval(zD), zD = setInterval(S, 500));
+ !e || !e.isConnected || (e.hidden = !1, S(), FD && clearInterval(FD), FD = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (BD && clearTimeout(BD), BD = setTimeout(() => {
- e.hidden = !0, zD &&= (clearInterval(zD), null);
+ e && (ID && clearTimeout(ID), ID = setTimeout(() => {
+ e.hidden = !0, FD &&= (clearInterval(FD), null);
}, 1400));
};
return l.on([
@@ -32852,7 +32908,7 @@ async function Kce(e, t, n, r = {}) {
S(), w();
}), l.on("error", () => {
if (b && !x && !l.isDisposed()) {
- x = !0, b = !1, l.src(Vce(e)), n && l.play()?.catch(() => {});
+ x = !0, b = !1, l.src(Qce(e)), n && l.play()?.catch(() => {});
return;
}
r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
@@ -32863,27 +32919,27 @@ async function Kce(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = Nce(l, t, e.height, r.qualities ?? null);
+ let n = Wce(l, t, e.height, r.qualities ?? null);
r.mediaPromise?.then((t) => {
if (!g()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
- r > 0 && !f && (f = r, p.bitrate = lD(r, e.duration));
- }).catch(() => {}), Ice(l, e, { thumbnail: !r.source }), Lce(l, e), Rce(l), r.source || zce(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = aD(r, e.duration));
+ }).catch(() => {}), qce(l, e, { thumbnail: !r.source }), Jce(l, e), Yce(l), r.source || Xce(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), o && o.time > 0 && l.one("loadedmetadata", () => {
l.isDisposed() || l.currentTime(o.time);
}), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var qce = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function HD(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", qce), e.querySelector(":scope > #playerStatsBtn")) return;
+var ile = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function RD(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", ile), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = kce(), e.insertBefore(n.content, t);
+ n.innerHTML = Bce(), e.insertBefore(n.content, t);
}
-function UD(e, t) {
- let n = LD.get(e);
+function zD(e, t) {
+ let n = ND.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -32895,29 +32951,29 @@ function UD(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), RD &&= (clearInterval(RD), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), PD &&= (clearInterval(PD), null));
};
a.onclick = () => {
if (!o.hidden) {
e();
return;
}
- document.dispatchEvent(new CustomEvent(fD, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), RD && clearInterval(RD), RD = setInterval(n.updateStats, 1e3);
+ document.dispatchEvent(new CustomEvent(cD, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), PD && clearInterval(PD), PD = setInterval(n.updateStats, 1e3);
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(fD, t), s = () => document.removeEventListener(fD, t);
+ document.addEventListener(cD, t), s = () => document.removeEventListener(cD, t);
}
- let c = e.el().querySelector("video"), l = c ? Mce(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, VD()));
+ let c = e.el().querySelector("video"), l = c ? Uce(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, LD()));
};
return e.one("dispose", d), d;
}
-function WD(e, t) {
- if (t.kind === "immerse") return Gce(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = QE(), c = t.chrome === !1 ? null : e.parentElement;
- c && HD(c, e);
+function BD(e, t) {
+ if (t.kind === "immerse") return nle(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = JE(), c = t.chrome === !1 ? null : e.parentElement;
+ c && RD(c, e);
let l = { resume: t.resume ?? null };
if (n === "follow") l = {
...l,
@@ -32937,16 +32993,16 @@ function WD(e, t) {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), jD(r, e, {
+ }, { once: !0 }), DD(r, e, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
});
}
let u = null, d = !1, f = () => {}, p = () => {
- f(), !(!u || a?.(u)) && (iD() === u && (aD(null), VD()), SD(u));
+ f(), !(!u || a?.(u)) && (eD() === u && (tD(null), LD()), vD(u));
};
- return Kce(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {
+ return rle(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {
if (u = t, d) {
p();
return;
@@ -32955,45 +33011,45 @@ function WD(e, t) {
o?.(null);
return;
}
- c && (f = UD(t, c)), n === "follow" && Uce(r, e), o?.(t);
+ c && (f = zD(t, c)), n === "follow" && ele(r, e), o?.(t);
}), () => {
d = !0, p();
};
}
//#endregion
//#region src/player/playback.ts
-function GD(e) {
+function VD(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function Jce(e, t) {
+function ale(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
//#endregion
//#region src/jav-artwork.ts
-function KD(e) {
+function HD(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function Yce(e, t) {
- return e.is_jav && e.code && e.has_cover && (KD(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+function ole(e, t) {
+ return e.is_jav && e.code && e.has_cover && (HD(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
-var qD = .704;
-function JD(e, t) {
+var UD = .704;
+function WD(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var Xce = (e, t) => [
+var sle = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], Zce = (e, t) => [
+], cle = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function Qce(e, t, n, r, i) {
+async function lle(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 K(`/api/items?${a}`, i), s = {
@@ -33003,22 +33059,22 @@ async function Qce(e, t, n, r, i) {
};
return !t && !s.items.length && !r && (s.libraryEmpty = (await K("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var $ce = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, ele = (e, t) => {
+var ule = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, dle = (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 YD(e) {
- let t = JD(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function GD(e) {
+ let t = WD(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: Xce(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => Qce(t, e, n, r, i),
+ queryKey: sle(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => lle(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: $ce(n)
+ getNextPageParam: ule(n)
};
}
-function tle(e) {
+function fle(e) {
return {
- queryKey: Zce(e.entityKey || "", e.revision || 0),
+ queryKey: cle(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -33033,12 +33089,12 @@ function tle(e) {
};
},
initialPageParam: 0,
- getNextPageParam: ele
+ getNextPageParam: dle
};
}
-async function nle(e, t) {
+async function ple(e, t) {
if (e.mode !== "catalog") return;
- let n = YD(e);
+ let n = GD(e);
await z.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -33047,7 +33103,7 @@ async function nle(e, t) {
})
});
}
-function rle(e, t, n) {
+function mle(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -33062,24 +33118,24 @@ function rle(e, t, n) {
return !0;
}) : [...e];
}
-var XD = (e, t) => !!e && !!Yce(e, t);
-function ile(e, t) {
- let n = (e) => XD(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) => XD(e, t)) || e[e.length - 1];
+var KD = (e, t) => !!e && !!ole(e, t);
+function hle(e, t) {
+ let n = (e) => KD(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) => KD(e, t)) || e[e.length - 1];
}
-function ale(e, { collapse: t, mix: n, javImage: r }) {
+function gle(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 = rle(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = mle(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 = ile(e, r);
+ let t = hle(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -33092,16 +33148,16 @@ function ale(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function ole(e, t, n) {
+function _le(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 sle(e, t) {
+function vle(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 cle(e, t) {
+function yle(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -33114,10 +33170,10 @@ function cle(e, t) {
strip: null
}), r;
}
-function ZD(e, t) {
- QD((t) => t.id === e, t);
+function qD(e, t) {
+ JD((t) => t.id === e, t);
}
-function QD(e, t) {
+function JD(e, t) {
z.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -33134,31 +33190,31 @@ function QD(e, t) {
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var $D = (e) => ["item", e], eO = (e) => [
+var YD = (e) => ["item", e], XD = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], lle = (e, t) => [
+], ble = (e, t) => [
"item-related",
e,
t
-], ule = (e) => `/api/item?id=${e}`, dle = (e, t) => `/api/related?id=${e}&limit=${t}`, tO = "/api/playlist", nO = "/api/feedback", rO = "/api/item-tag", iO = "/api/watch-later", aO = "/api/quality-goal", oO = "/api/preference", sO = class extends Error {};
-async function cO(e, t) {
- let n = await K(ule(e), t);
- if (n.error) throw new sO(n.error);
+], xle = (e) => `/api/item?id=${e}`, Sle = (e, t) => `/api/related?id=${e}&limit=${t}`, ZD = "/api/playlist", QD = "/api/feedback", $D = "/api/item-tag", eO = "/api/watch-later", tO = "/api/quality-goal", nO = "/api/preference", rO = class extends Error {};
+async function iO(e, t) {
+ let n = await K(xle(e), t);
+ if (n.error) throw new rO(n.error);
return n;
}
-async function lO(e, t, n) {
+async function aO(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([cO(r, n), t.mixRelated(r)]);
- return z.setQueryData($D(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([iO(r, n), t.mixRelated(r)]);
+ return z.setQueryData(YD(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${be(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return uO(await K(`${tO}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return oO(await K(`${ZD}?id=${e.playlistId}`, n));
let r = await K(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -33168,19 +33224,19 @@ async function lO(e, t, n) {
items: r.items
};
}
-var uO = (e) => ({
+var oO = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), dO = (e) => e.disposal === "vanished";
-function fO(e, t) {
+}), sO = (e) => e.disposal === "vanished";
+function cO(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !dO(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !sO(e)) : e.items;
return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;
}
-function fle(e, t) {
+function Cle(e, t) {
if (t?.kind !== "parts") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -33188,15 +33244,15 @@ function fle(e, t) {
part_label: n
};
}
-async function ple(e, t) {
+async function wle(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = eO(n);
+ let o = XD(n);
try {
let r = n.fresh ? void 0 : z.getQueryData(o);
a = !r && n.kind === "mix", i = r || await z.fetchQuery({
queryKey: o,
- queryFn: () => lO(n, e.helpers, t),
+ queryFn: () => aO(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -33208,20 +33264,20 @@ async function ple(e, t) {
return;
}
}
- let o = i ? fO(i, e.id) : e.id;
+ let o = i ? cO(i, e.id) : e.id;
if (o == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
- let s, c = a && o === i?.seedId ? z.getQueryData($D(o)) : void 0;
+ let s, c = a && o === i?.seedId ? z.getQueryData(YD(o)) : void 0;
try {
s = c || await z.fetchQuery({
- queryKey: $D(o),
- queryFn: () => cO(o, t),
+ queryKey: YD(o),
+ queryFn: () => iO(o, t),
staleTime: 0
});
} catch (e) {
- if (e instanceof sO) {
+ if (e instanceof rO) {
r.redirect({ kind: "gone" });
return;
}
@@ -33232,7 +33288,7 @@ async function ple(e, t) {
id: Number(s.follow_item_id)
});
}
-function mle(e) {
+function Tle(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = re(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -33254,42 +33310,42 @@ function mle(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-var pO = (e) => Math.min(Math.max(e || 0, 0), 100), mO = (e) => Math.round(pO(e) / 20), hle = (e) => {
- let t = mO(e);
+var lO = (e) => Math.min(Math.max(e || 0, 0), 100), uO = (e) => Math.round(lO(e) / 20), Ele = (e) => {
+ let t = uO(e);
return t ? `${t} 星` : "未评分";
-}, gle = (e, t) => {
+}, Dle = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function _le(e, t) {
+function Ole(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = re(t.tagLabel(e.k)), i = n.get(r);
(!i || re(e.k) === r && re(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var hO = (e, t) => (e.tags || []).some((e) => re(e.k) === re(t)), gO = (e, t) => ({
+var dO = (e, t) => (e.tags || []).some((e) => re(e.k) === re(t)), fO = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => re(e.k) !== re(t))
-}), _O = (e, t) => hO(e, t.k) ? e : {
+}), pO = (e, t) => dO(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, vO = "peach.recentTags";
-function yO() {
+}, mO = "peach.recentTags";
+function hO() {
try {
- let e = JSON.parse(localStorage.getItem(vO) || "[]");
+ let e = JSON.parse(localStorage.getItem(mO) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function vle(e) {
+function kle(e) {
try {
- let t = yO().filter((t) => re(t) !== re(e));
- localStorage.setItem(vO, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = hO().filter((t) => re(t) !== re(e));
+ localStorage.setItem(mO, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function yle(e, t, n) {
+function Ale(e, t, n) {
let r = re(e), i = new Map(t.map((e) => [re(e.k), e])), a = t.filter((e) => !r || re(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(re(e)) || {
k: e,
n: 0
@@ -33300,73 +33356,73 @@ function yle(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var ble = {
+var jle = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, xle = {
+}, Mle = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function Sle(e) {
+function Nle(e) {
let t = e.items.length, n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: xle[e.kind],
+ title: Mle[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var bO = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Cle = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${P(bO(e.part_label))}</small>` : "";
-function wle(e, t, n, r) {
+var gO = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Ple = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${P(gO(e.part_label))}</small>` : "";
+function Fle(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var Tle = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function Ele(e, t) {
+var Ile = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function Lle(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function Dle(e) {
+function Rle(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function xO(e, t) {
+function _O(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/immerse/immerse.ts
-var Ole = (e, t, n) => [
+var zle = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function kle(e) {
+function Ble(e) {
let t = new URLSearchParams();
for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));
return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();
}
-var Ale = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
-function jle(e, t = Math.random) {
+var Vle = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
+function Hle(e, t = Math.random) {
for (let n = e.length - 1; n > 0; n--) {
let r = Math.floor(t() * (n + 1));
[e[n], e[r]] = [e[r], e[n]];
}
return e;
}
-async function Mle(e, t) {
- return jle(((await K(`/api/items?${e}`)).items || []).filter((e) => Ale(e, t)));
+async function Ule(e, t) {
+ return Hle(((await K(`/api/items?${e}`)).items || []).filter((e) => Vle(e, t)));
}
-var SO = (e) => z.ensureQueryData({
- queryKey: $D(e),
- queryFn: ({ signal: t }) => cO(e, t)
+var vO = (e) => z.ensureQueryData({
+ queryKey: YD(e),
+ queryFn: ({ signal: t }) => iO(e, t)
});
-function Nle(e, t) {
+function Wle(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function Ple(e) {
+function Gle(e) {
let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";
return {
who: n,
@@ -33375,314 +33431,314 @@ function Ple(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function Fle(e, t, n) {
+function Kle(e, t, n) {
if (!e || !t || !n || !Number.isFinite(n)) return null;
let r = e / t;
return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";
}
-function Ile(e, t) {
+function qle(e, t) {
return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);
}
-var Lle = 15e3, CO = {
+var Jle = 15e3, yO = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, wO = null, TO = null, EO = null, DO = null, OO = CO, kO = 0, AO = 0, jO = 0, MO = "", NO = [], PO = 0, FO = !1, IO = !1, LO = null, RO = /* @__PURE__ */ new Set(), zO = "", BO = null, VO = 0, HO = null, UO = !1;
-function WO() {
- if (!wO) throw Error("沉浸岛还没有接上宿主(configureImmerse)");
- return wO;
-}
-function Rle() {
- return (!TO || !EO?.isConnected) && (TO?.unmount(), EO = document.createElement("div"), EO.dataset.immerseHost = "", document.body.append(EO), TO = (0, Ot.createRoot)(EO)), TO;
-}
-function GO() {
- let e = Rle();
- (0, Dt.flushSync)(() => e.render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(eue, { view: OO }) })));
-}
-function KO() {
- let e = BO ? hD(BO.id) : 0;
- return e ? `${zO} · ${_D(e)}` : zO;
-}
-function qO(e, t = null) {
- if (clearInterval(VO), VO = 0, e === null) {
- OO = {
- ...OO,
+}, bO = null, xO = null, SO = null, CO = null, wO = yO, TO = 0, EO = 0, DO = 0, OO = "", kO = [], AO = 0, jO = !1, MO = !1, NO = null, PO = /* @__PURE__ */ new Set(), FO = "", IO = null, LO = 0, RO = null, zO = !1;
+function BO() {
+ if (!bO) throw Error("沉浸岛还没有接上宿主(configureImmerse)");
+ return bO;
+}
+function Yle() {
+ return (!xO || !SO?.isConnected) && (xO?.unmount(), SO = document.createElement("div"), SO.dataset.immerseHost = "", document.body.append(SO), xO = (0, Ot.createRoot)(SO)), xO;
+}
+function VO() {
+ let e = Yle();
+ (0, Dt.flushSync)(() => e.render(/* @__PURE__ */ (0, H.jsx)(RE, { children: /* @__PURE__ */ (0, H.jsx)(due, { view: wO }) })));
+}
+function HO() {
+ let e = IO ? dD(IO.id) : 0;
+ return e ? `${FO} · ${pD(e)}` : FO;
+}
+function UO(e, t = null) {
+ if (clearInterval(LO), LO = 0, e === null) {
+ wO = {
+ ...wO,
loading: null
- }, GO();
+ }, VO();
return;
}
- zO = e, BO = t, OO = {
- ...OO,
- loading: KO()
- }, GO(), VO = window.setInterval(() => {
- BO = NO[PO] ?? null, OO = {
- ...OO,
- loading: KO()
- }, GO();
+ FO = e, IO = t, wO = {
+ ...wO,
+ loading: HO()
+ }, VO(), LO = window.setInterval(() => {
+ IO = kO[AO] ?? null, wO = {
+ ...wO,
+ loading: HO()
+ }, VO();
}, 500);
}
-function zle(e) {
+function WO(e) {
let t = document.createElement("div");
t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);
let n = document.createElement("video");
- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), DO.track.append(t);
- let r = CD(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), CO.track.append(t);
+ let r = yD(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => ED(r),
+ release: () => SD(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return RO.add(a), a;
+ return PO.add(a), a;
}
-function Ble(e, t) {
+function GO(e, t) {
return new Promise((n) => {
- e.release = WD(e.video, {
+ e.release = BD(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- OO.open && tk(1);
+ wO.open && QO(1);
}
}), e.gone.then(n);
});
}
-function JO(e) {
- !e || e.disposed || (e.disposed = !0, RO.delete(e), e.leave(), e.release(), e.el.remove(), LO === e && (LO = null));
+function KO(e) {
+ !e || e.disposed || (e.disposed = !0, PO.delete(e), e.leave(), e.release(), e.el.remove(), NO === e && (NO = null));
}
-var YO = [
+var qO = [
"loadeddata",
"canplay",
"error"
];
-function Vle(e) {
+function Xle(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), YO.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), qO.forEach((e) => t.removeEventListener(e, i)), n());
};
- YO.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, Lle);
+ qO.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, Jle);
e.gone.then(i);
});
}
-function XO(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Fle(e.videoWidth, e.videoHeight, n);
+function JO(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Kle(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var ZO = () => DO?.track.querySelectorAll("video").forEach(XO);
-function QO(e) {
- delete e.dataset.fit, e.readyState >= 1 ? XO(e) : e.addEventListener("loadedmetadata", () => XO(e), { once: !0 });
+var YO = () => CO?.track.querySelectorAll("video").forEach(JO);
+function Zle(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? JO(e) : e.addEventListener("loadedmetadata", () => JO(e), { once: !0 });
}
-function Hle(e) {
- OO = {
- ...OO,
+function Qle(e) {
+ wO = {
+ ...wO,
wide: e
- }, GO(), ZO();
+ }, VO(), YO();
}
-var $O = () => {
- let e = MO;
+var XO = () => {
+ let e = OO;
return z.fetchQuery({
- queryKey: Ole(e, AO, jO),
- queryFn: () => Mle(e, WO().sourceOffline),
+ queryKey: zle(e, EO, DO),
+ queryFn: () => Ule(e, BO().sourceOffline),
staleTime: Infinity
});
};
-function Ule(e, t) {
+function $le(e, t) {
let n = () => se(e.duration) || se(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && DO && (DO.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), HO = {
+ t && CO && (CO.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), RO = {
video: e,
duration: n
};
}
-async function ek(e = 0) {
- let t = NO[PO];
- if (!t || FO) return;
- let n = kO;
- WO().route(t.id), FO = !0, qO(e ? "切换中…" : "加载中…", t);
+async function ZO(e = 0) {
+ let t = kO[AO];
+ if (!t || jO) return;
+ let n = TO;
+ BO().route(t.id), jO = !0, UO(e ? "切换中…" : "加载中…", t);
let r = null;
try {
- if (await SO(t.id).catch((e) => {
- if (!(e instanceof sO)) throw e;
- }), n !== kO) return;
- let i = LO, a = !!(e && i);
- a || JO(i);
- let o = zle(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, QO(o.video), await Ble(o, t), await Vle(o), o.disposed || (Hle(Ile(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await vO(t.id).catch((e) => {
+ if (!(e instanceof rO)) throw e;
+ }), n !== TO) return;
+ let i = NO, a = !!(e && i);
+ a || KO(i);
+ let o = WO(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, Zle(o.video), await GO(o, t), await Xle(o), o.disposed || (Qle(qle(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";
- })), await new Promise((e) => setTimeout(e, 210)), JO(i), o.el.style.transform = ""), o.disposed)) return;
- LO = o, r = null, o.video.play()?.catch(() => {}), OO = {
- ...OO,
+ })), await new Promise((e) => setTimeout(e, 210)), KO(i), o.el.style.transform = ""), o.disposed)) return;
+ NO = o, r = null, o.video.play()?.catch(() => {}), wO = {
+ ...wO,
idle: !1,
shown: {
item: t,
- index: PO,
- length: NO.length
+ index: AO,
+ length: kO.length
}
- }, Ule(o.video, t), q("/api/play", { id: t.id }).catch(() => {}), qO(null);
+ }, $le(o.video, t), q("/api/play", { id: t.id }).catch(() => {}), UO(null);
} catch {
- JO(r), n === kO && qO(null);
+ KO(r), n === TO && UO(null);
} finally {
- n === kO && (FO = !1);
+ n === TO && (jO = !1);
}
}
-async function tk(e) {
- if (FO || !OO.open) return;
- let t = kO;
- if (PO += e, qO("切换中…", NO[PO] ?? null), PO >= NO.length - 3 && !IO) {
- IO = !0;
+async function QO(e) {
+ if (jO || !wO.open) return;
+ let t = TO;
+ if (AO += e, UO("切换中…", kO[AO] ?? null), AO >= kO.length - 3 && !MO) {
+ MO = !0;
try {
- jO += 1;
- let e = await $O();
- t === kO && (NO = Nle(NO, e));
+ DO += 1;
+ let e = await XO();
+ t === TO && (kO = Wle(kO, e));
} catch {} finally {
- IO = !1;
+ MO = !1;
}
}
- t === kO && (PO >= NO.length && (PO = 0), PO < 0 && (PO = NO.length - 1), await ek(e));
+ t === TO && (AO >= kO.length && (AO = 0), AO < 0 && (AO = kO.length - 1), await ZO(e));
}
-async function Wle(e) {
- let t = ++kO;
- nk(), AO += 1, jO = 0, MO = kle(WO().filters()), z.removeQueries({ queryKey: ["immerse-list"] }), OO = {
- ...OO,
+async function eue(e) {
+ let t = ++TO;
+ $O(), EO += 1, DO = 0, OO = Ble(BO().filters()), z.removeQueries({ queryKey: ["immerse-list"] }), wO = {
+ ...wO,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), qO("加载内容…");
+ }, document.body.setAttribute("data-immerse-open", ""), UO("加载内容…");
try {
- let n = await $O();
+ let n = await XO();
if (e && !n.some((t) => t.id === e)) {
- let t = await SO(e).catch((e) => {
- if (e instanceof sO) return null;
+ let t = await vO(e).catch((e) => {
+ if (e instanceof rO) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== kO) return;
- if (NO = n, !NO.length) {
- rk(), WO().warn("当前筛选下没有可直接播放的内容");
+ if (t !== TO) return;
+ if (kO = n, !kO.length) {
+ ek(), BO().warn("当前筛选下没有可直接播放的内容");
return;
}
- PO = Math.max(0, NO.findIndex((t) => t.id === e)), await ek();
+ AO = Math.max(0, kO.findIndex((t) => t.id === e)), await ZO();
} catch {
- if (t !== kO) return;
- qO(null), rk();
+ if (t !== TO) return;
+ UO(null), ek();
}
}
-function nk() {
- clearInterval(VO), VO = 0, lk(), sk = null, HO = null, UO = !1, [...RO].forEach(JO), FO = !1;
+function $O() {
+ clearInterval(LO), LO = 0, ok(), ik = null, RO = null, zO = !1, [...PO].forEach(KO), jO = !1;
}
-function rk() {
- OO.open && (kO++, nk(), OO = CO, document.body.removeAttribute("data-immerse-open"), GO(), WO().closed());
+function ek() {
+ wO.open && (TO++, $O(), wO = yO, document.body.removeAttribute("data-immerse-open"), VO(), BO().closed());
}
-var ik = 0, ak = null, ok = 0, sk = null, ck = 0;
-function lk() {
- clearTimeout(ik), ik = 0, ak = null;
+var tk = 0, nk = null, rk = 0, ik = null, ak = 0;
+function ok() {
+ clearTimeout(tk), tk = 0, nk = null;
}
-function Gle(e) {
- let t = LO?.video;
+function tue(e) {
+ let t = NO?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- if (ak && ak.side === n && r - ak.at <= 280) {
- lk(), Jce(t, WO().seekSeconds() * n);
+ if (nk && nk.side === n && r - nk.at <= 280) {
+ ok(), ale(t, BO().seekSeconds() * n);
return;
}
- ik && (clearTimeout(ik), ik = 0, GD(t)), ak = {
+ tk && (clearTimeout(tk), tk = 0, VD(t)), nk = {
side: n,
at: r
- }, ik = window.setTimeout(() => {
- ik = 0, ak = null, OO.open && GD(LO?.video);
+ }, tk = window.setTimeout(() => {
+ tk = 0, nk = null, wO.open && VD(NO?.video);
}, 280);
}
-function Kle() {
- Date.now() < ok || GD(LO?.video);
+function nue() {
+ Date.now() < rk || VD(NO?.video);
}
-var uk = (e) => DO?.bar.toggleAttribute("data-scrubbing", e);
-function dk(e) {
- DO && (DO.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var sk = (e) => CO?.bar.toggleAttribute("data-scrubbing", e);
+function ck(e) {
+ CO && (CO.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function fk(e) {
+function lk(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- sk = null;
+ ik = null;
return;
}
- let n = LO?.video;
- sk = {
+ let n = NO?.video;
+ ik = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function pk(e) {
- if (!sk || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - sk.x, n = e.touches[0].clientY - sk.y;
- if (!sk.axis) {
+function uk(e) {
+ if (!ik || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - ik.x, n = e.touches[0].clientY - ik.y;
+ if (!ik.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- sk.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", sk.axis === "x" && uk(!0);
+ ik.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", ik.axis === "x" && sk(!0);
}
- if (sk.axis !== "x") return;
- let r = LO?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), sk.to = Math.min(i, Math.max(0, sk.from + t / window.innerWidth * i)), dk(sk.to / i));
+ if (ik.axis !== "x") return;
+ let r = NO?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), ik.to = Math.min(i, Math.max(0, ik.from + t / window.innerWidth * i)), ck(ik.to / i));
}
-function mk(e) {
- if (!sk) return;
- let t = sk;
- if (sk = null, ok = Date.now() + 700, uk(!1), t.axis === "x") {
- let e = LO?.video;
+function dk(e) {
+ if (!ik) return;
+ let t = ik;
+ if (ik = null, rk = Date.now() + 700, sk(!1), t.axis === "x") {
+ let e = NO?.video;
e && t.to != null && (e.currentTime = t.to);
return;
}
let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;
if (Math.abs(i) > 60) {
- lk(), tk(i > 0 ? 1 : -1);
+ ok(), QO(i > 0 ? 1 : -1);
return;
}
- Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Gle(n.clientX));
+ Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), tue(n.clientX));
}
-function hk() {
- sk = null, uk(!1);
+function fk() {
+ ik = null, sk(!1);
}
-function gk(e) {
+function pk(e) {
let t = Date.now();
- t - ck < 260 || (ck = t, tk(e.deltaY > 0 ? 1 : -1));
+ t - ak < 260 || (ak = t, QO(e.deltaY > 0 ? 1 : -1));
}
-function _k(e) {
- let t = DO.bar.getBoundingClientRect();
+function mk(e) {
+ let t = CO.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function vk(e) {
- HO?.duration() && (UO = !0, uk(!0), e.currentTarget.setPointerCapture(e.pointerId), dk(_k(e)), e.preventDefault());
+function rue(e) {
+ RO?.duration() && (zO = !0, sk(!0), e.currentTarget.setPointerCapture(e.pointerId), ck(mk(e)), e.preventDefault());
}
-function qle(e) {
- UO && dk(_k(e));
+function iue(e) {
+ zO && ck(mk(e));
}
-function Jle(e) {
- if (!UO) return;
- UO = !1, uk(!1);
- let t = HO?.duration();
- HO && t && (HO.video.currentTime = t * _k(e));
+function aue(e) {
+ if (!zO) return;
+ zO = !1, sk(!1);
+ let t = RO?.duration();
+ RO && t && (RO.video.currentTime = t * mk(e));
}
-function Yle() {
- UO = !1, uk(!1);
+function oue() {
+ zO = !1, sk(!1);
}
-async function yk(e, t) {
- let n = await q(nO, {
+async function hk(e, t) {
+ let n = await q(QD, {
id: e,
kind: t
- }), r = z.getQueryData($D(e));
- if (!r) return ZD(e, {
+ }), r = z.getQueryData(YD(e));
+ if (!r) return qD(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -33691,7 +33747,7 @@ async function yk(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return z.setQueryData($D(e), i), ZD(e, {
+ return z.setQueryData(YD(e), i), qD(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -33699,7 +33755,7 @@ async function yk(e, t) {
o_count: i.o_count
}), n;
}
-var Xle = [
+var sue = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -33716,31 +33772,31 @@ var Xle = [
label: "记一次高潮"
}
];
-function bk(e) {
- return gw({
- queryKey: $D(e ?? 0),
- queryFn: ({ signal: t }) => cO(e, t),
+function gk(e) {
+ return uw({
+ queryKey: YD(e ?? 0),
+ queryFn: ({ signal: t }) => iO(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function Zle({ kind: e, glyph: t, label: n, id: r }) {
- let i = bk(r), a = yw({
+function cue({ kind: e, glyph: t, label: n, id: r }) {
+ let i = gk(r), a = pw({
mutationFn: async (t) => {
- let n = z.getQueryData($D(t))?.feedback || null;
+ let n = z.getQueryData(YD(t))?.feedback || null;
return {
- result: await yk(t, e),
+ result: await hk(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- WO().toast(xO(e, t), { undo: async () => {
- e === "o" ? await yk(r, "o-undo") : (t.feedback && await yk(r, t.feedback), n && await yk(r, n));
+ BO().toast(_O(e, t), { undo: async () => {
+ e === "o" ? await hk(r, "o-undo") : (t.feedback && await hk(r, t.feedback), n && await hk(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- tk(1);
+ QO(1);
}, 260);
},
- onError: (e) => WO().failure("更新反馈", e)
+ onError: (e) => BO().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-immerse-action": "",
@@ -33771,11 +33827,11 @@ function Zle({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function Qle({ shown: e }) {
- let t = e?.item ?? null, n = bk(t?.id ?? null), r = n ? Ple(n) : null, i = WO(), a = (e) => {
- e.preventDefault(), n && (rk(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function lue({ shown: e }) {
+ let t = e?.item ?? null, n = gk(t?.id ?? null), r = n ? Gle(n) : null, i = BO(), a = (e) => {
+ e.preventDefault(), n && (ek(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (rk(), i.openItem(t.id));
+ t && (ek(), i.openItem(t.id));
}, s = r ? ue(r.name, r.ref, Oe(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-immerse-ui": "",
@@ -33804,18 +33860,18 @@ function Qle({ shown: e }) {
})]
});
}
-var $le = { __html: w("媒体加载中") };
-function eue({ view: e }) {
+var uue = { __html: w("媒体加载中") };
+function due({ view: e }) {
let t = (0, B.useRef)(null), n = (0, B.useRef)(null), r = (0, B.useRef)(null), i = (0, B.useRef)(null);
(0, B.useLayoutEffect)(() => {
let e = t.current;
- return DO = {
+ return CO = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", fk, { passive: !0 }), e.addEventListener("touchmove", pk, { passive: !1 }), e.addEventListener("touchend", mk, { passive: !1 }), e.addEventListener("touchcancel", hk, { passive: !0 }), e.addEventListener("wheel", gk, { passive: !0 }), () => {
- e.removeEventListener("touchstart", fk), e.removeEventListener("touchmove", pk), e.removeEventListener("touchend", mk), e.removeEventListener("touchcancel", hk), e.removeEventListener("wheel", gk), DO = null;
+ }, e.addEventListener("touchstart", lk, { passive: !0 }), e.addEventListener("touchmove", uk, { passive: !1 }), e.addEventListener("touchend", dk, { passive: !1 }), e.addEventListener("touchcancel", fk, { passive: !0 }), e.addEventListener("wheel", pk, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", lk), e.removeEventListener("touchmove", uk), e.removeEventListener("touchend", dk), e.removeEventListener("touchcancel", fk), e.removeEventListener("wheel", pk), CO = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -33832,10 +33888,10 @@ function eue({ view: e }) {
children: [/* @__PURE__ */ (0, H.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: Kle
+ onClick: nue
}), /* @__PURE__ */ (0, H.jsx)("div", {
"data-immerse-actions": "",
- children: Xle.map((e) => /* @__PURE__ */ (0, H.jsx)(Zle, {
+ children: sue.map((e) => /* @__PURE__ */ (0, H.jsx)(cue, {
...e,
id: a
}, e.kind))
@@ -33848,7 +33904,7 @@ function eue({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, H.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: $le
+ dangerouslySetInnerHTML: uue
}), /* @__PURE__ */ (0, H.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, H.jsx)("button", {
@@ -33856,7 +33912,7 @@ function eue({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: rk,
+ onClick: ek,
children: /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: "#i-x" })
@@ -33865,71 +33921,71 @@ function eue({ view: e }) {
/* @__PURE__ */ (0, H.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: vk,
- onPointerMove: qle,
- onPointerUp: Jle,
- onPointerCancel: Yle,
+ onPointerDown: rue,
+ onPointerMove: iue,
+ onPointerUp: aue,
+ onPointerCancel: oue,
children: /* @__PURE__ */ (0, H.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, H.jsx)(Qle, { shown: e.shown })
+ /* @__PURE__ */ (0, H.jsx)(lue, { shown: e.shown })
]
});
}
-var tue = {
- open: Wle,
- close: rk,
- isOpen: () => OO.open,
- activeVideo: () => OO.open ? LO?.video ?? null : null
+var fue = {
+ open: eue,
+ close: ek,
+ isOpen: () => wO.open,
+ activeVideo: () => wO.open ? NO?.video ?? null : null
};
-function nue(e) {
- if (!OO.open) return;
+function pue(e) {
+ if (!wO.open) return;
let t = e.target;
- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && tk(1), e.key === "ArrowUp" && tk(-1));
+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && QO(1), e.key === "ArrowUp" && QO(-1));
}
-function rue(e) {
- let t = !wO;
- return wO = e, GO(), t && (document.addEventListener("keydown", nue), addEventListener("resize", () => {
- OO.open && ZO();
+function mue(e) {
+ let t = !bO;
+ return bO = e, VO(), t && (document.addEventListener("keydown", pue), addEventListener("resize", () => {
+ wO.open && YO();
}), addEventListener("pagehide", () => {
- RO.forEach((e) => ED(e.session));
- })), tue;
+ PO.forEach((e) => SD(e.session));
+ })), fue;
}
//#endregion
//#region src/manage-header.ts
-var iue = {
+var hue = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/scraping": "来源和凭证"
-}, aue = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), oue = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
-function sue(e) {
+}, gue = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), _ue = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
+function vue(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = iue[e.path] ?? "";
+ let n = hue[e.path] ?? "";
return {
title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],
crumb: n,
- compact: aue.has(e.path) || e.section === "configuration",
+ compact: gue.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: oue(e.trash),
+ text: _ue(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var cue = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+var yue = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
//#endregion
//#region src/react/settings-panel/icon.tsx
-function xk({ name: e }) {
+function _k({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-function lue({ name: e }) {
+function bue({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -33938,29 +33994,29 @@ function lue({ name: e }) {
}
//#endregion
//#region src/react/manage-header/manage-header-island.tsx
-var Sk = null, Ck = null, wk = null;
-function uue() {
- let e = Sk, t = wk;
- !e || !Ck || !t || (0, Dt.flushSync)(() => Ck.render(/* @__PURE__ */ (0, H.jsx)(pue, {
+var vk = null, yk = null, bk = null;
+function xue() {
+ let e = vk, t = bk;
+ !e || !yk || !t || (0, Dt.flushSync)(() => yk.render(/* @__PURE__ */ (0, H.jsx)(wue, {
host: e,
props: t
})));
}
-var due = { render(e) {
- wk = e, uue();
+var Sue = { render(e) {
+ bk = e, xue();
} };
-function fue(e) {
- return Sk = e, wk = null, e.root.replaceChildren(), Ck = (0, Ot.createRoot)(e.root), due;
+function Cue(e) {
+ return vk = e, bk = null, e.root.replaceChildren(), yk = (0, Ot.createRoot)(e.root), Sue;
}
-function pue({ host: e, props: t }) {
- let n = sue(t);
+function wue({ host: e, props: t }) {
+ let n = vue(t);
return n ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(mue, {
+ /* @__PURE__ */ (0, H.jsx)(Tue, {
host: e,
section: t.section,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, H.jsx)(hue, {
+ n.crumb ? /* @__PURE__ */ (0, H.jsx)(Eue, {
host: e,
label: n.crumb
}) : null,
@@ -33969,29 +34025,29 @@ function pue({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, H.jsx)(gue, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, H.jsx)(Due, {
host: e,
lede: n.lede
})
] }) : null;
}
-var Tk = null;
-function Ek(e, t, n) {
+var xk = null;
+function Sk(e, t, n) {
e.style.setProperty("--tab-x", `${t}px`), e.style.setProperty("--tab-width", `${n}px`);
}
-function mue({ host: e, section: t, menu: n }) {
+function Tue({ host: e, section: t, menu: n }) {
let r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = () => {
let e = r.current, t = i.current;
if (!e || !t) return;
let n = e.querySelector("button[aria-pressed=\"true\"]");
- n && !n.offsetWidth || (Ek(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (Tk = {
+ n && !n.offsetWidth || (Sk(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (xk = {
x: n.offsetLeft,
width: n.offsetWidth
}));
};
return (0, B.useLayoutEffect)(() => {
let e = r.current, t = i.current;
- Tk ? Ek(t, Tk.x, Tk.width) : a();
+ xk ? Sk(t, xk.x, xk.width) : a();
let n = 0, o = requestAnimationFrame(() => {
t.setAttribute("data-ready", ""), n = requestAnimationFrame(a);
}), s = new ResizeObserver(a);
@@ -34014,7 +34070,7 @@ function mue({ host: e, section: t, menu: n }) {
"aria-pressed": a,
"aria-current": a ? "page" : void 0,
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, H.jsx)(xk, { name: i }), /* @__PURE__ */ (0, H.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, H.jsx)(_k, { name: i }), /* @__PURE__ */ (0, H.jsx)("span", { children: r })]
}, n);
}), /* @__PURE__ */ (0, H.jsx)("span", {
ref: i,
@@ -34024,7 +34080,7 @@ function mue({ host: e, section: t, menu: n }) {
})
});
}
-function hue({ host: e, label: t }) {
+function Eue({ host: e, label: t }) {
return /* @__PURE__ */ (0, H.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "Breadcrumb",
@@ -34034,20 +34090,20 @@ function hue({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-right" })] }), /* @__PURE__ */ (0, H.jsx)("li", {
+ }), /* @__PURE__ */ (0, H.jsx)(_k, { name: "chevron-right" })] }), /* @__PURE__ */ (0, H.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, H.jsx)("span", { children: t })
})] })
});
}
-function gue({ host: e, lede: t }) {
+function Due({ host: e, lede: t }) {
return /* @__PURE__ */ (0, H.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: cue }
- }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(_ue, { text: t.text }), t.total ? /* @__PURE__ */ (0, H.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: yue }
+ }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Oue, { text: t.text }), t.total ? /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -34057,7 +34113,7 @@ function gue({ host: e, lede: t }) {
}) : null] })
});
}
-function _ue({ text: e }) {
+function Oue({ text: e }) {
let t = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
T(t.current, e);
@@ -34068,7 +34124,7 @@ function _ue({ text: e }) {
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var Dk = fr({
+var Ck = fr({
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",
@@ -34087,25 +34143,25 @@ var Dk = fr({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function Ok({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function wk({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, H.jsx)("span", {
ref: r,
- className: dr(Dk.base, Dk.variant[e], Dk.color[t], n),
+ className: dr(Ck.base, Ck.variant[e], Ck.color[t], n),
...i
});
}
//#endregion
//#region src/react/components/empty-state.tsx
-var vue = {
+var kue = {
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 kk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function Tk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${vue[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${kue[i]}`,
children: [
a ? /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
@@ -34135,7 +34191,7 @@ function kk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/page.tsx
-function Ak({ children: e }) {
+function Ek({ children: e }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -34143,7 +34199,7 @@ function Ak({ children: e }) {
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function yue({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+function Aue({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
return /* @__PURE__ */ (0, H.jsxs)(yc, {
"data-label": "true",
...a,
@@ -34155,7 +34211,7 @@ function yue({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, H.jsx)(noe, {
+ n && /* @__PURE__ */ (0, H.jsx)(foe, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -34164,7 +34220,7 @@ function yue({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function bue({ isInvalid: e = !1, className: t, ...n }) {
+function jue({ isInvalid: e = !1, className: t, ...n }) {
return /* @__PURE__ */ (0, H.jsx)(Fc, {
slot: e ? "errorMessage" : "description",
...n,
@@ -34173,9 +34229,9 @@ function bue({ isInvalid: e = !1, className: t, ...n }) {
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var jk = (0, B.createContext)({});
-function Mk({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, H.jsx)(jk.Provider, {
+var Dk = (0, B.createContext)({});
+function Ok({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, H.jsx)(Dk.Provider, {
value: {
size: e,
fieldClassName: t,
@@ -34189,8 +34245,8 @@ function Mk({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
})
});
}
-Mk.displayName = "TextField";
-var Nk = fr({
+Ok.displayName = "TextField";
+var kk = fr({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -34219,44 +34275,44 @@ var Nk = fr({
].join(" "),
icon: "size-5 shrink-0"
});
-function Pk({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, B.useContext)(jk), u = e ?? l.size ?? "medium", d = r != null;
+function Ak({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, B.useContext)(Dk), u = e ?? l.size ?? "medium", d = r != null;
return /* @__PURE__ */ (0, H.jsx)(kl, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => dr(Nk.field, d ? Nk.fieldWithAddonSize[u] : Nk.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 }) => dr(kk.field, d ? kk.fieldWithAddonSize[u] : kk.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, H.jsxs)("div", {
- className: Nk.content,
+ className: kk.content,
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
- className: Nk.leftSection,
+ className: kk.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, H.jsx)(t, {
- className: Nk.icon,
+ className: kk.icon,
"aria-hidden": !0
}) : null, /* @__PURE__ */ (0, H.jsx)(Ml, {
ref: o,
...c,
- className: dr(Nk.input, l.inputClassName, a)
+ className: dr(kk.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, H.jsx)(n, {
- className: Nk.icon,
+ className: kk.icon,
"aria-hidden": !0
}) : null]
})
});
}
-Pk.displayName = "InputBase";
-function Fk({ 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, H.jsx)(Mk, {
+Ak.displayName = "InputBase";
+function jk({ 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, H.jsx)(Ok, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- e && /* @__PURE__ */ (0, H.jsx)(yue, {
+ e && /* @__PURE__ */ (0, H.jsx)(Aue, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, H.jsx)(Pk, {
+ /* @__PURE__ */ (0, H.jsx)(Ak, {
ref: c,
groupRef: l,
placeholder: r,
@@ -34265,17 +34321,17 @@ function Fk({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, H.jsx)(bue, {
+ t && /* @__PURE__ */ (0, H.jsx)(jue, {
isInvalid: d,
children: t
})
] })
});
}
-Fk.displayName = "Input";
+jk.displayName = "Input";
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function xue(e) {
+function Mue(e) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -34289,7 +34345,7 @@ function xue(e) {
})
});
}
-function Sue(e) {
+function Nue(e) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -34303,7 +34359,7 @@ function Sue(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Cue(e, t, n) {
+function Pue(e, t, n) {
(0, B.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -34317,7 +34373,7 @@ function Cue(e, t, n) {
n
]);
}
-function wue(e, t) {
+function Fue(e, t) {
let n = (0, B.useRef)(!1);
return (0, B.useEffect)(() => {
if (!e) return;
@@ -34331,12 +34387,12 @@ function wue(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var Ik = (0, B.createContext)("md");
-function Lk({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var Mk = (0, B.createContext)("md");
+function Nk({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, B.useRef)(null), u = (0, B.useRef)(null), [d, f] = (0, B.useState)(!1);
- Cue(d, () => f(!1), [l, u]);
- let p = wue(d, l);
- return /* @__PURE__ */ (0, H.jsx)(See, {
+ Pue(d, () => f(!1), [l, u]);
+ let p = Fue(d, l);
+ return /* @__PURE__ */ (0, H.jsx)(xee, {
ref: s,
...c,
isOpen: d,
@@ -34345,19 +34401,19 @@ function Lk({ className: e, triggerClassName: t, popoverClassName: n, size: r =
children: ({ isOpen: e }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)(kc, {
ref: l,
className: dr("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, H.jsx)(Tee, {
+ children: [/* @__PURE__ */ (0, H.jsx)(wee, {
className: dr("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, H.jsx)(xue, { className: dr("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, H.jsx)(Mue, { className: dr("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
}), /* @__PURE__ */ (0, H.jsx)(nm, {
ref: u,
isNonModal: !0,
offset: 4,
- className: dr(poe, tT, "p-2", n),
+ className: dr(woe, Zw, "p-2", n),
children: /* @__PURE__ */ (0, H.jsx)(ef, {
items: a,
- className: dr(moe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, H.jsx)(Ik.Provider, {
+ className: dr(Toe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, H.jsx)(Mk.Provider, {
value: r,
children: i
})
@@ -34365,21 +34421,21 @@ function Lk({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function Rk({ className: e, children: t, ...n }) {
- let r = (0, B.useContext)(Ik);
+function Pk({ className: e, children: t, ...n }) {
+ let r = (0, B.useContext)(Mk);
return /* @__PURE__ */ (0, H.jsx)(af, {
...n,
- className: (t) => dr(nT, 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) => dr(Qw, 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/activity/tasks.ts
-var zk = "/api/tasks", Bk = ["tasks"], Tue = (e, t) => K(`${zk}?${new URLSearchParams({
+var Fk = "/api/tasks", Ik = ["tasks"], Iue = (e, t) => K(`${Fk}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Vk(...e) {
+function Lk(...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) => {
@@ -34387,26 +34443,26 @@ function Vk(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Eue = 2e3, Due = 1e4, Oue = (e) => e?.running.length ? Eue : Due, Hk = (e) => K(zk, e);
-async function kue(e) {
+var Lue = 2e3, Rue = 1e4, zue = (e) => e?.running.length ? Lue : Rue, Rk = (e) => K(Fk, e);
+async function Bue(e) {
await z.fetchQuery({
- queryKey: Bk,
- queryFn: () => Hk(e)
+ queryKey: Ik,
+ queryFn: () => Rk(e)
});
}
-var Uk = {
+var zk = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Aue = {
+}, Vue = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, jue = (e) => Aue[e] || e, Mue = {
+}, Hue = (e) => Vue[e] || e, Uue = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -34436,7 +34492,7 @@ var Uk = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function Nue(e) {
+function Wue(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -34445,7 +34501,7 @@ function Nue(e) {
}
return t;
}
-function Pue(e, t) {
+function Gue(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -34467,19 +34523,19 @@ function Pue(e, t) {
}
return n;
}
-var Fue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Wk = (e) => e.status === "pending" || e.status === "running";
-function Iue(e) {
+var Kue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Bk = (e) => e.status === "pending" || e.status === "running";
+function que(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 || qk(e.result_summary) || (Wk(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || Uk(e.result_summary) || (Bk(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function Gk(e) {
+function Vk(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 Kk(e) {
+function Hk(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -34489,7 +34545,7 @@ function Kk(e) {
minute: "2-digit"
});
}
-var Lue = /* @__PURE__ */ new Set([
+var Jue = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -34498,23 +34554,23 @@ var Lue = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function qk(e) {
- return Object.entries(e || {}).filter(([e, t]) => !Lue.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Mue[e] || e} ${t}`).join(" · ");
+function Uk(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !Jue.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Uue[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/resource-search.tsx
-function Rue({ className: e }) {
+function Yue({ className: e }) {
return /* @__PURE__ */ (0, H.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: w("") }
});
}
-function zue(e) {
+function Xue(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function Bue({ initialCode: e, reason: t, choose: n }) {
- let [r, i] = (0, B.useState)(e), [a, o] = (0, B.useState)(() => zue(t)), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(null), [p, m] = (0, B.useState)(""), [h, g] = (0, B.useState)(""), _ = pT(), v = () => {
+function Zue({ initialCode: e, reason: t, choose: n }) {
+ let [r, i] = (0, B.useState)(e), [a, o] = (0, B.useState)(() => Xue(t)), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(null), [p, m] = (0, B.useState)(""), [h, g] = (0, B.useState)(""), _ = lT(), v = () => {
if (!r.trim() || _.busy) return;
let e = new URLSearchParams({
code: r.trim(),
@@ -34531,17 +34587,17 @@ function Bue({ initialCode: e, reason: t, choose: n }) {
"aria-busy": !!_.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, H.jsxs)(ET, { children: [
+ t ? /* @__PURE__ */ (0, H.jsxs)(ST, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "搜索资源",
value: r,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
- leadingIcon: _.busy ? Rue : qw,
+ leadingIcon: _.busy ? Yue : Uw,
isReadOnly: !!_.busy,
"aria-busy": !!_.busy,
onChange: i,
@@ -34551,7 +34607,7 @@ function Bue({ initialCode: e, reason: t, choose: n }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "优先寻找" }), /* @__PURE__ */ (0, H.jsxs)(Lk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(wT, { children: "优先寻找" }), /* @__PURE__ */ (0, H.jsxs)(Nk, {
"aria-label": "优先寻找",
selectedKey: a,
isDisabled: !!_.busy,
@@ -34559,15 +34615,15 @@ function Bue({ initialCode: e, reason: t, choose: n }) {
e !== null && o(String(e));
},
children: [
- /* @__PURE__ */ (0, H.jsx)(Rk, {
+ /* @__PURE__ */ (0, H.jsx)(Pk, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, H.jsx)(Rk, {
+ /* @__PURE__ */ (0, H.jsx)(Pk, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, H.jsx)(Rk, {
+ /* @__PURE__ */ (0, H.jsx)(Pk, {
id: "uncensored",
children: "无码"
})
@@ -34576,33 +34632,33 @@ function Bue({ initialCode: e, reason: t, choose: n }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, H.jsx)(Fk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(jk, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: s,
onChange: c
- }), /* @__PURE__ */ (0, H.jsx)(Fk, {
+ }), /* @__PURE__ */ (0, H.jsx)(jk, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
})]
}),
- /* @__PURE__ */ (0, H.jsx)(ET, { children: "只查询已启用的自配索引器;最多显示 5 个有做种的候选。清晰度、字幕与无码标记取自来源标题。" }),
- _.busy ? /* @__PURE__ */ (0, H.jsx)(ET, {
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: "只查询已启用的自配索引器;最多显示 5 个有做种的候选。清晰度、字幕与无码标记取自来源标题。" }),
+ _.busy ? /* @__PURE__ */ (0, H.jsx)(ST, {
role: "status",
children: "正在搜索资源"
}) : null,
- _.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: _.error }) : null,
- d?.error ? /* @__PURE__ */ (0, H.jsx)(ET, {
+ _.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: _.error }) : null,
+ d?.error ? /* @__PURE__ */ (0, H.jsx)(ST, {
role: "status",
children: d.error
}) : null,
- d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, H.jsx)(ET, {
+ d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, H.jsx)(ST, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- d?.warnings.map((e) => /* @__PURE__ */ (0, H.jsx)(ET, { children: e }, e)),
+ d?.warnings.map((e) => /* @__PURE__ */ (0, H.jsx)(ST, { children: e }, e)),
d?.items.length ? /* @__PURE__ */ (0, H.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: d.items.map((e) => /* @__PURE__ */ (0, H.jsxs)("li", {
@@ -34612,7 +34668,7 @@ function Bue({ initialCode: e, reason: t, choose: n }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, H.jsx)(ET, { children: [
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: [
`${(e.size / 1024 ** 3).toFixed(2)} GiB`,
`${e.seeders} 个做种`,
e.resolution ? `${e.resolution}p` : "",
@@ -34638,23 +34694,23 @@ function Bue({ initialCode: e, reason: t, choose: n }) {
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var Jk = "/api/downloads", Yk = ["downloads"], Vue = "/api/downloads/cancel", Hue = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, Uue = {
+var Wk = "/api/downloads", Gk = ["downloads"], Que = "/api/downloads/cancel", $ue = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, ede = {
ingested: "lime",
failed: "rose",
cancelled: "yellow",
stalled: "yellow"
-}, Wue = {
+}, tde = {
submitted: "已提交,远端开始下载后这里会显示进度。",
adopted: "这个磁力已经有任务了,接着跟进那一条,没有重复提交。",
adopted_remote: "远端已经有同一个任务,已接管,没有再扣配额。",
refused: "这个资源被判为违规,不再提交。",
failed: "提交没有成功。"
-}, Gue = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, Xk = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
-function Kue({ prefill: e }) {
- let t = gw({
- queryKey: Yk,
- queryFn: ({ signal: e }) => K(`${Jk}?limit=50`, e),
- refetchInterval: (e) => Hue(e.state.data)
+}, nde = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, Kk = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
+function rde({ prefill: e }) {
+ let t = uw({
+ queryKey: Gk,
+ queryFn: ({ signal: e }) => K(`${Wk}?limit=50`, e),
+ refetchInterval: (e) => $ue(e.state.data)
}), n = t.data;
if (!n) return t.error ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
@@ -34666,7 +34722,7 @@ function Kue({ prefill: e }) {
tone: "error",
children: G(t.error)
}) : null,
- n.available ? r.length ? /* @__PURE__ */ (0, H.jsx)(que, {
+ n.available ? r.length ? /* @__PURE__ */ (0, H.jsx)(ide, {
snapshot: n,
prefill: e
}) : /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -34679,15 +34735,15 @@ function Kue({ prefill: e }) {
n.tasks.length ? /* @__PURE__ */ (0, H.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: n.tasks.map((e) => /* @__PURE__ */ (0, H.jsx)(Yue, {
+ children: n.tasks.map((e) => /* @__PURE__ */ (0, H.jsx)(ode, {
task: e,
writable: n.available
}, e.id))
}) : null
] });
}
-function que({ snapshot: e, prefill: t }) {
- let n = ew(), r = e.providers.filter((e) => e.configured), [i, a] = (0, B.useState)(r[0].key), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(t?.code ?? ""), [u, d] = (0, B.useState)(r[0].target), [f, p] = (0, B.useState)(null), m = pT(), h = (0, B.useRef)(null);
+function ide({ snapshot: e, prefill: t }) {
+ let n = JC(), r = e.providers.filter((e) => e.configured), [i, a] = (0, B.useState)(r[0].key), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(t?.code ?? ""), [u, d] = (0, B.useState)(r[0].target), [f, p] = (0, B.useState)(null), m = lT(), h = (0, B.useRef)(null);
(0, B.useEffect)(() => {
t && h.current?.focus();
}, [t]);
@@ -34707,21 +34763,21 @@ function que({ snapshot: e, prefill: t }) {
title: t?.title,
origin: t?.origin
};
- p(null), m.run("submit", (e) => q(Jk, r, "POST", e), (e) => {
- p(e), e.ok && s(""), n.invalidateQueries({ queryKey: Yk });
+ p(null), m.run("submit", (e) => q(Wk, r, "POST", e), (e) => {
+ p(e), e.ok && s(""), n.invalidateQueries({ queryKey: Gk });
});
},
- children: /* @__PURE__ */ (0, H.jsxs)(yT, { children: [
- /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
- /* @__PURE__ */ (0, H.jsx)(Bue, {
+ children: /* @__PURE__ */ (0, H.jsxs)(hT, { children: [
+ /* @__PURE__ */ (0, H.jsxs)(bT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(Zue, {
initialCode: t?.code ?? "",
reason: t?.searchReason,
choose: (e, t) => {
s(e), l(t), h.current?.focus();
}
}),
- t?.title ? /* @__PURE__ */ (0, H.jsx)(ET, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ t?.title ? /* @__PURE__ */ (0, H.jsx)(ST, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,
+ /* @__PURE__ */ (0, H.jsx)(jk, {
ref: h,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -34732,19 +34788,19 @@ function que({ snapshot: e, prefill: t }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "下载到" }), /* @__PURE__ */ (0, H.jsx)(Lk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(wT, { children: "下载到" }), /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "下载到",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && _(String(e));
},
- children: r.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: r.map((e) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e.key,
children: e.label
}, e.key))
})]
}),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "目标目录",
placeholder: g.target || "/云下载",
autoComplete: "off",
@@ -34753,7 +34809,7 @@ function que({ snapshot: e, prefill: t }) {
value: u,
onChange: d
}),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
@@ -34762,15 +34818,15 @@ function que({ snapshot: e, prefill: t }) {
onChange: l
})
] }),
- f ? /* @__PURE__ */ (0, H.jsx)(wT, {
+ f ? /* @__PURE__ */ (0, H.jsx)(bT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(Jue, { result: f })
+ children: /* @__PURE__ */ (0, H.jsx)(ade, { result: f })
}) : null,
- m.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
+ m.error ? /* @__PURE__ */ (0, H.jsx)(bT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(DT, { children: m.error })
+ children: /* @__PURE__ */ (0, H.jsx)(CT, { children: m.error })
}) : null,
- /* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsx)(xT, {
status: i === "115" ? "115 每提交一次扣一条离线配额,重新提交也算。" : void 0,
children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
@@ -34782,23 +34838,23 @@ function que({ snapshot: e, prefill: t }) {
] })
});
}
-function Jue({ result: e }) {
- let t = Xk(e.task), n = Wue[e.outcome];
- return e.outcome === "failed" ? /* @__PURE__ */ (0, H.jsx)(DT, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, H.jsx)(DT, { children: n }) : /* @__PURE__ */ (0, H.jsx)(ET, {
+function ade({ result: e }) {
+ let t = Kk(e.task), n = tde[e.outcome];
+ return e.outcome === "failed" ? /* @__PURE__ */ (0, H.jsx)(CT, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, H.jsx)(CT, { children: n }) : /* @__PURE__ */ (0, H.jsx)(ST, {
role: "status",
children: n
});
}
-function Yue({ task: e, writable: t }) {
- let n = ew(), r = pT(), [i, a] = (0, B.useState)(!1), o = Xk(e), s = e.state === "failed", c = [
+function ode({ task: e, writable: t }) {
+ let n = JC(), r = lT(), [i, a] = (0, B.useState)(!1), o = Kk(e), s = e.state === "failed", c = [
e.provider_label,
e.code,
e.target,
- Kk(e.submitted_at)
+ Hk(e.submitted_at)
].filter(Boolean).join(" · "), l = () => {
- n.invalidateQueries({ queryKey: Yk });
+ n.invalidateQueries({ queryKey: Gk });
}, u = () => {
- r.run("cancel", (t) => q(Vue, { id: e.id }, "POST", t), l);
+ r.run("cancel", (t) => q(Que, { id: e.id }, "POST", t), l);
}, d = () => {
let t = {
magnet: e.source_uri,
@@ -34808,14 +34864,14 @@ function Yue({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => q(Jk, t, "POST", e), l);
+ r.run("resubmit", (e) => q(Wk, t, "POST", e), l);
}, f = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
};
return /* @__PURE__ */ (0, H.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: iT({
+ className: eT({
padding: "none",
bordered: "line",
className: s ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -34827,9 +34883,9 @@ function Yue({ task: e, writable: t }) {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
- children: Gue(e)
- }), /* @__PURE__ */ (0, H.jsx)(Ok, {
- color: Uue[e.state] ?? "neutral",
+ children: nde(e)
+ }), /* @__PURE__ */ (0, H.jsx)(wk, {
+ color: ede[e.state] ?? "neutral",
children: e.state_label
})]
}),
@@ -34837,7 +34893,7 @@ function Yue({ task: e, writable: t }) {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: c
}),
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, H.jsx)(_T, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, H.jsx)(pT, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -34846,7 +34902,7 @@ function Yue({ task: e, writable: t }) {
className: "min-w-0 break-all text-caption-1-regular text-text-secondary",
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: r.error }) : null,
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2 pt-1",
children: [
@@ -34884,23 +34940,23 @@ function Yue({ task: e, writable: t }) {
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var Xue = {
+var sde = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function Zk({ status: e }) {
- return /* @__PURE__ */ (0, H.jsx)(Ok, {
- color: Xue[e] ?? "neutral",
- children: jue(e)
+function qk({ status: e }) {
+ return /* @__PURE__ */ (0, H.jsx)(wk, {
+ color: sde[e] ?? "neutral",
+ children: Hue(e)
});
}
-function Zue({ rows: e }) {
+function Jk({ rows: e }) {
return /* @__PURE__ */ (0, H.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = Iue(e);
+ let t = que(e);
return /* @__PURE__ */ (0, H.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -34910,7 +34966,7 @@ function Zue({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, H.jsx)(Zk, { status: e.status }),
+ /* @__PURE__ */ (0, H.jsx)(qk, { status: e.status }),
t ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -34920,12 +34976,12 @@ function Zue({ rows: e }) {
})
});
}
-function Qk({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function Yk({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, H.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: iT({
+ className: eT({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -34939,7 +34995,7 @@ function Qk({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, H.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, H.jsx)(Zk, { status: e.status })]
+ }), /* @__PURE__ */ (0, H.jsx)(qk, { status: e.status })]
}),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -34948,7 +35004,7 @@ function Qk({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, H.jsx)(Zue, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, H.jsx)(Jk, { rows: i }) : null,
r ? /* @__PURE__ */ (0, H.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, H.jsx)("p", {
@@ -34959,15 +35015,15 @@ function Qk({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function Que({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Gk(e.elapsed_seconds), o = [Uk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, H.jsx)(Qk, {
+function Xk({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Vk(e.elapsed_seconds), o = [zk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, H.jsx)(Yk, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, H.jsx)(_T, {
+ children: [/* @__PURE__ */ (0, H.jsx)(pT, {
label: i,
value: r,
max: n
@@ -34982,20 +35038,20 @@ function Que({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, H.jsx)(hT, { label: i })
+ }) : /* @__PURE__ */ (0, H.jsx)(dT, { label: i })
});
}
-function $k({ run: e, followups: t, runs: n }) {
- let r = qk(e.result_summary), i = Gk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- Uk[e.trigger] || e.trigger,
+function Zk({ run: e, followups: t, runs: n }) {
+ let r = Uk(e.result_summary), i = Vk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ zk[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${Kk(a.finished_at)} – ${Kk(e.finished_at)}`
+ `${Hk(a.finished_at)} – ${Hk(e.finished_at)}`
] : [
- Uk[e.trigger] || e.trigger,
- Kk(e.finished_at),
+ zk[e.trigger] || e.trigger,
+ Hk(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, H.jsx)(Qk, {
+ return /* @__PURE__ */ (0, H.jsx)(Yk, {
run: e,
meta: o,
footer: e.error,
@@ -35006,7 +35062,7 @@ function $k({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function eA({ title: e, children: t }) {
+function Qk({ title: e, children: t }) {
let n = (0, B.useId)();
return /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-labelledby": n,
@@ -35018,41 +35074,41 @@ function eA({ title: e, children: t }) {
}), t]
});
}
-function tA({ live: e = !1, children: t }) {
+function $k({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, H.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function nA({ prefill: e }) {
- let t = gw({
- queryKey: Bk,
- queryFn: ({ signal: e }) => Hk(e),
- refetchInterval: (e) => Oue(e.state.data)
+function eA({ prefill: e }) {
+ let t = uw({
+ queryKey: Ik,
+ queryFn: ({ signal: e }) => Rk(e),
+ refetchInterval: (e) => zue(e.state.data)
}), n = t.data, r = n?.finished, [i, a] = (0, B.useState)([]), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)(r);
- r !== c && (l(r), i.length && c && a(Vk(i, c)));
- let u = yw({
- mutationFn: ({ oldest: e }) => Tue(e),
+ r !== c && (l(r), i.length && c && a(Lk(i, c)));
+ let u = pw({
+ mutationFn: ({ oldest: e }) => Iue(e),
onSuccess: (e, { shown: t }) => {
- a((n) => Vk(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => Lk(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? G(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ if (!n) return /* @__PURE__ */ (0, H.jsx)(Ek, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = Vk(n.finished || [], i), p = [
+ let f = Lk(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = Nue(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 = Wue(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(Wk)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Pue(w, (e) => Fue(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(Bk)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Gue(w, (e) => Kue(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, H.jsxs)(Ek, { children: [
d ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: d
@@ -35061,20 +35117,20 @@ function nA({ prefill: e }) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, H.jsx)(kk, {
+ E ? /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: Uw,
+ icon: Rw,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(eA, {
+ /* @__PURE__ */ (0, H.jsx)(Qk, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, H.jsxs)(tA, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, H.jsxs)($k, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, H.jsx)(Que, {
+ children: [S.map((e) => /* @__PURE__ */ (0, H.jsx)(Xk, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, H.jsx)($k, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, H.jsx)(Zk, {
run: e,
followups: m.get(e.id)
}, e.id))]
@@ -35083,17 +35139,17 @@ function nA({ prefill: e }) {
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, H.jsx)(eA, {
+ C.length ? /* @__PURE__ */ (0, H.jsx)(Qk, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, H.jsx)(tA, { children: C.map((e) => /* @__PURE__ */ (0, H.jsx)($k, {
+ children: /* @__PURE__ */ (0, H.jsx)($k, { children: C.map((e) => /* @__PURE__ */ (0, H.jsx)(Zk, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, H.jsxs)(eA, {
+ w.length || y ? /* @__PURE__ */ (0, H.jsxs)(Qk, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, H.jsx)(tA, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, H.jsx)($k, {
+ w.length ? /* @__PURE__ */ (0, H.jsx)($k, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, H.jsx)(Zk, {
run: e,
runs: t,
followups: m.get(e.id)
@@ -35105,7 +35161,7 @@ function nA({ prefill: e }) {
y ? /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: jw,
+ leadingIcon: Tw,
className: "self-start",
...X(u.isPending),
onClick: b,
@@ -35114,15 +35170,15 @@ function nA({ prefill: e }) {
]
}) : null
] }),
- /* @__PURE__ */ (0, H.jsx)(eA, {
+ /* @__PURE__ */ (0, H.jsx)(Qk, {
title: "云下载",
- children: /* @__PURE__ */ (0, H.jsx)(Kue, { prefill: e })
+ children: /* @__PURE__ */ (0, H.jsx)(rde, { prefill: e })
})
] });
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function rA(e, t) {
+function tA(e, t) {
let [n, r] = (0, B.useState)(e ? "skeleton" : "none"), [i] = (0, B.useState)(() => e ? t() : ""), a = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
a.current && s(a.current);
@@ -35148,7 +35204,7 @@ function rA(e, t) {
fading: n === "fade"
};
}
-function iA({ message: e, onRetry: t }) {
+function nA({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -35162,7 +35218,7 @@ function iA({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function aA({ artwork: e, identity: t = e.html, relayout: n }) {
+function rA({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, B.useState)({
identity: t,
artwork: e
@@ -35182,24 +35238,24 @@ function aA({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/media-card.tsx
-var oA = 9 / 16;
-function sA({ name: e }) {
+var iA = 9 / 16;
+function aA({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-var cA = {
+var oA = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
};
-function lA(e, t, n) {
- return t === "short" ? oA : Ve(n);
+function sA(e, t, n) {
+ return t === "short" ? iA : Ve(n);
}
-function uA(e) {
+function cA(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = fe(e), s = i[0] || "", c = xe(e);
return {
avatar: r ? /* @__PURE__ */ (0, H.jsx)("div", {
@@ -35246,7 +35302,7 @@ function uA(e) {
})
};
}
-function dA() {
+function lA() {
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -35265,7 +35321,7 @@ function dA() {
})]
});
}
-function fA({ item: e, actions: t }) {
+function cde({ item: e, actions: t }) {
let [n, r] = (0, B.useState)(null), [i, a] = (0, B.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-media-later": "",
@@ -35283,21 +35339,21 @@ function fA({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, H.jsx)(sA, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, H.jsx)(aA, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function pA(e, t) {
+function uA(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 mA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function lde({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
let l = (0, B.useRef)(null), u = (0, B.useRef)(e);
u.current = e;
let d = (0, B.useCallback)((e) => {
let t = u.current;
l.current && l.current !== e && Ee(l.current), l.current = e, e && (!t.medium || t.medium === "video") && ke(e, t);
- }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = de(e, h, !1, n.javImage), _ = h === "small" ? g.html : de(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v), b = f?.total_size ?? e.size, x = f?.total_duration ?? e.duration, S = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = uA(e), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = de(e, h, !1, n.javImage), _ = h === "small" ? g.html : de(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v), b = f?.total_size ?? e.size, x = f?.total_duration ?? e.duration, S = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = cA(e), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -35331,9 +35387,9 @@ function mA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
c(e, r);
}, O = /* @__PURE__ */ (0, H.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(lA(e, t, n)) },
+ style: { "--card-ratio": String(sA(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, H.jsx)(aA, {
+ g.html ? /* @__PURE__ */ (0, H.jsx)(rA, {
artwork: g,
identity: _,
relayout: (e) => Te(e, h)
@@ -35347,11 +35403,11 @@ function mA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, H.jsx)(sA, { name: "check" })
+ children: /* @__PURE__ */ (0, H.jsx)(aA, { name: "check" })
}),
/* @__PURE__ */ (0, H.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, H.jsx)(sA, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, H.jsx)(aA, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("b", { children: "回收站" })]
}),
f ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-media-group": "",
@@ -35378,8 +35434,8 @@ function mA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
"data-media-scrub": "",
children: /* @__PURE__ */ (0, H.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, H.jsx)(dA, {}),
- /* @__PURE__ */ (0, H.jsx)(fA, {
+ /* @__PURE__ */ (0, H.jsx)(lA, {}),
+ /* @__PURE__ */ (0, H.jsx)(cde, {
item: e,
actions: s
}),
@@ -35389,27 +35445,27 @@ function mA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), pA(l.current, -a);
+ e.stopPropagation(), uA(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, H.jsx)(sA, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, H.jsx)(aA, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), pA(l.current, a);
+ e.stopPropagation(), uA(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, H.jsx)(sA, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, H.jsx)(aA, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, H.jsx)(sA, { name: "expand" })
+ children: /* @__PURE__ */ (0, H.jsx)(aA, { name: "expand" })
})
]
})
@@ -35485,8 +35541,8 @@ function mA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
]
});
}
-function hA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : cA[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
+function ude({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : oA[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
t.preventDefault(), t.stopPropagation(), !s && (c(!0), i.resourceOperation(e, p).catch(() => {}).finally(() => c(!1)));
}, g = (t) => {
if (o.current) {
@@ -35512,7 +35568,7 @@ function hA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
children: [
/* @__PURE__ */ (0, H.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, H.jsx)(sA, { name: f }), /* @__PURE__ */ (0, H.jsx)("b", { children: d })]
+ children: [/* @__PURE__ */ (0, H.jsx)(aA, { name: f }), /* @__PURE__ */ (0, H.jsx)("b", { children: d })]
}),
l ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-media-art": "thumb",
@@ -35524,11 +35580,11 @@ function hA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, H.jsx)(sA, { name: "check" })
+ children: /* @__PURE__ */ (0, H.jsx)(aA, { name: "check" })
}),
/* @__PURE__ */ (0, H.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, H.jsx)(sA, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, H.jsx)(aA, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
@@ -35538,7 +35594,7 @@ function hA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
onClick: h,
"aria-busy": s || void 0,
"aria-disabled": s || void 0,
- children: s ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("span", { dangerouslySetInnerHTML: { __html: w(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, H.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(sA, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, H.jsx)("span", { children: m })] })
+ children: s ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("span", { dangerouslySetInnerHTML: { __html: w(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, H.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(aA, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, H.jsx)("span", { children: m })] })
})
]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
@@ -35547,7 +35603,7 @@ function hA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, H.jsx)(sA, { name: f })
+ children: /* @__PURE__ */ (0, H.jsx)(aA, { name: f })
}), /* @__PURE__ */ (0, H.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, H.jsx)("span", {
@@ -35576,17 +35632,17 @@ function hA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
})]
});
}
-function $ue(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, H.jsx)(hA, { ...e }) : /* @__PURE__ */ (0, H.jsx)(mA, { ...e });
+function dde(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, H.jsx)(ude, { ...e }) : /* @__PURE__ */ (0, H.jsx)(lde, { ...e });
}
-var gA = (0, B.memo)($ue), ede = 1100, tde = 340, nde = 5e3;
-function rde(e, t, n) {
+var dA = (0, B.memo)(dde), fde = 1100, pde = 340, mde = 5e3;
+function hde(e, t, n) {
return new Promise((r) => {
let i = new Image();
n && (i.referrerPolicy = n);
let a = !1, o = (e) => {
a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));
- }, s = () => o(!1), c = setTimeout(s, nde);
+ }, s = () => o(!1), c = setTimeout(s, mde);
t.cancels.add(s), i.onerror = s, i.onload = () => {
if (!i.naturalWidth) {
o(!1);
@@ -35596,7 +35652,7 @@ function rde(e, t, n) {
}, i.src = e;
});
}
-function _A({ load: e, canFlip: t, referrerPolicy: n }) {
+function fA({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, B.useState)([]), [a, o] = (0, B.useState)(0), [s, c] = (0, B.useState)(null), l = (0, B.useRef)({
live: !1,
generation: 0,
@@ -35638,11 +35694,11 @@ function _A({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => rde(t, e, n)));
+ let s = await Promise.all(a.map((t) => hde(t, e, n)));
if (!r() || !u.current.canFlip()) return;
let d = a.filter((e, t) => s[t]);
d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {
- p(), e.cycle = setInterval(p, ede);
+ p(), e.cycle = setInterval(p, fde);
}));
};
return (0, B.useEffect)(() => d, [d]), {
@@ -35651,7 +35707,7 @@ function _A({ load: e, canFlip: t, referrerPolicy: n }) {
leaving: s,
onPointerEnter: () => {
let e = l.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(tde, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(pde, () => {
e.armed = null, m();
});
},
@@ -35662,8 +35718,8 @@ function _A({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var vA = kC("play");
-function ide({ src: e }) {
+var pA = CC("play");
+function gde({ src: e }) {
let [t, n] = (0, B.useState)(!1);
return t ? null : /* @__PURE__ */ (0, H.jsx)("img", {
"data-mix-poster": "",
@@ -35674,8 +35730,8 @@ function ide({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var yA = "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 ade({ faces: e, fallback: t, onOpenEntity: n }) {
+var mA = "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 _de({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, H.jsx)("button", {
@@ -35683,18 +35739,18 @@ function ade({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${yA} cursor-pointer outline-none`,
+ className: `${mA} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: ue(e.name, e, Oe(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, H.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${yA} mt-0.5`,
+ className: `${mA} mt-0.5`,
children: t
});
}
-function bA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
- let b = _A({
+function hA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
+ let b = fA({
load: i,
canFlip: a
}), x = (0, B.useRef)(b.onPointerLeave);
@@ -35721,11 +35777,11 @@ function bA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: d === void 0 ? void 0 : { "--card-ratio": String(d) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",
children: [
- f?.html ? /* @__PURE__ */ (0, H.jsx)(aA, {
+ f?.html ? /* @__PURE__ */ (0, H.jsx)(rA, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, H.jsx)(ide, { src: r }, r) : /* @__PURE__ */ (0, H.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, H.jsx)(gde, { src: r }, r) : /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -35755,7 +35811,7 @@ function bA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, H.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, H.jsx)(vA, {
+ children: [/* @__PURE__ */ (0, H.jsx)(pA, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n} 个视频`]
@@ -35768,8 +35824,8 @@ function bA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, H.jsx)(vA, {})
- }) : /* @__PURE__ */ (0, H.jsx)(ade, {
+ children: /* @__PURE__ */ (0, H.jsx)(pA, {})
+ }) : /* @__PURE__ */ (0, H.jsx)(_de, {
faces: o,
fallback: e.slice(0, 1),
onOpenEntity: s
@@ -35793,20 +35849,20 @@ function bA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function xA(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, H.jsx)(sde, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${JD(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, H.jsx)(cde, { ...e }, t);
+function gA(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, H.jsx)(yde, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${WD(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, H.jsx)(bde, { ...e }, t);
}
-function ode({ name: e }) {
+function vde({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-function sde(e) {
- let { actions: t } = e, n = (0, B.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, H.jsx)(gA, {
+function yde(e) {
+ let { actions: t } = e, n = (0, B.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, H.jsx)(dA, {
item: i,
variant: r,
layout: e.layout,
@@ -35826,15 +35882,15 @@ function sde(e) {
children: i
});
}
-function cde(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? tle(e) : YD(e), s = i && e.initial ? {
+function bde(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? fle(e) : GD(e), s = i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
offset: 0
}],
pageParams: [0]
- } : void 0, c = bw({
+ } : void 0, c = mw({
queryKey: o.queryKey,
queryFn: ({ pageParam: e, signal: t }) => o.queryFn({
pageParam: e,
@@ -35847,7 +35903,7 @@ function cde(e) {
(0, B.useEffect)(() => {
c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));
}, [c.isPending]);
- let { tiles: u, pageStarts: d } = (0, B.useMemo)(() => ale(c.data?.pages || [], {
+ let { tiles: u, pageStarts: d } = (0, B.useMemo)(() => gle(c.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -35857,7 +35913,7 @@ function cde(e) {
e.mix,
a,
r.javImage
- ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = rA(c.isPending, e.skeletonHtml), h = (0, B.useRef)(null), g = lde(e, c.data, u, d, h);
+ ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = tA(c.isPending, e.skeletonHtml), h = (0, B.useRef)(null), g = xde(e, c.data, u, d, h);
(0, B.useLayoutEffect)(() => {
c.data && e.onCount?.(p, f);
}, [
@@ -35868,12 +35924,12 @@ function cde(e) {
let _ = (0, B.useCallback)((e, t) => n.open(e, t), [n]), v = (0, B.useCallback)((e, t) => n.openResource(e, t), [n]), y = (0, B.useCallback)((e) => n.openShort(e), [n]), b = (0, B.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, H.jsx)(dde, {
+ }, [c.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, H.jsx)(Cde, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, H.jsx)(gA, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, H.jsx)(dA, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -35890,7 +35946,7 @@ function cde(e) {
"data-grid-reveal": m.fading ? "" : void 0,
children: [m.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, H.jsx)(iA, {
+ if (!c.data) return /* @__PURE__ */ (0, H.jsx)(nA, {
message: ce(c.error),
onRetry: () => void c.refetch()
});
@@ -35907,15 +35963,15 @@ function cde(e) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: cle(u, g).map((t) => /* @__PURE__ */ (0, H.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("div", {
+ children: yle(u, g).map((t) => /* @__PURE__ */ (0, H.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(x)
- }), t.strip ? /* @__PURE__ */ (0, H.jsx)(ude, {
+ }), t.strip ? /* @__PURE__ */ (0, H.jsx)(Sde, {
cut: t.strip,
props: e,
onOpen: y
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, H.jsx)(SA, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, H.jsx)(_A, {
entity: i,
load: b,
enabled: () => e.canLoadMore?.() !== !1
@@ -35923,7 +35979,7 @@ function cde(e) {
})()]
});
}
-function SA({ entity: e, load: t, enabled: n, children: r }) {
+function _A({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, B.useRef)(null), a = (0, B.useRef)(!1), o = (0, B.useRef)(!1), [s, c] = (0, B.useState)({
busy: !1,
error: ""
@@ -35984,12 +36040,12 @@ function SA({ entity: e, load: t, enabled: n, children: r }) {
...p,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: f("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, H.jsx)(iA, {
+ }), s.error ? /* @__PURE__ */ (0, H.jsx)(nA, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function lde(e, t, n, r, i) {
+function xde(e, t, n, r, i) {
let [a, o] = (0, B.useState)([]), [s, c] = (0, B.useState)(null), l = (0, B.useRef)(0), u = (0, B.useRef)(0), d = (0, B.useRef)([]);
return (0, B.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, B.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -35998,7 +36054,7 @@ function lde(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- K(`/api/items?${sle(e.filters || {}, l.current)}`, r.signal).then((e) => {
+ K(`/api/items?${vle(e.filters || {}, l.current)}`, r.signal).then((e) => {
let t = e.items || [];
if (!t.length) {
l.current = 0;
@@ -36014,7 +36070,7 @@ function lde(e, t, n, r, i) {
}, [t]), (0, B.useLayoutEffect)(() => {
if (!s) return;
c(null);
- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = ole(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 = _le(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, {
@@ -36024,7 +36080,7 @@ function lde(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function ude({ cut: e, props: t, onOpen: n }) {
+function Sde({ cut: e, props: t, onOpen: n }) {
let r = (0, B.useRef)(null), { wireDrag: i } = t;
return (0, B.useEffect)(() => {
r.current && i(r.current);
@@ -36040,12 +36096,12 @@ function ude({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, H.jsx)(ode, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, H.jsx)(vde, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, H.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, H.jsx)(gA, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, H.jsx)(dA, {
item: e,
variant: "short",
layout: t.layout,
@@ -36059,17 +36115,17 @@ function ude({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function CA(e, t, n) {
+function vA(e, t, n) {
return ye(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function dde({ seed: e, layout: t, helpers: n, actions: r }) {
+function Cde({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, B.useRef)(/* @__PURE__ */ new Map()), a = (0, B.useRef)(t);
a.current = t;
let o = be(e, n.tagLabel), s = (0, B.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => XD(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), CA(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = CA(e, t, !1);
- return /* @__PURE__ */ (0, H.jsx)(bA, {
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => KD(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(n.map((e) => [String(e.id), vA(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = vA(e, t, !1);
+ return /* @__PURE__ */ (0, H.jsx)(hA, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -36079,12 +36135,12 @@ function dde({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : CA(e, {
+ artworkIdentity: c === "small" ? l.html : vA(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => Te(e, c),
- ratio: lA(e, "grid", t),
+ ratio: sA(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -36096,32 +36152,32 @@ function dde({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-var fde = "/api/sources", wA = ["media-sources"], TA = (e) => K(fde, e);
-async function EA(e) {
+var wde = "/api/sources", yA = ["media-sources"], bA = (e) => K(wde, e);
+async function xA(e) {
await z.fetchQuery({
- queryKey: wA,
- queryFn: () => TA(e)
+ queryKey: yA,
+ queryFn: () => bA(e)
});
}
-var pde = [
+var Tde = [
"local",
"115",
"pikpak"
-], mde = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), hde = "/api/duplicates?limit=120", DA = ["duplicates"], OA = "/api/batch", kA = (e) => K(hde, e);
-async function gde(e) {
+], Ede = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Dde = "/api/duplicates?limit=120", SA = ["duplicates"], CA = "/api/batch", wA = (e) => K(Dde, e);
+async function Ode(e) {
await Promise.all([z.fetchQuery({
- queryKey: DA,
- queryFn: () => kA(e)
- }), EA(e)]);
+ queryKey: SA,
+ queryFn: () => wA(e)
+ }), xA(e)]);
}
-var AA = {
+var TA = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, _de = (e, t) => t.filter((t) => e.some((e) => e.location === t)), jA = (e, t) => _de(e, t).filter((t) => e.some((e) => e.location !== t)), vde = (e, t) => t.filter((t) => e.some((e) => jA(e.files, [t]).length));
-function yde(e, t) {
+}, kde = (e, t) => t.filter((t) => e.some((e) => e.location === t)), EA = (e, t) => kde(e, t).filter((t) => e.some((e) => e.location !== t)), Ade = (e, t) => t.filter((t) => e.some((e) => EA(e.files, [t]).length));
+function jde(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -36140,19 +36196,19 @@ function yde(e, t) {
}
return n;
}
-function bde(e, t) {
+function Mde(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 MA(e, t) {
- for (let n = 0; n < e.length; n += 200) await q(OA, {
+async function DA(e, t) {
+ for (let n = 0; n < e.length; n += 200) await q(CA, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var NA = "/api/media-repair", PA = ["media-repair"], FA = ["media-repair", "libraries"], xde = {
+var OA = "/api/media-repair", kA = ["media-repair"], AA = ["media-repair", "libraries"], Nde = {
status: "idle",
library: "",
stage: "",
@@ -36164,33 +36220,33 @@ var NA = "/api/media-repair", PA = ["media-repair"], FA = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, IA = (e) => K(NA, e), LA = async (e) => (await K("/api/libraries", e)).libraries || [];
-async function Sde(e) {
+}, jA = (e) => K(OA, e), MA = async (e) => (await K("/api/libraries", e)).libraries || [];
+async function Pde(e) {
await Promise.all([z.fetchQuery({
- queryKey: PA,
- queryFn: () => IA(e)
+ queryKey: kA,
+ queryFn: () => jA(e)
}), z.fetchQuery({
- queryKey: FA,
- queryFn: () => LA(e)
+ queryKey: AA,
+ queryFn: () => MA(e)
})]);
}
-var RA = (e) => Number(e).toLocaleString();
-function Cde(e) {
+var NA = (e) => Number(e).toLocaleString();
+function Fde(e) {
if (e.status === "running") {
- let t = e.total ? `${RA(e.checked)} / ${RA(e.total)}` : "准备中";
+ let t = e.total ? `${NA(e.checked)} / ${NA(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${RA(e.repaired)} 部,${RA(e.failed)} 部修不了` : `修好 ${RA(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${NA(e.repaired)} 部,${NA(e.failed)} 部修不了` : `修好 ${NA(e.repaired)} 部` : "";
}
-var wde = (e) => `${RA(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Tde = "/api/quality-goals?limit=200", zA = ["quality-goals"], BA = (e) => K(Tde, e);
-async function Ede(e) {
+var Ide = (e) => `${NA(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Lde = "/api/quality-goals?limit=200", PA = ["quality-goals"], FA = (e) => K(Lde, e);
+async function Rde(e) {
await z.fetchQuery({
- queryKey: zA,
- queryFn: () => BA(e)
+ queryKey: PA,
+ queryFn: () => FA(e)
});
}
-var Dde = (e) => e.has_cover ? pe(e) : `/poster?id=${e.id}&c=4`;
-function VA(e, t, n = 1) {
+var zde = (e) => e.has_cover ? pe(e) : `/poster?id=${e.id}&c=4`;
+function IA(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;
@@ -36210,21 +36266,21 @@ function VA(e, t, n = 1) {
t
];
}
-function HA(e, t) {
+function LA(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function UA(e, t) {
+function RA(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function Ode(e, t, n, r, i, a = i || !e.has(r)) {
+function Bde(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 WA(e) {
+function zA(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);
@@ -36233,7 +36289,7 @@ function WA(e) {
}
//#endregion
//#region src/react/review/review.ts
-var kde = "/api/review", Ade = "/api/review/decision", jde = "/api/review/genre", GA = ["review"], KA = {
+var Vde = "/api/review", Hde = "/api/review/decision", Ude = "/api/review/genre", BA = ["review"], VA = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -36243,15 +36299,15 @@ var kde = "/api/review", Ade = "/api/review/decision", jde = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, Mde = Object.keys(KA), Nde = "metadata_fields", qA = (e) => typeof e == "string" && Object.hasOwn(KA, e), Pde = {
+}, Wde = Object.keys(VA), Gde = "metadata_fields", HA = (e) => typeof e == "string" && Object.hasOwn(VA, e), Kde = {
creator_tags: "creator",
western_identity: "creator"
};
-function Fde(e, t) {
+function qde(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 JA(e, t) {
+function UA(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -36268,43 +36324,43 @@ function JA(e, t) {
}
return [...n.values()];
}
-function Ide(e, t, n) {
- return n && JA(e, t).find((e) => e.key === n)?.rows || e;
+function Jde(e, t, n) {
+ return n && UA(e, t).find((e) => e.key === n)?.rows || e;
}
-function Lde(e, t) {
- let n = HA(e.length, 20), r = UA(t, n);
+function Yde(e, t) {
+ let n = LA(e.length, 20), r = RA(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function Rde(e) {
+function Xde(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 zde(e, t, n, r, i, a) {
- return Ode(e, t, n, r, i, a);
+function Zde(e, t, n, r, i, a) {
+ return Bde(e, t, n, r, i, a);
}
-function YA(e, t) {
+function WA(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function XA(e, t) {
+function GA(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var ZA = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function Bde(e, t) {
- let n = XA(e, t), r = ZA(e, t);
+var KA = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Qde(e, t) {
+ let n = GA(e, t), r = KA(e, t);
return r ? `${n} · ${r}` : n;
}
-var Vde = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Hde = (e) => String(e.tags || "").split("|").filter(Boolean), Ude = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function Wde(e) {
+var $de = (e) => e.reason || e.evidence || e.note || e.decision_note || "", efe = (e) => String(e.tags || "").split("|").filter(Boolean), tfe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function nfe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function QA(e, t, n, r) {
+function qA(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -36320,19 +36376,19 @@ function QA(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var Gde = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", $A = (e) => K(kde, e), ej = (e) => q(Ade, e), Kde = (e, t) => q(jde, {
+var rfe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", JA = (e) => K(Vde, e), YA = (e) => q(Hde, e), ife = (e, t) => q(Ude, {
genre: e,
tag: t
});
-async function qde(e) {
+async function afe(e) {
await z.fetchQuery({
- queryKey: GA,
- queryFn: () => $A(e)
+ queryKey: BA,
+ queryFn: () => JA(e)
});
}
-function tj(e, t) {
+function XA(e, t) {
let n = new Set(t);
- n.size && z.setQueryData(GA, (t) => {
+ n.size && z.setQueryData(BA, (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 : {
@@ -36348,207 +36404,207 @@ function tj(e, t) {
};
});
}
-var Jde = () => z.invalidateQueries({
- queryKey: GA,
+var ofe = () => z.invalidateQueries({
+ queryKey: BA,
exact: !0
});
-function Yde(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${WA(e.fetched_at)} 的缓存` : e?.error || t;
+function sfe(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${zA(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var Xde = "/api/links", nj = "/api/links/check", rj = "/api/links/prune", ij = ["links"], aj = ["links", "check"], oj = ["links", "prune"], sj = {
+var cfe = "/api/links", ZA = "/api/links/check", QA = "/api/links/prune", $A = ["links"], ej = ["links", "check"], tj = ["links", "prune"], nj = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function cj(e) {
+async function rj(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var lj = (e) => K(Xde, e), uj = (e) => q(nj, { status_only: !0 }, "POST", e), Zde = ({ retry: e, checkId: t }) => cj(q(nj, e ? {
+var ij = (e) => K(cfe, e), aj = (e) => q(ZA, { status_only: !0 }, "POST", e), lfe = ({ retry: e, checkId: t }) => rj(q(ZA, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), dj = (e) => K(rj, e), Qde = (e) => cj(q(rj, {
+} : { restart: !0 })), oj = (e) => K(QA, e), ufe = (e) => rj(q(QA, {
confirm: !0,
check_id: e,
background: !0
-})), fj = (e) => Number(e || 0).toLocaleString(), $de = (e) => `已删除 ${fj(e.removed)} 条;${e.marked ? `已隐退女优的 ${fj(e.marked)} 条留作不可点的记录;` : ""}保留 ${fj(e.recovered)} 条未确认失效的链接。`;
-function efe(e) {
+})), sj = (e) => Number(e || 0).toLocaleString(), dfe = (e) => `已删除 ${sj(e.removed)} 条;${e.marked ? `已隐退女优的 ${sj(e.marked)} 条留作不可点的记录;` : ""}保留 ${sj(e.recovered)} 条未确认失效的链接。`;
+function ffe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${fj(e.checked)} / ${fj(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${sj(e.checked)} / ${sj(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var pj = "/api/settings", mj = "/api/follow/schedule", hj = "/api/thumbnail-jobs", gj = ["settings"], _j = ["follow-schedule"], vj = ["thumbnail-jobs"], tfe = (e) => K(pj, e), yj = (e) => K(mj, e), bj = (e) => K(hj, e);
-function nfe(e = z) {
+var cj = "/api/settings", lj = "/api/follow/schedule", uj = "/api/thumbnail-jobs", dj = ["settings"], fj = ["follow-schedule"], pj = ["thumbnail-jobs"], pfe = (e) => K(cj, e), mj = (e) => K(lj, e), hj = (e) => K(uj, e);
+function mfe(e = z) {
return e.fetchQuery({
- queryKey: _j,
- queryFn: ({ signal: e }) => yj(e),
+ queryKey: fj,
+ queryFn: ({ signal: e }) => mj(e),
staleTime: 0
}).catch(() => null), e.fetchQuery({
- queryKey: vj,
- queryFn: ({ signal: e }) => bj(e),
+ queryKey: pj,
+ queryFn: ({ signal: e }) => hj(e),
staleTime: 0
}).catch(() => null), e.fetchQuery({
- queryKey: gj,
- queryFn: ({ signal: e }) => tfe(e),
+ queryKey: dj,
+ queryFn: ({ signal: e }) => pfe(e),
staleTime: 0
}).catch(() => null);
}
-function xj() {
- return yw({
- mutationFn: (e) => q(pj, e),
- onSuccess: (e) => z.setQueryData(gj, e)
+function gj() {
+ return pw({
+ mutationFn: (e) => q(cj, e),
+ onSuccess: (e) => z.setQueryData(dj, e)
});
}
-function rfe() {
- return yw({
- mutationFn: (e) => q(mj, {
+function hfe() {
+ return pw({
+ mutationFn: (e) => q(lj, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => z.setQueryData(_j, e)
+ onSuccess: (e) => z.setQueryData(fj, e)
});
}
-function ife() {
- return yw({
- mutationFn: (e) => q(hj, { mode: e }),
- onSuccess: (e) => z.setQueryData(vj, e)
+function gfe() {
+ return pw({
+ mutationFn: (e) => q(uj, { mode: e }),
+ onSuccess: (e) => z.setQueryData(pj, e)
});
}
-function afe(e) {
- return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${WA(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${WA(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";
+function _fe(e) {
+ return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${zA(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${zA(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";
}
-function ofe(e) {
+function vfe(e) {
return e.status === "running" ? "正在采集,进度在活动页查看。" : e.status === "failed" ? `上一轮采集停下了:${e.stopped || "原因未取得"}` : e.status === "complete" ? e.stopped ? "上一轮采集已按停。" : "上一轮采集已完成。" : e.mode === "off" ? "关闭时不采集;已经生成的图留在盘上,清理走数据管理页。" : "选定档位后从最近看过的片子开始采集。";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var sfe = "/api/organize", cfe = "/api/organize/preview", lfe = "/api/organize/apply", ufe = "/api/organize/rollback", Sj = ["organize"], Cj = (e) => K(sfe, e);
-async function dfe(e) {
+var yfe = "/api/organize", bfe = "/api/organize/preview", xfe = "/api/organize/apply", Sfe = "/api/organize/rollback", _j = ["organize"], vj = (e) => K(yfe, e);
+async function Cfe(e) {
await z.fetchQuery({
- queryKey: Sj,
- queryFn: () => Cj(e)
+ queryKey: _j,
+ queryFn: () => vj(e)
});
}
-var ffe = (e) => q(cfe, e), pfe = (e) => e.kind === "apply" ? q(lfe, {
+var wfe = (e) => q(bfe, e), Tfe = (e) => e.kind === "apply" ? q(xfe, {
...e.request,
confirm: !0
-}) : q(ufe, { confirm: !0 });
-async function mfe(e) {
- z.setQueryData(Sj, (t) => t && {
+}) : q(Sfe, { confirm: !0 });
+async function Efe(e) {
+ z.setQueryData(_j, (t) => t && {
...t,
templates: e
});
try {
- await q(pj, { organizeTemplates: e });
+ await q(cj, { organizeTemplates: e });
} catch {}
}
-var hfe = (e, t) => e && {
+var Dfe = (e, t) => e && {
...e,
...t
-}, gfe = /目录模板|分隔符|盘符|`\.`/;
-function wj(e) {
+}, Ofe = /目录模板|分隔符|盘符|`\.`/;
+function yj(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var Tj = (e) => Number(e || 0).toLocaleString();
-function _fe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${Tj(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${Tj(e.counts.change)} 个文件会改名或移动,${Tj(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var bj = (e) => Number(e || 0).toLocaleString();
+function kfe(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${bj(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${bj(e.counts.change)} 个文件会改名或移动,${bj(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function Ej(e) {
+function xj(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${Tj(r)} 个文件${n ? `,${Tj(n)} 行未能退回` : ""}。` : `已整理 ${Tj(r)} 个文件${n ? `,${Tj(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${bj(r)} 个文件${n ? `,${bj(n)} 行未能退回` : ""}。` : `已整理 ${bj(r)} 个文件${n ? `,${bj(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var Dj = "/api/resource-sync/scan", Oj = "/api/resource-sync/apply", kj = ["resource-sync", "scan"], Aj = ["resource-sync", "apply"], jj = (e) => q(Dj, {
+var Sj = "/api/resource-sync/scan", Cj = "/api/resource-sync/apply", wj = ["resource-sync", "scan"], Tj = ["resource-sync", "apply"], Ej = (e) => q(Sj, {
background: !0,
status_only: !0
-}, "POST", e), vfe = () => q(Dj, {
+}, "POST", e), Afe = () => q(Sj, {
background: !0,
restart: !0
-}), Mj = (e) => K(Oj, e), yfe = (e) => q(Oj, {
+}), Dj = (e) => K(Cj, e), jfe = (e) => q(Cj, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), Nj = (e) => (e?.sources ?? []).some((e) => pde.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function bfe(e) {
- Nj(z.getQueryData(wA)) && await Promise.all([z.fetchQuery({
- queryKey: kj,
- queryFn: () => jj(e)
+}), Oj = (e) => (e?.sources ?? []).some((e) => Tde.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function Mfe(e) {
+ Oj(z.getQueryData(yA)) && await Promise.all([z.fetchQuery({
+ queryKey: wj,
+ queryFn: () => Ej(e)
}), z.fetchQuery({
- queryKey: Aj,
- queryFn: () => Mj(e)
+ queryKey: Tj,
+ queryFn: () => Dj(e)
})]);
}
-var xfe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Sfe = {
+var Nfe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Pfe = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, Pj = (e) => Number(e || 0).toLocaleString(), Cfe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Fj = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), Ij = (e) => e.vanish ? `${Pj(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", Lj = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", wfe = (e) => `将永久删除文件已不在盘上的 ${Pj(Fj(e))} 条记录和 ${Pj(e.empty)} 个空文件夹,并清理 ${Pj(e.cache?.files)} 个闲置缓存。${Lj(e)}${Ij(e)}`, Tfe = (e) => `将永久删除文件已不在盘上的 ${Pj(Fj(e))} 条记录(含回收站里的)、${Pj(e.empty)} 个空文件夹,并清理 ${Pj(e.cache?.files)} 个闲置缓存。来源根目录保留。${Lj(e)}${Ij(e)}`, Efe = (e) => e.online ? [
- `找不到文件 · 共 ${Pj(e.total)} 项`,
- e.vanish ? `${Pj(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${Pj(e.empty)} 个` : "",
- e.unreadable ? `${Pj(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${Pj(e.total)} 项`;
-function Rj(e) {
+}, kj = (e) => Number(e || 0).toLocaleString(), Ffe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Aj = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), jj = (e) => e.vanish ? `${kj(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", Mj = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Ife = (e) => `将永久删除文件已不在盘上的 ${kj(Aj(e))} 条记录和 ${kj(e.empty)} 个空文件夹,并清理 ${kj(e.cache?.files)} 个闲置缓存。${Mj(e)}${jj(e)}`, Lfe = (e) => `将永久删除文件已不在盘上的 ${kj(Aj(e))} 条记录(含回收站里的)、${kj(e.empty)} 个空文件夹,并清理 ${kj(e.cache?.files)} 个闲置缓存。来源根目录保留。${Mj(e)}${jj(e)}`, Rfe = (e) => e.online ? [
+ `找不到文件 · 共 ${kj(e.total)} 项`,
+ e.vanish ? `${kj(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${kj(e.empty)} 个` : "",
+ e.unreadable ? `${kj(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${kj(e.total)} 项`;
+function Nj(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${Pj(t.length)} 条记录没有删除(${o})` : "",
- n ? `${Pj(n)} 个文件夹没有删除` : "",
- r.length ? `${Pj(r.length)} 个缓存没有清理` : ""
+ t.length ? `${kj(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${kj(n)} 个文件夹没有删除` : "",
+ r.length ? `${kj(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var Dfe = (e, t) => {
- let { rest: n } = Rj(e), r = `已永久删除 ${Pj(e.purged)} 条失效记录和 ${Pj(e.dirs_removed)} 个空文件夹,清理 ${Pj(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${Pj(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${Pj(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var zfe = (e, t) => {
+ let { rest: n } = Nj(e), r = `已永久删除 ${kj(e.purged)} 条失效记录和 ${kj(e.dirs_removed)} 个空文件夹,清理 ${kj(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${kj(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${kj(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Ofe = "/api/review?counts=1", zj = ["review", "counts"], kfe = "/api/ads?limit=1", Bj = ["junk-summary"], Vj = "/api/items?state=trash&limit=1", Hj = ["trash-summary"], Afe = [
+}, Bfe = "/api/review?counts=1", Pj = ["review", "counts"], Vfe = "/api/ads?limit=1", Fj = ["junk-summary"], Ij = "/api/items?state=trash&limit=1", Lj = ["trash-summary"], Hfe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], Uj = (e) => K(Ofe, e), Wj = (e) => K(kfe, e), Gj = (e) => {
+], Rj = (e) => K(Bfe, e), zj = (e) => K(Vfe, e), Bj = (e) => {
let t = sessionStorage.getItem("peach.library");
- return K(t ? `${Vj}&library=${encodeURIComponent(t)}` : Vj, e);
-}, Kj = (e) => Number(e || 0).toLocaleString();
-function jfe(e) {
- let t = KA, 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 K(t ? `${Ij}&library=${encodeURIComponent(t)}` : Ij, e);
+}, Vj = (e) => Number(e || 0).toLocaleString();
+function Ufe(e) {
+ let t = VA, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function Mfe(e) {
+function Wfe(e) {
if (!e) return "";
- let t = Afe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${Kj(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${Kj(e.dismissed_total)}`), t.join(" · ");
-}
-var Nfe = [
- [zj, ({ signal: e }) => Uj(e)],
- [zA, ({ signal: e }) => BA(e)],
- [Hj, ({ signal: e }) => Gj(e)],
- [ij, ({ signal: e }) => lj(e)],
- [aj, ({ signal: e }) => uj(e)],
- [oj, ({ signal: e }) => dj(e)]
+ let t = Hfe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${Vj(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${Vj(e.dismissed_total)}`), t.join(" · ");
+}
+var Gfe = [
+ [Pj, ({ signal: e }) => Rj(e)],
+ [PA, ({ signal: e }) => FA(e)],
+ [Lj, ({ signal: e }) => Bj(e)],
+ [$A, ({ signal: e }) => ij(e)],
+ [ej, ({ signal: e }) => aj(e)],
+ [tj, ({ signal: e }) => oj(e)]
];
-async function Pfe(e) {
- let t = location.hash === "#resource-sync", n = Nfe.map(([n, r]) => {
+async function Kfe(e) {
+ let t = location.hash === "#resource-sync", n = Gfe.map(([n, r]) => {
if (t) return z.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -36561,49 +36617,49 @@ async function Pfe(e) {
await Promise.all([
...n,
z.fetchQuery({
- queryKey: Bj,
- queryFn: () => Wj(e)
+ queryKey: Fj,
+ queryFn: () => zj(e)
}),
z.fetchQuery({
- queryKey: DA,
- queryFn: () => kA(e)
+ queryKey: SA,
+ queryFn: () => wA(e)
}),
- EA(e).then(() => bfe(e)),
- Ew(e),
- Sde(e),
- dfe(e)
+ xA(e).then(() => Mfe(e)),
+ bw(e),
+ Pde(e),
+ Cfe(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var Ffe = [
+var qfe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], Ife = [
+], Jfe = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function qj(e = {}) {
- return `${iT({
+function Hj(e = {}) {
+ return `${eT({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var Jj = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Lfe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function Yj({ interactive: e = !1 } = {}) {
- return iT({
+var Uj = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Yfe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function Wj({ interactive: e = !1 } = {}) {
+ return eT({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var Rfe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function Xj({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var Xfe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function Gj({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -36636,13 +36692,13 @@ function Xj({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function Zj({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function Kj({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
children: [t ? /* @__PURE__ */ (0, H.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Ffe[n % 4]} ${Ife[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${qfe[n % 4]} ${Jfe[n % 4]}`,
children: /* @__PURE__ */ (0, H.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -36664,20 +36720,20 @@ function Zj({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/background-job.ts
-var Qj = 2e3, zfe = (e) => e, Bfe = (e, t) => t;
-function $j(e) {
- let { queryKey: t, jobOf: n = zfe, withJob: r = Bfe, idlePollMs: i } = e, [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(null), l = (0, B.useRef)(e);
+var qj = 2e3, Zfe = (e) => e, Qfe = (e, t) => t;
+function Jj(e) {
+ let { queryKey: t, jobOf: n = Zfe, withJob: r = Qfe, idlePollMs: i } = e, [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(null), l = (0, B.useRef)(e);
(0, B.useEffect)(() => {
l.current = e;
});
- let u = gw({
+ let u = uw({
queryKey: t,
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? Qj : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? qj : i ?? !1;
}
- }), d = yw({
+ }), d = pw({
mutationFn: (e) => l.current.start(e),
onSuccess: (e) => {
o(!0), c(null), l.current.onStarted?.(e), z.setQueryData(t, (t) => r(t, e)), z.invalidateQueries({
@@ -36706,32 +36762,32 @@ function $j(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Vfe = (t) => e[t] || t, eM = (e) => z.setQueryData(PA, e);
-function Hfe() {
- let e = gw({
- queryKey: PA,
- queryFn: ({ signal: e }) => IA(e),
- refetchInterval: (e) => e.state.data?.status === "running" && Qj
- }), t = gw({
- queryKey: FA,
- queryFn: ({ signal: e }) => LA(e)
- }), [n, i] = (0, B.useState)(""), a = pT(), o = e.data ?? xde, s = t.data ?? [], c = o.status === "running", l = s.find((e) => e.id === (c ? o.library : n)) ?? s.find((e) => e.id === o.library) ?? s[0], u = () => {
+var $fe = (t) => e[t] || t, Yj = (e) => z.setQueryData(kA, e);
+function epe() {
+ let e = uw({
+ queryKey: kA,
+ queryFn: ({ signal: e }) => jA(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && qj
+ }), t = uw({
+ queryKey: AA,
+ queryFn: ({ signal: e }) => MA(e)
+ }), [n, i] = (0, B.useState)(""), a = lT(), o = e.data ?? Nde, s = t.data ?? [], c = o.status === "running", l = s.find((e) => e.id === (c ? o.library : n)) ?? s.find((e) => e.id === o.library) ?? s[0], u = () => {
l && r({
title: `修复媒体库「${l.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (l.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => eM(await q(NA, {
+ onConfirm: async () => Yj(await q(OA, {
library: l.id,
restart: !0
}))
});
- }, d = () => void a.run("stop", (e) => q(NA, { stop: !0 }, "POST", e), eM), f = Cde(o), p = o.status === "complete", m = a.error || o.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, d = () => void a.run("stop", (e) => q(OA, { stop: !0 }, "POST", e), Yj), f = Fde(o), p = o.status === "complete", m = a.error || o.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, H.jsx)(lT, {
+ children: [/* @__PURE__ */ (0, H.jsx)(aT, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Lk, {
+ footer: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: l?.id ?? null,
@@ -36739,10 +36795,10 @@ function Hfe() {
onSelectionChange: (e) => {
e !== null && i(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, H.jsxs)(Rk, {
+ children: s.map((e) => /* @__PURE__ */ (0, H.jsxs)(Pk, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: Vfe(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, H.jsx)(kT, { mark: $fe(e.icon) }), e.name]
}, e.id))
}), c ? /* @__PURE__ */ (0, H.jsx)(J, {
onClick: d,
@@ -36756,12 +36812,12 @@ function Hfe() {
children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(cT, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, H.jsx)(iT, { children: "媒体修复" }),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: goe
+ children: Doe
}),
- c && o.total ? /* @__PURE__ */ (0, H.jsx)(_T, {
+ c && o.total ? /* @__PURE__ */ (0, H.jsx)(pT, {
label: "修复进度",
value: o.checked,
max: o.total
@@ -36785,7 +36841,7 @@ function Hfe() {
p && o.missing_tool ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "warning",
title: "缺少 untrunc",
- children: wde(o)
+ children: Ide(o)
}) : null,
m ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
@@ -36797,7 +36853,7 @@ function Hfe() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var tM = {
+var Xj = {
md: {
box: "size-4",
glyph: "size-4",
@@ -36811,8 +36867,8 @@ var tM = {
gap: "gap-1.5"
}
};
-function nM({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = tM[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 = Xj[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
className: dr("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? dr("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : dr("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"),
@@ -36839,13 +36895,13 @@ function nM({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function rM({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = tM[n];
+function Qj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = Xj[n];
return /* @__PURE__ */ (0, H.jsx)(El, {
ref: r,
...i,
className: (t) => dr("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, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(nM, {
+ children: (e) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Zj, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, H.jsx)("span", {
@@ -36856,7 +36912,7 @@ function rM({ className: e, children: t, size: n = "md", ref: r, ...i }) {
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function iM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function $j({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
className: dr("w-full overflow-x-auto", n),
children: /* @__PURE__ */ (0, H.jsx)(nte, {
@@ -36868,7 +36924,7 @@ function iM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
}
//#endregion
//#region src/react/components/row-click.ts
-var Ufe = [
+var tpe = [
"a",
"button",
"input",
@@ -36881,15 +36937,15 @@ var Ufe = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function aM(e, t) {
+function eM(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Ufe);
+ let r = n.closest(tpe);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function oM({ children: e, follow: t = !1, onRowClick: n }) {
+function tM({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -36897,15 +36953,15 @@ function oM({ 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 && aM(e, r) && n(r.dataset.key);
+ r && eM(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Wfe = kC("unlink"), sM = kC("rotate-cw"), Gfe = "站点返回 404 或 410,确认这个地址不存在。", Kfe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", qfe = "删除前会逐条重验一次;此操作不可撤销。", Jfe = "暂时无法读取进度,正在重新连接…", cM = (e) => Number(e || 0).toLocaleString();
-function lM({ label: e, value: t, note: n }) {
+var npe = CC("unlink"), nM = CC("rotate-cw"), rpe = "站点返回 404 或 410,确认这个地址不存在。", ipe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", ape = "删除前会逐条重验一次;此操作不可撤销。", ope = "暂时无法读取进度,正在重新连接…", rM = (e) => Number(e || 0).toLocaleString();
+function iM({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -36924,11 +36980,11 @@ function lM({ label: e, value: t, note: n }) {
]
});
}
-function uM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function aM({ 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, H.jsxs)("div", {
- className: aT,
+ className: tT,
children: [
/* @__PURE__ */ (0, H.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -36941,13 +36997,13 @@ function uM({ 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, H.jsx)(oM, { children: /* @__PURE__ */ (0, H.jsxs)(iM, {
+ /* @__PURE__ */ (0, H.jsx)(tM, { children: /* @__PURE__ */ (0, H.jsxs)($j, {
"aria-label": e,
size: "sm",
children: [/* @__PURE__ */ (0, H.jsxs)(S_, { children: [
i ? /* @__PURE__ */ (0, H.jsx)(C_, {
id: "pick",
- children: /* @__PURE__ */ (0, H.jsx)(rM, {
+ children: /* @__PURE__ */ (0, H.jsx)(Qj, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -36979,14 +37035,14 @@ function uM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
] }), /* @__PURE__ */ (0, H.jsx)(T_, { children: t.map((e) => /* @__PURE__ */ (0, H.jsxs)(O_, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(rM, {
+ i ? /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(Qj, {
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, H.jsx)(A_, { children: e.entity }),
- /* @__PURE__ */ (0, H.jsx)(A_, { children: sj[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: nj[e.link_kind] || e.link_kind }),
/* @__PURE__ */ (0, H.jsx)(A_, { children: e.label || "" }),
/* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)("span", {
className: "tabular-nums text-text-error-primary",
@@ -37002,7 +37058,7 @@ function uM({ 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, H.jsx)(Bw, {
+ }), /* @__PURE__ */ (0, H.jsx)(Fw, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -37014,27 +37070,27 @@ function uM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function Yfe() {
- let e = gw({
- queryKey: ij,
- queryFn: ({ signal: e }) => lj(e)
- }), [t, n] = (0, B.useState)([]), i = $j({
- queryKey: oj,
- queryFn: ({ signal: e }) => dj(e),
- start: Qde,
+function spe() {
+ let e = uw({
+ queryKey: $A,
+ queryFn: ({ signal: e }) => ij(e)
+ }), [t, n] = (0, B.useState)([]), i = Jj({
+ queryKey: tj,
+ queryFn: ({ signal: e }) => oj(e),
+ start: ufe,
onFinish: () => {
z.invalidateQueries({
- queryKey: ij,
+ queryKey: $A,
exact: !0
}), z.invalidateQueries({
- queryKey: aj,
+ queryKey: ej,
exact: !0
});
}
- }), a = $j({
- queryKey: aj,
- queryFn: ({ signal: e }) => uj(e),
- start: Zde,
+ }), a = Jj({
+ queryKey: ej,
+ queryFn: ({ signal: e }) => aj(e),
+ start: lfe,
onStarted: () => {
i.dismiss(), n([]);
}
@@ -37064,7 +37120,7 @@ function Yfe() {
else if (v) x = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "success",
title: "完成",
- children: $de(v)
+ children: dfe(v)
});
else if (y) x = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
@@ -37074,7 +37130,7 @@ function Yfe() {
else if (a.query.isError && o) x = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
title: "任务状态",
- children: Jfe
+ children: ope
});
else if (o?.status === "failed") x = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
@@ -37082,12 +37138,12 @@ function Yfe() {
children: o.error || "检查失败"
});
else if (o && o.status !== "idle") {
- b = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [o.status === "running" ? /* @__PURE__ */ (0, H.jsx)(vT, {
+ b = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [o.status === "running" ? /* @__PURE__ */ (0, H.jsx)(mT, {
embedded: !0,
- label: efe(o),
+ label: ffe(o),
value: o.checked,
total: o.total
- }) : null, l ? /* @__PURE__ */ (0, H.jsx)(vT, {
+ }) : null, l ? /* @__PURE__ */ (0, H.jsx)(mT, {
embedded: !0,
label: i.job?.message || "正在重验并删除失效链接…",
value: i.job?.checked,
@@ -37095,38 +37151,38 @@ function Yfe() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
x = u || d.length || f.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
- className: koe,
+ className: Boe,
children: [
- /* @__PURE__ */ (0, H.jsx)(uM, {
+ /* @__PURE__ */ (0, H.jsx)(aM, {
title: "地址已失效",
items: d,
- hint: Gfe
+ hint: rpe
}),
- /* @__PURE__ */ (0, H.jsx)(uM, {
+ /* @__PURE__ */ (0, H.jsx)(aM, {
title: "本次未访问成功",
items: f,
- hint: Kfe,
+ hint: ipe,
picked: p.length ? t : void 0,
onPick: p.length ? n : void 0,
children: p.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, H.jsxs)(oT, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
- leadingIcon: sM,
+ children: /* @__PURE__ */ (0, H.jsxs)(nT, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
+ leadingIcon: nM,
disabled: !t.length,
...X(c),
onClick: () => g(t),
children: e
}), /* @__PURE__ */ (0, H.jsx)(J, {
- leadingIcon: sM,
+ leadingIcon: nM,
...X(c),
onClick: () => g(p.map((e) => e.id)),
children: `全部重试(${p.length})`
})] })
}) : null
}),
- u && d.length ? /* @__PURE__ */ (0, H.jsx)(oT, {
+ u && d.length ? /* @__PURE__ */ (0, H.jsx)(nT, {
tone: "error",
- status: qfe,
+ status: ape,
children: /* @__PURE__ */ (0, H.jsx)(J, {
variant: "danger",
...X(l),
@@ -37135,7 +37191,7 @@ function Yfe() {
})
}) : null,
u && !d.length && !f.length ? /* @__PURE__ */ (0, H.jsx)("p", {
- className: `${aT} text-body-regular text-notification-success-foreground`,
+ className: `${tT} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -37146,21 +37202,21 @@ function Yfe() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, H.jsx)(sT, {
+ /* @__PURE__ */ (0, H.jsx)(rT, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, H.jsxs)(lT, {
+ /* @__PURE__ */ (0, H.jsxs)(aT, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, H.jsx)(J, {
- leadingIcon: Wfe,
+ leadingIcon: npe,
...X(c),
onClick: () => g(),
children: c ? "检查中" : u ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, H.jsx)(cT, {
+ /* @__PURE__ */ (0, H.jsx)(iT, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -37171,13 +37227,13 @@ function Yfe() {
children: G(e.error)
}) : m ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, H.jsx)(lM, {
+ children: [/* @__PURE__ */ (0, H.jsx)(iM, {
label: "链接总数",
- value: cM(m.total),
- note: `分布在 ${cM(m.entities)} 个女优、厂牌与系列`
- }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(lM, {
- label: sj[e] || e,
- value: cM(t)
+ value: rM(m.total),
+ note: `分布在 ${rM(m.entities)} 个女优、厂牌与系列`
+ }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(iM, {
+ label: nj[e] || e,
+ value: rM(t)
}, e))]
}), h ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -37206,18 +37262,18 @@ function Yfe() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Xfe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Zfe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Qfe = 8;
-function $fe({ plan: e }) {
+var cpe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, lpe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", upe = 8;
+function dpe({ plan: e }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, Qfe).map((e) => /* @__PURE__ */ (0, H.jsxs)("li", {
+ children: e.rows.slice(0, upe).map((e) => /* @__PURE__ */ (0, H.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, H.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: wj(e.current_path)
+ children: yj(e.current_path)
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
@@ -37227,7 +37283,7 @@ function $fe({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: wj(e.target_path)
+ children: yj(e.target_path)
})
]
}, e.current_path))
@@ -37236,10 +37292,10 @@ function $fe({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function epe({ toast: t, failure: n }) {
- let i = gw({
- queryKey: Sj,
- queryFn: ({ signal: e }) => Cj(e)
+function fpe({ toast: t, failure: n }) {
+ let i = uw({
+ queryKey: _j,
+ queryFn: ({ signal: e }) => vj(e)
}), a = i.data, o = a?.locations ?? [], [s, c] = (0, B.useState)(""), l = o.some((e) => e.location === s) ? s : o[0]?.location ?? "", u = a?.templates?.[l], [d, f] = (0, B.useState)(null), p = d?.location === l ? d : {
location: l,
file: u?.file ?? "",
@@ -37251,9 +37307,9 @@ function epe({ toast: t, failure: n }) {
location: l,
file_template: p.file.trim(),
dir_template: p.dir.trim()
- }), b = yw({
- mutationFn: ffe,
- onSuccess: (e, t) => void mfe({
+ }), b = pw({
+ mutationFn: wfe,
+ onSuccess: (e, t) => void Efe({
...a?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -37261,29 +37317,29 @@ function epe({ toast: t, failure: n }) {
}
}),
onError: (e) => {
- let t = gfe.test(G(e)) ? "dir" : "file";
+ let t = Ofe.test(G(e)) ? "dir" : "file";
g(t), (t === "dir" ? v : _).current?.focus();
}
- }), x = $j({
- queryKey: Sj,
- queryFn: ({ signal: e }) => Cj(e),
- start: pfe,
+ }), x = Jj({
+ queryKey: _j,
+ queryFn: ({ signal: e }) => vj(e),
+ start: Tfe,
jobOf: (e) => e,
- withJob: hfe,
+ withJob: Dfe,
onStarted: () => b.reset(),
onFinish: (e) => {
if (z.invalidateQueries({
- queryKey: Sj,
+ queryKey: _j,
exact: !0
}), e.status !== "complete") return;
- let { text: r, failed: i } = Ej(e);
+ let { text: r, failed: i } = xj(e);
i ? n("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : t(r.replace(/。$/, ""));
}
}), S = x.running || x.start.isPending, C = b.data, w = Number(C?.counts?.change || 0), T = M[l] || l, E = (a?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {
b.isPending || !l || (g(null), b.mutate(y()));
}, O = () => void r({
title: "按模板整理文件",
- body: Xfe(T),
+ body: cpe(T),
confirmLabel: "整理文件",
onConfirm: () => x.start.mutateAsync({
kind: "apply",
@@ -37291,13 +37347,13 @@ function epe({ toast: t, failure: n }) {
})
}), k = () => void r({
title: "回滚上一批整理",
- body: Zfe,
+ body: lpe,
confirmLabel: "回滚整理",
onConfirm: () => x.start.mutateAsync({ kind: "rollback" })
}), A = null, j = x.job, N = x.outcome;
if (j?.status === "running") {
let e = j.message || j.stage || "正在整理文件…";
- A = /* @__PURE__ */ (0, H.jsx)(vT, {
+ A = /* @__PURE__ */ (0, H.jsx)(mT, {
embedded: !0,
label: e,
value: j.checked,
@@ -37309,7 +37365,7 @@ function epe({ toast: t, failure: n }) {
children: N.error || "请查看任务记录,核对已处理的文件。"
});
else if (N) {
- let { text: e, failed: t } = Ej(N);
+ let { text: e, failed: t } = xj(N);
A = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -37319,7 +37375,7 @@ function epe({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: G(x.start.error)
- }) : b.isPending ? A = /* @__PURE__ */ (0, H.jsx)(vT, {
+ }) : b.isPending ? A = /* @__PURE__ */ (0, H.jsx)(mT, {
embedded: !0,
label: "正在按模板算计划…"
}) : b.isError ? A = /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -37329,9 +37385,9 @@ function epe({ toast: t, failure: n }) {
}) : C && (A = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
title: "预览结果",
- children: _fe(C)
- }), w ? /* @__PURE__ */ (0, H.jsx)($fe, { plan: C }) : null] }));
- return /* @__PURE__ */ (0, H.jsxs)(lT, {
+ children: kfe(C)
+ }), w ? /* @__PURE__ */ (0, H.jsx)(dpe, { plan: C }) : null] }));
+ return /* @__PURE__ */ (0, H.jsxs)(aT, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -37355,7 +37411,7 @@ function epe({ toast: t, failure: n }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, H.jsx)(cT, {
+ /* @__PURE__ */ (0, H.jsx)(iT, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -37375,20 +37431,20 @@ function epe({ toast: t, failure: n }) {
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- o.length ? /* @__PURE__ */ (0, H.jsx)(Lk, {
+ o.length ? /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: l || null,
onSelectionChange: (e) => {
e !== null && (c(String(e)), g(null), b.reset());
},
- children: o.map((t) => /* @__PURE__ */ (0, H.jsxs)(Rk, {
+ children: o.map((t) => /* @__PURE__ */ (0, H.jsxs)(Pk, {
id: t.location,
textValue: M[t.location] || t.location,
- children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: e[t.location] || "database" }), M[t.location] || t.location]
+ children: [/* @__PURE__ */ (0, H.jsx)(kT, { mark: e[t.location] || "database" }), M[t.location] || t.location]
}, t.location))
}) : null,
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: p.file,
@@ -37399,7 +37455,7 @@ function epe({ toast: t, failure: n }) {
m({ file: e }), g(null);
}
}),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: p.dir,
@@ -37439,43 +37495,43 @@ function epe({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var tpe = "/api/orphan-records", npe = "/api/orphan-records/attach", dM = ["orphan-records"], rpe = [
+var ppe = "/api/orphan-records", mpe = "/api/orphan-records/attach", oM = ["orphan-records"], hpe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], ipe = (e) => K(tpe, e), ape = (e, t) => q(npe, {
+], gpe = (e) => K(ppe, e), _pe = (e, t) => q(mpe, {
id: e,
target: t
-}), ope = (e) => q(OA, {
+}), vpe = (e) => q(CA, {
ids: [e],
operation: "delete"
-}), spe = (e) => [
+}), ype = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], fM = (e) => [...rpe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...spe(e)].filter(Boolean).join(" · "), cpe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", pM = (e) => [e.name, cpe(e.duration)].filter(Boolean).join(" · "), lpe = kC("play"), mM = () => z.invalidateQueries({
- queryKey: dM,
+], sM = (e) => [...hpe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...ype(e)].filter(Boolean).join(" · "), bpe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", cM = (e) => [e.name, bpe(e.duration)].filter(Boolean).join(" · "), xpe = CC("play"), lM = () => z.invalidateQueries({
+ queryKey: oM,
exact: !0
});
-function upe({ item: e, toast: t }) {
- let [n, i] = (0, B.useState)(e.candidates[0]?.id ?? null), a = yw({
- mutationFn: () => ape(e.id, Number(n)),
+function Spe({ item: e, toast: t }) {
+ let [n, i] = (0, B.useState)(e.candidates[0]?.id ?? null), a = pw({
+ mutationFn: () => _pe(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), mM();
+ t(`记录已接到新文件,批次 ${e.batch}`), lM();
},
onError: (e) => t(G(e))
- }), o = yw({
- mutationFn: () => ope(e.id),
+ }), o = pw({
+ mutationFn: () => vpe(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), mM();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), lM();
}
}), s = () => {
r({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${fM(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${sM(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => o.mutateAsync()
@@ -37488,7 +37544,7 @@ function upe({ item: e, toast: t }) {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, H.jsxs)("span", {
className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",
- children: [/* @__PURE__ */ (0, H.jsx)(lpe, {
+ children: [/* @__PURE__ */ (0, H.jsx)(xpe, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, H.jsx)("img", {
@@ -37512,19 +37568,19 @@ function upe({ item: e, toast: t }) {
}) }),
/* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)("span", {
className: "block min-w-44",
- children: fM(e.records)
+ children: sM(e.records)
}) }),
- /* @__PURE__ */ (0, H.jsx)(A_, { children: e.candidates.length ? /* @__PURE__ */ (0, H.jsx)(Lk, {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: e.candidates.length ? /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
className: "w-64",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && i(Number(e));
},
- children: e.candidates.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e.id,
- textValue: pM(e),
- children: pM(e)
+ textValue: cM(e),
+ children: cM(e)
}, e.id))
}) : /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-text-secondary",
@@ -37550,23 +37606,23 @@ function upe({ item: e, toast: t }) {
]
});
}
-function dpe({ toast: e }) {
- let t = gw({
- queryKey: dM,
- queryFn: ({ signal: e }) => ipe(e)
+function Cpe({ toast: e }) {
+ let t = uw({
+ queryKey: oM,
+ queryFn: ({ signal: e }) => gpe(e)
}), n = t.data?.items ?? [];
return !t.isError && !n.length ? null : /* @__PURE__ */ (0, H.jsxs)("section", {
id: "orphan-records",
"aria-labelledby": "orphan-records-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, H.jsx)(sT, {
+ children: [/* @__PURE__ */ (0, H.jsx)(rT, {
id: "orphan-records-title",
children: "孤儿记录"
- }), /* @__PURE__ */ (0, H.jsxs)(lT, {
+ }), /* @__PURE__ */ (0, H.jsxs)(aT, {
layout: "stack",
labelledBy: "orphan-records-box",
children: [
- /* @__PURE__ */ (0, H.jsx)(cT, {
+ /* @__PURE__ */ (0, H.jsx)(iT, {
id: "orphan-records-box",
gap: "small",
children: "文件已消失的作品"
@@ -37579,7 +37635,7 @@ function dpe({ toast: e }) {
tone: "error",
title: "孤儿记录读取失败",
children: G(t.error)
- }) : /* @__PURE__ */ (0, H.jsx)(oM, { children: /* @__PURE__ */ (0, H.jsxs)(iM, {
+ }) : /* @__PURE__ */ (0, H.jsx)(tM, { children: /* @__PURE__ */ (0, H.jsxs)($j, {
"aria-label": "文件已消失的作品",
size: "sm",
children: [/* @__PURE__ */ (0, H.jsxs)(S_, { children: [
@@ -37600,7 +37656,7 @@ function dpe({ toast: e }) {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, H.jsx)(T_, { children: n.map((t) => /* @__PURE__ */ (0, H.jsx)(upe, {
+ ] }), /* @__PURE__ */ (0, H.jsx)(T_, { children: n.map((t) => /* @__PURE__ */ (0, H.jsx)(Spe, {
item: t,
toast: e
}, t.id)) })]
@@ -37611,99 +37667,99 @@ function dpe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var fpe = kC("git-compare"), ppe = kC("rotate-cw"), mpe = "暂时无法读取进度,正在重新连接…", hM = "清理失效条目", gM = "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", _M = (e) => Number(e || 0).toLocaleString();
-function hpe({ scan: t }) {
+var wpe = CC("git-compare"), Tpe = CC("rotate-cw"), Epe = "暂时无法读取进度,正在重新连接…", uM = "清理失效条目", dM = "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", fM = (e) => Number(e || 0).toLocaleString();
+function Dpe({ scan: t }) {
let n = t.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("div", {
- className: gM,
+ className: dM,
children: (t.sources ?? []).map((t) => /* @__PURE__ */ (0, H.jsx)("article", {
- className: Yj(),
- children: /* @__PURE__ */ (0, H.jsx)(Xj, {
- label: Sfe[t.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, H.jsx)(NT, { mark: e[t.location] ?? "database" }),
+ className: Wj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Gj, {
+ label: Pfe[t.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, H.jsx)(kT, { mark: e[t.location] ?? "database" }),
aside: /* @__PURE__ */ (0, H.jsx)("span", {
className: t.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: t.online ? "可访问" : "离线,已跳过"
}),
- figure: t.online ? `${_M(t.missing)} 项` : "—",
- meta: Efe(t),
+ figure: t.online ? `${fM(t.missing)} 项` : "—",
+ meta: Rfe(t),
wrapMeta: !0
})
}, t.location))
}), /* @__PURE__ */ (0, H.jsxs)("div", {
- className: gM,
+ className: dM,
children: [
/* @__PURE__ */ (0, H.jsx)("article", {
- className: Yj(),
- children: /* @__PURE__ */ (0, H.jsx)(Xj, {
+ className: Wj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Gj, {
label: "待永久删除",
- figure: `${_M(Fj(t))} 项`,
+ figure: `${fM(Aj(t))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, H.jsx)("article", {
- className: Yj(),
- children: /* @__PURE__ */ (0, H.jsx)(Xj, {
+ className: Wj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Gj, {
label: "将标为已消失",
- figure: `${_M(t.vanish)} 项`,
+ figure: `${fM(t.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, H.jsx)("article", {
- className: Yj(),
- children: /* @__PURE__ */ (0, H.jsx)(Xj, {
+ className: Wj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Gj, {
label: "空文件夹",
- figure: `${_M(t.empty)} 个`,
+ figure: `${fM(t.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, H.jsx)("article", {
- className: Yj(),
- children: /* @__PURE__ */ (0, H.jsx)(Xj, {
+ className: Wj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Gj, {
label: "可清理的缓存",
- figure: `${_M(n.files)} 个`,
+ figure: `${fM(n.files)} 个`,
meta: n.files ? I(n.bytes) : ""
})
})
]
})] });
}
-function gpe({ toast: e }) {
- let t = $j({
- queryKey: Aj,
- queryFn: ({ signal: e }) => Mj(e),
- start: yfe,
+function Ope({ toast: e }) {
+ let t = Jj({
+ queryKey: Tj,
+ queryFn: ({ signal: e }) => Dj(e),
+ start: jfe,
onFinish: (t) => {
if (z.invalidateQueries({
- queryKey: Hj,
+ queryKey: Lj,
exact: !0
}), z.invalidateQueries({
- queryKey: kj,
+ queryKey: wj,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = Rj(t);
- r ? e(`已完成 ${_M(n)} 项,${_M(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = Nj(t);
+ r ? e(`已完成 ${fM(n)} 项,${fM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = $j({
- queryKey: kj,
- queryFn: ({ signal: e }) => jj(e),
- start: vfe,
+ }), n = Jj({
+ queryKey: wj,
+ queryFn: ({ signal: e }) => Ej(e),
+ start: Afe,
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 ? "重新扫描" : "检查文件", l = (e) => void r({
- title: hM,
- body: Tfe(e),
- confirmLabel: hM,
+ title: uM,
+ body: Lfe(e),
+ confirmLabel: uM,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), u = t.outcome, d = (e) => {
- let t = Rj(e).left > 0;
+ let t = Nj(e).left > 0;
return /* @__PURE__ */ (0, H.jsx)(Y, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: Dfe(e, I)
+ children: zfe(e, I)
});
}, f = null, p = null;
if (u?.status === "failed") p = /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -37712,7 +37768,7 @@ function gpe({ toast: e }) {
children: u.error || "请查看任务记录,核对已处理的文件。"
});
else if (u) p = d(u);
- else if (t.running) f = /* @__PURE__ */ (0, H.jsx)(vT, {
+ else if (t.running) f = /* @__PURE__ */ (0, H.jsx)(mT, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -37724,11 +37780,11 @@ function gpe({ toast: e }) {
else if (n.query.isError && i) p = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
title: "任务状态",
- children: mpe
+ children: Epe
});
else if (i?.status === "running") {
- let e = Cfe(i);
- f = /* @__PURE__ */ (0, H.jsx)(vT, {
+ let e = Ffe(i);
+ f = /* @__PURE__ */ (0, H.jsx)(mT, {
embedded: !0,
label: e,
value: i.completed_sources,
@@ -37745,13 +37801,13 @@ function gpe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (i?.status === "complete") {
- let e = xfe(i);
+ let e = Nfe(i);
p = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(hpe, { scan: i }),
+ /* @__PURE__ */ (0, H.jsx)(Dpe, { scan: i }),
e ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
title: "清理内容",
- children: wfe(i)
+ children: Ife(i)
}) : null,
/* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -37759,7 +37815,7 @@ function gpe({ toast: e }) {
variant: "danger",
...X(o),
onClick: () => l(i),
- children: o ? "正在复核并清理…" : hM
+ children: o ? "正在复核并清理…" : uM
}) : /* @__PURE__ */ (0, H.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -37776,16 +37832,16 @@ function gpe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, H.jsx)(sT, {
+ /* @__PURE__ */ (0, H.jsx)(rT, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, H.jsxs)(lT, {
+ /* @__PURE__ */ (0, H.jsxs)(aT, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, H.jsx)(J, {
"data-resource-scan": !0,
- leadingIcon: s && !a ? ppe : fpe,
+ leadingIcon: s && !a ? Tpe : wpe,
...X(a),
onClick: () => {
a || n.start.mutate();
@@ -37793,7 +37849,7 @@ function gpe({ toast: e }) {
children: c
}),
children: [
- /* @__PURE__ */ (0, H.jsx)(cT, {
+ /* @__PURE__ */ (0, H.jsx)(iT, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -37819,16 +37875,16 @@ function gpe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function vM(e, t) {
+function pM(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function yM({ section: e, label: t, icon: n, value: r, open: i }) {
+function mM({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
- className: Yj({ interactive: !0 }),
+ className: Wj({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, H.jsx)(Xj, {
+ children: /* @__PURE__ */ (0, H.jsx)(Gj, {
label: t,
icon: n,
figure: r.figure,
@@ -37836,80 +37892,80 @@ function yM({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var _pe = kC("square-check-big"), vpe = kC("sparkles"), ype = kC("file-stack"), bpe = kC("file-archive"), xpe = kC("trash"), Spe = [
- zj,
- zA,
- DA
-], Cpe = () => {
- for (let e of Spe) z.invalidateQueries({
+var kpe = CC("square-check-big"), Ape = CC("sparkles"), jpe = CC("file-stack"), Mpe = CC("file-archive"), Npe = CC("trash"), Ppe = [
+ Pj,
+ PA,
+ SA
+], Fpe = () => {
+ for (let e of Ppe) z.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function wpe({ toast: e, failure: t, open: n }) {
- let r = gw({
- queryKey: zj,
- queryFn: ({ signal: e }) => Uj(e)
- }), i = gw({
- queryKey: zA,
- queryFn: ({ signal: e }) => BA(e)
- }), a = gw({
- queryKey: DA,
- queryFn: ({ signal: e }) => kA(e)
- }), o = gw({
- queryKey: Bj,
- queryFn: ({ signal: e }) => Wj(e)
- }), s = gw({
- queryKey: Hj,
- queryFn: ({ signal: e }) => Gj(e)
- }), c = gw({
- queryKey: wA,
- queryFn: ({ signal: e }) => TA(e)
+function Ipe({ toast: e, failure: t, open: n }) {
+ let r = uw({
+ queryKey: Pj,
+ queryFn: ({ signal: e }) => Rj(e)
+ }), i = uw({
+ queryKey: PA,
+ queryFn: ({ signal: e }) => FA(e)
+ }), a = uw({
+ queryKey: SA,
+ queryFn: ({ signal: e }) => wA(e)
+ }), o = uw({
+ queryKey: Fj,
+ queryFn: ({ signal: e }) => zj(e)
+ }), s = uw({
+ queryKey: Lj,
+ queryFn: ({ signal: e }) => Bj(e)
+ }), c = uw({
+ queryKey: yA,
+ queryFn: ({ signal: e }) => bA(e)
}), l = (t) => e(t);
- return /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
+ return /* @__PURE__ */ (0, H.jsxs)(Ek, { children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
- className: Rfe,
+ className: Xfe,
children: [
- /* @__PURE__ */ (0, H.jsx)(yM, {
+ /* @__PURE__ */ (0, H.jsx)(mM, {
section: "review",
label: "人工复核",
- icon: _pe,
+ icon: kpe,
open: n,
- value: vM(r, jfe)
+ value: pM(r, Ufe)
}),
- /* @__PURE__ */ (0, H.jsx)(yM, {
+ /* @__PURE__ */ (0, H.jsx)(mM, {
section: "quality",
label: "高清版",
- icon: vpe,
+ icon: Ape,
open: n,
- value: vM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: pM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, H.jsx)(yM, {
+ /* @__PURE__ */ (0, H.jsx)(mM, {
section: "duplicates",
label: "重复文件",
- icon: ype,
+ icon: jpe,
open: n,
- value: vM(a, (e) => Number(e.total || 0) ? {
+ value: pM(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${I(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, H.jsx)(yM, {
+ /* @__PURE__ */ (0, H.jsx)(mM, {
section: "ads",
label: "垃圾文件",
- icon: bpe,
+ icon: Mpe,
open: n,
- value: vM(o, (e) => ({
+ value: pM(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: Mfe(e)
+ meta: Wfe(e)
}))
}),
- /* @__PURE__ */ (0, H.jsx)(yM, {
+ /* @__PURE__ */ (0, H.jsx)(mM, {
section: "trash",
label: "回收站",
- icon: xpe,
+ icon: Npe,
open: n,
- value: vM(s, (e) => ({
+ value: pM(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${I(e.bytes || 0)}` : ""
}))
@@ -37922,30 +37978,30 @@ function wpe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, H.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, H.jsx)(FT, {
+ children: /* @__PURE__ */ (0, H.jsx)(jT, {
toast: l,
monitor: !0,
- onComplete: Cpe
+ onComplete: Fpe
})
}),
/* @__PURE__ */ (0, H.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, H.jsx)(Hfe, {})
+ children: /* @__PURE__ */ (0, H.jsx)(epe, {})
}),
- /* @__PURE__ */ (0, H.jsx)(epe, {
+ /* @__PURE__ */ (0, H.jsx)(fpe, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, H.jsx)(Yfe, {}),
- /* @__PURE__ */ (0, H.jsx)(dpe, { toast: l }),
- Nj(c.data) ? /* @__PURE__ */ (0, H.jsx)(gpe, { toast: e }) : null
+ /* @__PURE__ */ (0, H.jsx)(spe, {}),
+ /* @__PURE__ */ (0, H.jsx)(Cpe, { toast: l }),
+ Oj(c.data) ? /* @__PURE__ */ (0, H.jsx)(Ope, { toast: e }) : null
] });
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var Tpe = [
+var Lpe = [
"loc",
"creator",
"tag",
@@ -37955,51 +38011,51 @@ var Tpe = [
"orient",
"sort",
"dir"
-], bM = {
+], hM = {
media: "videos",
set: 0
-}, xM = (e, t) => [
+}, gM = (e, t) => [
"entity",
e,
t
-], Epe = (e, t, n, r) => [
+], Rpe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], SM = (e, t, n, r) => [
+], _M = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], CM = (e) => String(e || "").split(",").filter(Boolean), Dpe = (e, t) => CM(e).includes(t);
-function wM(e, t, n, r, i = 0) {
+], vM = (e) => String(e || "").split(",").filter(Boolean), zpe = (e, t) => vM(e).includes(t);
+function yM(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of Tpe) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ for (let t of Lpe) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function TM(e, t, n, r, i, a) {
- return await N(`/api/items?${wM(e, t, n, r, i)}`, a ? { signal: a } : {});
+async function bM(e, t, n, r, i, a) {
+ return await N(`/api/items?${yM(e, t, n, r, i)}`, a ? { signal: a } : {});
}
-var EM = (e) => {
+var xM = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = wM(e.kind, e.name, e.filters, t).toString();
+ }, n = yM(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: Epe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => TM(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: Rpe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => bM(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, DM = (e, t) => ({
- queryKey: xM(e, t),
+}, SM = (e, t) => ({
+ queryKey: gM(e, t),
queryFn: ({ signal: n }) => N(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function Ope(e, t, n, r, i, a) {
+function Bpe(e, t, n, r, i, a) {
let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;
if (i) {
let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;
@@ -38008,10 +38064,10 @@ function Ope(e, t, n, r, i, a) {
let s = r ? `&seed=${encodeURIComponent(r)}` : "";
return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;
}
-var OM = (e, t, n, r) => ({
- queryKey: SM(e, t, n, r),
+var CM = (e, t, n, r) => ({
+ queryKey: _M(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await N(Ope(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await N(Bpe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -38024,8 +38080,8 @@ var OM = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), kM = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function kpe(e) {
+}), wM = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function Vpe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -38037,51 +38093,51 @@ async function kpe(e) {
n
] });
await Promise.all([
- z.fetchQuery(DM(t, n)).then((t) => !t || t.error || !t.id ? null : (z.removeQueries({ queryKey: XC(Number(t.id)) }), z.fetchQuery(ZC(Number(t.id), e.helpers.feedRowHtml, !0)))),
- z.fetchQuery(EM(e)),
- z.fetchInfiniteQuery(OM(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? z.fetchInfiniteQuery(OM(t, n, e.media.set, "")) : null
+ z.fetchQuery(SM(t, n)).then((t) => !t || t.error || !t.id ? null : (z.removeQueries({ queryKey: WC(Number(t.id)) }), z.fetchQuery(GC(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ z.fetchQuery(xM(e)),
+ z.fetchInfiniteQuery(CM(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? z.fetchInfiniteQuery(CM(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var Ape = "/api/follow/authors", jpe = "/api/follow/tags", AM = (e) => [
+var Hpe = "/api/follow/authors", Upe = "/api/follow/tags", Wpe = (e) => [
"follow",
"authors",
e
-], jM = (e, t) => [
+], Gpe = (e, t) => [
"follow",
"tags",
e,
t
];
-function MM(e, t, n) {
+function TM(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${Ape}?${r}`;
+ return e && r.set("q", e), `${Hpe}?${r}`;
}
-function NM(e, t, n, r) {
+function EM(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), `${jpe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Upe}?${i}`;
}
-var PM = (e, t, n, r) => K(MM(e, t, n), r), FM = (e, t, n, r, i) => K(NM(e, t, n, r), i), IM = "/api/index", LM = {
+var DM = (e, t, n, r) => K(TM(e, t, n), r), OM = (e, t, n, r, i) => K(EM(e, t, n, r), i), kM = "/api/index", AM = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, RM = {
+}, jM = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, zM = [
+}, MM = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -38091,26 +38147,26 @@ var PM = (e, t, n, r) => K(MM(e, t, n), r), FM = (e, t, n, r, i) => K(NM(e, t, n
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], BM = [
+], NM = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], VM = {
+], PM = {
people: 120,
tags: 180
-}, HM = (e) => e !== "tags", UM = (e) => e === "studios" || e === "agencies";
-function WM(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? BM : zM).some(([t]) => t === e.category);
+}, FM = (e) => e !== "tags", IM = (e) => e === "studios" || e === "agencies";
+function LM(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? NM : MM).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function GM(e) {
+function RM(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -38129,50 +38185,50 @@ function GM(e) {
q: n
};
}
-var KM = (e, t, n = "all") => [
+var zM = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function qM(e, t, n, r, i) {
+function BM(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), `${IM}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${kM}?${a}`;
}
-function JM(e) {
- let t = e.what === "people" || e.what === "online-authors" ? VM.people : VM.tags, n = {
+function VM(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? PM.people : PM.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: KM(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => K(qM(e.kind, e.q, "all", t, n), r)
+ queryKey: zM(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => K(BM(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: KM("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => K(qM("tags", e.q, e.category, t, n), r)
+ queryKey: zM("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => K(BM("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: AM(e.q),
- queryFn: ({ pageParam: n, signal: r }) => PM(e.q, t, n, r)
+ queryKey: Wpe(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => DM(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: jM(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => FM(e.q, e.category, t, n, r)
+ queryKey: Gpe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => OM(e.q, e.category, t, n, r)
};
}
}
-async function YM(e, t) {
- let n = JM(GM(WM(e)));
+async function HM(e, t) {
+ let n = VM(RM(LM(e)));
z.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -38186,13 +38242,13 @@ async function YM(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var XM = (e) => e ? e.pages.flatMap((e) => e.items) : [], ZM = (e, t) => `${e}${t ? "+" : ""} 项`, QM = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", $M = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), eN = {
+var UM = (e) => e ? e.pages.flatMap((e) => e.items) : [], WM = (e, t) => `${e}${t ? "+" : ""} 项`, GM = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", KM = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), qM = {
numeric: !0,
sensitivity: "base"
};
-function tN(e, t) {
+function JM(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", eN))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", qM))) {
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]);
}
@@ -38200,7 +38256,7 @@ function tN(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function nN({ html: e, face: t, company: n, big: r }) {
+function YM({ html: e, face: t, company: n, big: r }) {
let i = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -38212,18 +38268,18 @@ function nN({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var rN = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function iN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var XM = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function ZM({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
...a,
"data-index-cell": "",
onClick: i,
- className: iT({
+ className: eT({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${rN} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${XM} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -38240,8 +38296,8 @@ function iN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function aN({ kind: e, items: t, layout: n, props: r }) {
- let i = RM[e], a = UM(e), o = n === "big";
+function QM({ kind: e, items: t, layout: n, props: r }) {
+ let i = jM[e], a = IM(e), o = n === "big";
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -38249,14 +38305,14 @@ function aN({ 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, H.jsx)(iN, {
+ return /* @__PURE__ */ (0, H.jsx)(ZM, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: $M(e, t),
+ readout: KM(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, H.jsx)(nN, {
+ children: /* @__PURE__ */ (0, H.jsx)(YM, {
html: n.html,
face: n.face,
company: a,
@@ -38266,21 +38322,21 @@ function aN({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function oN({ items: e, layout: t, props: n }) {
+function $M({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, H.jsx)(iN, {
+ children: e.map((e) => /* @__PURE__ */ (0, H.jsx)(ZM, {
"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, H.jsx)(nN, {
+ children: /* @__PURE__ */ (0, H.jsx)(YM, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -38290,14 +38346,14 @@ function oN({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function sN(e) {
+function eN(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var cN = "/vendor/swiper/14.2.0/", lN = null, uN = () => lN ??= Promise.all([new Promise((e, t) => {
- let n = `${cN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var tN = "/vendor/swiper/14.2.0/", nN = null, rN = () => nN ??= Promise.all([new Promise((e, t) => {
+ let n = `${tN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -38311,11 +38367,11 @@ var cN = "/vendor/swiper/14.2.0/", lN = null, uN = () => lN ??= Promise.all([new
return;
}
let r = document.createElement("script");
- r.src = `${cN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${tN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw lN = null, e;
+ throw nN = null, e;
});
-function dN(e, t, n) {
+function iN(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
let e = i();
return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);
@@ -38336,48 +38392,48 @@ function dN(e, t, n) {
}
};
}
-var fN = (e) => {
+var aN = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : I(t)).replace(" ", "\xA0") : "大小未知";
-}, pN = (e) => e.asset?.name || e.name || "未命名图片";
-function mN(e, t) {
+}, Kpe = (e) => e.asset?.name || e.name || "未命名图片";
+function qpe(e, t) {
let n = e.asset;
- if (n) return [M[n.location ?? ""] || n.location || "来源未知", fN(n.size)].join(" · ");
+ if (n) return [M[n.location ?? ""] || n.location || "来源未知", aN(n.size)].join(" · ");
let r = (e.total ?? 0) > 1 ? `第 ${e.position} / ${e.total} 张` : "", i = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
i,
- e.size ? fN(e.size) : ""
+ e.size ? aN(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var hN = null, gN = null, _N = 0;
-function Mpe() {
- return (!gN || !hN?.isConnected) && (gN?.unmount(), hN = document.createElement("div"), hN.className = "peach-react", hN.dataset.photoLightboxHost = "", document.body.append(hN), gN = (0, Ot.createRoot)(hN)), gN;
+var oN = null, sN = null, Jpe = 0;
+function Ype() {
+ return (!sN || !oN?.isConnected) && (sN?.unmount(), oN = document.createElement("div"), oN.className = "peach-react", oN.dataset.photoLightboxHost = "", document.body.append(oN), sN = (0, Ot.createRoot)(oN)), sN;
}
-async function vN(e, t, n) {
+async function cN(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await uN();
+ r = await rN();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = Mpe();
- (0, Dt.flushSync)(() => i.render(/* @__PURE__ */ (0, H.jsx)(Npe, {
+ let i = Ype();
+ (0, Dt.flushSync)(() => i.render(/* @__PURE__ */ (0, H.jsx)(Xpe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++_N)));
+ }, ++Jpe)));
}
-function yN() {
- gN && (0, Dt.flushSync)(() => gN.render(null));
+function lN() {
+ sN && (0, Dt.flushSync)(() => sN.render(null));
}
-function Npe({ slides: e, index: t, Swiper: n, host: r }) {
+function Xpe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, B.useId)(), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = (0, B.useRef)(null), l = (0, B.useRef)(null), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(null), h = (0, B.useRef)(null), g = (0, B.useRef)(null), [_, v] = (0, B.useState)(t), [y, b] = (0, B.useState)(100), [S, C] = (0, B.useState)({}), [T, E] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [O, k] = (0, B.useState)(!1), [A, j] = (0, B.useState)({
at: t,
text: ""
@@ -38420,7 +38476,7 @@ function Npe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = dN(e, a, b);
+ i(t, 0), h.current = iN(e, a, b);
let m = D(e, f.current, p.current), _ = (e = !1) => {
m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();
};
@@ -38437,13 +38493,13 @@ function Npe({ slides: e, index: t, Swiper: n, host: r }) {
});
y.observe(e);
let x = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : yN());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : lN());
};
return document.addEventListener("keydown", x, !0), () => {
document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, B.useLayoutEffect)(() => {
- m.current && sN(m.current);
+ m.current && eN(m.current);
}, [y]);
let M = e[_], N = M.asset ?? null, ee = async (e) => {
if (!N || !r || e.getAttribute("aria-busy") === "true") return;
@@ -38474,18 +38530,18 @@ function Npe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), yN();
+ e.preventDefault(), lN();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && yN();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && lN();
},
children: [
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: yN,
+ onClick: lN,
dangerouslySetInnerHTML: { __html: L("x") }
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -38618,10 +38674,10 @@ function Npe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: pN(M)
+ children: Kpe(M)
}, _), /* @__PURE__ */ (0, H.jsx)("span", {
"data-photo-detail-meta": "",
- children: mN(M, S[_])
+ children: qpe(M, S[_])
})]
}),
/* @__PURE__ */ (0, H.jsx)("button", {
@@ -38660,33 +38716,33 @@ function Npe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function Ppe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, H.jsx)(Fpe, {
+function Zpe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, H.jsx)(Qpe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, H.jsx)(Ipe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, H.jsx)(zpe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, H.jsx)($pe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, H.jsx)(nme, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-function Fpe({ roster: e, props: t }) {
+function Qpe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, B.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
}), [n, r]);
- return /* @__PURE__ */ (0, H.jsx)(aN, {
+ return /* @__PURE__ */ (0, H.jsx)(QM, {
kind: e.kind,
items: e.people,
layout: e.layout,
props: i
});
}
-function Ipe(e) {
- let t = rA(!e.items, e.skeletonHtml);
+function $pe(e) {
+ let t = tA(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, H.jsx)(xA, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, H.jsx)(gA, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -38705,16 +38761,16 @@ function Ipe(e) {
}) : null]
});
}
-var Lpe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var eme = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), bN = (e) => e.sample === !0, xN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, SN = (e) => bN(e) ? `/sample-thumb?${xN(e)}` : `/photo-thumb?id=${e.id}`, Rpe = (e) => bN(e) ? {
- src: `/sample-image?${xN(e)}`,
- thumb: SN(e),
+})), uN = (e) => e.sample === !0, dN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, fN = (e) => uN(e) ? `/sample-thumb?${dN(e)}` : `/photo-thumb?id=${e.id}`, tme = (e) => uN(e) ? {
+ src: `/sample-image?${dN(e)}`,
+ thumb: fN(e),
name: e.name,
asset: null,
source: e.source,
@@ -38722,18 +38778,18 @@ var Lpe = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.total
} : {
src: `/photo?id=${e.id}`,
- thumb: SN(e),
+ thumb: fN(e),
name: e.name || "",
asset: e
};
-function zpe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, B.useMemo)(() => [...e.codeSets.flatMap(Lpe), ...e.items], [e]), [s, c] = (0, B.useState)(() => /* @__PURE__ */ new Set()), l = (0, B.useCallback)((e) => c((t) => {
+function nme({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, B.useMemo)(() => [...e.codeSets.flatMap(eme), ...e.items], [e]), [s, c] = (0, B.useState)(() => /* @__PURE__ */ new Set()), l = (0, B.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, B.useCallback)((e) => {
- vN(e, o.map(Rpe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, H.jsx)(Bpe, {
+ cN(e, o.map(tme), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, H.jsx)(rme, {
item: e,
index: t,
lost: s.has(t),
@@ -38751,7 +38807,7 @@ function zpe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, H.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(CN, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, H.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(pN, {
label: e.code,
title: e.name,
meta: [
@@ -38763,7 +38819,7 @@ function zpe({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, H.jsx)(CN, {
+ m.length && e.total ? /* @__PURE__ */ (0, H.jsx)(pN, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -38772,14 +38828,14 @@ function zpe({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, H.jsx)(SA, {
+ e.hasMore ? /* @__PURE__ */ (0, H.jsx)(_A, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function CN({ label: e, title: t, meta: n }) {
+function pN({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -38796,7 +38852,7 @@ function CN({ label: e, title: t, meta: n }) {
]
});
}
-function Bpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function rme({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
@@ -38805,7 +38861,7 @@ function Bpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, H.jsx)("img", {
- src: SN(e),
+ src: fN(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -38814,7 +38870,7 @@ function Bpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
})
});
}
-function wN(e) {
+function mN(e) {
return {
x0: 0,
y0: 0,
@@ -38822,7 +38878,7 @@ function wN(e) {
y1: e.height
};
}
-function TN(e) {
+function hN(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -38830,40 +38886,40 @@ function TN(e) {
y1: Math.round(e.y1)
};
}
-function EN(e) {
+function gN(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function DN(e, t) {
- if (!EN(e)) return {
+function _N(e, t) {
+ if (!gN(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return wN(e);
+ if (t == null || !(t > 0)) return mN(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 TN({
+ return hN({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function Vpe(e, t) {
- if (!EN(e) || !(t > 0)) return wN(e);
+function ime(e, t) {
+ if (!gN(e) || !(t > 0)) return mN(e);
let n = Math.min(e.width, e.height * t);
- return TN({
+ return hN({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function Hpe(e, t, n) {
- if (!EN(t) || !(n > 0)) return wN(t);
- let r = ON(e, t), i = DN({
+function ame(e, t, n) {
+ if (!gN(t) || !(n > 0)) return mN(t);
+ let r = vN(e, t), i = _N({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -38874,8 +38930,8 @@ function Hpe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function ON(e, t, n = null, r = "width") {
- if (!EN(t)) return {
+function vN(e, t, n = null, r = "width") {
+ if (!gN(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -38884,43 +38940,43 @@ function ON(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 TN({
+ return hN({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function kN(e, t, n, r) {
+function yN(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 TN({
+ return hN({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function AN(e, t, n, r = null) {
- if (!EN(n) || !(t > 0)) return e;
+function bN(e, t, n, r = null) {
+ if (!gN(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 ON({
+ return vN({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function Upe(e, t, n, r, i = null) {
+function ome(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 ON(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return vN(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Wpe(e, t) {
- return EN(t) ? {
+function sme(e, t) {
+ return gN(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -38932,8 +38988,8 @@ function Wpe(e, t) {
height: 0
};
}
-function Gpe(e, t) {
- if (!EN(t)) return {
+function cme(e, t) {
+ if (!gN(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -38943,7 +38999,7 @@ function Gpe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function Kpe(e, t) {
+function lme(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}%`,
@@ -38952,17 +39008,17 @@ function Kpe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function jN(e, t, n) {
+function xN(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var qpe = {
+var ume = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function MN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function SN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = La();
return /* @__PURE__ */ (0, H.jsx)(og, {
isOpen: e,
@@ -38973,7 +39029,7 @@ function MN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
children: /* @__PURE__ */ (0, H.jsx)(oee, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${qpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ className: `flex max-h-full w-full ${ume[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
children: /* @__PURE__ */ (0, H.jsx)(mh, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
@@ -38982,7 +39038,7 @@ function MN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function NN({ children: e }) {
+function CN({ children: e }) {
return /* @__PURE__ */ (0, H.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",
@@ -38991,8 +39047,8 @@ function NN({ children: e }) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var Jpe = .02, PN = 1.08;
-function FN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var dme = .02, wN = 1.08;
+function TN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, B.useRef)(null), c = (0, B.useRef)(null), [l, u] = (0, B.useState)(!1);
(0, B.useEffect)(() => {
u(!1);
@@ -39003,8 +39059,8 @@ function FN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: jN(e, n.clientWidth, r.width),
- dy: jN(t, n.clientHeight, r.height)
+ dx: xN(e, n.clientWidth, r.width),
+ dy: xN(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -39022,29 +39078,29 @@ function FN({ 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(kN(n.box, o.dx, o.dy, r));
+ i(yN(n.box, o.dx, o.dy, r));
return;
}
- i(Upe(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(ome(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) * Jpe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * dme), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(kN(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(yN(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(AN(n, e.key === "-" ? 1 / PN : PN, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(bN(n, e.key === "-" ? 1 / wN : wN, r, t)));
}
- let g = n && r ? Wpe(ON(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? sme(vN(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -39063,7 +39119,7 @@ function FN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- EN({
+ gN({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -39102,7 +39158,7 @@ function FN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(AN(n, e.deltaY > 0 ? PN : 1 / PN, r, t));
+ !n || !r || i(bN(n, e.deltaY > 0 ? wN : 1 / wN, 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, H.jsx)("span", {
@@ -39124,61 +39180,61 @@ function FN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var Ype = "/api/avatar-choices", IN = "/api/avatar-pick", Xpe = "/api/avatar-code-cover", Zpe = "/avatar-choice", LN = (e, t) => [
+var fme = "/api/avatar-choices", EN = "/api/avatar-pick", pme = "/api/avatar-code-cover", mme = "/avatar-choice", DN = (e, t) => [
"avatar-choices",
e,
t
-], RN = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, zN = (e, t, n, r = "") => `${Zpe}${RN(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), BN = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Qpe = (e, t, n) => K(Ype + RN(e, t), n), $pe = (e) => q(Xpe, { code: e });
-function VN(e, t, n) {
+], ON = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, kN = (e, t, n, r = "") => `${mme}${ON(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), AN = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", hme = (e, t, n) => K(fme + ON(e, t), n), gme = (e) => q(pme, { code: e });
+function jN(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? Hpe(e.focus, t, n) : DN(t, n);
+ return e.focus && r ? ame(e.focus, t, n) : _N(t, n);
}
-var eme = (e) => e.crop && EN({
+var _me = (e) => e.crop && gN({
width: e.width,
height: e.height
});
-async function tme(e, t, n) {
+async function vme(e, t, n) {
if (!("file" in n)) {
- await q(IN, {
+ await q(EN, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${IN}${RN(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${EN}${ON(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 RC(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new MC(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function nme(e, t) {
+function yme(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 rme = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function ime(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${rme(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var bme = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function xme(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${bme(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var HN = (e) => e.cast > 1, ame = (e) => HN(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, ome = {
+var MN = (e) => e.cast > 1, Sme = (e) => MN(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Cme = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function sme(e) {
+function wme(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 cme = (e) => `${ome[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (HN(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), lme = 8, ume = 3 / 4;
-function dme({ kind: e, entityId: t, name: n, onPicked: r }) {
+var Tme = (e) => `${Cme[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (MN(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Eme = 8, Dme = 3 / 4;
+function Ome({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, B.useState)(!1);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -39188,17 +39244,17 @@ function dme({ 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, H.jsx)(qae, {
+ children: /* @__PURE__ */ (0, H.jsx)($ae, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, H.jsx)(MN, {
+ }), /* @__PURE__ */ (0, H.jsx)(SN, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, H.jsx)(fme, {
+ children: /* @__PURE__ */ (0, H.jsx)(kme, {
kind: e,
entityId: t,
name: n,
@@ -39207,33 +39263,33 @@ function dme({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function fme({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, B.useRef)(null), o = uT(), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(null), h = LN(e, t), g = (0, B.useRef)(!1), _ = gw({
+function kme({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, B.useRef)(null), o = oT(), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(null), h = DN(e, t), g = (0, B.useRef)(!1), _ = uw({
queryKey: h,
- queryFn: ({ signal: n }) => Qpe(e, t, n),
+ queryFn: ({ signal: n }) => hme(e, t, n),
retryOnMount: !0
});
(0, B.useEffect)(() => () => {
- g.current && z.removeQueries({ queryKey: LN(e, t) });
+ g.current && z.removeQueries({ queryKey: DN(e, t) });
}, [e, t]);
- let v = yw({
- mutationFn: (n) => tme(e, t, n),
+ let v = pw({
+ mutationFn: (n) => vme(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
- }), y = yw({
- mutationFn: (e) => $pe(e),
+ }), y = pw({
+ mutationFn: (e) => gme(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 ? G(v.error) : "") || (!p && y.error ? G(y.error) : "") || (_.error ? G(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : ime(x);
+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? G(v.error) : "") || (!p && y.error ? G(y.error) : "") || (_.error ? G(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : xme(x);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, H.jsx)(NN, { children: /* @__PURE__ */ (0, H.jsx)(Yw, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, H.jsx)(CN, { children: /* @__PURE__ */ (0, H.jsx)(Gw, { className: "size-6" }) }),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -39243,14 +39299,14 @@ function fme({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
- }), !p && S.length ? /* @__PURE__ */ (0, H.jsxs)(Ok, {
+ }), !p && S.length ? /* @__PURE__ */ (0, H.jsxs)(wk, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? ame(p) : nme(n, x)
+ children: p ? Sme(p) : yme(n, x)
}),
T ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
@@ -39262,14 +39318,14 @@ function fme({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsx)(fT, {
- icon: Iw,
+ /* @__PURE__ */ (0, H.jsx)(cT, {
+ icon: Aw,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, H.jsx)(mme, {
+ }), p ? /* @__PURE__ */ (0, H.jsx)(jme, {
kind: e,
entityId: t,
choice: p,
@@ -39293,7 +39349,7 @@ function fme({ 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: lme }, (e, t) => /* @__PURE__ */ (0, H.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: Eme }, (e, t) => /* @__PURE__ */ (0, H.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",
@@ -39306,15 +39362,15 @@ function fme({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: cme(n),
+ title: Tme(n),
...X(w),
onClick: () => {
w || (n.crop ? m(n) : v.mutate({ ref: n.ref }));
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, H.jsx)(pme, {
- src: zN(e, t, n.ref, BN(n, n.ref)),
+ /* @__PURE__ */ (0, H.jsx)(Ame, {
+ src: kN(e, t, n.ref, AN(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, H.jsx)("span", {
@@ -39323,15 +39379,15 @@ function fme({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, H.jsx)(Ok, {
+ children: /* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- HN(n) ? /* @__PURE__ */ (0, H.jsx)("span", {
+ MN(n) ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, H.jsxs)(Ok, {
+ children: /* @__PURE__ */ (0, H.jsxs)(wk, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -39350,7 +39406,7 @@ function fme({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, H.jsx)(Fk, {
+ children: /* @__PURE__ */ (0, H.jsx)(jk, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -39385,7 +39441,7 @@ function fme({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, H.jsx)(Fk, {
+ children: /* @__PURE__ */ (0, H.jsx)(jk, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -39405,7 +39461,7 @@ function fme({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function pme({ src: e, choice: t }) {
+function Ame({ src: e, choice: t }) {
let n = (0, B.useRef)(null), [r, i] = (0, B.useState)(!1);
(0, B.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -39413,7 +39469,7 @@ function pme({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = eme(t) ? Kpe(VN(t, a, ume), a) : null, s = r ? !0 : void 0;
+ }, o = _me(t) ? lme(jN(t, a, Dme), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, H.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, H.jsx)("img", {
@@ -39438,23 +39494,23 @@ function pme({ src: e, choice: t }) {
})]
});
}
-function mme({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, B.useState)(o[0]), [l, u] = (0, B.useState)(null), [d, f] = (0, B.useState)(null), p = BN(n, s), m = zN(e, t, s, p), h = uT();
+function jme({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, B.useState)(o[0]), [l, u] = (0, B.useState)(null), [d, f] = (0, B.useState)(null), p = AN(n, s), m = kN(e, t, s, p), h = oT();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? Gpe(d, l) : null;
+ let _ = d && l ? cme(d, l) : null;
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("div", {
ref: h,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [/* @__PURE__ */ (0, H.jsx)(FN, {
+ children: [/* @__PURE__ */ (0, H.jsx)(TN, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), EN(e) && f(s === n.ref ? VN(n, e, 1) : DN(e, 1));
+ u(e), gN(e) && f(s === n.ref ? jN(n, e, 1) : _N(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, H.jsx)("div", {
@@ -39468,7 +39524,7 @@ function mme({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => g(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: sme(e)
+ children: wme(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
@@ -39502,12 +39558,12 @@ function mme({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var hme = {
+var Mme = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function UN({ name: e }) {
- let t = hme[e];
+function NN({ name: e }) {
+ let t = Mme[e];
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -39517,19 +39573,19 @@ function UN({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function WN(e, t) {
+function PN(e, t) {
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8;
t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;
}
-var GN = (e) => !!e?.isConnected && e.matches(":popover-open");
-function KN(e, t, n, r) {
+var FN = (e) => !!e?.isConnected && e.matches(":popover-open");
+function IN(e, t, n, r) {
let i = (0, B.useRef)(r);
i.current = r, (0, B.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && GN(n.current) ? WN(t.current, n.current) : i.current();
+ t.current && FN(n.current) ? PN(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -39543,17 +39599,17 @@ function KN(e, t, n, r) {
n
]);
}
-function qN({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function LN({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, B.useRef)(null), s = (0, B.useRef)(null), [c, l] = (0, B.useState)(!1), u = (0, B.useRef)(!1), d = (0, B.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, GN(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, FN(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || GN(s.current)) && (s.current.showPopover(), WN(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || FN(s.current)) && (s.current.showPopover(), PN(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();
}, 150);
};
- return KN(c, o, s, f), (0, B.useEffect)(() => {
+ return IN(c, o, s, f), (0, B.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -39579,7 +39635,7 @@ function qN({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && GN(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && FN(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
@@ -39597,16 +39653,16 @@ function qN({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function gme({ following: e, busy: t, onToggle: n, tip: r }) {
+function Nme({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), [s, c] = (0, B.useState)(!1), l = (0, B.useRef)(!1), u = () => {
- GN(o.current) && o.current.hidePopover(), c(!1);
+ FN(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || GN(o.current) || (o.current.showPopover(), WN(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || FN(o.current) || (o.current.showPopover(), PN(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return KN(s, i, o, () => c(!1)), (0, B.useEffect)(() => {
- i.current && GN(o.current) && WN(i.current, o.current);
+ return IN(s, i, o, () => c(!1)), (0, B.useEffect)(() => {
+ i.current && FN(o.current) && PN(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, H.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -39615,7 +39671,7 @@ function gme({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, H.jsx)(UN, { name: "rss" }),
+ /* @__PURE__ */ (0, H.jsx)(NN, { name: "rss" }),
/* @__PURE__ */ (0, H.jsx)("input", {
ref: a,
type: "checkbox",
@@ -39650,7 +39706,7 @@ function gme({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function _me({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function Pme({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, B.useState)(!1), o = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
@@ -39661,12 +39717,12 @@ function _me({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, H.jsx)(UN, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, H.jsx)(NN, { name: "chevron-down" })
}), /* @__PURE__ */ (0, H.jsx)(nm, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: tT,
+ className: Zw,
"data-namepick-menu": "",
children: /* @__PURE__ */ (0, H.jsxs)(ih, {
"aria-label": "名字与别名",
@@ -39684,7 +39740,7 @@ function _me({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, H.jsx)(UN, { name: "check" }), /* @__PURE__ */ (0, H.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, H.jsx)(NN, { name: "check" }), /* @__PURE__ */ (0, H.jsx)("span", { children: e })]
}, e))
}),
/* @__PURE__ */ (0, H.jsx)(Eu, { "data-namepick-rule": "" }),
@@ -39693,18 +39749,18 @@ function _me({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, H.jsx)(UN, { name: "plus" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, H.jsx)(NN, { name: "plus" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var vme = (e) => e === "studio" || e === "agency", yme = (e) => e === "performer" || e === "creator", bme = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
-function xme(e) {
+var Fme = (e) => e === "studio" || e === "agency", Ime = (e) => e === "performer" || e === "creator", Lme = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
+function Rme(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function JN(e) {
+function RN(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -39715,13 +39771,13 @@ function JN(e) {
linked: !1
} : null;
}
-function YN(e, t) {
+function zN(e, t) {
let n = oe(e, "performer"), r = re(t);
return r && [e.label, n].map(re).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var XN = (e) => ({ site: ie(e) });
-function Sme(e, t) {
- let n = JN(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var BN = (e) => ({ site: ie(e) });
+function zme(e, t) {
+ let n = RN(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -39731,7 +39787,7 @@ function Sme(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${YN(e, n)} · ${t}`
+ title: `${zN(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -39742,8 +39798,8 @@ function Sme(e, t) {
if (t === "performer" && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: YN(e, n),
- mark: XN(e)
+ title: zN(e, n),
+ mark: BN(e)
};
if (e.link_kind === "social") {
let t = ee(r);
@@ -39751,7 +39807,7 @@ function Sme(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : XN(e)
+ mark: t ? { brand: t } : BN(e)
};
}
return {
@@ -39759,13 +39815,13 @@ function Sme(e, t) {
url: r,
title: e.label || "",
text: oe(e, t, i),
- mark: XN(e)
+ mark: BN(e)
};
});
return [...r, ...a];
}
-var ZN = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function Cme(e) {
+var VN = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function Bme(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -39822,14 +39878,14 @@ function Cme(e) {
tags: e.tags
}), t;
}
-function wme(e) {
+function Vme(e) {
let t = e.length > 5 ? 4 : e.length;
return {
shown: e.slice(0, t),
rest: e.length - t
};
}
-function Tme(e) {
+function Hme(e) {
if (!e) return null;
let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;
return n.length || r > 0 ? {
@@ -39840,7 +39896,7 @@ function Tme(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function Eme(e) {
+function Ume(e) {
return ge({
id: e.id,
hasImage: e.has_image,
@@ -39850,8 +39906,8 @@ function Eme(e) {
focus: e.avatar_focus
});
}
-function Dme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = yme(e), c = vme(e), l = e === "performer" ? Cme(n.profile) : [], u = Sme(n, e), d = ZN(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, B.useRef)(null), m = (0, B.useRef)(null);
+function Wme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = Ime(e), c = Fme(e), l = e === "performer" ? Bme(n.profile) : [], u = zme(n, e), d = VN(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, B.useRef)(null), m = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, B.useEffect)(() => {
@@ -39864,7 +39920,7 @@ function Dme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, H.jsx)(Ome, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Gme, {
kind: e,
name: t,
helpers: o,
@@ -39872,7 +39928,7 @@ function Dme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, H.jsx)(dme, {
+ children: /* @__PURE__ */ (0, H.jsx)(Ome, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -39885,14 +39941,14 @@ function Dme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, H.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, H.jsx)(_me, {
+ children: [/* @__PURE__ */ (0, H.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, H.jsx)(Pme, {
current: n.canonical_name,
- choices: xme(n),
+ choices: Rme(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
})]
}),
- /* @__PURE__ */ (0, H.jsx)(kme, {
+ /* @__PURE__ */ (0, H.jsx)(Kme, {
kind: e,
entity: n,
actions: a
@@ -39900,9 +39956,9 @@ function Dme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
u.length ? /* @__PURE__ */ (0, H.jsx)("div", {
ref: p,
"data-entity-links": "",
- children: u.map((e, t) => /* @__PURE__ */ (0, H.jsx)(Nme, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, H.jsx)(Xme, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, H.jsx)(Pme, {
+ d.length || n.feed ? /* @__PURE__ */ (0, H.jsx)(Zme, {
entity: n,
actions: a,
helpers: o
@@ -39911,11 +39967,11 @@ function Dme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
l.length ? /* @__PURE__ */ (0, H.jsx)("dl", {
"data-entity-facts": "",
- children: l.map((e) => /* @__PURE__ */ (0, H.jsx)(jme, {
+ children: l.map((e) => /* @__PURE__ */ (0, H.jsx)(Jme, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, H.jsx)(Mme, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, H.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, H.jsx)(Yme, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, H.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -39934,7 +39990,7 @@ function Dme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, H.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${P(e.k.slice(0, 1))}</span>${Eme(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${P(e.k.slice(0, 1))}</span>${Ume(e)}` }
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -39942,14 +39998,14 @@ function Dme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(Sw, {
+ }), i ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(gw, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function Ome({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function Gme({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, B.useState)(() => `${n.portraitImg()}<span>${P(t.slice(0, 1))}</span>`);
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -39958,8 +40014,8 @@ function Ome({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function kme({ kind: e, entity: t, actions: n }) {
- let r = JN(t), i = (e, t) => (r) => {
+function Kme({ kind: e, entity: t, actions: n }) {
+ let r = RN(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, H.jsx)("a", {
href: te("agency", r.name),
@@ -39968,36 +40024,36 @@ function kme({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer") {
- let e = Tme(t.name_groups);
+ let e = Hme(t.name_groups);
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-entity-alias": "meta",
children: [
/* @__PURE__ */ (0, H.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, H.jsx)(UN, { name: "film" }), /* @__PURE__ */ (0, H.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, H.jsx)(NN, { name: "film" }), /* @__PURE__ */ (0, H.jsx)("span", { children: o })]
}),
a ? /* @__PURE__ */ (0, H.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, H.jsx)(UN, { name: "briefcase" }), /* @__PURE__ */ (0, H.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, H.jsx)(NN, { name: "briefcase" }), /* @__PURE__ */ (0, H.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, H.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, H.jsx)(UN, { name: "id-card" }),
+ /* @__PURE__ */ (0, H.jsx)(NN, { name: "id-card" }),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, H.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, H.jsx)(qN, {
+ e.rest > 0 ? /* @__PURE__ */ (0, H.jsx)(LN, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest} 个别名`,
heading: `${e.total} 个别名`,
- children: /* @__PURE__ */ (0, H.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, H.jsx)(Ame, {
+ children: /* @__PURE__ */ (0, H.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, H.jsx)(qme, {
label: e.label,
names: e.names
}, t)) })
@@ -40032,25 +40088,25 @@ function kme({ kind: e, entity: t, actions: n }) {
]
});
}
-function Ame({ label: e, names: t }) {
+function qme({ label: e, names: t }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [e ? /* @__PURE__ */ (0, H.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, H.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, H.jsxs)("span", { children: [e.name, e.reading ? /* @__PURE__ */ (0, H.jsx)("small", { children: e.reading }) : null] }, t))
})] });
}
-function jme({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("dt", { children: [/* @__PURE__ */ (0, H.jsx)(UN, { name: e }), t] }), /* @__PURE__ */ (0, H.jsx)("dd", {
+function Jme({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("dt", { children: [/* @__PURE__ */ (0, H.jsx)(NN, { name: e }), t] }), /* @__PURE__ */ (0, H.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function Mme({ tags: e }) {
- let { shown: t, rest: n } = wme(e);
+function Yme({ tags: e }) {
+ let { shown: t, rest: n } = Vme(e);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, H.jsx)("span", {
"data-fact-tag": "",
children: e
- }, e)), n ? /* @__PURE__ */ (0, H.jsx)(qN, {
+ }, e)), n ? /* @__PURE__ */ (0, H.jsx)(LN, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -40065,10 +40121,10 @@ function Mme({ tags: e }) {
})
}) : null] });
}
-function QN({ mark: e }) {
+function HN({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, H.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, H.jsx)(UN, { name: e.brand })
+ children: /* @__PURE__ */ (0, H.jsx)(NN, { name: e.brand })
});
let t = L("globe") + ("site" in e ? `<img src="${P(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, H.jsx)("span", {
@@ -40076,7 +40132,7 @@ function QN({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function Nme({ link: e }) {
+function Xme({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, H.jsx)("a", {
"data-link": "icon",
@@ -40085,19 +40141,19 @@ function Nme({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, H.jsx)(QN, { mark: e.mark })
+ children: /* @__PURE__ */ (0, H.jsx)(HN, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, H.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, H.jsx)(QN, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, H.jsx)(HN, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, H.jsxs)("span", {
"data-link": "private",
title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, H.jsx)(QN, { mark: { globe: !0 } }), /* @__PURE__ */ (0, H.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, H.jsx)(HN, { mark: { globe: !0 } }), /* @__PURE__ */ (0, H.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -40108,14 +40164,14 @@ function Nme({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, H.jsx)(QN, { mark: e.mark }), /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [/* @__PURE__ */ (0, H.jsx)(HN, { mark: e.mark }), /* @__PURE__ */ (0, H.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function Pme({ entity: e, actions: t, helpers: n }) {
+function Zme({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, B.useState)(!!e.feed?.following), [a, o] = (0, B.useState)(!1), s = (0, B.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -40133,47 +40189,47 @@ function Pme({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-entry-marks": "",
- children: [ZN(e).map((e, t) => /* @__PURE__ */ (0, H.jsxs)("a", {
+ children: [VN(e).map((e, t) => /* @__PURE__ */ (0, H.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, H.jsx)(UN, { name: e.mark }) : /* @__PURE__ */ (0, H.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, H.jsx)(NN, { name: e.mark }) : /* @__PURE__ */ (0, H.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, H.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, H.jsx)(gme, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, H.jsx)(Nme, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: bme(r)
+ tip: Lme(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function Fme(e) {
- let { kind: t, name: n } = e, r = gw(DM(t, n)), i = !!r.data?.error, { actions: a } = e;
+function Qme(e) {
+ let { kind: t, name: n } = e, r = uw(SM(t, n)), i = !!r.data?.error, { actions: a } = e;
return (0, B.useLayoutEffect)(() => {
i && a.missing();
- }, [a, i]), r.isError ? /* @__PURE__ */ (0, H.jsx)(iA, {
+ }, [a, i]), r.isError ? /* @__PURE__ */ (0, H.jsx)(nA, {
message: G(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i ? null : /* @__PURE__ */ (0, H.jsx)(Rme, {
+ }) : !r.data || i ? null : /* @__PURE__ */ (0, H.jsx)(the, {
...e,
entity: r.data
});
}
-function $N(e) {
+function UN(e) {
let [t, n] = (0, B.useState)({
key: e,
n: 1
@@ -40185,14 +40241,14 @@ function $N(e) {
};
return n(r), r.n;
}
-var Ime = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function Lme(e, t) {
+var $me = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function ehe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function Rme(e) {
- let { kind: t, name: n, entity: i, filters: a, media: o, helpers: s, actions: c, hosts: l } = e, u = t === "agency" || t === "studio", d = t === "agency" ? i.related_performers || [] : t === "studio" && i.labels || [], f = Number(i.id) || 0, p = bw(OM(t, n, 0, "")).data?.pages[0], m = p && !p.error ? p : null, h = m ? (m.total || 0) + (m.sample_total || 0) : 0, g = (m?.total || 0) > 0 || kM(m).length > 0, _ = o.media === "photos" && g ? o : bM, [v, y] = (0, B.useState)("people"), b = new URLSearchParams(Object.entries(a).filter(([, e]) => e)).toString(), [x, S] = (0, B.useState)(b);
+function the(e) {
+ let { kind: t, name: n, entity: i, filters: a, media: o, helpers: s, actions: c, hosts: l } = e, u = t === "agency" || t === "studio", d = t === "agency" ? i.related_performers || [] : t === "studio" && i.labels || [], f = Number(i.id) || 0, p = mw(CM(t, n, 0, "")).data?.pages[0], m = p && !p.error ? p : null, h = m ? (m.total || 0) + (m.sample_total || 0) : 0, g = (m?.total || 0) > 0 || wM(m).length > 0, _ = o.media === "photos" && g ? o : hM, [v, y] = (0, B.useState)("people"), b = new URLSearchParams(Object.entries(a).filter(([, e]) => e)).toString(), [x, S] = (0, B.useState)(b);
x !== b && (S(b), y("videos"));
- let C = u && v === "people" && d.length ? "people" : _.media, [w, T] = (0, B.useState)(0), E = EM(e), D = gw(E), O = $N(JSON.stringify([E.queryKey, w])), [k] = (0, B.useState)(() => (t === "performer" || t === "studio") && (e.jav || (D.data?.items || []).some((e) => e.is_jav)));
+ let C = u && v === "people" && d.length ? "people" : _.media, [w, T] = (0, B.useState)(0), E = xM(e), D = uw(E), O = UN(JSON.stringify([E.queryKey, w])), [k] = (0, B.useState)(() => (t === "performer" || t === "studio") && (e.jav || (D.data?.items || []).some((e) => e.is_jav)));
(0, B.useLayoutEffect)(() => {
c.javContext(k);
}, [c, k]);
@@ -40202,26 +40258,26 @@ function Rme(e) {
}, [e.layout, k]), j = {
jav: e.jav,
seed: e.seed
- }, M = (0, B.useCallback)((e, r) => TM(t, n, a, j, e, r), [O]), [ee, te] = (0, B.useState)({}), P = _.set, F = ee[P] || "", ne = bw({
- ...OM(t, n, P, F),
+ }, M = (0, B.useCallback)((e, r) => bM(t, n, a, j, e, r), [O]), [ee, te] = (0, B.useState)({}), P = _.set, F = ee[P] || "", ne = mw({
+ ...CM(t, n, P, F),
enabled: C === "photos"
- }), I = ne.data?.pages[0], re = $N(JSON.stringify(SM(t, n, P, F))), L = (0, B.useMemo)(() => {
+ }), I = ne.data?.pages[0], re = UN(JSON.stringify(_M(t, n, P, F))), L = (0, B.useMemo)(() => {
let e = ne.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: re,
- codeSets: t.id ? [] : kM(t),
+ codeSets: t.id ? [] : wM(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
- }, [ne.data, re]), ie = ne.refetch, ae = ne.fetchNextPage, oe = gw({
- ...ZC(f, s.feedRowHtml),
+ }, [ne.data, re]), ie = ne.refetch, ae = ne.fetchNextPage, oe = uw({
+ ...GC(f, s.feedRowHtml),
enabled: !!f
}), se = (0, B.useRef)(e.feedRevision);
(0, B.useEffect)(() => {
- se.current !== e.feedRevision && (se.current = e.feedRevision, z.invalidateQueries({ queryKey: XC(f) }));
+ se.current !== e.feedRevision && (se.current = e.feedRevision, z.invalidateQueries({ queryKey: WC(f) }));
}, [f, e.feedRevision]);
let ce = !!D.data;
(0, B.useEffect)(() => {
@@ -40238,12 +40294,12 @@ function Rme(e) {
le.current = !1;
}, []);
let R = (0, B.useCallback)(async () => {
- await z.invalidateQueries({ queryKey: xM(t, n) }), await z.invalidateQueries({ queryKey: [
+ await z.invalidateQueries({ queryKey: gM(t, n) }), await z.invalidateQueries({ queryKey: [
"entity-items",
t,
n
] });
- }, [t, n]), ue = yw({
+ }, [t, n]), ue = pw({
mutationFn: (e) => N("/api/entity-alias", {
method: "POST",
body: JSON.stringify({
@@ -40253,14 +40309,14 @@ function Rme(e) {
})
}),
onSuccess: () => R()
- }), de = yw({ mutationFn: ({ from: e, to: n }) => N("/api/entity-name", {
+ }), de = pw({ mutationFn: ({ from: e, to: n }) => N("/api/entity-name", {
method: "POST",
body: JSON.stringify({
kind: t,
name: e,
canonical: n
})
- }) }), fe = yw({
+ }) }), fe = pw({
mutationFn: (e) => N("/api/feeds/source", {
method: "POST",
body: JSON.stringify({
@@ -40269,7 +40325,7 @@ function Rme(e) {
enabled: e
})
}),
- onSuccess: (e, r) => z.setQueryData(xM(t, n), (e) => e && {
+ onSuccess: (e, r) => z.setQueryData(gM(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -40317,10 +40373,10 @@ function Rme(e) {
let e = await N("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- le.current && await z.invalidateQueries({ queryKey: XC(f) });
+ le.current && await z.invalidateQueries({ queryKey: WC(f) });
})();
},
- feedAction: QC,
+ feedAction: KC,
avatarPicked: () => {
c.avatarChanged(), R().then(() => {
le.current && T((e) => e + 1);
@@ -40351,19 +40407,19 @@ function Rme(e) {
e === C && !_.set || (y(e === "people" ? "people" : "videos"), c.route(a, e === "photos" ? {
media: "photos",
set: 0
- } : bM));
+ } : hM));
},
setState: (e) => c.route({
...a,
state: e
- }, bM),
+ }, hM),
toggleTag: c.toggleTag,
clearFilter: c.clearFilter,
clearAll: c.clearAll,
setSort: c.setSort,
reshuffle: async () => {
if (C !== "photos") {
- let r = c.reshuffleVideos(), i = EM({
+ let r = c.reshuffleVideos(), i = xM({
kind: t,
name: n,
filters: {
@@ -40377,7 +40433,7 @@ function Rme(e) {
await z.fetchQuery(i).catch(() => null);
return;
}
- let r = Ime(), i = await z.fetchInfiniteQuery(OM(t, n, P, r)).catch(() => null);
+ let r = $me(), i = await z.fetchInfiniteQuery(CM(t, n, P, r)).catch(() => null);
!le.current || !i?.pages[0] || i.pages[0].error || te((e) => ({
...e,
[P]: r
@@ -40410,7 +40466,7 @@ function Rme(e) {
k: e.k,
label: Je(e.k),
n: e.n,
- selected: Dpe(a.tag, e.k)
+ selected: zpe(a.tag, e.k)
})), ve = h || d.length ? {
label: d.length ? "页面视图" : "媒体类型",
people: d.length ? {
@@ -40436,9 +40492,9 @@ function Rme(e) {
if (C === "people") Se = `${t === "studio" ? "厂牌" : "艺人"} · ${d.length.toLocaleString()}`;
else if (C === "videos") {
Ce = !D.data;
- let e = CM(a.tag).map((e) => Je(e));
+ let e = vM(a.tag).map((e) => Je(e));
Se = `视频 · ${(D.data?.total || 0).toLocaleString()}${e.length ? ` · ${e.join(" · ")}` : ""}`;
- } else I && !I.error ? Se = be ? `${I.title} · ${(I.total || 0).toLocaleString()} 张` : Lme(I, kM(I).length) : Ce = ne.isPending;
+ } else I && !I.error ? Se = be ? `${I.title} · ${(I.total || 0).toLocaleString()} 张` : ehe(I, wM(I).length) : Ce = ne.isPending;
let we = (0, B.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -40455,7 +40511,7 @@ function Rme(e) {
d
]);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(Dme, {
+ /* @__PURE__ */ (0, H.jsx)(Wme, {
kind: t,
name: n,
entity: i,
@@ -40465,7 +40521,7 @@ function Rme(e) {
actions: pe,
helpers: me
}, w),
- (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(Xie, {
+ (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(nae, {
kind: t,
name: n,
view: C,
@@ -40481,12 +40537,12 @@ function Rme(e) {
actions: he,
helpers: ge
}), l.filter),
- (0, Dt.createPortal)(C === "videos" && D.isError ? /* @__PURE__ */ (0, H.jsx)(iA, {
+ (0, Dt.createPortal)(C === "videos" && D.isError ? /* @__PURE__ */ (0, H.jsx)(nA, {
message: G(D.error),
onRetry: () => {
D.refetch();
}
- }) : /* @__PURE__ */ (0, H.jsx)(Ppe, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Zpe, {
kind: t,
name: n,
view: C,
@@ -40512,7 +40568,7 @@ function Rme(e) {
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function eP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function WN({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, H.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
@@ -40539,29 +40595,29 @@ function eP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var zme = kC("play"), Bme = kC("file-stack"), Vme = iT({
+var nhe = CC("play"), rhe = CC("file-stack"), ihe = eT({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), tP = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", nP = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", rP = "font-mono text-caption-1-regular leading-5 text-text-secondary", iP = () => {
+}), GN = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", KN = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", qN = "font-mono text-caption-1-regular leading-5 text-text-secondary", JN = () => {
z.invalidateQueries({
- queryKey: DA,
+ queryKey: SA,
exact: !0
}), z.invalidateQueries({
- queryKey: Hj,
+ queryKey: Lj,
exact: !0
});
};
-function Hme(e) {
+function ahe(e) {
return e.identical ? /* @__PURE__ */ (0, H.jsx)("span", {
- className: `${nP} text-(--keep)`,
+ className: `${KN} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, H.jsx)("span", {
- className: `${nP} text-text-secondary`,
+ className: `${KN} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function Ume({ file: t, openItem: n }) {
+function ohe({ file: t, openItem: n }) {
let r = () => n(t.id);
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -40571,7 +40627,7 @@ function Ume({ file: t, openItem: n }) {
onClick: r,
"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, H.jsx)(zme, {
+ children: [/* @__PURE__ */ (0, H.jsx)(nhe, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, H.jsx)("img", {
@@ -40595,55 +40651,55 @@ function Ume({ file: t, openItem: n }) {
}), t.is_largest || t.is_longest ? /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex flex-none gap-1",
children: [t.is_largest ? /* @__PURE__ */ (0, H.jsx)("i", {
- className: `${tP} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${GN} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, t.is_longest ? /* @__PURE__ */ (0, H.jsx)("i", {
- className: `${tP} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${GN} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, H.jsxs)("span", {
- className: `${rP} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: e[t.location] || "database" }), /* @__PURE__ */ (0, H.jsx)("span", {
+ className: `${qN} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, H.jsx)(kT, { mark: e[t.location] || "database" }), /* @__PURE__ */ (0, H.jsx)("span", {
className: "whitespace-nowrap",
children: M[t.location] || t.location || t.drive
})]
}),
/* @__PURE__ */ (0, H.jsx)("span", {
- className: rP,
+ className: qN,
children: I(t.size || 0)
}),
/* @__PURE__ */ (0, H.jsx)("span", {
- className: rP,
+ className: qN,
children: ne(t.duration)
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-middle-truncate": !0,
title: t.path ?? "",
- className: `${rP} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${qN} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: t.path ?? ""
})
]
});
}
-function Wme({ openItem: e, toast: t, failure: n }) {
- let i = gw({
- queryKey: DA,
- queryFn: ({ signal: e }) => kA(e)
- }), a = gw({
- queryKey: wA,
- queryFn: ({ signal: e }) => TA(e)
- }), [o, s] = (0, B.useState)(""), c = yw({
- mutationFn: (e) => MA(e, "dispose"),
+function she({ openItem: e, toast: t, failure: n }) {
+ let i = uw({
+ queryKey: SA,
+ queryFn: ({ signal: e }) => wA(e)
+ }), a = uw({
+ queryKey: yA,
+ queryFn: ({ signal: e }) => bA(e)
+ }), [o, s] = (0, B.useState)(""), c = pw({
+ mutationFn: (e) => DA(e, "dispose"),
onSuccess: (e, r) => {
- iP(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ JN(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await MA(r, "restore");
+ await DA(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- iP();
+ JN();
}
} });
},
@@ -40657,12 +40713,12 @@ function Wme({ openItem: e, toast: t, failure: n }) {
children: i.error ? G(i.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let u = l.groups ?? [], d = mde(a.data), f = ({ groups: e, keep: t, key: n }) => {
+ let u = l.groups ?? [], d = Ede(a.data), f = ({ groups: e, keep: t, key: n }) => {
if (c.isPending) return;
- let i = yde(e, t);
+ let i = jde(e, t);
i.length && r({
title: "移入回收站",
- body: `将把 ${i.length} 个重复文件的馆藏记录移入回收站,每组保留${AA[t] ?? AA.largest}。文件共 ${I(bde(e, i))},记录可从回收站还原。`,
+ body: `将把 ${i.length} 个重复文件的馆藏记录移入回收站,每组保留${TA[t] ?? TA.largest}。文件共 ${I(Mde(e, i))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (s(n), c.mutateAsync(i))
});
@@ -40670,7 +40726,7 @@ function Wme({ openItem: e, toast: t, failure: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, H.jsx)(eP, {
+ /* @__PURE__ */ (0, H.jsx)(WN, {
label: "重复内容",
figure: `${Number(l.total || 0).toLocaleString()} 组`,
detail: `${l.files} 个文件 · 可回收 ${I(l.reclaimable)}`
@@ -40696,7 +40752,7 @@ function Wme({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- vde(u, d).map((e) => /* @__PURE__ */ (0, H.jsx)(br, {
+ Ade(u, d).map((e) => /* @__PURE__ */ (0, H.jsx)(br, {
busy: o === `all:${e}`,
onPress: () => f({
groups: u,
@@ -40719,7 +40775,7 @@ function Wme({ openItem: e, toast: t, failure: n }) {
let r = [t], i = (e) => `${n}:${e}`;
return /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-label": t.code,
- className: Vme,
+ className: ihe,
children: [/* @__PURE__ */ (0, H.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: [
@@ -40731,9 +40787,9 @@ function Wme({ openItem: e, toast: t, failure: n }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${t.count} 个 · 可回收 ${I(t.reclaimable)}`
}),
- Hme(t),
+ ahe(t),
t.cross_drive ? /* @__PURE__ */ (0, H.jsx)("span", {
- className: `${nP} text-text-secondary`,
+ className: `${KN} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, H.jsxs)("span", {
@@ -40761,7 +40817,7 @@ function Wme({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- jA(t.files, d).map((e) => /* @__PURE__ */ (0, H.jsx)(J, {
+ EA(t.files, d).map((e) => /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
...p(i(e)),
@@ -40786,13 +40842,13 @@ function Wme({ openItem: e, toast: t, failure: n }) {
]
})
]
- }), /* @__PURE__ */ (0, H.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, H.jsx)(Ume, {
+ }), /* @__PURE__ */ (0, H.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, H.jsx)(ohe, {
file: t,
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
- icon: Bme,
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
+ icon: rhe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -40801,23 +40857,23 @@ function Wme({ openItem: e, toast: t, failure: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var aP = ["diagnostics"], oP = (e) => K("/api/diagnostics", e);
-async function Gme(e) {
+var YN = ["diagnostics"], XN = (e) => K("/api/diagnostics", e);
+async function che(e) {
await z.fetchQuery({
- queryKey: aP,
- queryFn: () => oP(e),
+ queryKey: YN,
+ queryFn: () => XN(e),
staleTime: 1e4
});
}
//#endregion
//#region src/react/diagnostics/diagnostics-page.tsx
-var sP = {
+var ZN = {
ok: "正常",
warning: "需检查",
failed: "需处理",
unknown: "未取得",
disabled: "未配置"
-}, Kme = [
+}, lhe = [
["媒体库与挂载", ["media_mounts", "data_root"]],
["数据库与迁移", ["database", "schema"]],
["工具", ["ffmpeg"]],
@@ -40828,8 +40884,8 @@ var sP = {
"version"
]],
["后台任务", ["tasks"]]
-], cP = (e) => new Date(e).toLocaleString();
-function qme({ name: e, check: t, navigate: n, configure: r }) {
+], QN = (e) => new Date(e).toLocaleString();
+function uhe({ name: e, check: t, navigate: n, configure: r }) {
let i = e === "security" ? "网络与访问" : e === "configured" ? "通用" : "媒体";
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",
@@ -40841,7 +40897,7 @@ function qme({ name: e, check: t, navigate: n, configure: r }) {
children: t.label
}), /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: sP[t.status] ?? "未取得"
+ children: ZN[t.status] ?? "未取得"
})]
}),
/* @__PURE__ */ (0, H.jsx)("p", {
@@ -40861,14 +40917,14 @@ function qme({ name: e, check: t, navigate: n, configure: r }) {
]
});
}
-function Jme({ group: e, openItem: t, receipt: n }) {
- let r = pT(), i = uT(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
- return /* @__PURE__ */ (0, H.jsx)(MT, {
+function dhe({ group: e, openItem: t, receipt: n }) {
+ let r = lT(), i = oT(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+ return /* @__PURE__ */ (0, H.jsx)(OT, {
summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count} 项`}`,
children: e.count === null ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
children: "清单未取得,请重新检查。"
- }) : e.items.length ? /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ }) : e.items.length ? /* @__PURE__ */ (0, H.jsxs)(bT, { children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
children: [e.truncated ? /* @__PURE__ */ (0, H.jsxs)("span", {
@@ -40903,20 +40959,20 @@ function Jme({ group: e, openItem: t, receipt: n }) {
}) }, e.id))
})
})
- ] }) : /* @__PURE__ */ (0, H.jsx)(kk, {
- icon: Qae,
+ ] }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
+ icon: coe,
title: "清单为空",
shell: "plain",
children: "没有需要处理的作品。"
})
});
}
-function Yme(e) {
- let t = gw({
- queryKey: aP,
- queryFn: ({ signal: e }) => oP(e),
+function fhe(e) {
+ let t = uw({
+ queryKey: YN,
+ queryFn: ({ signal: e }) => XN(e),
staleTime: 1e4
- }), n = pT(), [r, i] = (0, B.useState)(""), a = () => void n.run("refresh", async () => {
+ }), n = lT(), [r, i] = (0, B.useState)(""), a = () => void n.run("refresh", async () => {
let e = await t.refetch();
if (e.error) throw e.error;
return e.data;
@@ -40937,27 +40993,27 @@ function Yme(e) {
tone: "error",
children: r
}) : null,
- /* @__PURE__ */ (0, H.jsx)(ST, {
+ /* @__PURE__ */ (0, H.jsx)(vT, {
title: "库健康",
- children: /* @__PURE__ */ (0, H.jsxs)(wT, { children: [o.library.issue_at ? /* @__PURE__ */ (0, H.jsxs)("p", {
+ children: /* @__PURE__ */ (0, H.jsxs)(bT, { children: [o.library.issue_at ? /* @__PURE__ */ (0, H.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ["处理记录 · ", cP(o.library.issue_at)]
- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, H.jsx)(Jme, {
+ children: ["处理记录 · ", QN(o.library.issue_at)]
+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, H.jsx)(dhe, {
group: n,
...e
}, t))] })
}),
- Kme.map(([t, n]) => /* @__PURE__ */ (0, H.jsx)(ST, {
+ lhe.map(([t, n]) => /* @__PURE__ */ (0, H.jsx)(vT, {
title: t,
- children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, H.jsx)(qme, {
+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, H.jsx)(uhe, {
name: t,
check: o.checks[t],
...e
}, t) : null)
}, t)),
- /* @__PURE__ */ (0, H.jsx)(ST, {
+ /* @__PURE__ */ (0, H.jsx)(vT, {
title: "来源会话",
- children: /* @__PURE__ */ (0, H.jsxs)(wT, { children: [o.sources.map((e) => /* @__PURE__ */ (0, H.jsxs)("div", {
+ children: /* @__PURE__ */ (0, H.jsxs)(bT, { children: [o.sources.map((e) => /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
/* @__PURE__ */ (0, H.jsxs)("h3", {
@@ -40965,19 +41021,19 @@ function Yme(e) {
children: [
e.label,
" · ",
- sP[e.status]
+ ZN[e.status]
]
}),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-regular text-text-primary",
children: e.reason
}),
- /* @__PURE__ */ (0, H.jsxs)(AT, { children: [/* @__PURE__ */ (0, H.jsx)(jT, {
+ /* @__PURE__ */ (0, H.jsxs)(ET, { children: [/* @__PURE__ */ (0, H.jsx)(DT, {
term: "上次解析成功",
- children: e.last_success_at ? cP(e.last_success_at) : "未取得"
- }), /* @__PURE__ */ (0, H.jsx)(jT, {
+ children: e.last_success_at ? QN(e.last_success_at) : "未取得"
+ }), /* @__PURE__ */ (0, H.jsx)(DT, {
term: "冷却截止",
- children: e.cooldown_until ? cP(e.cooldown_until) : "未在冷却"
+ children: e.cooldown_until ? QN(e.cooldown_until) : "未在冷却"
})] })
]
}, e.source)), /* @__PURE__ */ (0, H.jsx)("div", { children: /* @__PURE__ */ (0, H.jsx)(J, {
@@ -41005,7 +41061,7 @@ function Yme(e) {
}
//#endregion
//#region src/follow-sort.ts
-var lP = [
+var $N = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -41013,7 +41069,7 @@ var lP = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], Xme = "checked", uP = {
+], phe = "checked", eP = {
checked: "desc",
added: "desc",
name: "asc",
@@ -41021,32 +41077,32 @@ var lP = [
source: "asc",
provider: "asc",
status: "asc"
-}, Zme = (e) => lP.some(([t]) => t === e);
-function dP(e, t) {
- let n = Zme(e) ? e : Xme;
+}, mhe = (e) => $N.some(([t]) => t === e);
+function tP(e, t) {
+ let n = mhe(e) ? e : phe;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : uP[n]
+ dir: t === "asc" || t === "desc" ? t : eP[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var fP = "/api/follow", pP = "/api/follow/credentials", mP = "/api/follow/check", hP = "/api/follow/source", gP = "/api/follow/resolve", Qme = "/api/follow/suggest", _P = "/api/follow/author-alias", $me = "/api/follow/credential", vP = "/api/follow/status", ehe = "/api/feeds", yP = "/api/feeds/source", the = "/api/feeds/check", nhe = "/api/feeds/lookup", bP = ["follow-manage"], xP = ["follow-manage", "credentials"], rhe = ["follow-manage", "check"], ihe = ["follow-manage", "resolve"], SP = ["follow-manage", "feeds"], ahe = (e) => [
+var nP = "/api/follow", rP = "/api/follow/credentials", iP = "/api/follow/check", aP = "/api/follow/source", oP = "/api/follow/resolve", hhe = "/api/follow/suggest", sP = "/api/follow/author-alias", ghe = "/api/follow/credential", cP = "/api/follow/status", _he = "/api/feeds", lP = "/api/feeds/source", vhe = "/api/feeds/check", yhe = "/api/feeds/lookup", uP = ["follow-manage"], dP = ["follow-manage", "credentials"], bhe = ["follow-manage", "check"], xhe = ["follow-manage", "resolve"], fP = ["follow-manage", "feeds"], She = (e) => [
"follow-manage",
"suggest",
e
-], CP = [["default", "默认视图"], ["table", "表格视图"]], wP = [
+], pP = [["default", "默认视图"], ["table", "表格视图"]], mP = [
10,
20,
50,
100
-], ohe = Object.fromEntries(lP), TP = {
+], Che = Object.fromEntries($N), hP = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, she = (e) => CP.some(([t]) => t === e), che = (e) => wP.includes(Number(e)) ? Number(e) : 20, lhe = {
+}, whe = (e) => pP.some(([t]) => t === e), The = (e) => mP.includes(Number(e)) ? Number(e) : 20, Ehe = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -41054,25 +41110,25 @@ var fP = "/api/follow", pP = "/api/follow/credentials", mP = "/api/follow/check"
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, uhe = (e, t) => `按${ohe[e]}${lhe[e][t === "asc" ? 0 : 1]}排序`;
-function EP(e) {
+}, Dhe = (e, t) => `按${Che[e]}${Ehe[e][t === "asc" ? 0 : 1]}排序`;
+function gP(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function dhe(e) {
+function Ohe(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var DP = (e) => e.last_status === "error" || e.last_status === "unauthorized", OP = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), kP = {
- source: OP,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || OP(e, t),
- status: (e, t) => EP(e) - EP(t) || OP(e, t)
-}, AP = (e) => Date.parse(e || "") || 0, jP = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function MP(e, t = []) {
+var _P = (e) => e.last_status === "error" || e.last_status === "unauthorized", vP = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), yP = {
+ source: vP,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || vP(e, t),
+ status: (e, t) => gP(e) - gP(t) || vP(e, t)
+}, bP = (e) => Date.parse(e || "") || 0, xP = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function SP(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || jP(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || xP(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 jP(i.canonical_name);
+ if (i) return xP(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);
@@ -41080,18 +41136,18 @@ function MP(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 NP(e) {
+function CP(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function PP(e) {
+function wP(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 FP(e) {
+function TP(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -41099,32 +41155,32 @@ function FP(e) {
}
return t.map((e) => n.get(e));
}
-function fhe(e, t, n, r = []) {
- let i = FP(e), a = n === uP[t] ? 1 : -1, o = (e) => MP(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = kP[t];
+function khe(e, t, n, r = []) {
+ let i = TP(e), a = n === eP[t] ? 1 : -1, o = (e) => SP(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = yP[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) => AP(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => AP(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => bP(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => bP(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 phe(e, t, n, r = []) {
+function Ahe(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = MP(e, r);
+ let t = SP(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = kP[t];
+ }), a = yP[t];
if (a) {
- let e = n === uP[t] ? 1 : -1;
+ let e = n === eP[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function IP(e, t, n) {
- let r = HA(e, t), i = UA(n, r), a = (i - 1) * t;
+function EP(e, t, n) {
+ let r = LA(e, t), i = RA(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -41133,91 +41189,91 @@ function IP(e, t, n) {
end: Math.min(a + t, e)
};
}
-function mhe(e, t) {
+function jhe(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function LP(e, t) {
+function DP(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 RP(e, t, n) {
+function OP(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var zP = (e) => K(`${fP}?summary=1`, e), BP = (e) => K(pP, e), hhe = (e) => K(mP, e), ghe = (e) => K(gP, e), _he = (e, t) => K(`${Qme}?q=${encodeURIComponent(e)}`, t), VP = (e) => q(mP, {
+var kP = (e) => K(`${nP}?summary=1`, e), AP = (e) => K(rP, e), Mhe = (e) => K(iP, e), Nhe = (e) => K(oP, e), Phe = (e, t) => K(`${hhe}?q=${encodeURIComponent(e)}`, t), jP = (e) => q(iP, {
...e?.length ? { sources: e } : {},
background: !0
-}), vhe = (e) => q(gP, {
+}), Fhe = (e) => q(oP, {
lines: e,
background: !0
-}), HP = (e, t) => q(hP, {
+}), MP = (e, t) => q(aP, {
action: "enabled",
id: e,
enabled: t
-}), UP = (e) => q(hP, {
+}), NP = (e) => q(aP, {
action: "remove",
id: e
-}), yhe = (e) => q(hP, {
+}), Ihe = (e) => q(aP, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), WP = (e, t) => q(_P, {
+}), PP = (e, t) => q(sP, {
action: "add",
canonical: e,
alias: t
-}), bhe = (e) => q(_P, {
+}), Lhe = (e) => q(sP, {
action: "remove",
alias: e
-}), xhe = (e, t) => q($me, {
+}), Rhe = (e, t) => q(ghe, {
provider: e,
values: t
-}), She = (e, t) => q(vP, {
+}), zhe = (e, t) => q(cP, {
item: e,
to: t
-}), Che = () => K(`${fP}?status=new&limit=1000`);
-async function GP(e) {
- let t = await K(ehe, e);
+}), Bhe = () => K(`${nP}?status=new&limit=1000`);
+async function FP(e) {
+ let t = await K(_he, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var KP = (e, t, n) => q(yP, {
+var IP = (e, t, n) => q(lP, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), qP = (e, t) => q(yP, {
+}, "POST", n), LP = (e, t) => q(lP, {
action: "remove",
id: e
-}, "POST", t), JP = (e, t) => q(the, t?.length ? { sources: t } : { all: !0 }, "POST", e), whe = (e, t) => K(`${nhe}?q=${encodeURIComponent(e)}`, t), The = (e, t, n) => q(yP, {
+}, "POST", t), RP = (e, t) => q(vhe, t?.length ? { sources: t } : { all: !0 }, "POST", e), Vhe = (e, t) => K(`${yhe}?q=${encodeURIComponent(e)}`, t), Hhe = (e, t, n) => q(lP, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
-async function Ehe(e, t = "") {
+async function Uhe(e, t = "") {
await Promise.all([
z.fetchQuery({
- queryKey: bP,
- queryFn: () => zP(e)
+ queryKey: uP,
+ queryFn: () => kP(e)
}),
z.fetchQuery({
- queryKey: xP,
- queryFn: () => BP(e)
+ queryKey: dP,
+ queryFn: () => AP(e)
}),
t === "feeds" ? z.fetchQuery({
- queryKey: SP,
- queryFn: () => GP(e)
+ queryKey: fP,
+ queryFn: () => FP(e)
}) : null
]);
}
-function YP(e, t) {
- z.setQueryData(bP, (n) => n && {
+function zP(e, t) {
+ z.setQueryData(uP, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -41225,24 +41281,24 @@ function YP(e, t) {
} : n)
});
}
-function XP(e) {
+function BP(e) {
let t = new Set(e);
- z.setQueryData(bP, (e) => e && {
+ z.setQueryData(uP, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var ZP = () => z.invalidateQueries({
- queryKey: bP,
+var VP = () => z.invalidateQueries({
+ queryKey: uP,
exact: !0
});
-function Dhe(e) {
+function Whe(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 Ohe = (e) => (e?.results || []).filter((e) => !e.ok), khe = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", QP = (e) => e.last_checked_at ? WA(e.last_checked_at) : "未检查", Ahe = /* @__PURE__ */ new Set([
+var Ghe = (e) => (e?.results || []).filter((e) => !e.ok), Khe = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", HP = (e) => e.last_checked_at ? zA(e.last_checked_at) : "未检查", qhe = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -41255,50 +41311,50 @@ var Ohe = (e) => (e?.results || []).filter((e) => !e.ok), khe = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), $P = (e) => Ahe.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", jhe = {
+]), UP = (e) => qhe.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Jhe = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, eF = (e) => !!e.present && !e.missing.length, Mhe = [
+}, WP = (e) => !!e.present && !e.missing.length, Yhe = [
["", "全部"],
["new", "未看"],
["saved", "已保存"],
["ignored", "已忽略"]
-], Nhe = [
+], Xhe = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
-], tF = {
+], GP = {
new: ["从新到旧", "从旧到新"],
hot: ["从高到低", "从低到高"],
dur: ["从长到短", "从短到长"]
};
-function nF(e, t) {
+function KP(e, t) {
let n = (e) => encodeURIComponent(e.join(","));
return `/api/follow?limit=300&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);
}
-function rF(e, t) {
+function qP(e, t) {
return {
queryKey: [
"follow-feed",
- nF(e, 0),
+ KP(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => K(nF(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => K(KP(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,
- placeholderData: xw.keepPreviousData
+ placeholderData: hw.keepPreviousData
};
}
-var iF = ["follow-feed", "credentials"], aF = (e) => K(pP, e).catch(() => ({ providers: [] }));
-async function Phe(e, t) {
- let n = rF(e.view, e.revision);
+var JP = ["follow-feed", "credentials"], YP = (e) => K(rP, e).catch(() => ({ providers: [] }));
+async function Zhe(e, t) {
+ let n = qP(e.view, e.revision);
z.removeQueries({
queryKey: n.queryKey,
exact: !0
}), z.removeQueries({
- queryKey: iF,
+ queryKey: JP,
exact: !0
}), await Promise.all([z.fetchInfiniteQuery({
queryKey: n.queryKey,
@@ -41309,11 +41365,11 @@ async function Phe(e, t) {
initialPageParam: 0,
getNextPageParam: n.getNextPageParam
}), z.fetchQuery({
- queryKey: iF,
- queryFn: () => aF(t)
+ queryKey: JP,
+ queryFn: () => YP(t)
})]);
}
-function oF(e) {
+function XP(e) {
if (!e?.pages.length) return null;
let t = e.pages, n = t[t.length - 1];
return {
@@ -41322,10 +41378,10 @@ function oF(e) {
groups: t.flatMap((e) => e.groups || [])
};
}
-function sF(e, t, n) {
+function ZP(e, t, n) {
return [...e].sort((e, r) => le(n, t(e)) - le(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
}
-function cF(e) {
+function QP(e) {
let t = /* @__PURE__ */ new Set();
return [
e.primary,
@@ -41333,14 +41389,14 @@ function cF(e) {
...e.duplicates
].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));
}
-function Fhe(e) {
+function Qhe(e) {
let t = z.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);
for (let n of t) {
let t = n.state.data;
if (!Array.isArray(t?.pages) || !t.pages.length) continue;
let r = t.pages[t.pages.length - 1];
for (let n of t.pages) for (let t of n.groups || []) {
- let n = cF(t).find((t) => t.id === e);
+ let n = QP(t).find((t) => t.id === e);
if (n) return {
item: n,
group: t,
@@ -41351,7 +41407,7 @@ function Fhe(e) {
}
return null;
}
-function Ihe(e) {
+function $he(e) {
z.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -41361,7 +41417,7 @@ function Ihe(e) {
...t,
groups: (t.groups || []).map((t) => {
let n = (t) => t.id === e.id ? e : t;
- return cF(t).some((t) => t.id === e.id) ? {
+ return QP(t).some((t) => t.id === e.id) ? {
...t,
primary: n(t.primary),
variants: t.variants.map(n),
@@ -41371,39 +41427,39 @@ function Ihe(e) {
}))
});
}
-function Lhe(e, t) {
+function ege(e, t) {
z.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
- }, (n) => n && gF(n, null, e, t));
+ }, (n) => n && oF(n, null, e, t));
}
-function lF(e) {
- return cF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+function $P(e) {
+ return QP(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
}
-function uF(e) {
+function eF(e) {
let t = /* @__PURE__ */ new Set(), n = e.media_items || [];
return n.length ? n.forEach((e) => {
(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);
}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;
}
-function dF(e) {
+function tF(e) {
let t = /* @__PURE__ */ new Set();
- return cF(e).forEach((e) => uF(e).forEach((e) => t.add(e))), t;
+ return QP(e).forEach((e) => eF(e).forEach((e) => t.add(e))), t;
}
-function fF(e, t) {
+function nF(e, t) {
let n = t === "images" ? "image" : "video";
- return lF(e).find((e) => uF(e).has(n)) || e.primary;
+ return $P(e).find((e) => eF(e).has(n)) || e.primary;
}
-function pF(e) {
- return lF(e).filter((e) => e.playable && e.media_kind === "video");
+function rF(e) {
+ return $P(e).filter((e) => e.playable && e.media_kind === "video");
}
-var mF = {
+var iF = {
video: "个视频",
image: "张图片",
mixed: "个媒体"
};
-function Rhe({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${mF[s] || mF.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
+function tge({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${iF[s] || iF.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
for (let t of n?.faces || []) r && t.media_kind !== "image" || !t.thumb_url || t.thumb_url === e || u.has(t.face) || (u.add(t.face), d.push(t.thumb_url));
return {
isMix: !!c,
@@ -41412,14 +41468,14 @@ function Rhe({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r
faces: d.length > 1 ? d.slice(0, i) : []
};
}
-function zhe(e) {
+function nge(e) {
let t = e.filter((e) => e.can_backfill).map((e) => (e.backfill_page || 0) + 1);
if (!t.length) return "";
let n = Math.max(...t), r = Math.min(...t);
return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;
}
-function hF(e, t, n) {
- return e === t ? tF[e] ? {
+function aF(e, t, n) {
+ return e === t ? GP[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
@@ -41427,13 +41483,13 @@ function hF(e, t, n) {
dir: "desc"
};
}
-function Bhe(e, t, n, r) {
- let i = hF(e, n, r);
+function rge(e, t, n, r) {
+ let i = aF(e, n, r);
if (!i) return "";
- let a = tF[i.sort];
+ let a = GP[i.sort];
return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;
}
-function gF(e, t, n, r) {
+function oF(e, t, n, r) {
let i = "", a = e.pages.map((e) => ({
...e,
groups: (e.groups || []).flatMap((e) => {
@@ -41463,7 +41519,7 @@ function gF(e, t, n, r) {
})
};
}
-function Vhe(e, t) {
+function ige(e, t) {
let n = [];
return e.author && n.push({
kind: "创作者",
@@ -41483,7 +41539,7 @@ function Vhe(e, t) {
label: e
})), n;
}
-function Hhe(e, t) {
+function age(e, t) {
return t.kind === "创作者" ? {
...e,
author: ""
@@ -41498,7 +41554,7 @@ function Hhe(e, t) {
tags: e.tags.filter((e) => e !== t.key)
};
}
-function Uhe(e, t) {
+function oge(e, t) {
for (let n of e) {
let e = n.primary?.tag_types?.[t];
if (e) return e;
@@ -41507,7 +41563,7 @@ function Uhe(e, t) {
}
//#endregion
//#region src/sidebar.ts
-var Whe = [
+var sge = [
"",
"follow",
"jav",
@@ -41516,7 +41572,7 @@ var Whe = [
"studios",
"flagged",
"manage"
-], Ghe = [
+], cge = [
"playlists",
"immerse",
"stats",
@@ -41526,77 +41582,77 @@ var Whe = [
"follow-manage",
"quality"
];
-[...Whe, ...Ghe];
-function Khe(e) {
+[...sge, ...cge];
+function lge(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);
return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);
}
//#endregion
//#region src/react/follow-feed/follow-marks.ts
-var _F = (e) => typeof e == "string" ? e : "", vF = (e) => e.aliases;
-function yF(e, t = "") {
- let n = $P(e);
+var sF = (e) => typeof e == "string" ? e : "", cF = (e) => e.aliases;
+function lF(e, t = "") {
+ let n = UP(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${P(t)}"${t ? ` title="${P(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-var bF = (e, t) => MP(e, vF(t));
-function xF(e, t) {
- let { src: n, fallback: r } = PP(e), i = NP(t);
+var uF = (e, t) => SP(e, cF(t));
+function dF(e, t) {
+ let { src: n, fallback: r } = wP(e), i = CP(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${P(i)}</span>`;
let a = r ? ` data-fallbacks="${P(r)}"` : "";
return `<img class="favatar" src="${P(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${P(i)}" data-drop-class="favatar none">`;
}
-function SF(e, t, n) {
- let r = vF(n), i = e.credit, a = i?.poster;
+function fF(e, t, n) {
+ let r = cF(n), i = e.credit, a = i?.poster;
if (!a) {
- let n = MP(t, r);
+ let n = SP(t, r);
return {
- author: n || _F(e.author) || _F(e.source_label) || "创作者未取得",
- avatar: xF(t, n),
+ author: n || sF(e.author) || sF(e.source_label) || "创作者未取得",
+ avatar: dF(t, n),
credited: ""
};
}
- let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && MP(c, r) || a;
+ let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && SP(c, r) || a;
return {
author: l,
- avatar: xF(c, l),
+ avatar: dF(c, l),
credited: i.credited || ""
};
}
-function CF(e, t = e.primary) {
+function pF(e, t = e.primary) {
let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;
e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));
- let i = _F(e.primary.version);
+ let i = sF(e.primary.version);
i && n.push(r("version", P(i)));
- let a = _F(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = sF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function wF(e, t = e.primary) {
+function mF(e, t = e.primary) {
let n = new Map([
e.primary,
...e.variants,
...e.duplicates
].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));
if (!n.size) return "";
- let r = [...n].map(([e, t]) => yF(e, t) || `<span>${P(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => lF(e, t) || `<span>${P(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${P([...n.values()].join("、"))}">另见 ${r}</span>`;
}
-function TF(e, t) {
- let n = _F(e.media_error);
+function hF(e, t) {
+ let n = sF(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var EF = (e) => e.published_at ? WA(e.published_at) : "时间未取得", DF = /* @__PURE__ */ new Set(), OF = [], kF = null;
-function AF() {
- if (kF = null, !OF.length) return;
- let e = OF.splice(0, 200);
+var gF = (e) => e.published_at ? zA(e.published_at) : "时间未取得", _F = /* @__PURE__ */ new Set(), vF = [], yF = null;
+function bF() {
+ if (yF = null, !vF.length) return;
+ let e = vF.splice(0, 200);
N("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), OF.length && (kF = setTimeout(AF, 800));
+ }).catch(() => {}), vF.length && (yF = setTimeout(bF, 800));
}
-function qhe(e, t, n, r) {
+function uge(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- DF.has(i) || (DF.add(i), OF.push(t === null ? {
+ _F.has(i) || (_F.add(i), vF.push(t === null ? {
item: e,
width: n,
height: r
@@ -41605,15 +41661,15 @@ function qhe(e, t, n, r) {
width: n,
height: r,
media: t
- }), kF ||= setTimeout(AF, 800));
+ }), yF ||= setTimeout(bF, 800));
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var Jhe = (e) => Number(e) > 0;
-function Yhe(e) {
+var dge = (e) => Number(e) > 0;
+function fge(e) {
return /^\d{4}-/.test(e) ? e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10) : e;
}
-function Xhe({ src: e, width: t, height: n, onLearn: r }) {
+function pge({ src: e, width: t, height: n, onLearn: r }) {
let [i, a] = (0, B.useState)(!1);
return i ? null : /* @__PURE__ */ (0, H.jsx)("img", {
src: e,
@@ -41629,8 +41685,8 @@ function Xhe({ src: e, width: t, height: n, onLearn: r }) {
} : void 0
});
}
-function Zhe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = fF(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = f && f.thumb_url === p ? f : null, h = !m || p === u.thumb_url, g = d ? [m, h ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, _ = d && !g && p ? (e, t) => qhe(u.id, m ? m.index : null, e, t) : void 0, v = r === "videos" ? pF(t) : [], y = (u.media_items || []).length > 1 ? u.id : v[0]?.id || u.id, b = Rhe({
+function mge(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = nF(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = f && f.thumb_url === p ? f : null, h = !m || p === u.thumb_url, g = d ? [m, h ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, _ = d && !g && p ? (e, t) => uge(u.id, m ? m.index : null, e, t) : void 0, v = r === "videos" ? rF(t) : [], y = (u.media_items || []).length > 1 ? u.id : v[0]?.id || u.id, b = tge({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -41638,7 +41694,7 @@ function Zhe(e) {
limit: 9
}), x = (0, B.useRef)(b.faces);
x.current = b.faces;
- let S = _A({
+ let S = fA({
load: async () => x.current,
canFlip: () => x.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -41646,7 +41702,7 @@ function Zhe(e) {
C.current = S.onPointerLeave;
let w = (0, B.useCallback)((e) => {
e && (e._stopHover = () => C.current());
- }, []), T = SF(u, n, i), E = EF(u), D = (u.tags || []).slice(0, 3), O = TF(u, i), k = wF(t, u), A = u.status === "saved", j = (e) => {
+ }, []), T = fF(u, n, i), E = gF(u), D = (u.tags || []).slice(0, 3), O = hF(u, i), k = mF(t, u), A = u.status === "saved", j = (e) => {
if (!e.target.closest("[data-media-tag]")) {
if (o || e.shiftKey || e.ctrlKey || e.metaKey) {
e.preventDefault(), l.toggleSelection(u.id, e.shiftKey);
@@ -41680,14 +41736,14 @@ function Zhe(e) {
"data-follow-open": "",
"aria-label": `打开 ${u.title} 详情`
}),
- p ? /* @__PURE__ */ (0, H.jsx)(Xhe, {
+ p ? /* @__PURE__ */ (0, H.jsx)(pge, {
src: p,
width: g?.width,
height: g?.height,
onLearn: _
}, p) : /* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: yF(u.resource_provider || u.provider) }
+ dangerouslySetInnerHTML: { __html: lF(u.resource_provider || u.provider) }
}),
b.faces.length > 1 ? /* @__PURE__ */ (0, H.jsx)("div", {
"data-mix-faces": "",
@@ -41706,7 +41762,7 @@ function Zhe(e) {
"data-media-badge": "",
title: u.provider_label,
"aria-label": `来源:${u.provider_label || ""}`,
- dangerouslySetInnerHTML: { __html: yF(u.provider) }
+ dangerouslySetInnerHTML: { __html: lF(u.provider) }
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-media-check": "",
@@ -41715,7 +41771,7 @@ function Zhe(e) {
},
dangerouslySetInnerHTML: { __html: L("check") }
}),
- Jhe(u.duration) ? /* @__PURE__ */ (0, H.jsx)("span", {
+ dge(u.duration) ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-media-duration": "",
children: ne(u.duration)
}) : null,
@@ -41797,7 +41853,7 @@ function Zhe(e) {
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: CF(t, u) + P(u.title) }
+ dangerouslySetInnerHTML: { __html: pF(t, u) + P(u.title) }
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
"data-follow-byline": "",
@@ -41808,7 +41864,7 @@ function Zhe(e) {
}), /* @__PURE__ */ (0, H.jsx)("time", {
dateTime: u.published_at || "",
title: E,
- children: Yhe(E)
+ children: fge(E)
})]
}),
T.credited ? /* @__PURE__ */ (0, H.jsx)("div", {
@@ -41844,10 +41900,10 @@ function Zhe(e) {
]
});
}
-var Qhe = (0, B.memo)(Zhe), jF = () => /* @__PURE__ */ (0, H.jsx)("span", {
+var hge = (0, B.memo)(mge), xF = () => /* @__PURE__ */ (0, H.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), $he = kC("settings"), ege = kC("chevron-down"), tge = kC("history"), nge = [[
+}), gge = CC("settings"), _ge = CC("chevron-down"), vge = CC("history"), yge = [[
"fixed",
"固定比例",
"layout-grid"
@@ -41856,19 +41912,19 @@ var Qhe = (0, B.memo)(Zhe), jF = () => /* @__PURE__ */ (0, H.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function rge(e, t, n) {
+function bge(e, t, n) {
return (0, B.useMemo)(() => {
let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();
a.forEach((e) => {
e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));
});
- let f = sF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = sF(o.works || [], (e) => e[0], n).slice(0, 24);
+ let f = ZP([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = ZP(o.works || [], (e) => e[0], n).slice(0, 24);
t.work && !p.some((e) => e[0] === t.work) && p.push([
t.work,
t.work,
0
]);
- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = sF([...u], (e) => e[0], n).slice(0, 20);
+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = ZP([...u], (e) => e[0], n).slice(0, 20);
t.tags.forEach((e) => {
h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);
});
@@ -41876,7 +41932,7 @@ function rge(e, t, n) {
videos: 0,
images: 0
};
- r.forEach((e) => dF(e).forEach((e) => {
+ r.forEach((e) => tF(e).forEach((e) => {
g[e === "image" ? "images" : "videos"] += 1;
}));
let _ = t.media === "images" ? "image" : "video";
@@ -41891,7 +41947,7 @@ function rge(e, t, n) {
workRows: p,
allCount: m,
mediaCounts: g,
- visible: r.filter((e) => dF(e).has(_)),
+ visible: r.filter((e) => tF(e).has(_)),
author: d.has(t.author) && s.has(t.author) ? t.author : "",
provider: l.has(t.provider) ? t.provider : "",
workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),
@@ -41904,15 +41960,15 @@ function rge(e, t, n) {
n
]);
}
-function ige(e) {
- let { view: t, seed: n, revision: r, actions: i } = e, a = rF(t, r), o = bw(a), s = gw({
- queryKey: iF,
- queryFn: ({ signal: e }) => aF(e)
- }), c = (0, B.useMemo)(() => oF(o.data), [o.data]), l = (0, B.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, B.useMemo)(() => ({
+function xge(e) {
+ let { view: t, seed: n, revision: r, actions: i } = e, a = qP(t, r), o = mw(a), s = uw({
+ queryKey: JP,
+ queryFn: ({ signal: e }) => YP(e)
+ }), c = (0, B.useMemo)(() => XP(o.data), [o.data]), l = (0, B.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, B.useMemo)(() => ({
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = rge(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, B.useMemo)(() => Khe(d.visible.flatMap(cF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);
+ }), [c, l]), d = bge(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, B.useMemo)(() => lge(d.visible.flatMap(QP).map((e) => ({ tags: e.tags || [] }))), [d.visible]);
(0, B.useEffect)(() => {
p && i.loaded(m);
}, [
@@ -41920,20 +41976,20 @@ function ige(e) {
m,
i
]);
- let h = age(e, !!c);
- if (!c) return o.isError ? /* @__PURE__ */ (0, H.jsx)(iA, {
+ let h = Sge(e, !!c);
+ if (!c) return o.isError ? /* @__PURE__ */ (0, H.jsx)(nA, {
message: ce(o.error),
onRetry: () => void o.refetch()
}) : null;
let g = (e) => i.route({
...t,
...e
- }), _ = Vhe({
+ }), _ = ige({
...t,
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, bF(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, uF(t, u)])),
providers: d.providers,
works: d.workNames
}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);
@@ -41953,7 +42009,7 @@ function ige(e) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
- leadingIcon: $he,
+ leadingIcon: gge,
"data-follow-manage": "",
onClick: i.openManage,
children: "管理关注"
@@ -41970,20 +42026,20 @@ function ige(e) {
}) : null]
})]
}),
- /* @__PURE__ */ (0, H.jsx)(oge, {
+ /* @__PURE__ */ (0, H.jsx)(Cge, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, H.jsx)(sge, {
+ /* @__PURE__ */ (0, H.jsx)(wge, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, H.jsx)(cge, {
+ /* @__PURE__ */ (0, H.jsx)(Tge, {
facets: d,
view: t,
total: v,
@@ -41991,9 +42047,9 @@ function ige(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, H.jsx)(lge, {
+ /* @__PURE__ */ (0, H.jsx)(Ege, {
conditions: _,
- onDrop: (e) => i.route(Hhe(t, e)),
+ onDrop: (e) => i.route(age(t, e)),
onClear: () => g({
author: "",
provider: "",
@@ -42001,11 +42057,11 @@ function ige(e) {
tags: []
})
}),
- d.broken.length ? /* @__PURE__ */ (0, H.jsx)(uge, {
+ d.broken.length ? /* @__PURE__ */ (0, H.jsx)(Dge, {
count: d.broken.length,
onManage: i.openManage
}) : null,
- /* @__PURE__ */ (0, H.jsx)(dge, {
+ /* @__PURE__ */ (0, H.jsx)(Oge, {
pending: f,
facets: d,
data: c,
@@ -42016,19 +42072,19 @@ function ige(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-page-action": "",
- children: /* @__PURE__ */ (0, H.jsxs)(SA, {
+ children: /* @__PURE__ */ (0, H.jsxs)(_A, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, H.jsx)(ege, { className: "size-3.5" }), "加载更多"]
+ children: [/* @__PURE__ */ (0, H.jsx)(_ge, { className: "size-3.5" }), "加载更多"]
}, o.data?.pages.length)
}) : null, y ? /* @__PURE__ */ (0, H.jsxs)("span", {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : tge,
+ leadingIcon: h.olderBusy ? void 0 : vge,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -42038,14 +42094,14 @@ function ige(e) {
}), /* @__PURE__ */ (0, H.jsx)("span", { children: "抓取中…" })] }) : "抓更早的一页"
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-backfill": "",
- children: zhe(d.sources)
+ children: nge(d.sources)
})]
}) : null]
}) : null
]
})] });
}
-function age(e, t) {
+function Sge(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, B.useState)(0), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(!1), f = (0, B.useRef)(!1), p = (0, B.useRef)(null), m = (0, B.useRef)({
helpers: n,
actions: r
@@ -42060,7 +42116,7 @@ function age(e, t) {
return m.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => K(mP, e),
+ read: (e) => K(iP, e),
busy: (e) => {
t && (f.current = e, s(e));
},
@@ -42085,7 +42141,7 @@ function age(e, t) {
f.current = !0, l(e ? "older" : "check");
let t = !1;
try {
- let n = await q(mP, e ? {
+ let n = await q(iP, e ? {
older: !0,
background: !0
} : { background: !0 });
@@ -42103,7 +42159,7 @@ function age(e, t) {
olderBusy: c === "older" || u && o
};
}
-function oge({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function Cge({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
r.helpers.wireDrag(a.current);
@@ -42120,16 +42176,16 @@ function oge({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
onClick: () => i(r),
children: [/* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: xF(a, bF(a, n)) }
+ dangerouslySetInnerHTML: { __html: dF(a, uF(a, n)) }
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-name": "",
- children: bF(a, n)
+ children: uF(a, n)
})]
}, r);
})
}) : null;
}
-function sge({ rows: e, pressed: t, props: n, onPick: r }) {
+function wge({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -42150,7 +42206,7 @@ function sge({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function cge({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+function Tge({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
let { helpers: o, actions: s } = i, c = (0, B.useRef)(null), l = (0, B.useRef)(null), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = Sr(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = Sr(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, B.useEffect)(() => {
o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);
@@ -42208,7 +42264,7 @@ function cge({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: L(i) }
}, e);
})
- }), /* @__PURE__ */ (0, H.jsx)(jF, {})] }) : null, /* @__PURE__ */ (0, H.jsxs)("div", {
+ }), /* @__PURE__ */ (0, H.jsx)(xF, {})] }) : null, /* @__PURE__ */ (0, H.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -42217,7 +42273,7 @@ function cge({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"aria-label": "状态",
"data-entity-states": "",
onPointerLeave: h.leave,
- children: [Mhe.map(([e, n]) => /* @__PURE__ */ (0, H.jsx)("button", {
+ children: [Yhe.map(([e, n]) => /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-entity-state": e,
"data-follow-filter": e,
@@ -42228,7 +42284,7 @@ function cge({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, H.jsx)(jF, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, H.jsx)(xF, {}) : null]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -42241,13 +42297,13 @@ function cge({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
title: n,
"aria-label": `来源:${n}`,
onClick: () => a({ provider: e.provider === t ? "" : t }),
- dangerouslySetInnerHTML: { __html: yF(t) }
+ dangerouslySetInnerHTML: { __html: lF(t) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, H.jsx)(jF, {}) : null,
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, H.jsx)(xF, {}) : null,
e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, H.jsxs)(vr, {
"data-follow-tag": n,
"data-entity-press": "",
- "data-tag-cat": `r34-${Uhe(e.groups, n)}`,
+ "data-tag-cat": `r34-${oge(e.groups, n)}`,
pressed: t.tags.includes(n),
onPress: () => a({ tags: t.tags.includes(n) ? t.tags.filter((e) => e !== n) : [...t.tags, n] }),
children: [Je(n), r ? /* @__PURE__ */ (0, H.jsx)("span", {
@@ -42265,11 +42321,11 @@ function cge({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, H.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(NC, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(MC, {
+ /* @__PURE__ */ (0, H.jsx)(DC, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(EC, {
label: "图片布局",
value: i.photoLayout,
- options: nge,
+ options: yge,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
@@ -42286,17 +42342,17 @@ function cge({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: L("captions-off") }
})]
})] }) : null,
- Nhe.map(([e, n]) => {
- let r = t.sort === e, i = kC(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ Xhe.map(([e, n]) => {
+ let r = t.sort === e, i = CC(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-entity-sort": e,
"data-follow-sort": e,
"data-entity-press": "",
"aria-pressed": r,
- "aria-label": Bhe(e, n, t.sort, t.dir) || void 0,
+ "aria-label": rge(e, n, t.sort, t.dir) || void 0,
onClick: () => {
- let n = hF(e, t.sort, t.dir);
+ let n = aF(e, t.sort, t.dir);
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, H.jsx)(i, { className: "size-3.5" }) : null]
@@ -42306,7 +42362,7 @@ function cge({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function lge({ conditions: e, onDrop: t, onClear: n }) {
+function Ege({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -42331,7 +42387,7 @@ function lge({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function uge({ count: e, onManage: t }) {
+function Dge({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -42340,12 +42396,12 @@ function uge({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function dge({ pending: e, facets: t, data: n, context: r, props: i }) {
- let { view: a, helpers: o } = i, s = a.media === "images", c = rA(e, () => o.listSkeletonHtml(a.media));
+function Oge({ pending: e, facets: t, data: n, context: r, props: i }) {
+ let { view: a, helpers: o } = i, s = a.media === "images", c = tA(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
- children: [c.layer, e ? null : /* @__PURE__ */ (0, H.jsx)(fge, {
+ children: [c.layer, e ? null : /* @__PURE__ */ (0, H.jsx)(kge, {
facets: t,
data: n,
context: r,
@@ -42354,38 +42410,38 @@ function dge({ pending: e, facets: t, data: n, context: r, props: i }) {
})]
});
}
-function fge({ facets: e, data: t, context: n, props: r, images: i }) {
- let { view: a, actions: o } = r, s = hge(r), c = i ? {
+function kge({ facets: e, data: t, context: n, props: r, images: i }) {
+ let { view: a, actions: o } = r, s = Mge(r), c = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
} : {}, l;
return l = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), c = i?.author_key && e.authorSources.get(i.author_key) || [], l = t.primary.id;
- return /* @__PURE__ */ (0, H.jsx)(Qhe, {
+ return /* @__PURE__ */ (0, H.jsx)(hge, {
group: t,
authorSources: c,
media: a.media,
context: n,
- selected: r.selected.has(MF(t, a)),
+ selected: r.selected.has(SF(t, a)),
selectMode: r.selectMode,
- busy: s.busy.get(MF(t, a)) || "",
- failure: s.failures.get(MF(t, a)) || "",
+ busy: s.busy.get(SF(t, a)) || "",
+ failure: s.failures.get(SF(t, a)) || "",
actions: o,
onStatus: s.status,
onSave: s.save
}, `${l}:${a.media}`);
- }) : /* @__PURE__ */ (0, H.jsx)(pge, { data: t }), /* @__PURE__ */ (0, H.jsx)("div", {
+ }) : /* @__PURE__ */ (0, H.jsx)(Age, { data: t }), /* @__PURE__ */ (0, H.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": i ? "" : void 0,
...c,
children: l
});
}
-function MF(e, t) {
- return fF(e, t.media).id;
+function SF(e, t) {
+ return nF(e, t.media).id;
}
-function pge({ data: e }) {
+function Age({ data: e }) {
let t = (e.groups || []).length ? o("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源或标签后再试。") : (e.sources || []).length ? o("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : o("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-follow-empty": "",
@@ -42393,36 +42449,36 @@ function pge({ data: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-var mge = {
+var jge = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function hge(e) {
- let { view: t, revision: n, actions: r } = e, [i, a] = (0, B.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, B.useState)(() => /* @__PURE__ */ new Map()), c = rF(t, n).queryKey, l = (e, t, n) => n((n) => {
+function Mge(e) {
+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, B.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, B.useState)(() => /* @__PURE__ */ new Map()), c = qP(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
}), u = (e, n) => {
- z.setQueryData(c, (r) => r && gF(r, t, e, n));
+ z.setQueryData(c, (r) => r && oF(r, t, e, n));
}, d = () => void z.invalidateQueries({
queryKey: c,
exact: !0
}), f = (e) => {
- let t = oF(z.getQueryData(c));
+ let t = XP(z.getQueryData(c));
for (let n of t?.groups || []) for (let t of [
n.primary,
...n.variants,
...n.duplicates
]) if (t.id === e) return t.status;
return "new";
- }, p = yw({
- mutationFn: ({ id: e, to: t }) => q(vP, {
+ }, p = pw({
+ mutationFn: ({ id: e, to: t }) => q(cP, {
item: e,
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(mge[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
- await q(vP, {
+ u(t, n), d(), r.toast(jge[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ await q(cP, {
item: t,
to: i
}), u(t, i), d();
@@ -42432,7 +42488,7 @@ function hge(e) {
l(t, ce(e), s), r.failure("更新关注状态", e);
},
onSettled: (e, t, { id: n }) => l(n, "", a)
- }), m = yw({
+ }), m = pw({
mutationFn: (e) => q("/api/follow/save", { item: e }),
onSuccess: (e, t) => {
u(t, "saved"), d(), r.toast("已保存到账本");
@@ -42467,8 +42523,8 @@ function hge(e) {
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function NF({ provider: e, label: t }) {
- let n = $P(e), [r, i] = (0, B.useState)(!1);
+function CF({ provider: e, label: t }) {
+ let n = UP(e), [r, i] = (0, B.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, H.jsx)(H.Fragment, { children: t }) : null : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("img", {
src: n,
alt: "",
@@ -42479,8 +42535,8 @@ function NF({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), t ? /* @__PURE__ */ (0, H.jsx)(Jc, { children: t }) : null] });
}
-function PF({ group: e, name: t }) {
- let { src: n, fallback: r } = PP(e), [i, a] = (0, B.useState)(0), o = [n, r].filter(Boolean)[i];
+function wF({ group: e, name: t }) {
+ let { src: n, fallback: r } = wP(e), [i, a] = (0, B.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, H.jsx)("img", {
src: o,
alt: "",
@@ -42493,18 +42549,18 @@ function PF({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, H.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: NP(t)
+ children: CP(t)
});
}
-function FF({ source: e }) {
- let t = DP(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, H.jsx)(Ok, {
+function TF({ source: e }) {
+ let t = _P(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+ return /* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: t,
- children: dhe(e)
+ children: Ohe(e)
});
}
-function IF({ source: e }) {
+function EF({ source: e }) {
return /* @__PURE__ */ (0, H.jsxs)("a", {
href: e.url,
target: "_blank",
@@ -42519,8 +42575,8 @@ function IF({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var LF = dr(nT, rT, "text-body-2-medium"), gge = "粘贴来源链接,或输入创作者名、id…", _ge = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", vge = "识别中…", yge = "站内没有查到来源", RF = (e, t) => `${e}:${t.url}`;
-function bge({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var DF = dr(Qw, $w, "text-body-2-medium"), Nge = "粘贴来源链接,或输入创作者名、id…", Pge = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Fge = "识别中…", Ige = "站内没有查到来源", OF = (e, t) => `${e}:${t.url}`;
+function Lge({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, B.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
}, [t, r]), /* @__PURE__ */ (0, H.jsxs)(nm, {
@@ -42535,17 +42591,17 @@ function bge({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: dr(tT, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: dr(Zw, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, H.jsx)(hT, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, H.jsx)(dT, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, H.jsxs)(B.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, H.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? dr(LF, "bg-background-secondary-default") : LF,
+ className: t === r ? dr(DF, "bg-background-secondary-default") : DF,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -42565,7 +42621,7 @@ function bge({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function xge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function Rge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, B.useRef)(null), [a, o] = (0, B.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {
let i = new Set(t);
r ? i.delete(e) : i.add(e), n(i);
@@ -42573,7 +42629,7 @@ function xge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
ref: i,
variant: "secondary",
- leadingIcon: $ae,
+ leadingIcon: loe,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
@@ -42585,7 +42641,7 @@ function xge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: tT,
+ className: Zw,
children: /* @__PURE__ */ (0, H.jsxs)(mh, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
@@ -42602,16 +42658,16 @@ function xge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, H.jsx)(ET, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, H.jsx)(ST, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(rM, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, H.jsx)(NF, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, H.jsx)(CF, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, H.jsx)(J, {
variant: "ghost",
@@ -42627,7 +42683,7 @@ function xge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function Sge({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function zge({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: e.line,
@@ -42635,7 +42691,7 @@ function Sge({ 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, H.jsxs)("div", {
- className: iT({
+ className: eT({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -42646,15 +42702,15 @@ function Sge({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = RF(t, e);
- return /* @__PURE__ */ (0, H.jsx)(rM, {
+ let n = OF(t, e);
+ return /* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, H.jsx)(NF, { provider: e.provider }),
+ /* @__PURE__ */ (0, H.jsx)(CF, { provider: e.provider }),
/* @__PURE__ */ (0, H.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -42670,22 +42726,22 @@ function Sge({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, H.jsx)(ET, { children: yge }),
+ }) : /* @__PURE__ */ (0, H.jsx)(ST, { children: Ige }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, H.jsx)(kT, {
+ }), /* @__PURE__ */ (0, H.jsx)(TT, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, H.jsx)(ET, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, H.jsx)(ST, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function Bge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, B.useState)(""), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(!1), [p, m] = (0, B.useState)(null), [h, g] = (0, B.useState)(-1), _ = (0, B.useRef)(null), v = (0, B.useRef)(null), [y, b] = (0, B.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, B.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, B.useState)(""), [T, E] = (0, B.useState)(0);
(0, B.useEffect)(() => {
let e = a.trim();
@@ -42696,19 +42752,19 @@ function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = setTimeout(() => u(e), 250);
return () => clearTimeout(t);
}, [a]);
- let D = gw({
- queryKey: ahe(l),
- queryFn: ({ signal: e }) => _he(l, e),
+ let D = uw({
+ queryKey: She(l),
+ queryFn: ({ signal: e }) => Phe(l, e),
enabled: l.length > 0 && d
}), O = (0, B.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = $j({
- queryKey: ihe,
- queryFn: ({ signal: e }) => ghe(e),
- start: (e) => vhe([e]),
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = Jj({
+ queryKey: xhe,
+ queryFn: ({ signal: e }) => Nhe(e),
+ start: (e) => Fhe([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(G(e)),
onFinish: (e) => {
@@ -42742,14 +42798,14 @@ function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, I = j?.results || [], re = I.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: RF(t, e)
- })).filter((e) => !x.has(e.key))), L = yw({
+ key: OF(t, e)
+ })).filter((e) => !x.has(e.key))), L = pw({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
for (let r of e) {
try {
- let e = await yhe(r.candidate);
+ let e = await Ihe(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${G(e)}`);
@@ -42757,7 +42813,7 @@ function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
E((e) => e + 1);
}
if (n.length) try {
- await VP(n);
+ await jP(n);
} catch (e) {
t.push(G(e));
}
@@ -42767,7 +42823,7 @@ function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (ZP(), e.failures.length) {
+ if (VP(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -42776,7 +42832,7 @@ function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => w(G(e))
}), ie = e.suggestions || [], ae = !s.includes("/");
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: iT({
+ className: eT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42796,15 +42852,15 @@ function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, H.jsx)(Fk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(jk, {
"aria-label": "来源链接、名字或 id",
- placeholder: gge,
+ placeholder: Nge,
value: a,
- leadingIcon: qw,
+ leadingIcon: Uw,
isDisabled: n,
onChange: o,
onKeyDown: ne
- }), P ? /* @__PURE__ */ (0, H.jsx)(bge, {
+ }), P ? /* @__PURE__ */ (0, H.jsx)(Lge, {
field: _,
menu: v,
options: O,
@@ -42814,7 +42870,7 @@ function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: F
}) : null]
}),
- /* @__PURE__ */ (0, H.jsx)(xge, {
+ /* @__PURE__ */ (0, H.jsx)(Rge, {
credentials: t,
hidden: y,
onHidden: b,
@@ -42832,9 +42888,9 @@ function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, H.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? /* @__PURE__ */ (0, H.jsx)(vT, {
+ children: [A || M.isPending ? /* @__PURE__ */ (0, H.jsx)(mT, {
embedded: !0,
- label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : ae ? _ge : vge),
+ label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : ae ? Pge : Fge),
value: k?.checked,
total: k?.total
}) : null, C ? /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -42846,8 +42902,8 @@ function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
I.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(OT, { children: "查找结果" }),
- I.map((e, t) => /* @__PURE__ */ (0, H.jsx)(Sge, {
+ /* @__PURE__ */ (0, H.jsx)(wT, { children: "查找结果" }),
+ I.map((e, t) => /* @__PURE__ */ (0, H.jsx)(zge, {
row: e,
at: t,
hidden: y,
@@ -42902,16 +42958,16 @@ function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var wge = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, zF = (e) => e.alias;
-function Tge(e, t, n) {
+var Vge = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, kF = (e) => e.alias;
+function Hge(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 BF({ sources: e, name: t, canonicalKey: n }) {
+function AF({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(PF, {
- group: Tge(e, t, n),
+ children: [/* @__PURE__ */ (0, H.jsx)(wF, {
+ group: Hge(e, t, n),
name: t
}), /* @__PURE__ */ (0, H.jsx)("b", {
className: "text-body-medium",
@@ -42919,15 +42975,15 @@ function BF({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a }) {
- let [o, s] = (0, B.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), m = yw({
+function Uge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a }) {
+ let [o, s] = (0, B.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), m = pw({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await WP(n.canonical, n.alias);
+ await PP(n.canonical, n.alias);
} catch (n) {
- throw t && ZP(), Error(`${G(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && VP(), Error(`${G(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -42937,19 +42993,19 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
};
},
onSuccess: (e) => {
- l(""), s(/* @__PURE__ */ new Set()), ZP(), a(`已合并 ${e.done} 组创作者别名`);
+ l(""), s(/* @__PURE__ */ new Set()), VP(), a(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => l(G(e))
- }), h = yw({
- mutationFn: (e) => WP(e.canonical, e.alias),
+ }), h = pw({
+ mutationFn: (e) => PP(e.canonical, e.alias),
onSuccess: () => {
- l(""), d(""), p(""), ZP(), a("已保存创作者别名");
+ l(""), d(""), p(""), VP(), a("已保存创作者别名");
},
onError: (e) => l(G(e))
- }), g = yw({
- mutationFn: (e) => bhe(e),
+ }), g = pw({
+ mutationFn: (e) => Lhe(e),
onSuccess: () => {
- l(""), ZP(), a("已移除创作者别名");
+ l(""), VP(), a("已移除创作者别名");
},
onError: (e) => l(G(e))
}), _ = (e, t) => {
@@ -42959,9 +43015,9 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => m.mutateAsync(e)
});
- }, v = t.filter((e) => o.has(zF(e))), y = t.length > 0 && v.length === t.length, b = X(m.isPending);
+ }, v = t.filter((e) => o.has(kF(e))), y = t.length > 0 && v.length === t.length, b = X(m.isPending);
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: iT({
+ className: eT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42972,10 +43028,10 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "手动添加别名" }), /* @__PURE__ */ (0, H.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, H.jsx)(wT, { children: "手动添加别名" }), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: u,
@@ -42983,7 +43039,7 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
isDisabled: i,
className: "w-56"
}),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: f,
@@ -43004,13 +43060,13 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
]
})]
}),
- c ? /* @__PURE__ */ (0, H.jsx)(DT, { children: c }) : null,
+ c ? /* @__PURE__ */ (0, H.jsx)(CT, { children: c }) : null,
t.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(OT, { children: "待合并" }),
+ /* @__PURE__ */ (0, H.jsx)(wT, { children: "待合并" }),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -43032,18 +43088,18 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, H.jsx)(oM, { children: /* @__PURE__ */ (0, H.jsxs)(iM, {
+ }), /* @__PURE__ */ (0, H.jsx)(tM, { children: /* @__PURE__ */ (0, H.jsxs)($j, {
"aria-label": "待合并创作者别名",
size: "sm",
children: [/* @__PURE__ */ (0, H.jsxs)(S_, { children: [
/* @__PURE__ */ (0, H.jsx)(C_, {
id: "select",
- children: /* @__PURE__ */ (0, H.jsx)(rM, {
+ children: /* @__PURE__ */ (0, H.jsx)(Qj, {
slot: null,
isSelected: y,
isIndeterminate: v.length > 0 && !y,
"aria-label": "全选待合并别名",
- onChange: (e) => s(e ? new Set(t.map(zF)) : /* @__PURE__ */ new Set())
+ onChange: (e) => s(e ? new Set(t.map(kF)) : /* @__PURE__ */ new Set())
})
}),
/* @__PURE__ */ (0, H.jsx)(C_, {
@@ -43064,12 +43120,12 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
children: "操作"
})
] }), /* @__PURE__ */ (0, H.jsx)(T_, { children: t.map((e) => {
- let t = zF(e);
+ let t = kF(e);
return /* @__PURE__ */ (0, H.jsxs)(O_, {
id: t,
"data-board-selected": o.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(rM, {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(Qj, {
slot: null,
isSelected: o.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -43078,7 +43134,7 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
e ? n.add(t) : n.delete(t), s(n);
}
}) }),
- /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(BF, {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(AF, {
sources: n,
name: e.canonical
}) }),
@@ -43104,11 +43160,11 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "已保存别名" }), /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [/* @__PURE__ */ (0, H.jsx)(wT, { children: "已保存别名" }), /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, H.jsx)(oM, { children: /* @__PURE__ */ (0, H.jsxs)(iM, {
+ }), e.length ? /* @__PURE__ */ (0, H.jsx)(tM, { children: /* @__PURE__ */ (0, H.jsxs)($j, {
"aria-label": "已保存创作者别名",
size: "sm",
children: [/* @__PURE__ */ (0, H.jsxs)(S_, { children: [/* @__PURE__ */ (0, H.jsx)(C_, {
@@ -43120,7 +43176,7 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
children: "平台别名"
})] }), /* @__PURE__ */ (0, H.jsx)(T_, { children: e.map((e) => /* @__PURE__ */ (0, H.jsxs)(O_, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(BF, {
+ children: [/* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(AF, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
@@ -43132,13 +43188,13 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: Iw,
+ leadingIcon: Aw,
"aria-label": `移除别名 ${e.name}`,
disabled: i,
...X(g.isPending),
onClick: () => void r({
title: "移除创作者别名",
- body: wge(e.name),
+ body: Vge(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => g.mutateAsync(e.name)
})
@@ -43146,9 +43202,9 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ }) }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: Yw,
+ icon: Gw,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -43158,33 +43214,33 @@ function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var Dge = "这些账号信息存在哪里", Oge = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", kge = "将清除这个来源在本机和共享副本中的登录凭据。", Age = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function jge(e, t) {
+var Wge = "这些账号信息存在哪里", Gge = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", Kge = "将清除这个来源在本机和共享副本中的登录凭据。", qge = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function Jge(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function Mge({ row: e }) {
- if (eF(e)) return /* @__PURE__ */ (0, H.jsx)(Ok, {
+function Yge({ row: e }) {
+ if (WP(e)) return /* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, H.jsx)(Ok, {
+ return /* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: t,
- children: jhe[e.requirement] || ""
+ children: Jhe[e.requirement] || ""
});
}
-function Nge({ row: e, readOnly: t, toast: n }) {
- let [i, a] = (0, B.useState)({}), [o, s] = (0, B.useState)(""), c = eF(e), l = yw({
- mutationFn: (t) => xhe(e.provider, t),
+function Xge({ row: e, readOnly: t, toast: n }) {
+ let [i, a] = (0, B.useState)({}), [o, s] = (0, B.useState)(""), c = WP(e), l = pw({
+ mutationFn: (t) => Rhe(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
s(e.note);
return;
}
s(""), a({}), z.invalidateQueries({
- queryKey: xP,
+ queryKey: dP,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -43200,17 +43256,17 @@ function Nge({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsxs)(ET, { children: [e.why, e.where ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [" ", /* @__PURE__ */ (0, H.jsx)(kT, {
+ /* @__PURE__ */ (0, H.jsxs)(ST, { children: [e.why, e.where ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [" ", /* @__PURE__ */ (0, H.jsx)(TT, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, H.jsx)(ET, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, H.jsx)(ST, { children: e.howto }) : null,
/* @__PURE__ */ (0, H.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, H.jsx)(Fk, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, H.jsx)(jk, {
type: "password",
label: n,
- placeholder: jge(e, n),
+ placeholder: Jge(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -43238,7 +43294,7 @@ function Nge({ row: e, readOnly: t, toast: n }) {
...X(l.isPending),
onClick: () => void r({
title: "清除来源凭据",
- body: kge,
+ body: Kge,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => l.mutateAsync({})
@@ -43246,9 +43302,9 @@ function Nge({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- o ? /* @__PURE__ */ (0, H.jsx)(DT, { children: o }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, H.jsx)(ET, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, H.jsx)(mT, {
+ o ? /* @__PURE__ */ (0, H.jsx)(CT, { children: o }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, H.jsx)(ST, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, H.jsx)(uT, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -43256,18 +43312,18 @@ function Nge({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "凭据文件权限过宽",
- children: Age
+ children: qge
}) : null
]
});
}
-function Pge({ row: e, readOnly: t, toast: n }) {
+function Zge({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
children: [
/* @__PURE__ */ (0, H.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, H.jsx)(NF, { provider: e.provider })
+ children: /* @__PURE__ */ (0, H.jsx)(CF, { provider: e.provider })
}),
/* @__PURE__ */ (0, H.jsx)("b", {
className: "text-body-medium text-text-primary",
@@ -43277,8 +43333,8 @@ function Pge({ row: e, readOnly: t, toast: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.nature
}) : null,
- /* @__PURE__ */ (0, H.jsx)(Mge, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, H.jsx)(Ok, {
+ /* @__PURE__ */ (0, H.jsx)(Yge, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -43287,13 +43343,13 @@ function Pge({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, H.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, H.jsx)(ET, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, H.jsx)(ST, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, H.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, H.jsx)(MT, {
- summary: eF(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !eF(e),
- children: /* @__PURE__ */ (0, H.jsx)(Nge, {
+ children: [r, /* @__PURE__ */ (0, H.jsx)(OT, {
+ summary: WP(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !WP(e),
+ children: /* @__PURE__ */ (0, H.jsx)(Xge, {
row: e,
readOnly: t,
toast: n
@@ -43301,10 +43357,10 @@ function Pge({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function Fge({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !eF(e));
+function Qge({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !WP(e));
return r.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
- className: iT({
+ className: eT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -43339,12 +43395,12 @@ function Fge({ data: e, readOnly: t, toast: n }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, H.jsx)("div", {
- className: iT({
+ className: eT({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, H.jsx)(Pge, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, H.jsx)(Zge, {
row: e,
readOnly: t,
toast: n
@@ -43356,13 +43412,13 @@ function Fge({ data: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, H.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: Dge
+ children: Wge
}),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: Oge
+ children: Gge
}),
- /* @__PURE__ */ (0, H.jsx)(mT, {
+ /* @__PURE__ */ (0, H.jsx)(uT, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -43371,16 +43427,16 @@ function Fge({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: ioe,
+ icon: moe,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function VF() {
+function jF() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -43393,24 +43449,24 @@ function VF() {
group: (e) => e
};
}
-function HF(e, t) {
+function MF(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function UF(e, t) {
+function NF(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: HF(n, t[e])
+ [e]: MF(n, t[e])
}));
};
}
-function WF(e) {
+function PF(e) {
return e instanceof Function;
}
-function Ige(e) {
+function $ge(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function Lge(e, t) {
+function e_e(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -43420,7 +43476,7 @@ function Lge(e, t) {
};
return r(e), n;
}
-function GF(e, t, n) {
+function FF(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -43442,21 +43498,21 @@ function GF(e, t, n) {
return i;
};
}
-function KF(e, t, n, r) {
+function IF(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function Rge(e, t, n, r) {
+function t_e(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: GF(() => [
+ getContext: FF(() => [
e,
n,
t,
@@ -43468,13 +43524,13 @@ function Rge(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), KF(e.options, "debugCells", "cell.getContext"))
+ }), IF(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function zge(e, t, n, r) {
+function n_e(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -43491,17 +43547,17 @@ function zge(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: GF(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], KF(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: GF(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: FF(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], IF(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: FF(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, KF(e.options, "debugColumns", "column.getLeafColumns"))
+ }, IF(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var qF = "debugHeaders";
-function JF(e, t, n) {
+var LF = "debugHeaders";
+function RF(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -43529,42 +43585,42 @@ function JF(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var Bge = { createTable: (e) => {
- e.getHeaderGroups = GF(() => [
+var r_e = { createTable: (e) => {
+ e.getHeaderGroups = FF(() => [
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 YF(t, [
+ return zF(t, [
...a,
...s,
...o
], e);
- }, KF(e.options, qF, "getHeaderGroups")), e.getCenterHeaderGroups = GF(() => [
+ }, IF(e.options, LF, "getHeaderGroups")), e.getCenterHeaderGroups = FF(() => [
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))), YF(t, n, e, "center")), KF(e.options, qF, "getCenterHeaderGroups")), e.getLeftHeaderGroups = GF(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), zF(t, n, e, "center")), IF(e.options, LF, "getCenterHeaderGroups")), e.getLeftHeaderGroups = FF(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => YF(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), KF(e.options, qF, "getLeftHeaderGroups")), e.getRightHeaderGroups = GF(() => [
+ ], (t, n, r) => zF(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), IF(e.options, LF, "getLeftHeaderGroups")), e.getRightHeaderGroups = FF(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => YF(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), KF(e.options, qF, "getRightHeaderGroups")), e.getFooterGroups = GF(() => [e.getHeaderGroups()], (e) => [...e].reverse(), KF(e.options, qF, "getFooterGroups")), e.getLeftFooterGroups = GF(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), KF(e.options, qF, "getLeftFooterGroups")), e.getCenterFooterGroups = GF(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), KF(e.options, qF, "getCenterFooterGroups")), e.getRightFooterGroups = GF(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), KF(e.options, qF, "getRightFooterGroups")), e.getFlatHeaders = GF(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KF(e.options, qF, "getFlatHeaders")), e.getLeftFlatHeaders = GF(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KF(e.options, qF, "getLeftFlatHeaders")), e.getCenterFlatHeaders = GF(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KF(e.options, qF, "getCenterFlatHeaders")), e.getRightFlatHeaders = GF(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KF(e.options, qF, "getRightFlatHeaders")), e.getCenterLeafHeaders = GF(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => zF(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), IF(e.options, LF, "getRightHeaderGroups")), e.getFooterGroups = FF(() => [e.getHeaderGroups()], (e) => [...e].reverse(), IF(e.options, LF, "getFooterGroups")), e.getLeftFooterGroups = FF(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), IF(e.options, LF, "getLeftFooterGroups")), e.getCenterFooterGroups = FF(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), IF(e.options, LF, "getCenterFooterGroups")), e.getRightFooterGroups = FF(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), IF(e.options, LF, "getRightFooterGroups")), e.getFlatHeaders = FF(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), IF(e.options, LF, "getFlatHeaders")), e.getLeftFlatHeaders = FF(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), IF(e.options, LF, "getLeftFlatHeaders")), e.getCenterFlatHeaders = FF(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), IF(e.options, LF, "getCenterFlatHeaders")), e.getRightFlatHeaders = FF(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), IF(e.options, LF, "getRightFlatHeaders")), e.getCenterLeafHeaders = FF(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), KF(e.options, qF, "getCenterLeafHeaders")), e.getLeftLeafHeaders = GF(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), IF(e.options, LF, "getCenterLeafHeaders")), e.getLeftLeafHeaders = FF(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), KF(e.options, qF, "getLeftLeafHeaders")), e.getRightLeafHeaders = GF(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), IF(e.options, LF, "getLeftLeafHeaders")), e.getRightLeafHeaders = FF(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), KF(e.options, qF, "getRightLeafHeaders")), e.getLeafHeaders = GF(() => [
+ }), IF(e.options, LF, "getRightLeafHeaders")), e.getLeafHeaders = FF(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -43572,9 +43628,9 @@ var Bge = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), KF(e.options, qF, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), IF(e.options, LF, "getLeafHeaders"));
} };
-function YF(e, t, n, r) {
+function zF(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;
@@ -43592,7 +43648,7 @@ function YF(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 = JF(n, c, {
+ let i = RF(n, c, {
id: [
r,
t,
@@ -43609,7 +43665,7 @@ function YF(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) => JF(n, e, {
+ s(t.map((e, t) => RF(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -43627,7 +43683,7 @@ function YF(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var Vge = (e, t, n, r, i, a, o) => {
+var i_e = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -43648,7 +43704,7 @@ var Vge = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => Lge(s.subRows, (e) => e.subRows),
+ getLeafRows: () => e_e(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -43659,95 +43715,95 @@ var Vge = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: GF(() => [e.getAllLeafColumns()], (t) => t.map((t) => Rge(e, s, t, t.id)), KF(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: GF(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), KF(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: FF(() => [e.getAllLeafColumns()], (t) => t.map((t) => t_e(e, s, t, t.id)), IF(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: FF(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), IF(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;
-}, Hge = { createColumn: (e, t) => {
+}, a_e = { 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();
};
-} }, XF = (e, t, n) => {
+} }, BF = (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));
};
-XF.autoRemove = (e) => oI(e);
-var ZF = (e, t, n) => {
+BF.autoRemove = (e) => XF(e);
+var VF = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-ZF.autoRemove = (e) => oI(e);
-var QF = (e, t, n) => {
+VF.autoRemove = (e) => XF(e);
+var HF = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-QF.autoRemove = (e) => oI(e);
-var $F = (e, t, n) => e.getValue(t)?.includes(n);
-$F.autoRemove = (e) => oI(e);
-var eI = (e, t, n) => !n.some((n) => {
+HF.autoRemove = (e) => XF(e);
+var UF = (e, t, n) => e.getValue(t)?.includes(n);
+UF.autoRemove = (e) => XF(e);
+var WF = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-eI.autoRemove = (e) => oI(e) || !(e != null && e.length);
-var tI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-tI.autoRemove = (e) => oI(e) || !(e != null && e.length);
-var nI = (e, t, n) => e.getValue(t) === n;
-nI.autoRemove = (e) => oI(e);
-var rI = (e, t, n) => e.getValue(t) == n;
-rI.autoRemove = (e) => oI(e);
-var iI = (e, t, n) => {
+WF.autoRemove = (e) => XF(e) || !(e != null && e.length);
+var GF = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+GF.autoRemove = (e) => XF(e) || !(e != null && e.length);
+var KF = (e, t, n) => e.getValue(t) === n;
+KF.autoRemove = (e) => XF(e);
+var qF = (e, t, n) => e.getValue(t) == n;
+qF.autoRemove = (e) => XF(e);
+var JF = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-iI.resolveFilterValue = (e) => {
+JF.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];
-}, iI.autoRemove = (e) => oI(e) || oI(e[0]) && oI(e[1]);
-var aI = {
- includesString: XF,
- includesStringSensitive: ZF,
- equalsString: QF,
- arrIncludes: $F,
- arrIncludesAll: eI,
- arrIncludesSome: tI,
- equals: nI,
- weakEquals: rI,
- inNumberRange: iI
+}, JF.autoRemove = (e) => XF(e) || XF(e[0]) && XF(e[1]);
+var YF = {
+ includesString: BF,
+ includesStringSensitive: VF,
+ equalsString: HF,
+ arrIncludes: UF,
+ arrIncludesAll: WF,
+ arrIncludesSome: GF,
+ equals: KF,
+ weakEquals: qF,
+ inNumberRange: JF
};
-function oI(e) {
+function XF(e) {
return e == null || e === "";
}
-var Uge = {
+var o_e = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: UF("columnFilters", e),
+ onColumnFiltersChange: NF("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? aI.includesString : typeof n == "number" ? aI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? aI.equals : Array.isArray(n) ? aI.arrIncludes : aI.weakEquals;
- }, e.getFilterFn = () => WF(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? aI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
+ return typeof n == "string" ? YF.includesString : typeof n == "number" ? YF.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? YF.equals : Array.isArray(n) ? YF.arrIncludes : YF.weakEquals;
+ }, e.getFilterFn = () => PF(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? YF[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 = HF(n, i ? i.value : void 0);
- if (sI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = MF(n, i ? i.value : void 0);
+ if (ZF(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -43762,19 +43818,19 @@ var Uge = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => HF(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => MF(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && sI(t.getFilterFn(), e.value, t));
+ return !(t && ZF(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 sI(e, t, n) {
+function ZF(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var cI = {
+var QF = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -43810,7 +43866,7 @@ var cI = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!Ige(n)) return;
+ if (!$ge(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];
@@ -43818,7 +43874,7 @@ var cI = {
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
-}, Wge = {
+}, s_e = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -43831,7 +43887,7 @@ var cI = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: UF("grouping", e),
+ onGroupingChange: NF("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -43844,11 +43900,11 @@ var cI = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return cI.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return cI.extent;
+ if (typeof n == "number") return QF.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return QF.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return WF(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? cI[e.columnDef.aggregationFn];
+ return PF(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? QF[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -43870,27 +43926,27 @@ var cI = {
};
}
};
-function Gge(e, t, n) {
+function c_e(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 Kge = {
+var l_e = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: UF("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: NF("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = GF((e) => [mI(t, e)], (t) => t.findIndex((t) => t.id === e.id), KF(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => mI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = mI(t, n);
+ e.getIndex = FF((e) => [iI(t, e)], (t) => t.findIndex((t) => t.id === e.id), IF(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => iI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = iI(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 = GF(() => [
+ }, e._getOrderColumnsFn = FF(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -43905,18 +43961,18 @@ var Kge = {
}
i = [...i, ...n];
}
- return Gge(i, t, n);
- }, KF(e.options, "debugTable", "_getOrderColumnsFn"));
+ return c_e(i, t, n);
+ }, IF(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, lI = () => ({
+}, $F = () => ({
left: [],
right: []
-}), qge = {
+}), u_e = {
getInitialState: (e) => ({
- columnPinning: lI(),
+ columnPinning: $F(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: UF("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: NF("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -43940,75 +43996,75 @@ var Kge = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = GF(() => [
+ e.getCenterVisibleCells = FF(() => [
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));
- }, KF(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = GF(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, IF(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = FF(() => [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"
- })), KF(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = GF(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), IF(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = FF(() => [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"
- })), KF(t.options, "debugRows", "getRightVisibleCells"));
+ })), IF(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 ? lI() : e.initialState?.columnPinning ?? lI()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? $F() : e.initialState?.columnPinning ?? $F()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = GF(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), KF(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = GF(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), KF(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = GF(() => [
+ }, e.getLeftLeafColumns = FF(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), IF(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = FF(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), IF(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = FF(() => [
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));
- }, KF(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, IF(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function Jge(e) {
+function d_e(e) {
return e || (typeof document < "u" ? document : null);
}
-var uI = {
+var eI = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, dI = () => ({
+}, tI = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), Yge = {
- getDefaultColumnDef: () => uI,
+}), f_e = {
+ getDefaultColumnDef: () => eI,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: dI(),
+ columnSizingInfo: tI(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: UF("columnSizing", e),
- onColumnSizingInfoChange: UF("columnSizingInfo", e)
+ onColumnSizingChange: NF("columnSizing", e),
+ onColumnSizingInfoChange: NF("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? uI.minSize, n ?? e.columnDef.size ?? uI.size), e.columnDef.maxSize ?? uI.maxSize);
- }, e.getStart = GF((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? eI.minSize, n ?? e.columnDef.size ?? eI.size), e.columnDef.maxSize ?? eI.maxSize);
+ }, e.getStart = FF((e) => [
e,
- mI(t, e),
+ iI(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), KF(t.options, "debugColumns", "getStart")), e.getAfter = GF((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), IF(t.options, "debugColumns", "getStart")), e.getAfter = FF((e) => [
e,
- mI(t, e),
+ iI(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), KF(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), IF(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -44030,8 +44086,8 @@ var uI = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), pI(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 = pI(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), rI(a) && a.touches && a.touches.length > 1)) return;
+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = rI(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
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) => {
@@ -44056,7 +44112,7 @@ var uI = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = Jge(n), m = {
+ }, p = d_e(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -44066,8 +44122,8 @@ var uI = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = Xge() ? { passive: !1 } : !1;
- pI(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 = p_e() ? { passive: !1 } : !1;
+ rI(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
...e,
startOffset: c,
startSize: o,
@@ -44083,12 +44139,12 @@ var uI = {
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 ? dI() : e.initialState.columnSizingInfo ?? dI());
+ e.setColumnSizingInfo(t ? tI() : e.initialState.columnSizingInfo ?? tI());
}, 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;
}
-}, fI = null;
-function Xge() {
- if (typeof fI == "boolean") return fI;
+}, nI = null;
+function p_e() {
+ if (typeof nI == "boolean") return nI;
let e = !1;
try {
let t = { get passive() {
@@ -44098,17 +44154,17 @@ function Xge() {
} catch {
e = !1;
}
- return fI = e, fI;
+ return nI = e, nI;
}
-function pI(e) {
+function rI(e) {
return e.type === "touchstart";
}
-var Zge = {
+var m_e = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: UF("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: NF("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -44123,7 +44179,7 @@ var Zge = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = GF(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), KF(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = GF(() => [
+ e._getAllVisibleCells = FF(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), IF(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = FF(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -44131,10 +44187,10 @@ var Zge = {
...e,
...t,
...n
- ], KF(t.options, "debugRows", "getVisibleCells"));
+ ], IF(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => GF(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), KF(e.options, "debugColumns", t));
+ let t = (t, n) => FF(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), IF(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) => {
@@ -44147,20 +44203,20 @@ var Zge = {
};
}
};
-function mI(e, t) {
+function iI(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var Qge = { createTable: (e) => {
+var h_e = { 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();
};
-} }, $ge = {
+} }, g_e = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: UF("globalFilter", e),
+ onGlobalFilterChange: NF("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -44172,22 +44228,22 @@ var Qge = { createTable: (e) => {
e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;
},
createTable: (e) => {
- e.getGlobalAutoFilterFn = () => aI.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => YF.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return WF(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? aI[t];
+ return PF(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? YF[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, e_e = {
+}, __e = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: UF("expanded", e),
+ onExpandedChange: NF("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -44258,18 +44314,18 @@ var Qge = { createTable: (e) => {
};
};
}
-}, hI = 0, gI = 10, _I = () => ({
- pageIndex: hI,
- pageSize: gI
-}), t_e = {
+}, aI = 0, oI = 10, sI = () => ({
+ pageIndex: aI,
+ pageSize: oI
+}), v_e = {
getInitialState: (e) => ({
...e,
pagination: {
- ..._I(),
+ ...sI(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: UF("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: NF("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -44285,11 +44341,11 @@ var Qge = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => HF(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? _I() : e.initialState.pagination ?? _I());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => MF(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? sI() : e.initialState.pagination ?? sI());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = HF(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = MF(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
@@ -44297,13 +44353,13 @@ var Qge = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? hI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? hI);
+ e.setPageIndex(t ? aI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? aI);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? gI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? gI);
+ e.setPageSize(t ? oI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? oI);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, HF(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, MF(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -44311,28 +44367,28 @@ var Qge = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = HF(t, e.options.pageCount ?? -1);
+ let r = MF(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = GF(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = FF(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, KF(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, IF(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;
}
-}, vI = () => ({
+}, cI = () => ({
top: [],
bottom: []
-}), n_e = {
+}), y_e = {
getInitialState: (e) => ({
- rowPinning: vI(),
+ rowPinning: cI(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: UF("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: NF("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -44371,7 +44427,7 @@ var Qge = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? vI() : e.initialState?.rowPinning ?? vI()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? cI() : e.initialState?.rowPinning ?? cI()), 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) => {
@@ -44380,22 +44436,22 @@ var Qge = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = GF(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), KF(e.options, "debugRows", "getTopRows")), e.getBottomRows = GF(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), KF(e.options, "debugRows", "getBottomRows")), e.getCenterRows = GF(() => [
+ })), e.getTopRows = FF(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), IF(e.options, "debugRows", "getTopRows")), e.getBottomRows = FF(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), IF(e.options, "debugRows", "getBottomRows")), e.getCenterRows = FF(() => [
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));
- }, KF(e.options, "debugRows", "getCenterRows"));
+ }, IF(e.options, "debugRows", "getCenterRows"));
}
-}, r_e = {
+}, b_e = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: UF("rowSelection", e),
+ onRowSelectionChange: NF("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -44414,21 +44470,21 @@ var Qge = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- yI(i, t.id, r, !0, e);
+ lI(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = GF(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? bI(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = FF(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? uI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, KF(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = GF(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? bI(e, n) : {
+ }, IF(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = FF(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? uI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, KF(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = GF(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? bI(e, n) : {
+ }, IF(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = FF(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? uI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, KF(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, IF(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 = () => {
@@ -44452,17 +44508,17 @@ var Qge = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return yI(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return lI(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return xI(e, n);
+ return dI(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return SI(e, n) === "some";
+ return fI(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return SI(e, n) === "all";
+ return fI(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) => {
@@ -44470,16 +44526,16 @@ var Qge = { createTable: (e) => {
};
};
}
-}, yI = (e, t, n, r, i) => {
+}, lI = (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) => yI(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) => lI(e, t.id, n, r, i));
};
-function bI(e, t) {
+function uI(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = xI(e, n);
+ let o = dI(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -44492,32 +44548,32 @@ function bI(e, t) {
rowsById: i
};
}
-function xI(e, t) {
+function dI(e, t) {
return t[e.id] ?? !1;
}
-function SI(e, t, n) {
+function fI(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() && (xI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = SI(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (dI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = fI(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var CI = /([0-9]+)/gm, i_e = (e, t, n) => EI(TI(e.getValue(n)).toLowerCase(), TI(t.getValue(n)).toLowerCase()), a_e = (e, t, n) => EI(TI(e.getValue(n)), TI(t.getValue(n))), o_e = (e, t, n) => wI(TI(e.getValue(n)).toLowerCase(), TI(t.getValue(n)).toLowerCase()), s_e = (e, t, n) => wI(TI(e.getValue(n)), TI(t.getValue(n))), c_e = (e, t, n) => {
+var pI = /([0-9]+)/gm, x_e = (e, t, n) => gI(hI(e.getValue(n)).toLowerCase(), hI(t.getValue(n)).toLowerCase()), S_e = (e, t, n) => gI(hI(e.getValue(n)), hI(t.getValue(n))), C_e = (e, t, n) => mI(hI(e.getValue(n)).toLowerCase(), hI(t.getValue(n)).toLowerCase()), w_e = (e, t, n) => mI(hI(e.getValue(n)), hI(t.getValue(n))), T_e = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, l_e = (e, t, n) => wI(e.getValue(n), t.getValue(n));
-function wI(e, t) {
+}, E_e = (e, t, n) => mI(e.getValue(n), t.getValue(n));
+function mI(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function TI(e) {
+function hI(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function EI(e, t) {
- let n = e.split(CI).filter(Boolean), r = t.split(CI).filter(Boolean);
+function gI(e, t) {
+ let n = e.split(pI).filter(Boolean), r = t.split(pI).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])) {
@@ -44531,22 +44587,22 @@ function EI(e, t) {
}
return n.length - r.length;
}
-var DI = {
- alphanumeric: i_e,
- alphanumericCaseSensitive: a_e,
- text: o_e,
- textCaseSensitive: s_e,
- datetime: c_e,
- basic: l_e
-}, u_e = [
- Bge,
- Zge,
- Kge,
- qge,
- Hge,
- Uge,
- Qge,
- $ge,
+var _I = {
+ alphanumeric: x_e,
+ alphanumericCaseSensitive: S_e,
+ text: C_e,
+ textCaseSensitive: w_e,
+ datetime: T_e,
+ basic: E_e
+}, D_e = [
+ r_e,
+ m_e,
+ l_e,
+ u_e,
+ a_e,
+ o_e,
+ h_e,
+ g_e,
{
getInitialState: (e) => ({
sorting: [],
@@ -44557,7 +44613,7 @@ var DI = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: UF("sorting", e),
+ onSortingChange: NF("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -44565,13 +44621,13 @@ var DI = {
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 DI.datetime;
- if (typeof n == "string" && (r = !0, n.split(CI).length > 1)) return DI.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return _I.datetime;
+ if (typeof n == "string" && (r = !0, n.split(pI).length > 1)) return _I.alphanumeric;
}
- return r ? DI.text : DI.basic;
+ return r ? _I.text : _I.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return WF(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? DI[e.columnDef.sortingFn];
+ return PF(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? _I[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -44608,15 +44664,15 @@ var DI = {
}, 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());
}
},
- Wge,
- e_e,
- t_e,
- n_e,
- r_e,
- Yge
+ s_e,
+ __e,
+ v_e,
+ y_e,
+ b_e,
+ f_e
];
-function d_e(e) {
- let t = [...u_e, ...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 O_e(e) {
+ let t = [...D_e, ...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 ?? {} };
@@ -44642,7 +44698,7 @@ function d_e(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = HF(e, n.options);
+ let t = MF(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -44657,7 +44713,7 @@ function d_e(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: GF(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: FF(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -44668,20 +44724,20 @@ function d_e(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), KF(e, "debugColumns", "_getDefaultColumnDef")),
+ }), IF(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: GF(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: FF(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = zge(n, e, i, r), o = e;
+ let a = n_e(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, KF(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: GF(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), KF(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: GF(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), KF(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: GF(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), KF(e, "debugColumns", "getAllLeafColumns")),
+ }, IF(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: FF(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), IF(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: FF(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), IF(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: FF(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), IF(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -44691,8 +44747,8 @@ function d_e(e) {
}
return n;
}
-function OI() {
- return (e) => GF(() => [e.options.data], (t) => {
+function vI() {
+ return (e) => FF(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -44701,7 +44757,7 @@ function OI() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = Vge(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = i_e(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));
@@ -44710,9 +44766,9 @@ function OI() {
return o;
};
return n.rows = r(t), n;
- }, KF(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, IF(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function f_e(e) {
+function k_e(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -44723,8 +44779,8 @@ function f_e(e) {
rowsById: e.rowsById
};
}
-function kI(e) {
- return (e) => GF(() => [
+function yI(e) {
+ return (e) => FF(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -44737,7 +44793,7 @@ function kI(e) {
rows: a,
flatRows: o,
rowsById: s
- } : f_e({
+ } : k_e({
rows: a,
flatRows: o,
rowsById: s
@@ -44746,32 +44802,32 @@ function kI(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, KF(e.options, "debugTable", "getPaginationRowModel"));
+ }, IF(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function AI(e, t) {
- return e ? p_e(e) ? /*#__PURE__*/ B.createElement(e, t) : e : null;
+function bI(e, t) {
+ return e ? A_e(e) ? /*#__PURE__*/ B.createElement(e, t) : e : null;
}
-function p_e(e) {
- return m_e(e) || typeof e == "function" || h_e(e);
+function A_e(e) {
+ return j_e(e) || typeof e == "function" || M_e(e);
}
-function m_e(e) {
+function j_e(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function h_e(e) {
+function M_e(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function jI(e) {
+function xI(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = B.useState(() => ({ current: d_e(t) })), [r, i] = B.useState(() => n.current.initialState);
+ }, [n] = B.useState(() => ({ current: O_e(t) })), [r, i] = B.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -44786,7 +44842,7 @@ function jI(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var g_e = fr({
+var N_e = fr({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -44848,8 +44904,8 @@ var g_e = fr({
}
}
});
-function __e({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = g_e[t];
+function P_e({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = N_e[t];
return /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
className: dr("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? dr("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"),
@@ -44859,12 +44915,12 @@ function __e({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function MI({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, H.jsx)(Oee, {
+function SI({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, H.jsx)(Dee, {
ref: i,
...a,
className: (t) => dr("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, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(__e, {
+ children: (e) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(P_e, {
state: e,
size: n,
shape: r
@@ -44876,8 +44932,8 @@ function MI({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var NI = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", v_e = "输入女优名,到 JavDB 找她的演员页";
-function y_e(e, t) {
+var CI = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", F_e = "输入女优名,到 JavDB 找她的演员页";
+function I_e(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 {
@@ -44896,10 +44952,10 @@ function y_e(e, t) {
blocked: !1
};
}
-function b_e({ card: e, picked: t, onPick: n }) {
+function L_e({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(rM, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, H.jsxs)("span", {
@@ -44909,7 +44965,7 @@ function b_e({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, H.jsx)(Ok, {
+ e.record ? /* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: "neutral",
children: e.record
@@ -44920,16 +44976,16 @@ function b_e({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, H.jsx)(kT, {
+ }), /* @__PURE__ */ (0, H.jsx)(TT, {
href: e.url,
children: e.id
})]
});
}
-function x_e({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(null), [s, c] = (0, B.useState)(/* @__PURE__ */ new Set()), l = pT(), u = () => {
+function R_e({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(null), [s, c] = (0, B.useState)(/* @__PURE__ */ new Set()), l = lT(), u = () => {
let t = r.trim();
- !t || e || l.run("lookup", (e) => whe(t, e), (e) => {
+ !t || e || l.run("lookup", (e) => Vhe(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -44937,12 +44993,12 @@ function x_e({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => The(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => Hhe(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? y_e(a, s) : null;
+ }, m = a ? I_e(a, s) : null;
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: iT({
+ className: eT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -44955,11 +45011,11 @@ function x_e({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, H.jsx)(Fk, {
+ children: /* @__PURE__ */ (0, H.jsx)(jk, {
"aria-label": "女优名",
- placeholder: v_e,
+ placeholder: F_e,
value: r,
- leadingIcon: qw,
+ leadingIcon: Uw,
isDisabled: e,
onChange: i,
onKeyDown: d
@@ -44980,16 +45036,16 @@ function x_e({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(OT, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, H.jsx)(b_e, {
+ /* @__PURE__ */ (0, H.jsx)(wT, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, H.jsx)(L_e, {
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, H.jsx)(ET, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, H.jsx)(ET, {
+ }, e.id)) : /* @__PURE__ */ (0, H.jsx)(ST, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, H.jsx)(ST, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -45016,19 +45072,19 @@ function x_e({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var S_e = Object.fromEntries(Object.entries(TP).map(([e, t]) => [t, e])), PI = 740;
-function C_e() {
+var z_e = Object.fromEntries(Object.entries(hP).map(([e, t]) => [t, e])), wI = 740;
+function B_e() {
let [e, t] = (0, B.useState)(!1), n = (0, B.useRef)(null), r = (0, B.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < PI));
- r.observe(e), n.current = r, t(e.clientWidth < PI);
+ let r = new ResizeObserver(() => t(e.clientWidth < wI));
+ r.observe(e), n.current = r, t(e.clientWidth < wI);
}, []);
return (0, B.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var w_e = {
+var V_e = {
select: "选择",
author: "创作者",
source: "来源",
@@ -45037,7 +45093,7 @@ var w_e = {
checked: "上次检查",
actions: "操作"
};
-function FI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function TI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, H.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -45051,7 +45107,7 @@ function FI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
}),
/* @__PURE__ */ (0, H.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: VA(e, t).map((t, r) => /* @__PURE__ */ (0, H.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, H.jsx)("span", {
+ children: IA(e, t).map((t, r) => /* @__PURE__ */ (0, H.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -45074,22 +45130,22 @@ function FI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function T_e({ source: e, selected: t, onToggle: n, handlers: r }) {
+function H_e({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
onClick: (e) => {
- aM(e, e.currentTarget) && n(!t);
+ eM(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, H.jsx)(rM, {
+ /* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, H.jsx)(IF, { source: e }), e.last_error ? /* @__PURE__ */ (0, H.jsx)("small", {
+ children: [/* @__PURE__ */ (0, H.jsx)(EF, { source: e }), e.last_error ? /* @__PURE__ */ (0, H.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -45097,17 +45153,17 @@ function T_e({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, H.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, H.jsx)(NF, {
+ children: /* @__PURE__ */ (0, H.jsx)(CF, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, H.jsx)(FF, { source: e }),
+ /* @__PURE__ */ (0, H.jsx)(TF, { source: e }),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: QP(e)
+ children: HP(e)
}),
- /* @__PURE__ */ (0, H.jsx)(MI, {
+ /* @__PURE__ */ (0, H.jsx)(SI, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -45119,7 +45175,7 @@ function T_e({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Gw,
+ leadingIcon: Vw,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...X(r.busy),
@@ -45128,7 +45184,7 @@ function T_e({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: zw,
+ leadingIcon: Pw,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -45137,11 +45193,11 @@ function T_e({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function E_e({ 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(DP).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = LP(r, c);
+function U_e({ 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(_P).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = DP(r, c);
return /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: iT({
+ className: eT({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -45151,7 +45207,7 @@ function E_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, H.jsx)(PF, {
+ /* @__PURE__ */ (0, H.jsx)(wF, {
group: e,
name: t
}),
@@ -45163,7 +45219,7 @@ function E_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Gw,
+ leadingIcon: Vw,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...X(i.busy),
@@ -45172,7 +45228,7 @@ function E_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, H.jsx)(NF, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, H.jsx)(Jc, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, H.jsx)(CF, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, H.jsx)(Jc, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -45181,7 +45237,7 @@ function E_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: Fw,
+ leadingIcon: kw,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -45192,7 +45248,7 @@ function E_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? Pw : jw,
+ leadingIcon: n ? Ow : Tw,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -45202,7 +45258,7 @@ function E_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, H.jsx)(T_e, {
+ children: e.map((e) => /* @__PURE__ */ (0, H.jsx)(H_e, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -45211,37 +45267,37 @@ function E_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function D_e(e) {
- let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: c, readOnly: l, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: g } = e, _ = t.sources, v = (0, B.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [b, x] = (0, B.useState)(/* @__PURE__ */ new Set()), [S, C] = C_e(), [w, T] = (0, B.useState)(""), E = (0, B.useMemo)(() => fhe(_, n, i, v), [
+function W_e(e) {
+ let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: c, readOnly: l, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: g } = e, _ = t.sources, v = (0, B.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [b, x] = (0, B.useState)(/* @__PURE__ */ new Set()), [S, C] = B_e(), [w, T] = (0, B.useState)(""), E = (0, B.useMemo)(() => khe(_, n, i, v), [
_,
n,
i,
v
- ]), D = (0, B.useMemo)(() => phe(E, n, i, v), [
+ ]), D = (0, B.useMemo)(() => Ahe(E, n, i, v), [
E,
n,
i,
v
- ]), { job: O, running: k, outcome: A, start: j } = $j({
- queryKey: rhe,
- queryFn: ({ signal: e }) => hhe(e),
- start: (e) => VP(e),
+ ]), { job: O, running: k, outcome: A, start: j } = Jj({
+ queryKey: bhe,
+ queryFn: ({ signal: e }) => Mhe(e),
+ start: (e) => jP(e),
onError: (e) => T(G(e)),
onFinish: (e) => {
- ZP(), h(e.status === "failed" ? e.error || "检查失败" : Dhe(e));
+ VP(), h(e.status === "failed" ? e.error || "检查失败" : Whe(e));
}
}), M = (e) => {
k || j.isPending || (T(""), j.mutate(e));
- }, N = (e, t) => m(RP(c, [e], t)), ee = (e, t) => m(RP(c, e, t)), te = yw({
- mutationFn: (e) => UP(e),
+ }, N = (e, t) => m(OP(c, [e], t)), ee = (e, t) => m(OP(c, e, t)), te = pw({
+ mutationFn: (e) => NP(e),
onSuccess: (e, t) => {
- XP([t]), m(RP(c, [t], !1)), h("已取消关注来源");
+ BP([t]), m(OP(c, [t], !1)), h("已取消关注来源");
},
onError: (e) => T(G(e))
- }), P = yw({
- mutationFn: (e) => HP(e.id, e.enabled),
+ }), P = pw({
+ mutationFn: (e) => MP(e.id, e.enabled),
onSuccess: (e, t) => {
- YP(t.id, { enabled: t.enabled }), T("");
+ zP(t.id, { enabled: t.enabled }), T("");
},
onError: (e) => T(G(e))
}), F = (e) => void r({
@@ -45250,10 +45306,10 @@ function D_e(e) {
confirmLabel: "取消关注来源",
danger: !0,
onConfirm: () => te.mutateAsync(e.id)
- }), ne = yw({
+ }), ne = pw({
mutationFn: async (e) => {
let t = await ae(e.ids, 4, async (t) => {
- e.action === "remove" ? await UP(t) : await HP(t, e.action === "enabled");
+ e.action === "remove" ? await NP(t) : await MP(t, e.action === "enabled");
});
return {
...e,
@@ -45262,9 +45318,9 @@ function D_e(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") XP(e.done);
- else for (let t of e.done) YP(t, { enabled: e.action === "enabled" });
- m(RP(c, e.done, !1));
+ if (e.action === "remove") BP(e.done);
+ else for (let t of e.done) zP(t, { enabled: e.action === "enabled" });
+ m(OP(c, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
T(`${t.length}/${e.ids.length} 个来源未更新:${G(t[0]?.error)}`);
@@ -45275,20 +45331,20 @@ function D_e(e) {
h(`已${n} ${e.done.length} 个关注来源`);
},
onError: (e) => T(G(e))
- }), I = yw({
+ }), I = pw({
mutationFn: async (e) => {
- let t = ((await Che()).groups || []).flatMap((e) => [
+ let t = ((await Bhe()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await ae(t, 6, (t) => She(t, e))).filter((e) => !e.ok)
+ failed: (await ae(t, 6, (t) => zhe(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (ZP(), e.failed.length) {
+ if (VP(), e.failed.length) {
T(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -45313,12 +45369,12 @@ function D_e(e) {
readOnly: l
};
let ie = L.current, oe = (0, B.useMemo)(() => {
- let e = VF(), t = (e) => () => w_e[e] || e;
+ let e = jF(), t = (e) => () => V_e[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, H.jsx)(rM, {
+ cell: (e) => /* @__PURE__ */ (0, H.jsx)(Qj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -45330,7 +45386,7 @@ function D_e(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(PF, {
+ children: [/* @__PURE__ */ (0, H.jsx)(wF, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, H.jsx)("span", {
@@ -45344,7 +45400,7 @@ function D_e(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, H.jsx)(IF, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, H.jsx)("small", {
+ children: [/* @__PURE__ */ (0, H.jsx)(EF, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, H.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -45355,18 +45411,18 @@ function D_e(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, H.jsx)(NF, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, H.jsx)(CF, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, H.jsx)(FF, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, H.jsx)(TF, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => QP(e.row.original.source)
+ cell: (e) => HP(e.row.original.source)
}),
e.display({
id: "actions",
@@ -45374,7 +45430,7 @@ function D_e(e) {
cell: (e) => /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, H.jsx)(MI, {
+ /* @__PURE__ */ (0, H.jsx)(SI, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: ie.readOnly,
@@ -45384,7 +45440,7 @@ function D_e(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Gw,
+ leadingIcon: Vw,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || ie.readOnly,
...X(ie.busy),
@@ -45394,7 +45450,7 @@ function D_e(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: zw,
+ leadingIcon: Pw,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: ie.readOnly,
onClick: () => L.current.remove(e.row.original.source)
@@ -45404,12 +45460,12 @@ function D_e(e) {
})
];
}, [ie]), se = (0, B.useMemo)(() => {
- let e = S_e[n];
+ let e = z_e[n];
return e ? [{
id: e,
desc: i === "desc"
}] : [];
- }, [n, i]), ce = (0, B.useMemo)(() => Object.fromEntries([...c].map((e) => [String(e), !0])), [c]), le = o === "table", R = IP(le ? D.length : E.length, s, a), ue = jI({
+ }, [n, i]), ce = (0, B.useMemo)(() => Object.fromEntries([...c].map((e) => [String(e), !0])), [c]), le = o === "table", R = EP(le ? D.length : E.length, s, a), ue = xI({
data: D,
columns: oe,
getRowId: (e) => String(e.source.id),
@@ -45426,7 +45482,7 @@ function D_e(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(se) : e)[0];
if (!t) return;
- let n = TP[t.id];
+ let n = hP[t.id];
n && u(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -45440,11 +45496,11 @@ function D_e(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === s ? n.pageIndex !== t.pageIndex && d(n.pageIndex + 1) : p(n.pageSize);
},
- getCoreRowModel: OI(),
- getPaginationRowModel: kI()
- }), de = ue.getRowModel().rows, fe = le ? de.map((e) => e.original.source.id) : E.slice(R.start, R.end).flatMap((e) => e.map((e) => e.id)), pe = LP(c, fe), me = [...c], he = Ohe(A), ge = khe(A), _e = E.length > 0 && b.size >= E.length;
+ getCoreRowModel: vI(),
+ getPaginationRowModel: yI()
+ }), de = ue.getRowModel().rows, fe = le ? de.map((e) => e.original.source.id) : E.slice(R.start, R.end).flatMap((e) => e.map((e) => e.id)), pe = DP(c, fe), me = [...c], he = Ghe(A), ge = Khe(A), _e = E.length > 0 && b.size >= E.length;
return _.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
- className: iT({
+ className: eT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -45463,7 +45519,7 @@ function D_e(e) {
}),
/* @__PURE__ */ (0, H.jsx)(J, {
variant: "primary",
- leadingIcon: Gw,
+ leadingIcon: Vw,
disabled: l,
"aria-label": "检查全部",
iconOnly: C,
@@ -45478,28 +45534,28 @@ function D_e(e) {
children: [/* @__PURE__ */ (0, H.jsx)(J, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: aoe,
- "aria-label": CP[0][1],
+ leadingIcon: hoe,
+ "aria-label": pP[0][1],
"aria-pressed": !le,
onClick: () => f("default")
}), /* @__PURE__ */ (0, H.jsx)(J, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: coe,
- "aria-label": CP[1][1],
+ leadingIcon: voe,
+ "aria-label": pP[1][1],
"aria-pressed": le,
onClick: () => f("table")
})]
}),
- /* @__PURE__ */ (0, H.jsx)(Lk, {
+ /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- u(t, uP[t]);
+ u(t, eP[t]);
},
- children: lP.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: $N.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e,
children: t
}, e))
@@ -45507,14 +45563,14 @@ function D_e(e) {
/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: i === "asc" ? Yae : Jae,
- "aria-label": uhe(n, i),
+ leadingIcon: i === "asc" ? toe : eoe,
+ "aria-label": Dhe(n, i),
onClick: () => u(n, i === "asc" ? "desc" : "asc")
}),
le ? null : /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
iconOnly: C,
- leadingIcon: _e ? jw : Pw,
+ leadingIcon: _e ? Tw : Ow,
"aria-label": _e ? "全部展开" : "全部收起",
onClick: () => x(_e ? /* @__PURE__ */ new Set() : new Set(E.map((e) => String(e[0].author_key || e[0].id)))),
children: _e ? "全部展开" : "全部收起"
@@ -45525,7 +45581,7 @@ function D_e(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- k ? /* @__PURE__ */ (0, H.jsx)(vT, {
+ k ? /* @__PURE__ */ (0, H.jsx)(mT, {
embedded: !0,
label: O?.message || (O?.total ? `${O.older ? "抓取历史" : "检查更新"}:已完成 ${O.checked || 0}/${O.total} 个来源` : "正在准备检查任务"),
value: O?.checked,
@@ -45551,7 +45607,7 @@ function D_e(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsxs)(WE, {
+ /* @__PURE__ */ (0, H.jsxs)(BE, {
label: "关注来源批量操作",
visible: me.length > 0,
count: `已选 ${me.length} 个来源`,
@@ -45611,10 +45667,10 @@ function D_e(e) {
})
]
}),
- le ? /* @__PURE__ */ (0, H.jsx)(oM, {
+ le ? /* @__PURE__ */ (0, H.jsx)(tM, {
follow: !0,
onRowClick: (e) => N(Number(e), !c.has(Number(e))),
- children: /* @__PURE__ */ (0, H.jsxs)(iM, {
+ children: /* @__PURE__ */ (0, H.jsxs)($j, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: se[0] ? {
@@ -45626,7 +45682,7 @@ function D_e(e) {
desc: e.direction === "descending"
}]),
children: [/* @__PURE__ */ (0, H.jsx)(S_, { children: ue.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in TP, n = AI(e.column.columnDef.header, e.getContext());
+ let t = e.column.id in hP, n = bI(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, H.jsx)(C_, {
id: e.id,
allowsSorting: t,
@@ -45636,7 +45692,7 @@ function D_e(e) {
children: [n, /* @__PURE__ */ (0, H.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, H.jsx)(Sue, {})
+ children: /* @__PURE__ */ (0, H.jsx)(Nue, {})
})]
}) : /* @__PURE__ */ (0, H.jsx)(Jc, { children: n })
}, e.id);
@@ -45645,11 +45701,11 @@ function D_e(e) {
children: de.map((e) => /* @__PURE__ */ (0, H.jsx)(O_, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, H.jsx)(A_, { children: AI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, H.jsx)(A_, { children: bI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(rM, {
+ }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: pe.all,
isIndeterminate: pe.some,
onChange: (e) => ee(fe, e),
@@ -45659,9 +45715,9 @@ function D_e(e) {
className: "flex flex-col gap-3",
children: E.slice(R.start, R.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, H.jsx)(E_e, {
+ return /* @__PURE__ */ (0, H.jsx)(U_e, {
group: e,
- name: MP(e, v),
+ name: SP(e, v),
handlers: ie,
selected: c,
open: !b.has(t),
@@ -45681,19 +45737,19 @@ function D_e(e) {
className: "text-body-2-regular text-text-secondary",
children: `${R.start + 1}–${R.end} / ${R.total} ${le ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, H.jsx)(Lk, {
+ /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(s),
onSelectionChange: (e) => {
e !== null && ue.setPageSize(Number(e));
},
- children: wP.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: mP.map((e) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: String(e),
children: `每页 ${e} ${le ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, H.jsx)(FI, {
+ /* @__PURE__ */ (0, H.jsx)(TI, {
page: R.page,
pages: R.pages,
onPage: (e) => ue.setPageIndex(e - 1)
@@ -45742,11 +45798,11 @@ function D_e(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: Kw,
+ icon: Hw,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, H.jsx)(Qw, {
+ actions: /* @__PURE__ */ (0, H.jsx)(Jw, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -45757,7 +45813,7 @@ function D_e(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var O_e = {
+var G_e = {
select: "选择",
name: "名称",
kind: "类型",
@@ -45767,33 +45823,33 @@ var O_e = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, k_e = /* @__PURE__ */ new Set(["select", "actions"]), II = () => z.invalidateQueries({
- queryKey: SP,
+}, K_e = /* @__PURE__ */ new Set(["select", "actions"]), EI = () => z.invalidateQueries({
+ queryKey: fP,
exact: !0
-}), LI = (e) => e.name || e.url, A_e = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function j_e(e) {
+}), DI = (e) => e.name || e.url, q_e = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function J_e(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function M_e({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, H.jsx)(Ok, {
+function Y_e({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, H.jsx)(Ok, {
+ }) : e.enabled ? /* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, H.jsx)(Ok, {
+ }) : /* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function N_e({ source: e }) {
+function X_e({ source: e }) {
let t = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -45802,31 +45858,31 @@ function N_e({ source: e }) {
} : null;
return /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${NI}`,
- dangerouslySetInnerHTML: { __html: ue(LI(e), t, null, "performer") }
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${CI}`,
+ dangerouslySetInnerHTML: { __html: ue(DI(e), t, null, "performer") }
});
}
-var P_e = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function F_e(e) {
+var Z_e = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function Q_e(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
return n;
}
-function RI(e, t) {
+function OI(e, t) {
let n = e.length === 1 ? e[0] : null;
return r({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${LI(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${DI(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function I_e({ readOnly: e, toast: t }) {
- let n = gw({
- queryKey: SP,
- queryFn: ({ signal: e }) => GP(e)
- }), r = pT(), i = n.data, a = (0, B.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, B.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, B.useState)(1), [u, d] = (0, B.useState)(20), f = IP(a.length, u, c);
+function $_e({ readOnly: e, toast: t }) {
+ let n = uw({
+ queryKey: fP,
+ queryFn: ({ signal: e }) => FP(e)
+ }), r = lT(), i = n.data, a = (0, B.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, B.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, B.useState)(1), [u, d] = (0, B.useState)(20), f = EP(a.length, u, c);
(0, B.useEffect)(() => {
l((e) => Math.min(e, f.pages));
}, [f.pages]), (0, B.useEffect)(() => {
@@ -45835,10 +45891,10 @@ function I_e({ readOnly: e, toast: t }) {
return n.size === e.size ? e : n;
});
}, [a]);
- let p = yw({
+ let p = pw({
mutationFn: async (e) => {
let t = await ae(e.ids, 4, async (t) => {
- e.action === "remove" ? await qP(t) : await KP(t, e.action === "enabled");
+ e.action === "remove" ? await LP(t) : await IP(t, e.action === "enabled");
});
return {
...e,
@@ -45847,13 +45903,13 @@ function I_e({ readOnly: e, toast: t }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;
- if (s(/* @__PURE__ */ new Set()), II(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), EI(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : G(e.error)}`);
}
},
onError: (e) => r.setError(G(e))
- }), m = (0, B.useMemo)(() => F_e(a), [a]), h = (0, B.useRef)({
+ }), m = (0, B.useMemo)(() => Q_e(a), [a]), h = (0, B.useRef)({
readOnly: e,
shared: m,
busy: null,
@@ -45865,34 +45921,34 @@ function I_e({ readOnly: e, toast: t }) {
readOnly: e,
shared: m,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => KP(e.id, t, n), () => void II()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => JP(t, [e.id]), () => void II()),
- remove: (e) => void RI([e], async () => {
- await qP(e.id), t(`已移除订阅源「${LI(e)}」`), II();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => IP(e.id, t, n), () => void EI()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => RP(t, [e.id]), () => void EI()),
+ remove: (e) => void OI([e], async () => {
+ await LP(e.id), t(`已移除订阅源「${DI(e)}」`), EI();
})
};
let g = (0, B.useMemo)(() => {
- let e = VF(), t = (e) => () => O_e[e] || e;
+ let e = jF(), t = (e) => () => G_e[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, H.jsx)(rM, {
+ cell: (e) => /* @__PURE__ */ (0, H.jsx)(Qj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${LI(e.row.original)}`
+ "aria-label": `选择 ${DI(e.row.original)}`
})
}),
- e.accessor(LI, {
+ e.accessor(DI, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = P_e(e.row.original, h.current.shared);
+ let t = Z_e(e.row.original, h.current.shared);
return /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, H.jsx)(N_e, { source: e.row.original }),
+ /* @__PURE__ */ (0, H.jsx)(X_e, { source: e.row.original }),
e.getValue(),
t ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -45920,15 +45976,15 @@ function I_e({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: j_e(e.getValue())
+ children: J_e(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, H.jsx)(M_e, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, H.jsx)(Y_e, { source: e.row.original })
}),
- e.accessor((e) => A_e(e.interval_minutes), {
+ e.accessor((e) => q_e(e.interval_minutes), {
id: "interval",
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, H.jsx)("span", {
@@ -45936,7 +45992,7 @@ function I_e({ readOnly: e, toast: t }) {
children: e.getValue()
})
}),
- e.accessor((e) => e.last_fetched_at ? WA(e.last_fetched_at) : "还没拉过", {
+ e.accessor((e) => e.last_fetched_at ? zA(e.last_fetched_at) : "还没拉过", {
id: "fetched",
header: t("fetched"),
cell: (e) => /* @__PURE__ */ (0, H.jsx)("span", {
@@ -45958,8 +46014,8 @@ function I_e({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, H.jsx)(MI, {
- "aria-label": `启用 ${LI(e.row.original)}`,
+ /* @__PURE__ */ (0, H.jsx)(SI, {
+ "aria-label": `启用 ${DI(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: h.current.readOnly,
onChange: (t) => h.current.toggle(e.row.original, t)
@@ -45968,8 +46024,8 @@ function I_e({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: Gw,
- "aria-label": `拉取 ${LI(e.row.original)}`,
+ leadingIcon: Vw,
+ "aria-label": `拉取 ${DI(e.row.original)}`,
disabled: h.current.readOnly,
...X(h.current.busy === `check-${e.row.original.id}`),
onClick: () => h.current.fetch(e.row.original)
@@ -45978,8 +46034,8 @@ function I_e({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: zw,
- "aria-label": `移除 ${LI(e.row.original)}`,
+ leadingIcon: Pw,
+ "aria-label": `移除 ${DI(e.row.original)}`,
disabled: h.current.readOnly,
onClick: () => h.current.remove(e.row.original)
})
@@ -45987,7 +46043,7 @@ function I_e({ readOnly: e, toast: t }) {
})
})
];
- }, []), _ = (0, B.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = jI({
+ }, []), _ = (0, B.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = xI({
data: a,
columns: g,
getRowId: (e) => String(e.id),
@@ -46003,27 +46059,27 @@ function I_e({ readOnly: e, toast: t }) {
let t = typeof e == "function" ? e(_) : e;
s(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
- getCoreRowModel: OI(),
- getPaginationRowModel: kI()
+ getCoreRowModel: vI(),
+ getPaginationRowModel: yI()
});
if (!i) return n.error ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "打不开订阅源",
children: G(n.error)
- }) : /* @__PURE__ */ (0, H.jsx)(ET, { children: "正在读订阅源。" });
- let y = () => void r.run("check", (e) => JP(e), () => void II()), b = (e) => s((t) => {
+ }) : /* @__PURE__ */ (0, H.jsx)(ST, { children: "正在读订阅源。" });
+ let y = () => void r.run("check", (e) => RP(e), () => void EI()), b = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), x = a.filter((e) => o.has(e.id)), S = a.filter((e) => e.last_error);
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, H.jsx)(x_e, {
+ children: [/* @__PURE__ */ (0, H.jsx)(R_e, {
readOnly: e,
toast: t,
- onAdded: () => void II()
+ onAdded: () => void EI()
}), /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: iT({
+ className: eT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -46051,11 +46107,11 @@ function I_e({ readOnly: e, toast: t }) {
className: "flex flex-col gap-3",
children: [S.map((e) => /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
- title: `${LI(e)} 拉取失败`,
+ title: `${DI(e)} 拉取失败`,
children: e.last_error
- }, e.id)), r.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: r.error }) : null]
+ }, e.id)), r.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: r.error }) : null]
}) : null,
- /* @__PURE__ */ (0, H.jsxs)(WE, {
+ /* @__PURE__ */ (0, H.jsxs)(BE, {
visible: x.length > 0,
label: "订阅源批量操作",
count: `已选 ${x.length} 条订阅源`,
@@ -46087,7 +46143,7 @@ function I_e({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...X(p.isPending),
- onClick: () => void RI(x, () => p.mutateAsync({
+ onClick: () => void OI(x, () => p.mutateAsync({
ids: x.map((e) => e.id),
action: "remove"
})),
@@ -46101,26 +46157,26 @@ function I_e({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, H.jsx)(oM, {
+ a.length ? /* @__PURE__ */ (0, H.jsx)(tM, {
onRowClick: (e) => b(Number(e)),
- children: /* @__PURE__ */ (0, H.jsxs)(iM, {
+ children: /* @__PURE__ */ (0, H.jsxs)($j, {
"aria-label": "JAV 订阅源",
size: "sm",
children: [/* @__PURE__ */ (0, H.jsx)(S_, { children: v.getHeaderGroups()[0].headers.map((e) => {
- let t = AI(e.column.columnDef.header, e.getContext());
+ let t = bI(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, H.jsx)(C_, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: k_e.has(e.column.id) ? /* @__PURE__ */ (0, H.jsx)(Jc, { children: t }) : t
+ children: K_e.has(e.column.id) ? /* @__PURE__ */ (0, H.jsx)(Jc, { children: t }) : t
}, e.id);
}) }), /* @__PURE__ */ (0, H.jsx)(T_, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, H.jsx)(O_, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, H.jsx)(A_, { children: AI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, H.jsx)(A_, { children: bI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
- icon: Kw,
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
+ icon: Hw,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -46132,19 +46188,19 @@ function I_e({ readOnly: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: `${f.start + 1}–${f.end} / ${f.total} 个订阅源`
}),
- /* @__PURE__ */ (0, H.jsx)(Lk, {
+ /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(u),
onSelectionChange: (e) => {
e !== null && (d(Number(e)), l(1));
},
- children: wP.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: mP.map((e) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, H.jsx)(FI, {
+ /* @__PURE__ */ (0, H.jsx)(TI, {
label: "JAV 订阅分页",
page: f.page,
pages: f.pages,
@@ -46165,34 +46221,85 @@ function I_e({ readOnly: e, toast: t }) {
});
}
//#endregion
+//#region src/react/wants/resource-cache.ts
+var kI = "peach.want-resources.v1", AI = 864e5;
+function jI(e, t = Date.now()) {
+ let n = Date.parse(e || ""), r = new Date(t), i = new Date(Date.UTC(r.getFullYear(), r.getMonth(), r.getDate())), a = i.getUTCDate();
+ i.setUTCHours(0, 0, 0, 0), i.setUTCDate(1), i.setUTCMonth(i.getUTCMonth() - 3);
+ let o = new Date(Date.UTC(i.getUTCFullYear(), i.getUTCMonth() + 1, 0)).getUTCDate();
+ return i.setUTCDate(Math.min(a, o)), Number.isFinite(n) && n < i.getTime() ? 365 * AI : 7 * AI;
+}
+function MI() {
+ try {
+ let e = JSON.parse(localStorage.getItem(kI) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items)) : [];
+ } catch {
+ return [];
+ }
+}
+function eve(e, t) {
+ let n = MI().find((t) => t.code === e);
+ return n && Date.now() - n.saved < jI(t) ? n : void 0;
+}
+function tve(e, t) {
+ if (t.state === "ready") try {
+ let n = MI().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(kI, JSON.stringify([{
+ code: e,
+ saved: Number.isFinite(r) ? r : Date.now(),
+ result: t
+ }, ...n].slice(0, 128)));
+ } catch {}
+}
+//#endregion
//#region src/react/wants/want-magnets.tsx
-function L_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
- let a = (0, B.useRef)(null), [o, s] = (0, B.useState)(typeof IntersectionObserver > "u"), [c, l] = (0, B.useState)([]), u = pT(), d = ew();
+function NI({ icon: e, children: t }) {
+ return /* @__PURE__ */ (0, H.jsxs)("span", {
+ className: "inline-flex items-center gap-1",
+ children: [/* @__PURE__ */ (0, H.jsx)(e, {
+ "aria-hidden": !0,
+ className: "size-3.5 shrink-0"
+ }), t]
+ });
+}
+function nve({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a }) {
+ let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(typeof IntersectionObserver > "u"), [l, u] = (0, B.useState)([]), d = lT(), f = JC(), p = (0, B.useRef)(!1), m = (0, B.useMemo)(() => eve(e.code || "", e.release_date), [e.code, e.release_date]);
(0, B.useEffect)(() => {
- if (!a.current || o) return;
+ if (!o.current || s) return;
let e = new IntersectionObserver((t) => {
- t.some((e) => e.isIntersecting) && (s(!0), e.disconnect());
+ t.some((e) => e.isIntersecting) && (c(!0), e.disconnect());
}, { rootMargin: "100px" });
- return e.observe(a.current), () => e.disconnect();
- }, [o]);
- let f = gw({
+ return e.observe(o.current), () => e.disconnect();
+ }, [s]);
+ let h = uw({
queryKey: [
"want-magnets",
e.id,
e.code
],
- queryFn: ({ signal: t }) => K(`/api/wants/magnets?id=${e.id}`, t),
- enabled: o,
+ queryFn: async ({ signal: t }) => {
+ let n = p.current, r = await K(`/api/wants/magnets?id=${e.id}${n ? "&refresh=1" : ""}`, t);
+ return p.current = n && r.state === "busy", tve(e.code || "", r), r;
+ },
+ initialData: m?.result,
+ initialDataUpdatedAt: m?.saved,
+ enabled: s,
retry: !1,
- staleTime: 6e4,
+ staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : jI(e.release_date)) ? Infinity : 0,
+ gcTime: 864e5,
+ refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : jI(e.release_date)) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
- }), p = n?.providers.find((e) => e.key === r && e.configured), m = (r) => {
- t || !n?.available || !p || r.protocol !== "magnet" || u.run(r.id, async (t) => {
- let n = await q(Jk, {
+ });
+ (0, B.useEffect)(() => {
+ h.data?.source_url && a?.(h.data.source_url);
+ }, [h.data?.source_url, a]);
+ let g = n?.providers.find((e) => e.key === r && e.configured), _ = (r) => {
+ t || !n?.available || !g || r.protocol !== "magnet" || d.run(r.id, async (t) => {
+ let n = await q(Wk, {
magnet: r.uri,
- provider: p.key,
- target: p.target,
+ provider: g.key,
+ target: g.target,
code: e.code,
title: e.title,
origin: `wishlist:${e.id}`
@@ -46200,13 +46307,13 @@ function L_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- l((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), d.invalidateQueries({ queryKey: Yk });
+ u((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), f.invalidateQueries({ queryKey: Gk });
});
- }, h = (e) => {
- u.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
- }, g = f.isFetching || f.data?.state === "busy", _ = f.error ? G(f.error) : f.data?.error;
+ }, v = (e) => {
+ d.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
+ }, y = h.isFetching || h.data?.state === "busy", b = h.error ? G(h.error) : h.data?.error;
return /* @__PURE__ */ (0, H.jsxs)("div", {
- ref: a,
+ ref: o,
"data-want-magnets": "",
className: "flex min-w-0 flex-col gap-3 border-t border-separator-border pt-4",
children: [
@@ -46214,65 +46321,100 @@ function L_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
className: "flex flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, H.jsxs)("h4", {
className: "text-body-medium text-text-primary",
- children: ["资源链接", f.data?.items.length ? ` · ${f.data.items.length}` : ""]
+ children: ["资源链接", h.data?.items.length ? ` · ${h.data.items.length}` : ""]
}), /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
- ...X(g),
+ leadingIcon: Vw,
+ ...X(y),
onClick: () => {
- g || f.refetch();
+ y || (p.current = !0, h.refetch());
},
children: "重新查询"
})]
}),
- g ? /* @__PURE__ */ (0, H.jsx)(hT, { label: "正在查找资源链接…" }) : null,
- _ ? /* @__PURE__ */ (0, H.jsx)(Y, {
+ y ? /* @__PURE__ */ (0, H.jsx)(dT, { label: "正在查找资源链接…" }) : null,
+ b ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "资源链接未取得",
- children: _
+ children: b
}) : null,
- f.data?.warnings?.map((e) => /* @__PURE__ */ (0, H.jsx)(Y, {
+ h.data?.warnings?.map((e) => /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
children: e
}, e)),
- f.data?.state === "ready" && !f.data.items.length && !f.data.warnings?.length ? /* @__PURE__ */ (0, H.jsx)(Y, {
+ h.data?.state === "ready" && !h.data.items.length && !h.data.warnings?.length ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
children: "暂未找到资源链接。"
}) : null,
- u.error ? /* @__PURE__ */ (0, H.jsx)(Y, {
+ d.error ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "操作未完成",
- children: u.error
+ children: d.error
}) : null,
- f.data?.items.length ? /* @__PURE__ */ (0, H.jsx)("ul", {
- className: "flex min-w-0 flex-col gap-4",
- children: f.data.items.map((e) => {
- let r = c.includes(e.id) || n?.tasks.some((t) => e.protocol === "magnet" && t.info_hash === e.info_hash && (t.cancellable || t.state === "ingested"));
+ h.data?.items.length ? (() => {
+ let e = h.data.items.map((e) => {
+ let r = l.includes(e.id) || n?.tasks.some((t) => e.protocol === "magnet" && t.info_hash === e.info_hash && (t.cancellable || t.state === "ingested"));
return /* @__PURE__ */ (0, H.jsxs)("li", {
+ "data-resource-protocol": e.protocol,
className: "flex min-w-0 items-start justify-between gap-3 max-sm:flex-col",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
- children: [/* @__PURE__ */ (0, H.jsx)("p", {
- className: "break-all text-body-2-medium text-text-primary",
- children: e.name
- }), /* @__PURE__ */ (0, H.jsx)("p", {
- className: "break-words text-caption-1-regular text-text-secondary",
+ children: [/* @__PURE__ */ (0, H.jsxs)("div", {
+ className: "flex min-w-0 flex-wrap items-center gap-2",
+ children: [/* @__PURE__ */ (0, H.jsx)(wk, {
+ variant: "caption",
+ color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
+ children: /* @__PURE__ */ (0, H.jsxs)("span", {
+ className: "inline-flex items-center gap-1",
+ children: [e.protocol === "magnet" ? /* @__PURE__ */ (0, H.jsx)(Soe, {
+ "aria-hidden": !0,
+ className: "size-3.5"
+ }) : e.protocol === "ed2k" ? /* @__PURE__ */ (0, H.jsx)(ooe, {
+ "aria-hidden": !0,
+ className: "size-3.5"
+ }) : /* @__PURE__ */ (0, H.jsx)(zw, {
+ "aria-hidden": !0,
+ className: "size-3.5"
+ }), e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ed2k" : "网页链接"]
+ })
+ }), /* @__PURE__ */ (0, H.jsx)("p", {
+ className: "min-w-0 break-all text-body-2-medium text-text-primary",
+ children: e.name
+ })]
+ }), /* @__PURE__ */ (0, H.jsxs)("div", {
+ className: "flex flex-wrap gap-x-3 gap-y-1 break-words text-caption-1-regular text-text-secondary",
children: [
- e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ed2k" : "链接",
- e.source,
- e.size || "大小未知",
- e.files,
- e.date ? `${e.source === "JavDB 评论" ? "评论" : "收录"} ${e.date}` : "日期未知",
- ...e.attributes
- ].filter(Boolean).join(" · ")
+ /* @__PURE__ */ (0, H.jsx)(NI, {
+ icon: zw,
+ children: e.source
+ }),
+ /* @__PURE__ */ (0, H.jsx)(NI, {
+ icon: Lw,
+ children: e.size || "大小未知"
+ }),
+ e.files ? /* @__PURE__ */ (0, H.jsx)(NI, {
+ icon: soe,
+ children: e.files.replaceAll("個", "个")
+ }) : null,
+ /* @__PURE__ */ (0, H.jsx)(NI, {
+ icon: noe,
+ children: e.date ? `${e.source === "JavDB 评论" ? "评论" : "收录"} ${e.date}` : "日期未知"
+ }),
+ e.attributes.map((e) => /* @__PURE__ */ (0, H.jsx)(NI, {
+ icon: Bw,
+ children: e
+ }, e))
+ ]
})]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex shrink-0 flex-wrap gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(Qw, {
+ /* @__PURE__ */ (0, H.jsx)(Jw, {
"data-button-link": "",
variant: "secondary",
size: "small",
+ trailingIcon: Fw,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -46281,63 +46423,75 @@ function L_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
- ...X(u.busy === `copy:${e.id}`),
- onClick: () => h(e),
+ leadingIcon: aoe,
+ ...X(d.busy === `copy:${e.id}`),
+ onClick: () => v(e),
children: "复制链接"
}),
e.protocol === "magnet" ? /* @__PURE__ */ (0, H.jsx)(J, {
- variant: "secondary",
+ variant: "primary",
size: "small",
- disabled: t || !n?.available || !p || r,
- ...X(u.busy === e.id),
- onClick: () => m(e),
+ leadingIcon: jw,
+ disabled: t || !n?.available || !g || r,
+ ...X(d.busy === e.id),
+ onClick: () => _(e),
children: r ? "已添加" : "添加下载"
}) : null
]
})]
}, e.id);
- })
- }) : null
+ });
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("ul", {
+ className: "flex min-w-0 flex-col gap-4",
+ children: e.slice(0, 3)
+ }), e.length > 3 ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ summary: `更多资源(${e.length - 3} 条)`,
+ children: /* @__PURE__ */ (0, H.jsx)("ul", {
+ className: "flex min-w-0 flex-col gap-4",
+ children: e.slice(3)
+ })
+ }) : null] });
+ })() : null
]
});
}
//#endregion
//#region src/react/wants/wants.ts
-var zI = "/api/wants", BI = ["wants"], R_e = (e) => [
+var PI = "/api/wants", FI = ["wants"], rve = (e) => [
"wants",
"follow",
e
-], z_e = [
+], ive = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], B_e = (e) => K(zI, e), V_e = (e, t) => K(`${zI}?follow=${encodeURIComponent(e)}`, t), VI = (e, t) => q(zI, {
+], ave = (e) => K(PI, e), ove = (e, t) => K(`${PI}?follow=${encodeURIComponent(e)}`, t), II = (e, t) => q(PI, {
action: "add",
...e
-}, "POST", t), HI = (e, t) => q(zI, {
+}, "POST", t), LI = (e, t) => q(PI, {
action: "remove",
ids: e
-}, "POST", t), H_e = (e, t) => q(zI, {
+}, "POST", t), sve = (e, t) => q(PI, {
action: "reset",
ids: e
-}, "POST", t), UI = () => z.invalidateQueries({ queryKey: BI }), WI = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function U_e(e) {
+}, "POST", t), RI = () => z.invalidateQueries({ queryKey: FI }), zI = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function cve(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
//#endregion
//#region src/react/wants/want-list.tsx
-var W_e = {
+var lve = {
code: "手动添加",
feed: "Feed 新作",
follow: "关注"
-}, GI = (e) => [
+}, BI = (e) => [
e.release_date,
e.studio,
e.performers,
- W_e[e.origin]
+ lve[e.origin]
].filter(Boolean).join(" · ");
-function G_e({ want: e }) {
+function uve({ want: e }) {
return /* @__PURE__ */ (0, H.jsxs)("span", {
className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",
children: [/* @__PURE__ */ (0, H.jsx)("span", {
@@ -46353,36 +46507,37 @@ function G_e({ want: e }) {
}) : null]
});
}
-function K_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+function dve({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+ let [l, u] = (0, B.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");
return /* @__PURE__ */ (0, H.jsxs)("li", {
"data-want-id": e.id,
- className: iT({
+ className: eT({
bordered: "soft",
className: "flex flex-col gap-4 max-sm:p-4"
}),
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 items-start gap-4 max-sm:gap-3",
- children: [/* @__PURE__ */ (0, H.jsx)(G_e, { want: e }), /* @__PURE__ */ (0, H.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, H.jsx)(uve, { want: e }), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [
/* @__PURE__ */ (0, H.jsxs)("p", {
className: "flex min-w-0 flex-wrap items-baseline gap-x-2",
children: [/* @__PURE__ */ (0, H.jsx)("b", {
className: "text-headline-medium text-text-primary",
- children: WI(e)
+ children: zI(e)
}), e.code && e.title ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
children: e.title
}) : null]
}),
- GI(e) ? /* @__PURE__ */ (0, H.jsx)("p", {
+ BI(e) ? /* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: GI(e)
+ children: BI(e)
}) : null,
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, H.jsx)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
- children: U_e(e)
+ children: cve(e)
}) : null,
e.scrape_error ? /* @__PURE__ */ (0, H.jsxs)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -46391,11 +46546,12 @@ function K_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "mt-1 flex flex-wrap items-center gap-2",
children: [
- e.link ? /* @__PURE__ */ (0, H.jsx)(Qw, {
+ d ? /* @__PURE__ */ (0, H.jsx)(Jw, {
"data-button-link": "",
variant: "secondary",
size: "small",
- href: e.link,
+ trailingIcon: Fw,
+ href: d,
target: "_blank",
rel: "noopener noreferrer",
children: "来源页"
@@ -46403,6 +46559,7 @@ function K_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
e.phase === "searching" || e.phase === "given_up" ? /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
+ leadingIcon: jw,
disabled: t,
onClick: a,
children: "云下载"
@@ -46418,6 +46575,7 @@ function K_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
+ leadingIcon: Pw,
disabled: t,
...X(n === `remove:${e.id}`),
onClick: i,
@@ -46427,45 +46585,46 @@ function K_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, H.jsx)(L_e, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, H.jsx)(nve, {
want: e,
readOnly: t,
downloads: o,
provider: s,
- toast: c
+ toast: c,
+ onSource: u
}) : null]
});
}
-function q_e({ readOnly: e, toast: t, cloudDownload: n }) {
- let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(""), s = pT(), c = gw({
- queryKey: BI,
- queryFn: ({ signal: e }) => B_e(e),
+function fve({ readOnly: e, toast: t, cloudDownload: n }) {
+ let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(""), s = lT(), c = uw({
+ queryKey: FI,
+ queryFn: ({ signal: e }) => ave(e),
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- !n || e || s.run("add", (e) => VI({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${WI(e.want)}` : `${WI(e.want)} 已经在想要里`), i(""), UI();
+ !n || e || s.run("add", (e) => II({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${zI(e.want)}` : `${zI(e.want)} 已经在想要里`), i(""), RI();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => HI([e.id], t), () => {
- t(`已移除:${WI(e)}`), UI();
+ s.run(`remove:${e.id}`, (t) => LI([e.id], t), () => {
+ t(`已移除:${zI(e)}`), RI();
});
}, f = (e) => {
- s.run(`reset:${e.id}`, (t) => H_e([e.id], t), () => {
- t(`${WI(e)} 回到待找`), UI();
+ s.run(`reset:${e.id}`, (t) => sve([e.id], t), () => {
+ t(`${zI(e)} 回到待找`), RI();
});
- }, p = c.data, m = p?.items || [], h = gw({
- queryKey: Yk,
- queryFn: ({ signal: e }) => K(`${Jk}?limit=100`, e),
+ }, p = c.data, m = p?.items || [], h = uw({
+ queryKey: Gk,
+ queryFn: ({ signal: e }) => K(`${Wk}?limit=100`, e),
enabled: m.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))
}), g = h.data?.providers.filter((e) => e.configured) || [], _ = g.find((e) => e.key === a)?.key || g[0]?.key || "";
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
- className: iT({
+ className: eT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -46478,7 +46637,7 @@ function q_e({ readOnly: e, toast: t, cloudDownload: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, H.jsx)(Fk, {
+ children: /* @__PURE__ */ (0, H.jsx)(jk, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -46494,7 +46653,7 @@ function q_e({ readOnly: e, toast: t, cloudDownload: n }) {
children: "添加"
})]
}),
- /* @__PURE__ */ (0, H.jsx)(ET, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),
s.error ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "这一次没有完成",
@@ -46507,7 +46666,7 @@ function q_e({ readOnly: e, toast: t, cloudDownload: n }) {
title: "想要清单读取失败",
children: G(c.error)
}) : null,
- p?.scraping ? /* @__PURE__ */ (0, H.jsx)(ET, {
+ p?.scraping ? /* @__PURE__ */ (0, H.jsx)(ST, {
role: "status",
children: "正在给刚加入的番号取资料与封面。"
}) : null,
@@ -46518,16 +46677,16 @@ function q_e({ readOnly: e, toast: t, cloudDownload: n }) {
className: "text-body-medium text-text-primary",
children: "下载到"
}),
- /* @__PURE__ */ (0, H.jsx)(Lk, {
+ /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "下载到",
selectedKey: _,
onSelectionChange: (e) => o(String(e)),
- children: g.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: g.map((e) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e.key,
children: e.label
}, e.key))
}),
- /* @__PURE__ */ (0, H.jsx)(ET, { children: g.find((e) => e.key === _)?.target || "使用已配置的目标目录" })
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: g.find((e) => e.key === _)?.target || "使用已配置的目标目录" })
]
}) : null,
h.error ? /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -46543,13 +46702,13 @@ function q_e({ readOnly: e, toast: t, cloudDownload: n }) {
tone: "neutral",
children: "云下载只在账本写入端可用。"
}) : null,
- p && !m.length ? /* @__PURE__ */ (0, H.jsx)(kk, {
+ p && !m.length ? /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: soe,
+ icon: _oe,
title: "还没有想要的作品",
children: "在上面输入番号,或在 Feed 新作卡、关注详情上点「想要」。"
}) : null,
- z_e.map(([r, i]) => {
+ ive.map(([r, i]) => {
let a = m.filter((e) => e.phase === r);
return a.length ? /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-label": i,
@@ -46563,7 +46722,7 @@ function q_e({ readOnly: e, toast: t, cloudDownload: n }) {
})]
}), /* @__PURE__ */ (0, H.jsx)("ul", {
className: "flex flex-col gap-4",
- children: a.map((r) => /* @__PURE__ */ (0, H.jsx)(K_e, {
+ children: a.map((r) => /* @__PURE__ */ (0, H.jsx)(dve, {
want: r,
readOnly: e,
busy: s.busy,
@@ -46586,16 +46745,16 @@ function q_e({ readOnly: e, toast: t, cloudDownload: n }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var KI = [
+var VI = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"],
["wants", "JAV 入库"],
["source", "来源和凭证"]
-], qI = (e) => KI.some(([t]) => t === e);
-function JI({ term: e, figure: t, unit: n }) {
+], HI = (e) => VI.some(([t]) => t === e);
+function UI({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: iT({
+ className: eT({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -46611,23 +46770,23 @@ function JI({ term: e, figure: t, unit: n }) {
})]
});
}
-function J_e(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, B.useState)(qI(e.tab) ? e.tab : "list"), [d, f] = (0, B.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, B.useState)(() => dP(e.sort, e.dir).sort), [h, g] = (0, B.useState)(() => dP(e.sort, e.dir).dir), [_, v] = (0, B.useState)(she(e.layout) ? e.layout : "default"), [y, b] = (0, B.useState)(che(e.pageSize)), [x, S] = (0, B.useState)(/* @__PURE__ */ new Set()), C = gw({
- queryKey: bP,
- queryFn: ({ signal: e }) => zP(e)
- }), w = gw({
- queryKey: xP,
- queryFn: ({ signal: e }) => BP(e)
- }), T = gw({
- queryKey: SP,
- queryFn: ({ signal: e }) => GP(e)
+function pve(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, B.useState)(HI(e.tab) ? e.tab : "list"), [d, f] = (0, B.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, B.useState)(() => tP(e.sort, e.dir).sort), [h, g] = (0, B.useState)(() => tP(e.sort, e.dir).dir), [_, v] = (0, B.useState)(whe(e.layout) ? e.layout : "default"), [y, b] = (0, B.useState)(The(e.pageSize)), [x, S] = (0, B.useState)(/* @__PURE__ */ new Set()), C = uw({
+ queryKey: uP,
+ queryFn: ({ signal: e }) => kP(e)
+ }), w = uw({
+ queryKey: dP,
+ queryFn: ({ signal: e }) => AP(e)
+ }), T = uw({
+ queryKey: fP,
+ queryFn: ({ signal: e }) => FP(e)
}), E = C.data || { sources: [] }, D = w.data || {
root: "",
providers: []
}, O = E.sources;
(0, B.useEffect)(() => {
S((e) => {
- let t = mhe(e, O);
+ let t = jhe(e, O);
return t.size === e.size ? e : t;
});
}, [O]);
@@ -46637,10 +46796,10 @@ function J_e(e) {
tab: e.tab ?? l,
page: e.page ?? d,
sort: n === "checked" ? "" : n,
- dir: r === uP[n] ? "" : r
+ dir: r === eP[n] ? "" : r
});
- }, A = FP(O), j = O.filter(DP).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !eF(e)).length, ee = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
+ }, A = TP(O), j = O.filter(_P).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !WP(e)).length, ee = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ return /* @__PURE__ */ (0, H.jsxs)(Ek, { children: [
o ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "warning",
title: "本机只能浏览",
@@ -46655,35 +46814,35 @@ function J_e(e) {
children: s
}) : null,
/* @__PURE__ */ (0, H.jsxs)("div", {
- className: Lfe,
+ className: Yfe,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, H.jsx)(JI, {
+ /* @__PURE__ */ (0, H.jsx)(UI, {
term: "关注创作者",
figure: A.length,
unit: "位"
}),
- /* @__PURE__ */ (0, H.jsx)(JI, {
+ /* @__PURE__ */ (0, H.jsx)(UI, {
term: "启用来源",
figure: M,
unit: `/ ${O.length}`
}),
- /* @__PURE__ */ (0, H.jsx)(JI, {
+ /* @__PURE__ */ (0, H.jsx)(UI, {
term: "检查失败",
figure: j,
unit: "个来源"
}),
- /* @__PURE__ */ (0, H.jsx)(JI, {
+ /* @__PURE__ */ (0, H.jsx)(UI, {
term: "未看更新",
figure: E.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, H.jsx)(JI, {
+ /* @__PURE__ */ (0, H.jsx)(UI, {
term: "JAV 订阅",
figure: ee,
unit: "位"
}),
- /* @__PURE__ */ (0, H.jsx)(JI, {
+ /* @__PURE__ */ (0, H.jsx)(UI, {
term: "未看新作",
figure: T.data?.unread || 0,
unit: "条"
@@ -46694,7 +46853,7 @@ function J_e(e) {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
- qI(t) && (u(t), k({ tab: t }));
+ HI(t) && (u(t), k({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
@@ -46703,7 +46862,7 @@ function J_e(e) {
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: KI.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(R_, {
+ children: VI.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(R_, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: e === "source" && N ? `${t}(${N})` : t
@@ -46712,7 +46871,7 @@ function J_e(e) {
/* @__PURE__ */ (0, H.jsx)(z_, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, H.jsx)(D_e, {
+ children: /* @__PURE__ */ (0, H.jsx)(W_e, {
data: E,
sort: p,
dir: h,
@@ -46745,7 +46904,7 @@ function J_e(e) {
/* @__PURE__ */ (0, H.jsxs)(z_, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, H.jsx)(Cge, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Bge, {
data: E,
credentials: D,
readOnly: o,
@@ -46753,7 +46912,7 @@ function J_e(e) {
openCredentials: () => {
u("source"), k({ tab: "source" });
}
- }), /* @__PURE__ */ (0, H.jsx)(Ege, {
+ }), /* @__PURE__ */ (0, H.jsx)(Uge, {
groups: E.author_aliases || [],
readOnly: o,
toast: r,
@@ -46764,7 +46923,7 @@ function J_e(e) {
/* @__PURE__ */ (0, H.jsx)(z_, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, H.jsx)(I_e, {
+ children: /* @__PURE__ */ (0, H.jsx)($_e, {
readOnly: o,
toast: r
})
@@ -46772,7 +46931,7 @@ function J_e(e) {
/* @__PURE__ */ (0, H.jsx)(z_, {
id: "wants",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, H.jsx)(q_e, {
+ children: /* @__PURE__ */ (0, H.jsx)(fve, {
readOnly: o,
toast: r,
cloudDownload: a
@@ -46781,7 +46940,7 @@ function J_e(e) {
/* @__PURE__ */ (0, H.jsx)(z_, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, H.jsx)(Fge, {
+ children: /* @__PURE__ */ (0, H.jsx)(Qge, {
data: D,
readOnly: o,
toast: r
@@ -46793,23 +46952,23 @@ function J_e(e) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var YI = () => /* @__PURE__ */ (0, H.jsx)("span", {
+var WI = () => /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function Y_e({ tag: e, actions: t }) {
+function mve({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": QM(t.online, e.cat),
+ "data-tag-cat": GM(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, H.jsx)(YI, {}),
+ /* @__PURE__ */ (0, H.jsx)(WI, {}),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -46821,23 +46980,23 @@ function Y_e({ tag: e, actions: t }) {
]
});
}
-function X_e({ groups: e, actions: t }) {
+function hve({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, H.jsxs)("section", {
"data-alpha-group": r,
- className: iT({
+ className: eT({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, H.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, H.jsx)(BC, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, H.jsx)(PC, { value: n.length })]
}), /* @__PURE__ */ (0, H.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, H.jsx)(Y_e, {
+ children: n.map((e) => /* @__PURE__ */ (0, H.jsx)(mve, {
tag: e,
actions: t
}, e.k))
@@ -46845,8 +47004,8 @@ function X_e({ groups: e, actions: t }) {
}, e))
});
}
-var Z_e = "\xA0";
-function Q_e({ tags: e, actions: t }) {
+var gve = "\xA0";
+function _ve({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -46854,11 +47013,11 @@ function Q_e({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": QM(t.online, e.cat),
+ "data-tag-cat": GM(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 + Z_e, /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [e.label + gve, /* @__PURE__ */ (0, H.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -46866,7 +47025,7 @@ function Q_e({ tags: e, actions: t }) {
}, e.k))
});
}
-var $_e = [[
+var vve = [[
"cloud",
"标签云",
"tags"
@@ -46875,16 +47034,16 @@ var $_e = [[
"字母表",
"text-aa"
]];
-function eve({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+function yve({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
return /* @__PURE__ */ (0, H.jsx)(gr, {
label: "标签筛选",
topLabel: "标签类型",
top: e.map(([e, r]) => /* @__PURE__ */ (0, H.jsxs)(vr, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : QM(n, e),
+ "data-tag-cat": e === "all" ? "all" : GM(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, H.jsx)(YI, {}), r]
+ children: [/* @__PURE__ */ (0, H.jsx)(WI, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsx)("span", {
@@ -46903,19 +47062,19 @@ function eve({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, H.jsx)(ug, {
+ /* @__PURE__ */ (0, H.jsx)(dg, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${EC}`,
- children: $_e.map(([e, t, n]) => {
- let r = kC(n);
- return /* @__PURE__ */ (0, H.jsx)(dg, {
+ className: `ml-auto ${bC}`,
+ children: vve.map(([e, t, n]) => {
+ let r = CC(n);
+ return /* @__PURE__ */ (0, H.jsx)(fg, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: DC,
+ className: xC,
children: /* @__PURE__ */ (0, H.jsx)("span", {
title: t,
className: "contents",
@@ -46927,13 +47086,13 @@ function eve({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function tve({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, H.jsxs)(WE, {
+function bve({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, H.jsxs)(BE, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, H.jsx)(rM, {
+ /* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, H.jsxs)("span", {
@@ -46965,7 +47124,7 @@ function tve({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var nve = [{
+var xve = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -46973,7 +47132,7 @@ var nve = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], XI = [{
+}], GI = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -46981,7 +47140,7 @@ var nve = [{
value: "online",
label: "在线",
symbol: "rss"
-}], rve = {
+}], Sve = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -47001,20 +47160,20 @@ var nve = [{
"layout-grid"
]]
};
-function ive({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, H.jsx)(CC, {
- "aria-label": `${LM[e]}索引版式`,
+function Cve({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, H.jsx)(_C, {
+ "aria-label": `${AM[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${wC}`,
- children: rve[UM(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = kC(n);
- return /* @__PURE__ */ (0, H.jsx)(dg, {
+ className: `flex-none max-board-narrow:order-3 ${vC}`,
+ children: Sve[IM(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = CC(n);
+ return /* @__PURE__ */ (0, H.jsx)(fg, {
value: e,
"aria-label": t,
- className: qie,
+ className: $ie,
children: /* @__PURE__ */ (0, H.jsx)("span", {
title: t,
className: "contents",
@@ -47024,8 +47183,8 @@ function ive({ kind: e, layout: t, onChange: n }) {
})
});
}
-var ave = kC("search");
-function ove({ label: e, value: t, onQuery: n }) {
+var wve = CC("search");
+function Tve({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, B.useState)(t), a = (0, B.useRef)(!1), o = (0, B.useRef)(void 0);
(0, B.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -47040,15 +47199,15 @@ function ove({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, H.jsx)(Mk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Ok, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, H.jsx)(Pk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Ak, {
type: "search",
- leadingIcon: ave,
+ leadingIcon: wve,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -47058,14 +47217,14 @@ function ove({ label: e, value: t, onQuery: n }) {
})
});
}
-function sve(e) {
- let [t, n] = (0, B.useState)(() => WM({
+function Eve(e) {
+ let [t, n] = (0, B.useState)(() => LM({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, B.useState)(e.layout), [a, o] = (0, B.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, B.useState)("any"), l = (0, B.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = LM[u], _ = u === "tags" && p === "online", v = u === "performers" && p === "online";
+ })), [r, i] = (0, B.useState)(e.layout), [a, o] = (0, B.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, B.useState)("any"), l = (0, B.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = AM[u], _ = u === "tags" && p === "online", v = u === "performers" && p === "online";
(0, B.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -47075,7 +47234,7 @@ function sve(e) {
...r
};
b(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, S = JM(GM(t)), C = bw({
+ }, S = VM(RM(t)), C = mw({
queryKey: S.queryKey,
queryFn: ({ pageParam: e, signal: t }) => S.queryFn({
pageParam: e,
@@ -47083,22 +47242,22 @@ function sve(e) {
}),
initialPageParam: 0,
getNextPageParam: S.getNextPageParam,
- placeholderData: y ? xw.keepPreviousData : void 0
- }), w = XM(C.data), T = !!C.hasNextPage && !C.isPlaceholderData, E = ZM(w.length, !!C.hasNextPage);
+ placeholderData: y ? hw.keepPreviousData : void 0
+ }), w = UM(C.data), T = !!C.hasNextPage && !C.isPlaceholderData, E = WM(w.length, !!C.hasNextPage);
(0, B.useLayoutEffect)(() => {
l.current && we(l.current);
}, [r]);
let D = (0, B.useMemo)(() => u === "tags" ? w.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [w, u]), O = (0, B.useMemo)(() => u === "tags" && m === "alphabet" ? tN(D, (t) => e.tagLabel(t)) : [], [
+ })) : [], [w, u]), O = (0, B.useMemo)(() => u === "tags" && m === "alphabet" ? JM(D, (t) => e.tagLabel(t)) : [], [
D,
m,
u
]), k = (t) => {
i(t), e.savePreference({ layout: t });
- }, A = u === "tags" ? /* @__PURE__ */ (0, H.jsx)(VC, {
- tabs: XI,
+ }, A = u === "tags" ? /* @__PURE__ */ (0, H.jsx)(FC, {
+ tabs: GI,
value: p,
label: "词表",
onChange: (e) => {
@@ -47108,15 +47267,15 @@ function sve(e) {
view: e === "online" ? "alphabet" : m
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, H.jsx)(VC, {
- tabs: XI,
+ }) : u === "performers" ? /* @__PURE__ */ (0, H.jsx)(FC, {
+ tabs: GI,
value: p,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), x({ scope: t });
}
- }) : UM(u) ? /* @__PURE__ */ (0, H.jsx)(VC, {
- tabs: nve,
+ }) : IM(u) ? /* @__PURE__ */ (0, H.jsx)(FC, {
+ tabs: xve,
value: u,
label: "公司类型",
onChange: (e) => x({ kind: e })
@@ -47133,7 +47292,7 @@ function sve(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, M = (_ ? BM : zM).filter(([e]) => e === "all" || Number(C.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, M = (_ ? NM : MM).filter(([e]) => e === "all" || Number(C.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, H.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -47148,12 +47307,12 @@ function sve(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: g
}),
- HM(u) ? /* @__PURE__ */ (0, H.jsx)("span", {
+ FM(u) ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: C.isPending ? "" : E
}) : null,
- HM(u) ? /* @__PURE__ */ (0, H.jsx)(ive, {
+ FM(u) ? /* @__PURE__ */ (0, H.jsx)(Cve, {
kind: u,
layout: r,
onChange: k
@@ -47162,7 +47321,7 @@ function sve(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, H.jsx)(ove, {
+ /* @__PURE__ */ (0, H.jsx)(Tve, {
label: `过滤${g}`,
value: f,
onQuery: (e) => {
@@ -47172,7 +47331,7 @@ function sve(e) {
]
}),
A,
- u === "tags" ? /* @__PURE__ */ (0, H.jsx)(eve, {
+ u === "tags" ? /* @__PURE__ */ (0, H.jsx)(yve, {
categories: M,
category: h,
online: _,
@@ -47197,8 +47356,8 @@ function sve(e) {
mode: m
}) }
});
- if (C.isError) return /* @__PURE__ */ (0, H.jsx)(kk, {
- icon: kC("search"),
+ if (C.isError) return /* @__PURE__ */ (0, H.jsx)(Tk, {
+ icon: CC("search"),
title: `没能读取${g}`,
actions: /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
@@ -47207,18 +47366,18 @@ function sve(e) {
}),
children: ce(C.error)
});
- if (!w.length) return /* @__PURE__ */ (0, H.jsx)(lve, {
+ if (!w.length) return /* @__PURE__ */ (0, H.jsx)(Ove, {
kind: u,
filtered: !!f || u === "tags" && h !== "all",
online: _ || v,
configurable: e.configurable
});
- if (v) return /* @__PURE__ */ (0, H.jsx)(oN, {
+ if (v) return /* @__PURE__ */ (0, H.jsx)($M, {
items: w,
layout: r,
props: e
});
- if (HM(u)) return /* @__PURE__ */ (0, H.jsx)(aN, {
+ if (FM(u)) return /* @__PURE__ */ (0, H.jsx)(QM, {
kind: u,
items: w,
layout: r,
@@ -47229,10 +47388,10 @@ function sve(e) {
picked: a,
press: j
};
- return m === "alphabet" ? /* @__PURE__ */ (0, H.jsx)(X_e, {
+ return m === "alphabet" ? /* @__PURE__ */ (0, H.jsx)(hve, {
groups: O,
actions: t
- }) : /* @__PURE__ */ (0, H.jsx)(Q_e, {
+ }) : /* @__PURE__ */ (0, H.jsx)(_ve, {
tags: D,
actions: t
});
@@ -47247,13 +47406,13 @@ function sve(e) {
disabled: C.isFetchingNextPage,
"aria-busy": C.isFetchingNextPage || void 0,
onClick: () => void C.fetchNextPage(),
- children: C.isFetchingNextPage ? /* @__PURE__ */ (0, H.jsx)(hT, {
+ children: C.isFetchingNextPage ? /* @__PURE__ */ (0, H.jsx)(dT, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, H.jsx)(tve, {
+ u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, H.jsx)(bve, {
count: a.size,
match: s,
onMatch: c,
@@ -47266,31 +47425,31 @@ function sve(e) {
]
});
}
-var cve = {
+var Dve = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function lve({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, H.jsx)(kk, {
- icon: kC("search"),
+function Ove({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, H.jsx)(Tk, {
+ icon: CC("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, H.jsx)(Qw, {
+ actions: /* @__PURE__ */ (0, H.jsx)(Jw, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : cve[e], a = /* @__PURE__ */ (0, H.jsx)(Qw, {
+ let i = n && e === "performers" ? "创作者" : Dve[e], a = /* @__PURE__ */ (0, H.jsx)(Jw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, H.jsx)(kk, {
- icon: kC(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, H.jsx)(Tk, {
+ icon: CC(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [r ? /* @__PURE__ */ (0, H.jsx)(J, {
variant: "primary",
@@ -47300,15 +47459,15 @@ function lve({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var ZI = {
+var KI = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, uve = (e) => ZI[e.junk_kind || "other"] || ZI.other;
-function dve(e) {
+}, kve = (e) => KI[e.junk_kind || "other"] || KI.other;
+function Ave(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -47319,21 +47478,21 @@ function dve(e) {
glyph: "check"
};
}
-var QI = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), fve = (e, t) => [
+var qI = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), jve = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function pve({ kind: e, view: t }) {
+function Mve({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function mve(e, t) {
- let n = await K(`/api/ads?${pve(e)}`, t);
+async function Nve(e, t) {
+ let n = await K(`/api/ads?${Mve(e)}`, t);
return {
...n,
items: n.items || []
@@ -47341,19 +47500,19 @@ async function mve(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function $I({ name: e }) {
+function JI({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-var eL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function hve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = e.junk_kind || "other", [f, p] = uve(e), m = String(e.name || ""), h = dve(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
- t.target.closest("[data-junk-actions]") || eL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var YI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function Pve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = e.junk_kind || "other", [f, p] = kve(e), m = String(e.name || ""), h = Ave(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
+ t.target.closest("[data-junk-actions]") || YI(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- if (t.stopPropagation(), eL(r, t)) {
+ if (t.stopPropagation(), YI(r, t)) {
t.preventDefault(), a.toggleSelection(e.id, t.shiftKey);
return;
}
@@ -47395,7 +47554,7 @@ function hve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, H.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, H.jsx)($I, { name: p }), /* @__PURE__ */ (0, H.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, H.jsx)(JI, { name: p }), /* @__PURE__ */ (0, H.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-media-art": "thumb",
@@ -47407,7 +47566,7 @@ function hve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, H.jsx)($I, { name: "check" })
+ children: /* @__PURE__ */ (0, H.jsx)(JI, { name: "check" })
})
]
}),
@@ -47444,7 +47603,7 @@ function hve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: w("正在定位") }
- }) : /* @__PURE__ */ (0, H.jsx)($I, { name: "folder-open" }), /* @__PURE__ */ (0, H.jsx)("span", {
+ }) : /* @__PURE__ */ (0, H.jsx)(JI, { name: "folder-open" }), /* @__PURE__ */ (0, H.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -47456,7 +47615,7 @@ function hve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...S(h.operation),
onClick: x(h.operation),
- children: [/* @__PURE__ */ (0, H.jsx)($I, { name: h.glyph }), /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [/* @__PURE__ */ (0, H.jsx)(JI, { name: h.glyph }), /* @__PURE__ */ (0, H.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -47468,7 +47627,7 @@ function hve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, H.jsx)($I, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [/* @__PURE__ */ (0, H.jsx)(JI, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -47483,7 +47642,7 @@ function hve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var gve = (0, B.memo)(hve), tL = [
+var Fve = (0, B.memo)(Pve), XI = [
[
"",
"全部",
@@ -47520,53 +47679,53 @@ var gve = (0, B.memo)(hve), tL = [
"hard-drive"
]
];
-function nL(e = "", t = "pending") {
+function ZI(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 _ve(e) {
+function Ive(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: nL("", "pending")
+ href: ZI("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: nL("", "dismissed")
+ href: ZI("", "dismissed")
};
}
-var vve = (e) => e === "dismissed" ? "已排除" : "待判断";
+var Lve = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function rL({ name: e }) {
+function QI({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-function iL({ scope: e, count: t }) {
+function $I({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [" ", /* @__PURE__ */ (0, H.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function yve({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = uT(), a = (0, B.useRef)(null), { kind: o, view: s } = e, c = Sr(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? tL.map(([e]) => QI(t, e)).join(",") : ""}`), l = _ve(s), u = (e) => {
+function Rve({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = oT(), a = (0, B.useRef)(null), { kind: o, view: s } = e, c = Sr(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? XI.map(([e]) => qI(t, e)).join(",") : ""}`), l = Ive(s), u = (e) => {
let t = e.target.closest("a");
- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || nL()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || ZI()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, H.jsx)(eP, {
- label: vve(s),
+ children: /* @__PURE__ */ (0, H.jsx)(WN, {
+ label: Lve(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -47586,17 +47745,17 @@ function yve({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- tL.map(([e, n, r]) => /* @__PURE__ */ (0, H.jsxs)("a", {
- href: nL(e, s),
+ XI.map(([e, n, r]) => /* @__PURE__ */ (0, H.jsxs)("a", {
+ href: ZI(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, H.jsx)(rL, { name: r }),
+ /* @__PURE__ */ (0, H.jsx)(QI, { name: r }),
n,
- /* @__PURE__ */ (0, H.jsx)(iL, {
+ /* @__PURE__ */ (0, H.jsx)($I, {
scope: e,
- count: t ? QI(t, e) : 0
+ count: t ? qI(t, e) : 0
})
]
}, e || "all")),
@@ -47610,9 +47769,9 @@ function yve({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-current": s === "dismissed" ? "page" : void 0,
onPointerEnter: s === "dismissed" ? void 0 : c.hover,
children: [
- /* @__PURE__ */ (0, H.jsx)(rL, { name: l.glyph }),
+ /* @__PURE__ */ (0, H.jsx)(QI, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, H.jsx)(iL, {
+ /* @__PURE__ */ (0, H.jsx)($I, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -47625,33 +47784,33 @@ function yve({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var bve = kC("check"), xve = (e, t) => e[1] === t.view && e[2] === t.kind;
-function Sve(e) {
+var zve = CC("check"), Bve = (e, t) => e[1] === t.view && e[2] === t.kind;
+function Vve(e) {
let t = {
kind: e.kind,
view: e.view
- }, n = gw({
- queryKey: fve(t, e.revision),
- queryFn: ({ signal: e }) => mve(t, e),
- placeholderData: (e, n) => n && xve(n.queryKey, t) ? e : void 0
+ }, n = uw({
+ queryKey: jve(t, e.revision),
+ queryFn: ({ signal: e }) => Nve(t, e),
+ placeholderData: (e, n) => n && Bve(n.queryKey, t) ? e : void 0
});
(0, B.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = Cve(e.countRow), i = n.isPending;
+ let r = Hve(e.countRow), i = n.isPending;
(0, B.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, B.useLayoutEffect)(() => {
r && n.data && h(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(yve, {
+ let { navigate: a } = e.actions, o = r ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(Rve, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [o, /* @__PURE__ */ (0, H.jsx)(wve, {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [o, /* @__PURE__ */ (0, H.jsx)(Uve, {
props: e,
data: n.data,
pending: i,
@@ -47659,7 +47818,7 @@ function Sve(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function Cve(e) {
+function Hve(e) {
let [t, n] = (0, B.useState)(null);
return (0, B.useLayoutEffect)(() => {
if (!e) return;
@@ -47669,8 +47828,8 @@ function Cve(e) {
};
}, [e]), t;
}
-function wve({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = rA(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, B.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, B.useCallback)(() => {
+function Uve({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = tA(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, B.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, B.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, H.jsxs)("div", {
@@ -47678,14 +47837,14 @@ function wve({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, H.jsx)(iA, {
+ if (!t) return /* @__PURE__ */ (0, H.jsx)(nA, {
message: ce(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, H.jsx)(kk, {
- icon: bve,
+ return /* @__PURE__ */ (0, H.jsx)(Tk, {
+ icon: zve,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -47694,7 +47853,7 @@ function wve({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, H.jsx)(gve, {
+ children: u.map((t) => /* @__PURE__ */ (0, H.jsx)(Fve, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -47702,11 +47861,11 @@ function wve({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), u.length < l.length ? /* @__PURE__ */ (0, H.jsx)(Tve, { onMore: f }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, H.jsx)(Wve, { onMore: f }, s) : null] });
})()]
});
}
-function Tve({ onMore: e }) {
+function Wve({ onMore: e }) {
let t = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
let n = t.current;
@@ -47724,32 +47883,32 @@ function Tve({ onMore: e }) {
}
//#endregion
//#region src/react/playlists/playlists.ts
-var Eve = "/api/playlists", aL = "/api/playlist", oL = ["playlists"], sL = (e) => K(Eve, e);
-async function Dve(e) {
+var Gve = "/api/playlists", eL = "/api/playlist", tL = ["playlists"], nL = (e) => K(Gve, e);
+async function Kve(e) {
await z.fetchQuery({
- queryKey: oL,
- queryFn: () => sL(e),
+ queryKey: tL,
+ queryFn: () => nL(e),
staleTime: 0
});
}
-var cL = () => z.invalidateQueries({
- queryKey: oL,
+var rL = () => z.invalidateQueries({
+ queryKey: tL,
exact: !0
-}), Ove = (e) => e.current_asset_id || e.preview_asset_id || null, lL = (e) => `/poster?id=${e}&c=4`, kve = (e) => q(aL, {
+}), qve = (e) => e.current_asset_id || e.preview_asset_id || null, iL = (e) => `/poster?id=${e}&c=4`, Jve = (e) => q(eL, {
action: "create",
name: e,
asset_ids: []
-}), uL = (e, t) => q(aL, {
+}), aL = (e, t) => q(eL, {
action: "rename",
id: e,
name: t
-}), dL = (e) => q(aL, {
+}), oL = (e) => q(eL, {
action: "delete",
id: e
-}), Ave = (e) => K(`${aL}?id=${e}`).catch(() => null);
-function jve(e) {
+}), Yve = (e) => K(`${eL}?id=${e}`).catch(() => null);
+function Xve(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return q(aL, {
+ return q(eL, {
action: "create",
name: e.name,
asset_ids: t,
@@ -47759,18 +47918,18 @@ function jve(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var Mve = kC("ellipsis"), Nve = kC("pencil"), Pve = kC("trash"), Fve = kC("playlist"), fL = dr(nT, rT, "text-body-2-medium"), pL = "播放列表名称不能为空", mL = (e) => async () => {
+var Zve = CC("ellipsis"), Qve = CC("pencil"), $ve = CC("trash"), eye = CC("playlist"), sL = dr(Qw, $w, "text-body-2-medium"), cL = "播放列表名称不能为空", lL = (e) => async () => {
try {
await e();
} finally {
- cL();
+ rL();
}
};
-function Ive({ toast: e }) {
- let [t, n] = (0, B.useState)(""), [r, i] = (0, B.useState)(""), a = yw({
- mutationFn: (e) => kve(e),
+function tye({ toast: e }) {
+ let [t, n] = (0, B.useState)(""), [r, i] = (0, B.useState)(""), a = pw({
+ mutationFn: (e) => Jve(e),
onSuccess: (t) => {
- n(""), i(""), cL(), e("已新建播放列表", { undo: mL(() => dL(t.playlist.id)) });
+ n(""), i(""), rL(), e("已新建播放列表", { undo: lL(() => oL(t.playlist.id)) });
},
onError: (e) => i(G(e) || "新建失败")
});
@@ -47780,7 +47939,7 @@ function Ive({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(pL);
+ i(cL);
return;
}
a.mutate(t);
@@ -47789,7 +47948,7 @@ function Ive({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, H.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, H.jsx)(Fk, {
+ children: /* @__PURE__ */ (0, H.jsx)(jk, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -47808,7 +47967,7 @@ function Ive({ toast: e }) {
})]
});
}
-function Lve({ target: e, close: t, toast: n }) {
+function nye({ target: e, close: t, toast: n }) {
let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(""), s = (0, B.useRef)(null);
(0, B.useEffect)(() => {
if (!e) return;
@@ -47818,14 +47977,14 @@ function Lve({ target: e, close: t, toast: n }) {
});
return () => cancelAnimationFrame(t);
}, [e]);
- let c = yw({
- mutationFn: ({ row: e, value: t }) => uL(e.id, t),
+ let c = pw({
+ mutationFn: ({ row: e, value: t }) => aL(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), cL(), n("已重命名播放列表", { undo: mL(() => uL(r.id, r.name)) });
+ t(), rL(), n("已重命名播放列表", { undo: lL(() => aL(r.id, r.name)) });
},
onError: (e) => o(G(e))
});
- return /* @__PURE__ */ (0, H.jsx)(MN, {
+ return /* @__PURE__ */ (0, H.jsx)(SN, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -47837,7 +47996,7 @@ function Lve({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(pL);
+ o(cL);
return;
}
c.mutate({
@@ -47852,7 +48011,7 @@ function Lve({ target: e, close: t, toast: n }) {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, H.jsx)(Fk, {
+ }), /* @__PURE__ */ (0, H.jsx)(jk, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -47880,7 +48039,7 @@ function Lve({ target: e, close: t, toast: n }) {
})
});
}
-function Rve({ name: e, onRename: t, onDelete: n }) {
+function rye({ name: e, onRename: t, onDelete: n }) {
let r = (0, B.useRef)(null), [i, a] = (0, B.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -47894,7 +48053,7 @@ function Rve({ 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, H.jsx)(Mve, {
+ children: /* @__PURE__ */ (0, H.jsx)(Zve, {
"aria-hidden": !0,
className: "size-4.5"
})
@@ -47904,23 +48063,23 @@ function Rve({ name: e, onRename: t, onDelete: n }) {
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: tT,
- children: /* @__PURE__ */ (0, H.jsxs)(Xw, {
+ className: Zw,
+ children: /* @__PURE__ */ (0, H.jsxs)(Kw, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
- className: fL,
+ className: sL,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, H.jsx)(Nve, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Qve, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
- className: fL,
+ className: sL,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, H.jsx)(Pve, {
+ children: [/* @__PURE__ */ (0, H.jsx)($ve, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -47928,13 +48087,13 @@ function Rve({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function zve({ openPlaylist: e, openEntity: t, canFlip: n, toast: i, revision: a }) {
- let o = gw({
- queryKey: oL,
- queryFn: ({ signal: e }) => sL(e)
+function iye({ openPlaylist: e, openEntity: t, canFlip: n, toast: i, revision: a }) {
+ let o = uw({
+ queryKey: tL,
+ queryFn: ({ signal: e }) => nL(e)
}), [s, c] = (0, B.useState)(null), l = (0, B.useRef)(a);
(0, B.useEffect)(() => {
- l.current !== a && (l.current = a, cL());
+ l.current !== a && (l.current = a, rL());
}, [a]);
let u = o.data;
if (!u) return /* @__PURE__ */ (0, H.jsx)("div", {
@@ -47952,8 +48111,8 @@ function zve({ openPlaylist: e, openEntity: t, canFlip: n, toast: i, revision: a
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await Ave(e.id);
- await dL(e.id), cL(), i("已删除播放列表", t ? { undo: mL(() => jve(t)) } : void 0);
+ let t = await Yve(e.id);
+ await oL(e.id), rL(), i("已删除播放列表", t ? { undo: lL(() => Xve(t)) } : void 0);
}
});
};
@@ -47968,38 +48127,38 @@ function zve({ openPlaylist: e, openEntity: t, canFlip: n, toast: i, revision: a
}), /* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, H.jsx)(Ive, { toast: i })]
+ })] }), /* @__PURE__ */ (0, H.jsx)(tye, { toast: i })]
}),
d.length ? /* @__PURE__ */ (0, H.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: d.map((r) => {
- let i = Ove(r);
- return /* @__PURE__ */ (0, H.jsx)(bA, {
+ let i = qve(r);
+ return /* @__PURE__ */ (0, H.jsx)(hA, {
"data-playlist-card": String(r.id),
name: r.name,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? lL(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(lL),
+ poster: r.preview_asset_id ? iL(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map(iL),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${r.name}`,
- menu: /* @__PURE__ */ (0, H.jsx)(Rve, {
+ menu: /* @__PURE__ */ (0, H.jsx)(rye, {
name: r.name,
onRename: () => c(r),
onDelete: () => f(r)
})
}, r.id);
})
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
- icon: Fve,
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
+ icon: eye,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, H.jsx)(Lve, {
+ /* @__PURE__ */ (0, H.jsx)(nye, {
target: s,
close: () => c(null),
toast: i
@@ -48009,11 +48168,11 @@ function zve({ openPlaylist: e, openEntity: t, canFlip: n, toast: i, revision: a
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function Bve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function aye({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let o = () => t(e.id);
return /* @__PURE__ */ (0, H.jsxs)("li", {
"data-goal-id": e.id,
- className: iT({
+ className: eT({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -48029,7 +48188,7 @@ function Bve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, H.jsx)("img", {
- src: Dde(e),
+ src: zde(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -48087,38 +48246,38 @@ function Bve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
})]
});
}
-function Vve(e) {
- let t = gw({
- queryKey: zA,
- queryFn: ({ signal: e }) => BA(e)
+function oye(e) {
+ let t = uw({
+ queryKey: PA,
+ queryFn: ({ signal: e }) => FA(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ if (!n) return /* @__PURE__ */ (0, H.jsx)(Ek, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "高清版目标读取失败",
children: t.error ? G(t.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [/* @__PURE__ */ (0, H.jsx)(eP, {
+ return r.length ? /* @__PURE__ */ (0, H.jsxs)(Ek, { children: [/* @__PURE__ */ (0, H.jsx)(WN, {
label: "待升级",
figure: `${n.total} 部作品`,
flush: !0
}), /* @__PURE__ */ (0, H.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, H.jsx)(Bve, {
+ children: r.map((t) => /* @__PURE__ */ (0, H.jsx)(aye, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(kk, {
+ })] }) : /* @__PURE__ */ (0, H.jsx)(Ek, { children: /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: foe,
+ icon: Coe,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function Hve(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 = Rde(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function sye(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 = Xde(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -48126,29 +48285,29 @@ function Hve(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(Lk, {
+ /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, H.jsxs)(Lk, {
+ i.length > 1 ? /* @__PURE__ */ (0, H.jsxs)(Nk, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Pk, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ }), i.map((e) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -48156,7 +48315,7 @@ function Hve(e) {
/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: Fw,
+ leadingIcon: kw,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -48167,12 +48326,12 @@ function Hve(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), /* @__PURE__ */ (0, H.jsxs)(WE, {
+ }), /* @__PURE__ */ (0, H.jsxs)(BE, {
label: "复核所选项目",
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, H.jsxs)(Lk, {
+ b ? /* @__PURE__ */ (0, H.jsxs)(Nk, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -48180,10 +48339,10 @@ function Hve(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Pk, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ }), y.map((e) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e,
children: e
}, e))]
@@ -48219,7 +48378,7 @@ function Hve(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var Uve = {
+var cye = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -48229,14 +48388,14 @@ var Uve = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, hL = "reviewgenretags";
-function Wve({ tags: e }) {
+}, uL = "reviewgenretags";
+function lye({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)("datalist", {
- id: hL,
+ id: uL,
children: e.map((e) => /* @__PURE__ */ (0, H.jsx)("option", { value: e }, e))
}) : null;
}
-function gL({ candidate: e, selectable: t = !1 }) {
+function dL({ 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, H.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -48273,7 +48432,7 @@ function gL({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, H.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: Uve[e] || e
+ children: cye[e] || e
}),
/* @__PURE__ */ (0, H.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -48288,36 +48447,36 @@ function gL({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function Gve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function uye({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, H.jsx)(gL, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, H.jsx)(ug, {
+ children: /* @__PURE__ */ (0, H.jsx)(dL, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, H.jsx)(dg, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, H.jsx)(dg, {
+ children: a.map((e) => /* @__PURE__ */ (0, H.jsx)(fg, {
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, H.jsx)(gL, {
+ children: /* @__PURE__ */ (0, H.jsx)(dL, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function Kve({ genre: e, tags: t, locked: n, toast: r }) {
- let [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), c = yw({
- mutationFn: (t) => Kde(e, t),
+function dye({ genre: e, tags: t, locked: n, toast: r }) {
+ let [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), c = pw({
+ mutationFn: (t) => ife(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Jde();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await ofe();
},
onError: (e) => s(G(e))
}), l = () => {
@@ -48336,16 +48495,16 @@ function Kve({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, H.jsx)(Mk, {
+ /* @__PURE__ */ (0, H.jsx)(Ok, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, H.jsx)(Pk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Ak, {
size: "small",
- list: t.length ? hL : void 0,
+ list: t.length ? uL : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -48377,8 +48536,8 @@ function Kve({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function qve({ row: e, tags: t, locked: n, toast: r }) {
- let i = Ude(e);
+function fye({ row: e, tags: t, locked: n, toast: r }) {
+ let i = tfe(e);
return i.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -48386,7 +48545,7 @@ function qve({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, H.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, H.jsx)(Kve, {
+ }), i.map((e) => /* @__PURE__ */ (0, H.jsx)(dye, {
genre: e,
tags: t,
locked: n,
@@ -48396,9 +48555,9 @@ function qve({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var _L = (e = "") => /^https?:\/\//i.test(e) ? e : "", Jve = (e = "") => _L(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function vL({ url: e }) {
- let t = Jve(e || ""), [n, r] = (0, B.useState)(!1);
+var fL = (e = "") => /^https?:\/\//i.test(e) ? e : "", pye = (e = "") => fL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function pL({ url: e }) {
+ let t = pye(e || ""), [n, r] = (0, B.useState)(!1);
return /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, H.jsx)("img", {
@@ -48413,7 +48572,7 @@ function vL({ url: e }) {
})
});
}
-function yL({ asset: e, openItem: t }) {
+function mL({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -48439,21 +48598,21 @@ function yL({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: ooe,
+ leadingIcon: goe,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function Yve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function mye({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${NI}`,
+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${CI}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -48469,8 +48628,8 @@ function Yve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function Xve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = _L(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function hye({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = fL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, H.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -48480,10 +48639,10 @@ function Xve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, H.jsx)(Qw, {
+ children: [o ? /* @__PURE__ */ (0, H.jsx)(Jw, {
variant: "secondary",
size: "small",
- trailingIcon: Bw,
+ trailingIcon: Fw,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -48495,7 +48654,7 @@ function Xve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, H.jsx)(vL, { url: e.preview_url }),
+ /* @__PURE__ */ (0, H.jsx)(pL, { url: e.preview_url }),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -48538,7 +48697,7 @@ function Xve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function Zve({ assets: e, picked: t, onPicked: n, locked: r }) {
+function gye({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, B.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -48594,7 +48753,7 @@ function Zve({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, H.jsx)(nM, {
+ children: /* @__PURE__ */ (0, H.jsx)(Zj, {
size: "sm",
state: {
isSelected: n,
@@ -48614,19 +48773,19 @@ function Zve({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var Qve = iT({
+var _ye = eT({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), bL = "flex min-h-6 min-w-0 items-center", $ve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function eye(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, B.useRef)(!1), m = uT(), h = uT(), g = t === "metadata_fields", _ = Pde[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Bde(t, n), x = ZA(t, n), S = XA(t, n), C = Vde(n), w = Hde(n), T = YA(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, H.jsx)("div", {
+}), hL = "flex min-h-6 min-w-0 items-center", vye = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function yye(e) {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, B.useRef)(!1), m = oT(), h = oT(), g = t === "metadata_fields", _ = Kde[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Qde(t, n), x = KA(t, n), S = GA(t, n), C = $de(n), w = efe(n), T = WA(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, H.jsx)(yL, {
+ children: E.map((e) => /* @__PURE__ */ (0, H.jsx)(mL, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, H.jsx)(Yve, {
+ }) : y ? /* @__PURE__ */ (0, H.jsx)(mye, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -48637,14 +48796,14 @@ function eye(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, H.jsx)(yL, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, H.jsx)(mL, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, A = g ? /* @__PURE__ */ (0, H.jsx)(Gve, {
+ }) : null, A = g ? /* @__PURE__ */ (0, H.jsx)(uye, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -48653,7 +48812,7 @@ function eye(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, H.jsx)(Zve, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, H.jsx)(gye, {
assets: D,
picked: r.assets,
locked: s,
@@ -48661,21 +48820,21 @@ function eye(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "inset",
- icon: toe,
+ icon: doe,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, H.jsx)(Xve, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, H.jsx)(hye, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, H.jsx)(vL, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, H.jsxs)("h4", {
- className: `${bL} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, H.jsx)(Ok, {
+ }) : /* @__PURE__ */ (0, H.jsx)(pL, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, H.jsxs)("h4", {
+ className: `${hL} flex-wrap gap-2`,
+ children: [/* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: "blue",
children: x
@@ -48685,7 +48844,7 @@ function eye(e) {
children: S
})]
}) : /* @__PURE__ */ (0, H.jsx)("h4", {
- className: bL,
+ className: hL,
children: /* @__PURE__ */ (0, H.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -48695,20 +48854,20 @@ function eye(e) {
return /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${Qve} ${$ve(t)} overflow-hidden`,
+ className: `${_ye} ${vye(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, H.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, H.jsx)("span", {
- className: `${bL} shrink-0`,
+ className: `${hL} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, H.jsx)(rM, {
+ children: /* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -48718,7 +48877,7 @@ function eye(e) {
className: "min-w-0 flex-1",
children: j
}),
- O ? /* @__PURE__ */ (0, H.jsx)(Ok, {
+ O ? /* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -48742,7 +48901,7 @@ function eye(e) {
!y && k ? k : null,
w.length || t === "creator_tags" ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: w.length ? w.map((e) => /* @__PURE__ */ (0, H.jsx)(Ok, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, H.jsx)(wk, {
variant: "caption",
color: "soft",
children: e
@@ -48752,7 +48911,7 @@ function eye(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, H.jsx)(qve, {
+ /* @__PURE__ */ (0, H.jsx)(fye, {
row: n,
tags: u,
locked: s,
@@ -48814,8 +48973,8 @@ function eye(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var tye = "flex cursor-pointer items-center justify-between gap-2";
-function nye({ page: e, pages: t, onPage: n }) {
+var bye = "flex cursor-pointer items-center justify-between gap-2";
+function xye({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, H.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -48829,7 +48988,7 @@ function nye({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, H.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: VA(e, t).map((t, r) => /* @__PURE__ */ (0, H.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, H.jsx)("span", {
+ children: IA(e, t).map((t, r) => /* @__PURE__ */ (0, H.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -48852,48 +49011,48 @@ function nye({ page: e, pages: t, onPage: n }) {
]
});
}
-function rye(e) {
+function Sye(e) {
let [t, n] = (0, B.useState)(() => matchMedia("(max-width:900px)").matches);
(0, B.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, B.useState)(qA(e.category) ? e.category : Nde), [p, m] = (0, B.useState)("candidates"), [h, g] = (0, B.useState)(""), [_, v] = (0, B.useState)(1), [y, b] = (0, B.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, B.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, B.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, B.useState)(""), D = (0, B.useRef)(null), [O, k] = (0, B.useState)(0), [A, j] = (0, B.useState)(""), M = (0, B.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, B.useState)(HA(e.category) ? e.category : Gde), [p, m] = (0, B.useState)("candidates"), [h, g] = (0, B.useState)(""), [_, v] = (0, B.useState)(1), [y, b] = (0, B.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, B.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, B.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, B.useState)(""), D = (0, B.useRef)(null), [O, k] = (0, B.useState)(0), [A, j] = (0, B.useState)(""), M = (0, B.useRef)(!0);
(0, B.useEffect)(() => () => {
M.current = !1;
}, []);
- let N = gw({
- queryKey: GA,
- queryFn: ({ signal: e }) => $A(e)
+ let N = uw({
+ queryKey: BA,
+ queryFn: ({ signal: e }) => JA(e)
}).data || {
sections: {},
counts: {}
- }, ee = N.sections[d] || [], te = d === "metadata_fields", P = c, F = Fde(ee, te), ne = F.some(([e]) => e === p) ? p : "candidates", I = JA(ee, ne), re = I.some((e) => e.key === h) ? h : "", L = Lde(Ide(ee, ne, re), _), ie = L.rows.map((e) => e.item_key), ae = new Set(ie), oe = I.map((e) => ({
+ }, ee = N.sections[d] || [], te = d === "metadata_fields", P = c, F = qde(ee, te), ne = F.some(([e]) => e === p) ? p : "candidates", I = UA(ee, ne), re = I.some((e) => e.key === h) ? h : "", L = Yde(Jde(ee, ne, re), _), ie = L.rows.map((e) => e.item_key), ae = new Set(ie), oe = I.map((e) => ({
...e,
rows: e.rows.filter((e) => ae.has(e.item_key))
- })).filter((e) => e.rows.length), se = (e) => x.get(e.item_key) || Wde(e), ce = ee.filter((e) => y.has(e.item_key)), le = (e) => {
+ })).filter((e) => e.rows.length), se = (e) => x.get(e.item_key) || nfe(e), ce = ee.filter((e) => y.has(e.item_key)), le = (e) => {
let t = new Set(e);
b((e) => new Set([...e].filter((e) => !t.has(e)))), S((e) => new Map([...e].filter(([e]) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, R = (e, t) => w((n) => new Map(n).set(e, t)), ue = (e) => {
f(e), m("candidates"), g(""), v(1), b(/* @__PURE__ */ new Set()), S(/* @__PURE__ */ new Map()), w(/* @__PURE__ */ new Map()), E(""), D.current = null, r({ category: e === "metadata_fields" ? "" : e });
- }, de = yw({
- mutationFn: ({ row: e, status: t }) => ej(QA(d, e, t, se(e))),
+ }, de = pw({
+ mutationFn: ({ row: e, status: t }) => YA(qA(d, e, t, se(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
R(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- tj(d, [t.item_key]), le([t.item_key]), s(Gde(n));
+ XA(d, [t.item_key]), le([t.item_key]), s(rfe(n));
},
onError: (e, { row: t }) => R(t.item_key, G(e))
- }), fe = yw({
+ }), fe = pw({
mutationFn: async (e) => {
let t = ce, n = [], r = [];
for (let [i, a] of t.entries()) {
if (!M.current) break;
E(`正在处理 ${i} / ${t.length}`);
try {
- let t = await ej(QA(d, a, e, se(a)));
+ let t = await YA(qA(d, a, e, se(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -48907,7 +49066,7 @@ function rye(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- tj(d, t), le(t), n.forEach(([e, t]) => R(e, t)), E(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ XA(d, t), le(t), n.forEach(([e, t]) => R(e, t)), E(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
E(G(e));
@@ -48937,7 +49096,7 @@ function rye(e) {
k(e), j("");
let t = await o(e);
M.current && (k(0), j(t));
- }, ge = Yde(N.mirror, l), _e = N.genre_tags || [], ve = {
+ }, ge = sfe(N.mirror, l), _e = N.genre_tags || [], ve = {
openItem: i,
openEntity: a,
onReveal: he,
@@ -48945,7 +49104,7 @@ function rye(e) {
revealNote: A,
toast: s
};
- return /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsxs)("div", {
+ return /* @__PURE__ */ (0, H.jsx)(Ek, { children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
P ? /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -48961,13 +49120,13 @@ function rye(e) {
}) : void 0,
children: ge
}) : null,
- /* @__PURE__ */ (0, H.jsx)(Wve, { tags: _e }),
+ /* @__PURE__ */ (0, H.jsx)(lye, { tags: _e }),
/* @__PURE__ */ (0, H.jsxs)(I_, {
orientation: t ? "horizontal" : "vertical",
selectedKey: d,
onSelectionChange: (e) => {
let t = String(e);
- qA(t) && ue(t);
+ HA(t) && ue(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -48980,12 +49139,12 @@ function rye(e) {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: Mde.map((e) => {
+ children: Wde.map((e) => {
let t = Number(N.counts[e] || 0);
return /* @__PURE__ */ (0, H.jsxs)(R_, {
id: e,
- className: tye,
- children: [KA[e], t ? /* @__PURE__ */ (0, H.jsx)("span", {
+ className: bye,
+ children: [VA[e], t ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
@@ -48996,7 +49155,7 @@ function rye(e) {
id: d,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- ee.length && !P ? /* @__PURE__ */ (0, H.jsx)(Hve, {
+ ee.length && !P ? /* @__PURE__ */ (0, H.jsx)(sye, {
groupOptions: F,
groupBy: ne,
onGroupBy: (e) => {
@@ -49012,7 +49171,7 @@ function rye(e) {
onSelected: b,
selectedRows: ce,
metadata: te,
- approvable: ce.every((e) => YA(d, e)),
+ approvable: ce.every((e) => WA(d, e)),
busy: fe.isPending,
feedback: T,
onUnifySource: me,
@@ -49037,7 +49196,7 @@ function rye(e) {
})]
}) : null, /* @__PURE__ */ (0, H.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, H.jsx)(eye, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, H.jsx)(yye, {
category: d,
row: e,
choice: se(e),
@@ -49045,7 +49204,7 @@ function rye(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => b((r) => {
let i = new Set(r);
- return D.current = zde(i, ie, D.current, e.item_key, t, n), i;
+ return D.current = Zde(i, ie, D.current, e.item_key, t, n), i;
}),
locked: P,
busy: de.isPending && de.variables?.row.item_key === e.item_key,
@@ -49060,12 +49219,12 @@ function rye(e) {
handlers: ve
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, H.jsx)(kk, {
- icon: Xae,
+ }, e.key)) : /* @__PURE__ */ (0, H.jsx)(Tk, {
+ icon: roe,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, H.jsx)(nye, {
+ /* @__PURE__ */ (0, H.jsx)(xye, {
page: L.page,
pages: L.pages,
onPage: v
@@ -49078,30 +49237,30 @@ function rye(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var iye = "/api/scraping", aye = "/api/scraping/settings", oye = "/api/scraping/check", xL = "/api/scraping/cover", sye = "/api/scraping/amane-bridge", cye = "/api/scraping/amane-bridge/check", lye = "/api/scraping/amane-bridge/rebuild", SL = ["scraping"], CL = ["scraping", "cover"], wL = ["scraping", "amane-bridge"], TL = (e) => K(iye, e), EL = (e) => K(xL, e), DL = (e) => K(sye, e);
-async function uye(e) {
+var Cye = "/api/scraping", wye = "/api/scraping/settings", Tye = "/api/scraping/check", gL = "/api/scraping/cover", Eye = "/api/scraping/amane-bridge", Dye = "/api/scraping/amane-bridge/check", Oye = "/api/scraping/amane-bridge/rebuild", _L = ["scraping"], vL = ["scraping", "cover"], yL = ["scraping", "amane-bridge"], bL = (e) => K(Cye, e), xL = (e) => K(gL, e), SL = (e) => K(Eye, e);
+async function kye(e) {
await Promise.all([
z.fetchQuery({
- queryKey: SL,
- queryFn: () => TL(e)
+ queryKey: _L,
+ queryFn: () => bL(e)
}),
z.fetchQuery({
- queryKey: CL,
- queryFn: () => EL(e)
+ queryKey: vL,
+ queryFn: () => xL(e)
}),
z.fetchQuery({
- queryKey: wL,
- queryFn: () => DL(e)
+ queryKey: yL,
+ queryFn: () => SL(e)
})
]);
}
-function dye(e, t) {
+function Aye(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 fye = [["peach", "Peach 代理"], ["direct", "直接连接"]], OL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function kL({ source: e }) {
+var jye = [["peach", "Peach 代理"], ["direct", "直接连接"]], CL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function wL({ source: e }) {
let t = [
"javten",
"fc2ppvdb",
@@ -49119,16 +49278,16 @@ function kL({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function pye() {
- return /* @__PURE__ */ (0, H.jsx)(kL, { source: "github" });
+function Mye() {
+ return /* @__PURE__ */ (0, H.jsx)(wL, { source: "github" });
}
-function mye({ source: e, toast: t }) {
- let [n, r] = (0, B.useState)(e.network), [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(OL[0][0]), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), m = (0, B.useRef)(null);
+function Nye({ source: e, toast: t }) {
+ let [n, r] = (0, B.useState)(e.network), [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(CL[0][0]), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), m = (0, B.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
- let g = yw({
- mutationFn: (t) => q(aye, {
+ let g = pw({
+ mutationFn: (t) => q(wye, {
source: e.source,
network: n,
cookie: i,
@@ -49136,12 +49295,12 @@ function mye({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- z.setQueryData(SL, (t) => t && {
+ z.setQueryData(_L, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = yw({ mutationFn: () => q(oye, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = pw({ mutationFn: () => q(Tye, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -49166,43 +49325,43 @@ function mye({ source: e, toast: t }) {
}
}
let C = f || (g.error ? G(g.error) : "") || (_.error ? G(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, H.jsx)(kL, { source: e.source }), /* @__PURE__ */ (0, H.jsx)(kT, {
+ children: [/* @__PURE__ */ (0, H.jsx)(wL, { source: e.source }), /* @__PURE__ */ (0, H.jsx)(TT, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, H.jsxs)(CT, { children: [/* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsxs)(yT, { children: [/* @__PURE__ */ (0, H.jsx)(_T, {
label: "来源性质",
children: e.nature || "公开页面"
- }), /* @__PURE__ */ (0, H.jsx)(xT, {
+ }), /* @__PURE__ */ (0, H.jsx)(_T, {
label: "连接方式",
- children: /* @__PURE__ */ (0, H.jsx)(Lk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: fye.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: jye.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e,
children: t
}, e))
})
})] }),
- T ? /* @__PURE__ */ (0, H.jsxs)(wT, {
+ T ? /* @__PURE__ */ (0, H.jsxs)(bT, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, H.jsx)(eT, {
+ children: /* @__PURE__ */ (0, H.jsx)(Xw, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: Mw,
+ trailingIcon: Ew,
children: "配置 Peach 代理"
})
}) : null,
@@ -49215,20 +49374,20 @@ function mye({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, H.jsx)(CC, {
+ /* @__PURE__ */ (0, H.jsx)(_C, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: wC,
- children: OL.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(dg, {
+ className: vC,
+ children: CL.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(fg, {
value: e,
- className: TC,
+ className: yC,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, H.jsx)(Fk, {
+ c === "paste" ? /* @__PURE__ */ (0, H.jsx)(jk, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -49237,7 +49396,7 @@ function mye({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(OT, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, H.jsx)(wT, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
@@ -49263,14 +49422,14 @@ function mye({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, H.jsx)(DT, { children: C }) : null,
+ C ? /* @__PURE__ */ (0, H.jsx)(CT, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, H.jsx)(Y, {
tone: t.ok ? "success" : "error",
- children: dye(t, e.label)
+ children: Aye(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, H.jsxs)(TT, { children: [
+ /* @__PURE__ */ (0, H.jsxs)(xT, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
onClick: b,
@@ -49292,26 +49451,26 @@ function mye({ source: e, toast: t }) {
]
});
}
-function hye({ toast: e }) {
- let [t, n] = (0, B.useState)(""), { running: r, outcome: i, start: a } = $j({
- queryKey: CL,
- queryFn: ({ signal: e }) => EL(e),
- start: () => q(xL, { code: t }),
+function Pye({ toast: e }) {
+ let [t, n] = (0, B.useState)(""), { running: r, outcome: i, start: a } = Jj({
+ queryKey: vL,
+ queryFn: ({ signal: e }) => xL(e),
+ start: () => q(gL, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? G(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, H.jsx)(ST, {
+ return /* @__PURE__ */ (0, H.jsx)(vT, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ children: /* @__PURE__ */ (0, H.jsxs)(bT, { children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, H.jsx)(Fk, {
+ children: /* @__PURE__ */ (0, H.jsx)(jk, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -49326,7 +49485,7 @@ function hye({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, H.jsx)(hT, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, H.jsx)(dT, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: s
@@ -49338,11 +49497,11 @@ function hye({ toast: e }) {
] })
});
}
-function gye({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = $j({
- queryKey: wL,
- queryFn: ({ signal: e }) => DL(e),
- start: () => q(lye, {}),
+function Fye({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = Jj({
+ queryKey: yL,
+ queryFn: ({ signal: e }) => SL(e),
+ start: () => q(Oye, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -49351,45 +49510,45 @@ function gye({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = yw({ mutationFn: () => q(cye, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, H.jsx)(ST, {
+ }), a = pw({ mutationFn: () => q(Dye, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, H.jsx)(vT, {
title: "amane",
- children: /* @__PURE__ */ (0, H.jsx)(wT, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ children: /* @__PURE__ */ (0, H.jsx)(bT, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: G(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? G(i.error) : a.error ? G(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "amane",
- aside: /* @__PURE__ */ (0, H.jsx)(kT, {
+ aside: /* @__PURE__ */ (0, H.jsx)(TT, {
href: o.repository,
- leadingIcon: pye,
+ leadingIcon: Mye,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, H.jsxs)(AT, { children: [
- /* @__PURE__ */ (0, H.jsx)(jT, {
+ /* @__PURE__ */ (0, H.jsxs)(ET, { children: [
+ /* @__PURE__ */ (0, H.jsx)(DT, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, H.jsx)(jT, {
+ /* @__PURE__ */ (0, H.jsx)(DT, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, H.jsx)(jT, {
+ /* @__PURE__ */ (0, H.jsx)(DT, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, H.jsx)(jT, {
+ /* @__PURE__ */ (0, H.jsx)(DT, {
term: "内置站点",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, H.jsxs)(wT, {
+ /* @__PURE__ */ (0, H.jsxs)(bT, {
divided: !0,
children: [
- /* @__PURE__ */ (0, H.jsxs)(ET, { children: [
+ /* @__PURE__ */ (0, H.jsxs)(ST, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -49398,7 +49557,7 @@ function gye({ toast: e }) {
o.version,
" 版本,不随上游自动升级。"
] }),
- n ? /* @__PURE__ */ (0, H.jsx)(hT, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, H.jsx)(dT, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: c
@@ -49409,7 +49568,7 @@ function gye({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsxs)(TT, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
+ /* @__PURE__ */ (0, H.jsxs)(xT, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -49426,23 +49585,23 @@ function gye({ toast: e }) {
]
});
}
-function _ye({ toast: e }) {
- let t = gw({
- queryKey: SL,
- queryFn: ({ signal: e }) => TL(e)
+function Iye({ toast: e }) {
+ let t = uw({
+ queryKey: _L,
+ queryFn: ({ signal: e }) => bL(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
+ return n ? /* @__PURE__ */ (0, H.jsxs)(Ek, { children: [
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, H.jsx)(hye, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, H.jsx)(mye, {
+ /* @__PURE__ */ (0, H.jsx)(Pye, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, H.jsx)(Nye, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, H.jsx)(gye, { toast: e })
- ] }) : /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ /* @__PURE__ */ (0, H.jsx)(Fye, { toast: e })
+ ] }) : /* @__PURE__ */ (0, H.jsx)(Ek, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? G(t.error) : "读取采集来源失败"
@@ -49450,24 +49609,24 @@ function _ye({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var AL = "/api/configuration", vye = "/api/pick-folder", jL = ["configuration"], ML = (e) => K(AL, e);
-async function NL(e) {
+var TL = "/api/configuration", Lye = "/api/pick-folder", EL = ["configuration"], DL = (e) => K(TL, e);
+async function OL(e) {
await z.fetchQuery({
- queryKey: jL,
- queryFn: () => ML(e)
+ queryKey: EL,
+ queryFn: () => DL(e)
});
}
//#endregion
//#region src/configuration-copy.ts
-var yye = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", bye = "仅填域名;留空使用默认地址";
+var Rye = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", zye = "仅填域名;留空使用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function xye({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e.sites), i = pT(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function Bye({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e.sites), i = lT(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -49476,9 +49635,9 @@ function xye({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [
- /* @__PURE__ */ (0, H.jsx)(ET, { children: yye }),
- n.map((e) => /* @__PURE__ */ (0, H.jsx)(Fk, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(bT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: Rye }),
+ n.map((e) => /* @__PURE__ */ (0, H.jsx)(jk, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -49487,10 +49646,10 @@ function xye({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: bye
+ hint: zye
}, e.key)),
- i.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ i.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, H.jsx)(xT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
...X(i.busy === "save"),
children: "保存配置"
@@ -49499,21 +49658,21 @@ function xye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function Sye({ data: e, receipt: t }) {
+function Vye({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, H.jsx)(Cye, {
+ children: [e.startup ? /* @__PURE__ */ (0, H.jsx)(Hye, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, H.jsx)(xye, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, H.jsx)(Bye, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function Cye({ startup: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e.enabled), [i, a] = (0, B.useState)(e.silent), [o, s] = (0, B.useState)(e.desktop), c = pT(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+function Hye({ startup: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e.enabled), [i, a] = (0, B.useState)(e.silent), [o, s] = (0, B.useState)(e.desktop), c = lT(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => q("/api/configuration/startup", {
@@ -49523,30 +49682,30 @@ function Cye({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, H.jsxs)(CT, { children: [
- /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsxs)(yT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(_T, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, H.jsx)(MI, {
+ children: /* @__PURE__ */ (0, H.jsx)(SI, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsx)(_T, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, H.jsx)(MI, {
+ children: /* @__PURE__ */ (0, H.jsx)(SI, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsx)(_T, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, H.jsx)(MI, {
+ children: /* @__PURE__ */ (0, H.jsx)(SI, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -49554,11 +49713,11 @@ function Cye({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, H.jsxs)(wT, {
+ e.message || c.error ? /* @__PURE__ */ (0, H.jsxs)(bT, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, H.jsx)(ET, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, H.jsx)(ST, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ /* @__PURE__ */ (0, H.jsx)(xT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
disabled: !e.available,
...X(c.busy === "save"),
@@ -49569,23 +49728,23 @@ function Cye({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var PL = /* @__PURE__ */ new Set([
+var kL = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), wye = [
+]), Uye = [
65,
67,
90
-], FL = 120;
-function Tye({ initial: e, initialJob: t }) {
+], AL = 120;
+function Wye({ initial: e, initialJob: t }) {
let [n, i] = (0, B.useState)(e), [a, o] = (0, B.useState)(t || {
state: "idle",
progress: 0
- }), [s, c] = (0, B.useState)(""), l = pT(), u = (0, B.useRef)(!1), d = (0, B.useRef)(!0), f = PL.has(a.state);
+ }), [s, c] = (0, B.useState)(""), l = lT(), u = (0, B.useRef)(!1), d = (0, B.useRef)(!0), f = kL.has(a.state);
(0, B.useEffect)(() => (d.current = !0, () => {
d.current = !1;
}), []);
@@ -49602,7 +49761,7 @@ function Tye({ initial: e, initialJob: t }) {
(0, B.useEffect)(() => {
a.state !== "ready" || u.current || (u.current = !0, m());
}, [a.state]), (0, B.useEffect)(() => {
- let e = new AbortController(), t = PL.has(a.state) ? 1e3 : 3e4, n, r = 0, s = async () => {
+ let e = new AbortController(), t = kL.has(a.state) ? 1e3 : 3e4, n, r = 0, s = async () => {
try {
let t = await K("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -49615,9 +49774,9 @@ function Tye({ initial: e, initialJob: t }) {
let n = await K("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && i(n.result);
} catch {
- r += 1, r >= FL && !e.signal.aborted && c("尚未连接到 Peach,请检查托盘后刷新页面。");
+ r += 1, r >= AL && !e.signal.aborted && c("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && r < FL && (n = setTimeout(s, t));
+ !e.signal.aborted && r < AL && (n = setTimeout(s, t));
};
return n = setTimeout(s, t), () => {
e.abort(), clearTimeout(n);
@@ -49631,57 +49790,57 @@ function Tye({ initial: e, initialJob: t }) {
state: "error"
}), l.setError(G(t));
}), _ = l.error || s, v = a.state === "downloading" && a.total ? `${((a.downloaded || 0) / 1048576).toFixed(1)} / ${(a.total / 1048576).toFixed(1)} MB` : `${a.progress}%`;
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, H.jsxs)(AT, { children: [
- /* @__PURE__ */ (0, H.jsx)(jT, {
+ /* @__PURE__ */ (0, H.jsxs)(ET, { children: [
+ /* @__PURE__ */ (0, H.jsx)(DT, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, H.jsx)(jT, {
+ /* @__PURE__ */ (0, H.jsx)(DT, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, H.jsx)(jT, {
+ /* @__PURE__ */ (0, H.jsx)(DT, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, H.jsx)(jT, {
+ /* @__PURE__ */ (0, H.jsx)(DT, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, H.jsxs)(wT, {
+ /* @__PURE__ */ (0, H.jsxs)(bT, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, H.jsxs)(ET, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, H.jsxs)(ST, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !_ ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, H.jsx)(DT, { children: _ || n.message }) : /* @__PURE__ */ (0, H.jsx)(ET, {
+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, H.jsx)(CT, { children: _ || n.message }) : /* @__PURE__ */ (0, H.jsx)(ST, {
role: "status",
children: n.message
}),
- a.state === "error" ? /* @__PURE__ */ (0, H.jsx)(DT, { children: a.message }) : null,
+ a.state === "error" ? /* @__PURE__ */ (0, H.jsx)(CT, { children: a.message }) : null,
a.state !== "idle" && a.state !== "error" ? /* @__PURE__ */ (0, H.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(_T, {
+ /* @__PURE__ */ (0, H.jsx)(pT, {
label: "更新准备进度",
value: a.progress,
- stops: wye
+ stops: Uye
}),
- /* @__PURE__ */ (0, H.jsxs)(ET, { children: ["下载 → 校验 → 解压 → 准备安装 · ", a.message] }),
- /* @__PURE__ */ (0, H.jsx)(ET, { children: v })
+ /* @__PURE__ */ (0, H.jsxs)(ST, { children: ["下载 → 校验 → 解压 → 准备安装 · ", a.message] }),
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: v })
]
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsxs)(TT, {
- status: /* @__PURE__ */ (0, H.jsx)(kT, {
+ /* @__PURE__ */ (0, H.jsxs)(xT, {
+ status: /* @__PURE__ */ (0, H.jsx)(TT, {
href: n.release_url,
children: "查看发布页"
}),
@@ -49708,105 +49867,105 @@ function Tye({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var Eye = [
+var Gye = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function Dye({ data: e, receipt: t, reopenTutorial: n }) {
+function Kye({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, H.jsx)(kye, {
+ e.automatic_updates ? /* @__PURE__ */ (0, H.jsx)(Jye, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, H.jsx)(Tye, {
+ e.updates ? /* @__PURE__ */ (0, H.jsx)(Wye, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, H.jsx)(Aye, { facts: e.facts }),
- /* @__PURE__ */ (0, H.jsx)(ST, {
+ /* @__PURE__ */ (0, H.jsx)(Yye, { facts: e.facts }),
+ /* @__PURE__ */ (0, H.jsx)(vT, {
title: "系统诊断",
- children: /* @__PURE__ */ (0, H.jsx)(wT, { children: /* @__PURE__ */ (0, H.jsx)("div", { children: /* @__PURE__ */ (0, H.jsx)(eT, {
+ children: /* @__PURE__ */ (0, H.jsx)(bT, { children: /* @__PURE__ */ (0, H.jsx)("div", { children: /* @__PURE__ */ (0, H.jsx)(Xw, {
href: "/diagnostics",
children: "打开系统诊断"
}) }) })
}),
- /* @__PURE__ */ (0, H.jsx)(Oye, {
+ /* @__PURE__ */ (0, H.jsx)(qye, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, H.jsx)(jye, {
+ e.uninstall ? /* @__PURE__ */ (0, H.jsx)(Xye, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function Oye({ receipt: e, reopenTutorial: t }) {
- let n = pT();
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+function qye({ receipt: e, reopenTutorial: t }) {
+ let n = lT();
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [/* @__PURE__ */ (0, H.jsx)(ET, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: n.error }) : null] }), /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(bT, { children: [/* @__PURE__ */ (0, H.jsx)(ST, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: n.error }) : null] }), /* @__PURE__ */ (0, H.jsx)(xT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...X(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function kye({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e.mode), [i, a] = (0, B.useState)(e.interval_hours), o = pT(e.error), s = (r) => {
+function Jye({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e.mode), [i, a] = (0, B.useState)(e.interval_hours), o = lT(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, H.jsxs)(ST, {
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, H.jsxs)(CT, { children: [
- /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsxs)(yT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(_T, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, H.jsx)(MI, {
+ children: /* @__PURE__ */ (0, H.jsx)(SI, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsx)(_T, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, H.jsx)(MI, {
+ children: /* @__PURE__ */ (0, H.jsx)(SI, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsx)(_T, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, H.jsx)(Lk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: Eye.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: Gye.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
+ o.error ? /* @__PURE__ */ (0, H.jsx)(bT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(DT, { children: o.error })
+ children: /* @__PURE__ */ (0, H.jsx)(CT, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ /* @__PURE__ */ (0, H.jsx)(xT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
disabled: !e.available,
...X(o.busy === "save"),
@@ -49815,19 +49974,19 @@ function kye({ initial: e, receipt: t }) {
]
});
}
-function Aye({ facts: e }) {
- return /* @__PURE__ */ (0, H.jsx)(ST, {
+function Yye({ facts: e }) {
+ return /* @__PURE__ */ (0, H.jsx)(vT, {
title: "运行信息",
- children: /* @__PURE__ */ (0, H.jsx)(AT, { children: e.map((e) => /* @__PURE__ */ (0, H.jsxs)(jT, {
+ children: /* @__PURE__ */ (0, H.jsx)(ET, { children: e.map((e) => /* @__PURE__ */ (0, H.jsxs)(DT, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, H.jsx)(kT, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, H.jsx)(TT, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function jye({ uninstall: e, receipt: t }) {
+function Xye({ uninstall: e, receipt: t }) {
let [n, i] = (0, B.useState)(!1), [a, o] = (0, B.useState)(""), s = () => void r({
title: "卸载 Peach",
danger: !0,
@@ -49841,26 +50000,26 @@ function jye({ uninstall: e, receipt: t }) {
o(e.message);
}
}), c = a || e.message, l = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [
- e.available ? /* @__PURE__ */ (0, H.jsx)(ET, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, H.jsx)(rM, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(bT, { children: [
+ e.available ? /* @__PURE__ */ (0, H.jsx)(ST, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: n,
isDisabled: !e.full_available || !!a,
onChange: i,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, H.jsx)(MT, {
+ /* @__PURE__ */ (0, H.jsx)(OT, {
summary: "数据目录",
- children: l.map((e) => /* @__PURE__ */ (0, H.jsx)(mT, {
+ children: l.map((e) => /* @__PURE__ */ (0, H.jsx)(uT, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, H.jsx)(TT, {
+ ] }), /* @__PURE__ */ (0, H.jsx)(xT, {
status: c ? /* @__PURE__ */ (0, H.jsx)("p", {
role: a ? "status" : void 0,
children: c
@@ -49876,7 +50035,7 @@ function jye({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var Mye = [
+var Zye = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -49895,32 +50054,32 @@ var Mye = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], Nye = [
+], Qye = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function Pye() {
+function $ye() {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, H.jsxs)(ET, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, H.jsx)(kT, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(ST, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, H.jsx)(TT, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, H.jsxs)(MT, {
+ })] }), /* @__PURE__ */ (0, H.jsxs)(OT, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, H.jsx)(ET, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, H.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: Mye.map((e) => /* @__PURE__ */ (0, H.jsxs)("li", {
+ children: Zye.map((e) => /* @__PURE__ */ (0, H.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, H.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: Nye.map(([t, n]) => /* @__PURE__ */ (0, H.jsxs)("div", {
+ children: Qye.map(([t, n]) => /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, H.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -49941,9 +50100,9 @@ function Pye() {
/* @__PURE__ */ (0, H.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, H.jsxs)(ET, { children: [
+ /* @__PURE__ */ (0, H.jsxs)(ST, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, H.jsx)(kT, {
+ /* @__PURE__ */ (0, H.jsx)(TT, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -49955,15 +50114,15 @@ function Pye() {
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var Fye = "/api/configuration/downloads", IL = "/api/configuration/downloads/check", Iye = "/api/configuration/downloads/folder", Lye = "/api/configuration/downloads/pikpak/login", Rye = "/api/configuration/downloads/pikpak/logout", LL = "/api/configuration/downloads/pikpak/browser-login", RL = 2e3;
-function zye({ initial: e, receipt: t }) {
+var ebe = "/api/configuration/downloads", jL = "/api/configuration/downloads/check", tbe = "/api/configuration/downloads/folder", nbe = "/api/configuration/downloads/pikpak/login", rbe = "/api/configuration/downloads/pikpak/logout", ML = "/api/configuration/downloads/pikpak/browser-login", NL = 2e3;
+function ibe({ initial: e, receipt: t }) {
let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(""), o = n.pikpak.logged_in || !!i.trim();
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Bye, {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(abe, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
- }), /* @__PURE__ */ (0, H.jsx)(Hye, {
+ }), /* @__PURE__ */ (0, H.jsx)(sbe, {
state: n,
settle: r,
receipt: t,
@@ -49971,8 +50130,8 @@ function zye({ initial: e, receipt: t }) {
setUsername: a
})] });
}
-function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, B.useState)(e.config), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(String(e.config.wait_hours)), [u, d] = (0, B.useState)(null), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(zL), [g, _] = (0, B.useState)(""), [v, y] = (0, B.useState)(!1), b = pT(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({
+function abe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
+ let [i, a] = (0, B.useState)(e.config), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(String(e.config.wait_hours)), [u, d] = (0, B.useState)(null), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(PL), [g, _] = (0, B.useState)(""), [v, y] = (0, B.useState)(!1), b = lT(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -50001,8 +50160,8 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- b.run("auto", (e) => K(IL, e), (e) => w(e, t), (e) => _(G(e)));
- }, []), /* @__PURE__ */ (0, H.jsxs)(ST, {
+ b.run("auto", (e) => K(jL, e), (e) => w(e, t), (e) => _(G(e)));
+ }, []), /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "云下载",
onSubmit: (e) => {
if (e.preventDefault(), C) {
@@ -50015,19 +50174,19 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- b.run("save", (e) => q(Fye, f, "POST", e), (e) => {
+ b.run("save", (e) => q(ebe, f, "POST", e), (e) => {
let { report: r, ...i } = e;
t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? w(r, {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (d(null), p(""), h(zL), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(PL), y(!1), _("")), n("已保存配置");
}, (e) => _(G(e)));
},
children: [
- /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
- /* @__PURE__ */ (0, H.jsx)(ET, { children: "把磁力交给 115 或 PikPak 离线下载,文件落在已挂载的网盘目录,再由推送发现登记入库,不经过这台电脑。 115 每个任务扣一条离线配额(年费会员每月 1500 条、月费 200 条),被判违规的资源不重试。" }),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsxs)(bT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: "把磁力交给 115 或 PikPak 离线下载,文件落在已挂载的网盘目录,再由推送发现登记入库,不经过这台电脑。 115 每个任务扣一条离线配额(年费会员每月 1500 条、月费 200 条),被判违规的资源不重试。" }),
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "CloudDrive2 地址",
placeholder: "留空自动探测本机 19798 / 29798",
autoComplete: "off",
@@ -50039,7 +50198,7 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -50050,7 +50209,7 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "115 目标目录",
placeholder: "留空时按推送发现自动填写",
autoComplete: "off",
@@ -50062,7 +50221,7 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => S("115", e)
}),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "PikPak 目标目录",
placeholder: "以 / 开头的网盘路径",
autoComplete: "off",
@@ -50074,7 +50233,7 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, H.jsx)(Lk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(wT, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -50083,13 +50242,13 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
...i,
pikpak_root: e === null ? "" : String(e)
}),
- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e,
children: e
}, e))
- }) : /* @__PURE__ */ (0, H.jsx)(ET, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]
+ }) : /* @__PURE__ */ (0, H.jsx)(ST, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]
}),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -50100,11 +50259,11 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: l
})
] }),
- b.busy === "auto" ? /* @__PURE__ */ (0, H.jsx)(wT, {
+ b.busy === "auto" ? /* @__PURE__ */ (0, H.jsx)(bT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(hT, { label: "正在检查 CloudDrive2" })
+ children: /* @__PURE__ */ (0, H.jsx)(dT, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, H.jsx)(Vye, {
+ u ? /* @__PURE__ */ (0, H.jsx)(obe, {
report: u,
detected: f,
suggested: m,
@@ -50116,7 +50275,7 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("folder", (e) => q(Iye, t, "POST", e), (t) => {
+ b.run("folder", (e) => q(tbe, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -50128,11 +50287,11 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
} : void 0,
creating: b.busy === "folder"
}) : null,
- g || b.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
+ g || b.error ? /* @__PURE__ */ (0, H.jsx)(bT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(DT, { children: g || b.error })
+ children: /* @__PURE__ */ (0, H.jsx)(CT, { children: g || b.error })
}) : null,
- /* @__PURE__ */ (0, H.jsxs)(TT, {
+ /* @__PURE__ */ (0, H.jsxs)(xT, {
status: e.available ? void 0 : "云下载只在账本写入端可用。",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
onClick: () => {
@@ -50147,7 +50306,7 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("check", (e) => q(IL, t, "POST", e), (t) => w(t, e), (e) => _(G(e)));
+ b.run("check", (e) => q(jL, t, "POST", e), (t) => w(t, e), (e) => _(G(e)));
},
disabled: !e.available,
...X(b.busy === "check"),
@@ -50162,25 +50321,25 @@ function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var zL = {
+var PL = {
target: null,
root: "",
saved: !1
};
-function Vye({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function obe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
- return /* @__PURE__ */ (0, H.jsxs)(wT, {
+ return /* @__PURE__ */ (0, H.jsxs)(bT, {
divided: !0,
- children: [/* @__PURE__ */ (0, H.jsxs)(AT, { children: [
- t ? /* @__PURE__ */ (0, H.jsx)(jT, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(ET, { children: [
+ t ? /* @__PURE__ */ (0, H.jsx)(DT, {
term: "CloudDrive2 地址",
children: `探测到 ${t},保存配置后生效`
}) : null,
- a?.exists ? /* @__PURE__ */ (0, H.jsx)(jT, {
+ a?.exists ? /* @__PURE__ */ (0, H.jsx)(DT, {
term: "115 目标目录",
children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`
}) : null,
- a && !a.exists ? /* @__PURE__ */ (0, H.jsxs)(jT, {
+ a && !a.exists ? /* @__PURE__ */ (0, H.jsxs)(DT, {
term: "115 目标目录",
children: [`${a.path} 不存在`, r ? /* @__PURE__ */ (0, H.jsx)(J, {
size: "small",
@@ -50189,49 +50348,49 @@ function Vye({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: "新建这个目录"
}) : null]
}) : null,
- n.root ? /* @__PURE__ */ (0, H.jsx)(jT, {
+ n.root ? /* @__PURE__ */ (0, H.jsx)(DT, {
term: "PikPak 根目录",
children: `按推送发现填入 ${n.root},保存配置后生效`
}) : null,
- e.permissions.length ? /* @__PURE__ */ (0, H.jsx)(jT, {
+ e.permissions.length ? /* @__PURE__ */ (0, H.jsx)(DT, {
term: "离线权限",
children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"
}) : null,
- e.folder ? /* @__PURE__ */ (0, H.jsx)(jT, {
+ e.folder ? /* @__PURE__ */ (0, H.jsx)(DT, {
term: "目标目录",
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
- e.quota ? /* @__PURE__ */ (0, H.jsx)(jT, {
+ e.quota ? /* @__PURE__ */ (0, H.jsx)(DT, {
term: "115 离线配额",
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }), e.problems.map((e) => /* @__PURE__ */ (0, H.jsx)(DT, { children: e }, e))]
+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, H.jsx)(CT, { children: e }, e))]
});
}
-function Hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
- let [a, o] = (0, B.useState)(""), [s, c] = (0, B.useState)(!1), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = pT(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
+function sbe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
+ let [a, o] = (0, B.useState)(""), [s, c] = (0, B.useState)(!1), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = lT(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
(0, B.useEffect)(() => {
if (!v) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await K(LL, e.signal);
+ let r = await K(ML, e.signal);
if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;
} catch (t) {
if (e.signal.aborted) return;
f(G(t));
}
- r = setTimeout(i, RL);
+ r = setTimeout(i, NL);
};
- return r = setTimeout(i, RL), () => {
+ return r = setTimeout(i, NL), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => q(LL, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => q(ML, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(G(e)));
}, b = () => {
- h.run("cancel", (e) => q(`${LL}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => q(`${ML}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(G(e)));
}, x = (e) => {
@@ -50241,7 +50400,7 @@ function Hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => q(Lye, i, "POST", e), (e) => {
+ h.run("login", (e) => q(nbe, i, "POST", e), (e) => {
if (t(e.settings), f(""), !e.ok) {
u(e.captcha_url ?? "");
return;
@@ -50249,11 +50408,11 @@ function Hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
u(""), o(""), n("已登录 PikPak");
}, (e) => f(G(e)));
}, S = () => {
- h.run("logout", (e) => q(Rye, {}, "POST", e), (e) => {
+ h.run("logout", (e) => q(rbe, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(G(e)));
}, C = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -50262,7 +50421,7 @@ function Hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -50271,7 +50430,7 @@ function Hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, H.jsx)(rM, {
+ /* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -50282,7 +50441,7 @@ function Hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
title: "需要人机验证",
extra: /* @__PURE__ */ (0, H.jsx)("div", {
className: "pt-2",
- children: /* @__PURE__ */ (0, H.jsx)(kT, {
+ children: /* @__PURE__ */ (0, H.jsx)(TT, {
href: l,
children: "打开 PikPak 验证页"
})
@@ -50295,32 +50454,32 @@ function Hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
...X(h.busy === "login"),
children: "登录"
}), T = _.state === "timeout" || _.state === "failed";
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "PikPak 账号",
onSubmit: x,
children: [
- g.logged_in ? /* @__PURE__ */ (0, H.jsxs)(AT, { children: [/* @__PURE__ */ (0, H.jsx)(jT, {
+ g.logged_in ? /* @__PURE__ */ (0, H.jsxs)(ET, { children: [/* @__PURE__ */ (0, H.jsx)(DT, {
term: "账号",
children: g.username || "已登录"
- }), g.method === "browser" ? /* @__PURE__ */ (0, H.jsx)(jT, {
+ }), g.method === "browser" ? /* @__PURE__ */ (0, H.jsx)(DT, {
term: "登录方式",
children: "浏览器登录,由 Peach 续期"
- }) : /* @__PURE__ */ (0, H.jsx)(jT, {
+ }) : /* @__PURE__ */ (0, H.jsx)(DT, {
term: "密码",
children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : _.available ? /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
- /* @__PURE__ */ (0, H.jsx)(ET, { children: "「用浏览器登录」会打开一个 Peach 专用的浏览器窗口,在里面登录 PikPak。Peach 读到登录状态后关掉窗口,之后由 Peach 续期;续期失败时回到这里重新登录。" }),
- /* @__PURE__ */ (0, H.jsx)(ET, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。" }),
- p ? T ? /* @__PURE__ */ (0, H.jsx)(DT, { children: p }) : /* @__PURE__ */ (0, H.jsx)(ET, {
+ })] }) : _.available ? /* @__PURE__ */ (0, H.jsxs)(bT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: "「用浏览器登录」会打开一个 Peach 专用的浏览器窗口,在里面登录 PikPak。Peach 读到登录状态后关掉窗口,之后由 Peach 续期;续期失败时回到这里重新登录。" }),
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。" }),
+ p ? T ? /* @__PURE__ */ (0, H.jsx)(CT, { children: p }) : /* @__PURE__ */ (0, H.jsx)(ST, {
role: "status",
children: p
}) : null,
- /* @__PURE__ */ (0, H.jsx)(MT, {
+ /* @__PURE__ */ (0, H.jsx)(OT, {
summary: "用账号密码登录",
children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, H.jsx)(ET, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),
C,
/* @__PURE__ */ (0, H.jsx)("div", {
className: "flex justify-end",
@@ -50329,13 +50488,13 @@ function Hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
]
})
})
- ] }) : /* @__PURE__ */ (0, H.jsxs)(wT, { children: [/* @__PURE__ */ (0, H.jsx)(ET, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。账号密码只用来换登录令牌,令牌存在这台电脑上。" }), C] }),
- d || h.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
+ ] }) : /* @__PURE__ */ (0, H.jsxs)(bT, { children: [/* @__PURE__ */ (0, H.jsx)(ST, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。账号密码只用来换登录令牌,令牌存在这台电脑上。" }), C] }),
+ d || h.error ? /* @__PURE__ */ (0, H.jsx)(bT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(DT, { children: d || h.error })
+ children: /* @__PURE__ */ (0, H.jsx)(CT, { children: d || h.error })
}) : null,
- /* @__PURE__ */ (0, H.jsx)(TT, {
- status: !g.logged_in && v ? /* @__PURE__ */ (0, H.jsx)(hT, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
+ /* @__PURE__ */ (0, H.jsx)(xT, {
+ status: !g.logged_in && v ? /* @__PURE__ */ (0, H.jsx)(dT, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
children: g.logged_in ? /* @__PURE__ */ (0, H.jsx)(J, {
onClick: S,
disabled: !e.available,
@@ -50359,42 +50518,42 @@ function Hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var BL = "/api/configuration/indexers";
-function Uye({ receipt: e }) {
- let t = gw({
+var FL = "/api/configuration/indexers";
+function cbe({ receipt: e }) {
+ let t = uw({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => K(BL, e)
+ queryFn: ({ signal: e }) => K(FL, e)
});
- return t.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: G(t.error) }) : t.data ? /* @__PURE__ */ (0, H.jsx)(Wye, {
+ return t.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: G(t.error) }) : t.data ? /* @__PURE__ */ (0, H.jsx)(lbe, {
initial: t.data,
receipt: e
}) : null;
}
-function Wye({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e.indexers), i = pT(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function lbe({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e.indexers), i = lT(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "资源索引器",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => q(BL, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => q(FL, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
- children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [
- /* @__PURE__ */ (0, H.jsx)(ET, { children: "用户自配索引器。填写 Prowlarr 或 Jackett 提供的 Torznab API 地址,在活动页「云下载」中按番号搜索。" }),
+ children: [/* @__PURE__ */ (0, H.jsxs)(bT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: "用户自配索引器。填写 Prowlarr 或 Jackett 提供的 Torznab API 地址,在活动页「云下载」中按番号搜索。" }),
n.map((e, t) => /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",
children: [
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: `索引器 ${t + 1} API 地址`,
value: e.url,
type: "url",
@@ -50403,7 +50562,7 @@ function Wye({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -50412,13 +50571,13 @@ function Wye({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, H.jsx)(rM, {
+ /* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用 · 用户自配索引器"
}),
- e.api_key_set ? /* @__PURE__ */ (0, H.jsx)(rM, {
+ e.api_key_set ? /* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -50432,8 +50591,8 @@ function Wye({ initial: e, receipt: t }) {
}) })
]
}, e.key)),
- i.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, H.jsxs)(TT, {
+ i.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, H.jsxs)(xT, {
status: "保存后生效;关闭或移除索引器会停止向它查询。",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
type: "button",
@@ -50456,7 +50615,7 @@ function Wye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var VL = [
+var IL = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -50500,13 +50659,13 @@ var VL = [
["star", "收藏"],
["tags", "主题"]
];
-function Gye(t) {
+function ube(t) {
let n = t === "local" ? "" : e[t];
return n ? [n, "自动识别"] : ["hard-drive", "默认"];
}
-var HL = "auto";
-function Kye({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, B.useRef)(null), [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(e), [l, u] = Gye(n);
+var LL = "auto";
+function dbe({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, B.useRef)(null), [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(e), [l, u] = ube(n);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
ref: i,
variant: "secondary",
@@ -50520,7 +50679,7 @@ function Kye({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, H.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: e || l }), ((e) => e && VL.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, H.jsx)(kT, { mark: e || l }), ((e) => e && IL.find(([t]) => t === e)?.[1] || u)(e)]
})
}), /* @__PURE__ */ (0, H.jsx)(nm, {
triggerRef: i,
@@ -50528,7 +50687,7 @@ function Kye({ value: e, label: t, kind: n = "local", onChange: r }) {
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: tT,
+ className: Zw,
children: /* @__PURE__ */ (0, H.jsxs)(mh, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
@@ -50538,17 +50697,17 @@ function Kye({ value: e, label: t, kind: n = "local", onChange: r }) {
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, H.jsx)(ug, {
+ /* @__PURE__ */ (0, H.jsx)(dg, {
"aria-label": "候选图标",
- value: s || HL,
- onChange: (e) => c(e === HL ? "" : e),
+ value: s || LL,
+ onChange: (e) => c(e === LL ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: VL.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(dg, {
- value: e || HL,
+ children: IL.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(fg, {
+ value: e || LL,
"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, H.jsx)(NT, { mark: e || l })
- }, e || HL))
+ children: /* @__PURE__ */ (0, H.jsx)(kT, { mark: e || l })
+ }, e || LL))
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -50570,15 +50729,15 @@ function Kye({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var qye = "/api/configuration/push-discovery", Jye = "/api/configuration/push-discovery/secret";
-function Yye({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.prefixes), [o, s] = (0, B.useState)(""), c = pT(), l = uT(), u = n.media_roots, [d, f] = (0, B.useState)(e), p = (e, n) => {
+var fbe = "/api/configuration/push-discovery", pbe = "/api/configuration/push-discovery/secret";
+function mbe({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.prefixes), [o, s] = (0, B.useState)(""), c = lT(), l = oT(), u = n.media_roots, [d, f] = (0, B.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -50588,14 +50747,14 @@ function Yye({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => q(qye, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(G(e)));
+ c.run("save", (e) => q(fbe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(G(e)));
},
children: [
- /* @__PURE__ */ (0, H.jsxs)(CT, { children: [
- /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsxs)(yT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(_T, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, H.jsx)(MI, {
+ children: /* @__PURE__ */ (0, H.jsx)(SI, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -50605,10 +50764,10 @@ function Yye({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsx)(_T, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, H.jsx)(MI, {
+ children: /* @__PURE__ */ (0, H.jsx)(SI, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -50618,10 +50777,10 @@ function Yye({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsx)(_T, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, H.jsx)(MI, {
+ children: /* @__PURE__ */ (0, H.jsx)(SI, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -50632,30 +50791,30 @@ function Yye({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, H.jsx)(wT, {
+ d.enabled ? /* @__PURE__ */ (0, H.jsx)(bT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsxs)(AT, { children: [d.watch_local ? /* @__PURE__ */ (0, H.jsx)(jT, {
+ children: /* @__PURE__ */ (0, H.jsxs)(ET, { children: [d.watch_local ? /* @__PURE__ */ (0, H.jsx)(DT, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, H.jsx)(jT, {
+ }) : null, /* @__PURE__ */ (0, H.jsx)(DT, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, H.jsx)(wT, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, H.jsx)(bT, {
divided: !0,
children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(OT, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, H.jsx)(ET, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, H.jsx)(wT, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("div", { children: /* @__PURE__ */ (0, H.jsx)(J, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, H.jsx)(MT, {
+ }) }), /* @__PURE__ */ (0, H.jsx)(OT, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, H.jsx)("div", {
className: "relative",
@@ -50666,17 +50825,17 @@ function Yye({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, H.jsx)(ET, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
+ })] }) : /* @__PURE__ */ (0, H.jsx)(ST, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, H.jsx)(wT, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, H.jsx)(bT, {
divided: !0,
children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(OT, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, H.jsx)(ET, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
+ /* @__PURE__ */ (0, H.jsx)(wT, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
/* @__PURE__ */ (0, H.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -50684,7 +50843,7 @@ function Yye({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -50693,19 +50852,19 @@ function Yye({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, H.jsx)(Lk, {
+ /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: u.map((e) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, H.jsx)(fT, {
- icon: Iw,
+ /* @__PURE__ */ (0, H.jsx)(cT, {
+ icon: Aw,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -50723,15 +50882,15 @@ function Yye({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
+ o || c.error ? /* @__PURE__ */ (0, H.jsx)(bT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(DT, { children: o || c.error })
+ children: /* @__PURE__ */ (0, H.jsx)(CT, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, H.jsxs)(TT, {
+ /* @__PURE__ */ (0, H.jsxs)(xT, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, H.jsx)(J, {
onClick: () => {
- c.run("secret", (e) => q(Jye, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(G(e)));
+ c.run("secret", (e) => q(pbe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(G(e)));
},
disabled: !n.available,
...X(c.busy === "secret"),
@@ -50748,8 +50907,8 @@ function Yye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Xye = 8e3;
-function Zye({ className: e }) {
+var hbe = 8e3;
+function gbe({ className: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -50762,33 +50921,33 @@ function Zye({ className: e }) {
children: /* @__PURE__ */ (0, H.jsx)("use", { href: "#i-folder-search" })
});
}
-var UL = [
+var RL = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], Qye = (e) => UL.find(([t]) => t === e)?.[1] ?? e, WL = (t) => e[t] || "database", GL = (e = "") => ({
+], _be = (e) => RL.find(([t]) => t === e)?.[1] ?? e, zL = (t) => e[t] || "database", BL = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function $ye(e) {
- let t = e.media_sources?.filter((e) => UL.some(([t]) => t === e.location));
+function vbe(e) {
+ let t = e.media_sources?.filter((e) => RL.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
location: e.location,
root: e.root,
library: e.library || "",
library_icon: e.library_icon || ""
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => GL(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => BL(e));
}
-var ebe = (e) => !(e instanceof RC) || e.status !== 400 ? null : e.body?.errors ?? null;
-function tbe({ data: e, receipt: t }) {
+var ybe = (e) => !(e instanceof MC) || e.status !== 400 ? null : e.body?.errors ?? null;
+function bbe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, H.jsx)(nbe, {
+ e.editable ? /* @__PURE__ */ (0, H.jsx)(xbe, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -50796,26 +50955,26 @@ function tbe({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, H.jsx)(ibe, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, H.jsx)(Yye, {
+ /* @__PURE__ */ (0, H.jsx)(Cbe, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, H.jsx)(mbe, {
initial: e.push_discovery,
receipt: t
}) : null,
- e.downloads ? /* @__PURE__ */ (0, H.jsx)(zye, {
+ e.downloads ? /* @__PURE__ */ (0, H.jsx)(ibe, {
initial: e.downloads,
receipt: t
}) : null,
- e.downloads ? /* @__PURE__ */ (0, H.jsx)(Uye, { receipt: t }) : null
+ e.downloads ? /* @__PURE__ */ (0, H.jsx)(cbe, { receipt: t }) : null
]
});
}
-function nbe({ data: e, receipt: t }) {
- let [n, r] = (0, B.useState)(() => $ye(e)), [i, a] = (0, B.useState)(String(e.port)), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)([]), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(null), [g, _] = (0, B.useState)(null), [v, y] = (0, B.useState)(null), b = (0, B.useRef)(!1), x = (0, B.useRef)(e.revision), S = (0, B.useRef)([]), C = pT();
+function xbe({ data: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(() => vbe(e)), [i, a] = (0, B.useState)(String(e.port)), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)([]), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(null), [g, _] = (0, B.useState)(null), [v, y] = (0, B.useState)(null), b = (0, B.useRef)(!1), x = (0, B.useRef)(e.revision), S = (0, B.useRef)([]), C = lT();
(0, B.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, B.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), Xye);
+ let e = setTimeout(() => location.assign(m.url), hbe);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -50826,14 +50985,14 @@ function nbe({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, GL()]);
+ _(n.length), r((e) => [...e, BL()]);
}, D = (e) => {
r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));
}, O = async (e) => {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await q(vye, { initial: n[e]?.path ?? "" });
+ let { path: t } = await q(Lye, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, G(t));
@@ -50842,7 +51001,7 @@ function nbe({ data: e, receipt: t }) {
}
}
}, k = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => q(AL, {
+ r.preventDefault(), p(""), C.run("save", (t) => q(TL, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -50851,18 +51010,18 @@ function nbe({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = ebe(e);
+ let t = ybe(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(G(e));
});
};
- if (m) return /* @__PURE__ */ (0, H.jsx)(ST, {
+ if (m) return /* @__PURE__ */ (0, H.jsx)(vT, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, H.jsx)(wT, { children: /* @__PURE__ */ (0, H.jsxs)(Y, {
+ children: /* @__PURE__ */ (0, H.jsx)(bT, { children: /* @__PURE__ */ (0, H.jsxs)(Y, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, H.jsx)(eT, {
+ /* @__PURE__ */ (0, H.jsx)(Xw, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -50872,14 +51031,14 @@ function nbe({ 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, H.jsxs)(ST, {
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "这台电脑",
onSubmit: k,
- children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ children: [/* @__PURE__ */ (0, H.jsxs)(bT, { children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(OT, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, H.jsx)(wT, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, H.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -50890,7 +51049,7 @@ function nbe({ data: e, receipt: t }) {
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -50903,14 +51062,14 @@ function nbe({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, H.jsx)(fT, {
- icon: Zye,
+ /* @__PURE__ */ (0, H.jsx)(cT, {
+ icon: gbe,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...X(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, H.jsx)(fT, {
- icon: Iw,
+ n.length > 1 ? /* @__PURE__ */ (0, H.jsx)(cT, {
+ icon: Aw,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
}) : null
@@ -50918,7 +51077,7 @@ function nbe({ data: e, receipt: t }) {
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(jk, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -50927,7 +51086,7 @@ function nbe({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "媒体库图标" }), /* @__PURE__ */ (0, H.jsx)(Kye, {
+ children: [/* @__PURE__ */ (0, H.jsx)(wT, { children: "媒体库图标" }), /* @__PURE__ */ (0, H.jsx)(dbe, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -50936,20 +51095,20 @@ function nbe({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "媒体来源" }), /* @__PURE__ */ (0, H.jsx)(Lk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(wT, { children: "媒体来源" }), /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: UL.map(([e, t]) => /* @__PURE__ */ (0, H.jsxs)(Rk, {
+ children: RL.map(([e, t]) => /* @__PURE__ */ (0, H.jsxs)(Pk, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: WL(e) }), t]
+ children: [/* @__PURE__ */ (0, H.jsx)(kT, { mark: zL(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, H.jsx)(Fk, {
+ e.windows === !1 ? /* @__PURE__ */ (0, H.jsx)(jk, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -50966,18 +51125,18 @@ function nbe({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, H.jsx)(Pye, {}) : null,
- j.map((e) => /* @__PURE__ */ (0, H.jsxs)(ET, { children: [
+ A ? /* @__PURE__ */ (0, H.jsx)($ye, {}) : null,
+ j.map((e) => /* @__PURE__ */ (0, H.jsxs)(ST, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, H.jsxs)(kT, {
+ /* @__PURE__ */ (0, H.jsxs)(TT, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, H.jsx)(ET, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, H.jsx)(Fk, {
+ e.windows === !1 ? /* @__PURE__ */ (0, H.jsx)(ST, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, H.jsx)(jk, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -50987,7 +51146,7 @@ function nbe({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, H.jsx)(rM, {
+ /* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
@@ -50997,7 +51156,7 @@ function nbe({ data: e, receipt: t }) {
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, H.jsx)(TT, {
+ ] }), /* @__PURE__ */ (0, H.jsx)(xT, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
@@ -51007,7 +51166,7 @@ function nbe({ data: e, receipt: t }) {
})]
});
}
-function rbe({ online: e }) {
+function Sbe({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, H.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -51031,21 +51190,21 @@ function rbe({ online: e }) {
}), "未检测"]
});
}
-function ibe({ data: e }) {
- let t = e.media_sources, n = pT();
- return t ? /* @__PURE__ */ (0, H.jsxs)(ST, {
+function Cbe({ data: e }) {
+ let t = e.media_sources, n = lT();
+ return t ? /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, H.jsx)(AT, { children: t.map((e, t) => /* @__PURE__ */ (0, H.jsxs)(jT, {
- term: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: WL(e.location) }), Qye(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, H.jsx)(rbe, { online: e.online })]
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: t.map((e, t) => /* @__PURE__ */ (0, H.jsxs)(DT, {
+ term: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(kT, { mark: zL(e.location) }), _be(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, H.jsx)(Sbe, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
+ n.error ? /* @__PURE__ */ (0, H.jsx)(bT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(DT, { children: n.error })
+ children: /* @__PURE__ */ (0, H.jsx)(CT, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
- onClick: () => void n.run("refresh", (e) => ML(e), (e) => z.setQueryData(jL, e)),
+ /* @__PURE__ */ (0, H.jsx)(xT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ onClick: () => void n.run("refresh", (e) => DL(e), (e) => z.setQueryData(EL, e)),
...X(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -51054,13 +51213,13 @@ function ibe({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var abe = {
+var wbe = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function obe({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(!1), [f, p] = (0, B.useState)({}), m = (0, B.useRef)(null), h = pT(), g = (e) => {
+function Tbe({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(!1), [f, p] = (0, B.useState)({}), m = (0, B.useRef)(null), h = lT(), 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) {
@@ -51077,28 +51236,28 @@ function obe({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof RC ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof MC ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(G(e));
});
- }, _ = abe[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+ }, _ = wbe[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, H.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
- _ ? /* @__PURE__ */ (0, H.jsx)(ET, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, H.jsxs)(bT, { children: [
+ _ ? /* @__PURE__ */ (0, H.jsx)(ST, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, H.jsx)(rM, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, H.jsx)(Qj, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, H.jsx)(Fk, {
+ n.mode === "password" ? /* @__PURE__ */ (0, H.jsx)(jk, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -51111,7 +51270,7 @@ function obe({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Fk, {
+ v ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(jk, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -51124,7 +51283,7 @@ function obe({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, H.jsx)(Fk, {
+ }), /* @__PURE__ */ (0, H.jsx)(jk, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -51143,9 +51302,9 @@ function obe({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, H.jsx)(TT, {
+ }), v ? /* @__PURE__ */ (0, H.jsx)(xT, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
@@ -51157,19 +51316,19 @@ function obe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var sbe = 2e3, cbe = [["quick", "临时链接"], ["named", "命名隧道"]], lbe = {
+var Ebe = 2e3, Dbe = [["quick", "临时链接"], ["named", "命名隧道"]], Obe = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function ube({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, B.useState)(t), [a, o] = (0, B.useState)(e), [s, c] = (0, B.useState)(t.mode), [l, u] = (0, B.useState)(t.hostname), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)({}), h = pT(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function kbe({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, B.useState)(t), [a, o] = (0, B.useState)(e), [s, c] = (0, B.useState)(t.mode), [l, u] = (0, B.useState)(t.hostname), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)({}), h = lT(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, B.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- ML(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (z.setQueryData(jL, t), i(t.tunnel), o(t.revision));
+ DL(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (z.setQueryData(EL, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, sbe);
+ }, Ebe);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -51184,30 +51343,30 @@ function ube({ 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 RC ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof MC ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(G(e));
});
};
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [
- r.named_available ? /* @__PURE__ */ (0, H.jsx)(CC, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(bT, { children: [
+ r.named_available ? /* @__PURE__ */ (0, H.jsx)(_C, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: wC,
- children: cbe.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(dg, {
+ className: vC,
+ children: Dbe.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(fg, {
value: e,
- className: TC,
+ className: yC,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, H.jsx)(ET, { children: lbe[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Fk, {
+ /* @__PURE__ */ (0, H.jsx)(ST, { children: Obe[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(jk, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -51218,7 +51377,7 @@ function ube({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, H.jsx)(Fk, {
+ }), /* @__PURE__ */ (0, H.jsx)(jk, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -51238,7 +51397,7 @@ function ube({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, H.jsx)(kT, {
+ children: /* @__PURE__ */ (0, H.jsx)(TT, {
href: r.url,
children: r.url
})
@@ -51248,9 +51407,9 @@ function ube({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, H.jsxs)(TT, {
+ r.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, H.jsxs)(xT, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -51266,24 +51425,24 @@ function ube({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var dbe = [
+var Abe = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function fbe({ data: e, receipt: t }) {
+function jbe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, H.jsx)(pbe, {
+ e.peach_proxy ? /* @__PURE__ */ (0, H.jsx)(Mbe, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, H.jsx)(obe, {
+ e.access ? /* @__PURE__ */ (0, H.jsx)(Tbe, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, H.jsx)(ube, {
+ e.tunnel ? /* @__PURE__ */ (0, H.jsx)(kbe, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -51291,9 +51450,9 @@ function fbe({ data: e, receipt: t }) {
]
});
}
-function pbe({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.mode), [o, s] = (0, B.useState)(""), c = pT();
- return /* @__PURE__ */ (0, H.jsxs)(ST, {
+function Mbe({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.mode), [o, s] = (0, B.useState)(""), c = lT();
+ return /* @__PURE__ */ (0, H.jsxs)(vT, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -51305,25 +51464,25 @@ function pbe({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, H.jsx)(CT, { children: /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsx)(yT, { children: /* @__PURE__ */ (0, H.jsx)(_T, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, H.jsx)(Lk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: dbe.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: Abe.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, H.jsxs)(wT, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, H.jsxs)(bT, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, H.jsx)(Fk, {
+ i === "proxy" ? /* @__PURE__ */ (0, H.jsx)(jk, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -51337,10 +51496,10 @@ function pbe({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, H.jsx)(CT, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ /* @__PURE__ */ (0, H.jsx)(xT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
...X(c.busy === "save"),
children: "保存配置"
@@ -51350,10 +51509,10 @@ function pbe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function mbe({ receipt: e, reopenTutorial: t }) {
- let n = gw({
- queryKey: jL,
- queryFn: ({ signal: e }) => ML(e)
+function Nbe({ receipt: e, reopenTutorial: t }) {
+ let n = uw({
+ queryKey: EL,
+ queryFn: ({ signal: e }) => DL(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, H.jsx)("div", {
className: "configpage",
@@ -51374,22 +51533,22 @@ function mbe({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, H.jsx)(Sye, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, H.jsx)(Vye, { ...i }) : null,
/* @__PURE__ */ (0, H.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, H.jsx)(tbe, { ...i }),
+ /* @__PURE__ */ (0, H.jsx)(bbe, { ...i }),
o ? /* @__PURE__ */ (0, H.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, H.jsx)(fbe, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, H.jsx)(jbe, { ...i }) : null,
/* @__PURE__ */ (0, H.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, H.jsx)(Dye, {
+ /* @__PURE__ */ (0, H.jsx)(Kye, {
...i,
reopenTutorial: t
})
@@ -51398,14 +51557,14 @@ function mbe({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var hbe = "/api/stats", KL = ["stats"], qL = (e) => K(hbe, e);
-async function gbe(e) {
+var Pbe = "/api/stats", VL = ["stats"], HL = (e) => K(Pbe, e);
+async function Fbe(e) {
await z.fetchQuery({
- queryKey: KL,
- queryFn: () => qL(e)
+ queryKey: VL,
+ queryFn: () => HL(e)
});
}
-var JL = (e, t) => t ? Math.round(e / t * 100) : 0, _be = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, YL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, XL = (e) => (e.max_reached || 0) * 100, vbe = (e) => e.kind === "online" ? "在线直接观看" : YL(e) < XL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", ybe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, bbe = (e) => Math.max(1, ...e) * 1.1, xbe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Sbe = {
+var UL = (e, t) => t ? Math.round(e / t * 100) : 0, Ibe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, WL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, GL = (e) => (e.max_reached || 0) * 100, Lbe = (e) => e.kind === "online" ? "在线直接观看" : WL(e) < GL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Rbe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, zbe = (e) => Math.max(1, ...e) * 1.1, Bbe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Vbe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -51413,18 +51572,18 @@ var JL = (e, t) => t ? Math.round(e / t * 100) : 0, _be = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, Cbe = (e) => e.map((e) => ({
- name: Sbe[e.k] ?? e.k,
+}, Hbe = (e) => e.map((e) => ({
+ name: Vbe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), wbe = {
+})).sort((e, t) => t.value - e.value), Ube = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, ZL = (e, t = {}) => e.map((e) => ({
+}, KL = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), Tbe = (e) => ZL(e, wbe), Ebe = [
+})), Wbe = (e) => KL(e, Ube), Gbe = [
[
1,
1,
@@ -51460,49 +51619,49 @@ var JL = (e, t) => t ? Math.round(e / t * 100) : 0, _be = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], Dbe = (e) => Ebe.map(([t, n, r]) => ({
+], Kbe = (e) => Gbe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), Obe = /* @__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 QL(e) {
- return typeof e == "string" && Obe.includes(e);
+})), qbe = /* @__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 qL(e) {
+ return typeof e == "string" && qbe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var kbe = /* @__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 $L(e) {
- return typeof e == "string" && kbe.has(e);
+var Jbe = /* @__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 JL(e) {
+ return typeof e == "string" && Jbe.has(e);
}
-function eR(e) {
+function YL(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function tR(e) {
+function XL(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($L(n) || eR(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (JL(n) || YL(n)) && (t[n] = e[n]);
return t;
}
-function nR(e) {
+function ZL(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, B.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return tR(t);
+ return XL(t);
}
- return typeof e == "object" && !Array.isArray(e) ? tR(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? XL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function rR(e) {
+function QL(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($L(n) || eR(n) || QL(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (JL(n) || YL(n) || qL(n)) && (t[n] = e[n]);
return t;
}
-function Abe(e) {
- return e == null ? null : /*#__PURE__*/ (0, B.isValidElement)(e) ? rR(e.props) : typeof e == "object" && !Array.isArray(e) ? rR(e) : null;
+function Ybe(e) {
+ return e == null ? null : /*#__PURE__*/ (0, B.isValidElement)(e) ? QL(e.props) : typeof e == "object" && !Array.isArray(e) ? QL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var jbe = [
+var Xbe = [
"children",
"width",
"height",
@@ -51512,25 +51671,25 @@ var jbe = [
"title",
"desc"
];
-function iR() {
- return iR = Object.assign ? Object.assign.bind() : function(e) {
+function $L() {
+ return $L = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, iR.apply(null, arguments);
+ }, $L.apply(null, arguments);
}
-function Mbe(e, t) {
+function Zbe(e, t) {
if (e == null) return {};
- var n, r, i = Nbe(e, t);
+ var n, r, i = Qbe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Nbe(e, t) {
+function Qbe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -51539,14 +51698,14 @@ function Nbe(e, t) {
}
return n;
}
-var aR = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Mbe(e, jbe), d = a || {
+var eR = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Zbe(e, Xbe), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Jr("recharts-surface", o);
- return /*#__PURE__*/ B.createElement("svg", iR({}, rR(u), {
+ return /*#__PURE__*/ B.createElement("svg", $L({}, QL(u), {
className: f,
width: r,
height: i,
@@ -51554,26 +51713,26 @@ var aR = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ B.createElement("title", null, c), /*#__PURE__*/ B.createElement("desc", null, l), n);
-}), Pbe = ["children", "className"];
-function oR() {
- return oR = Object.assign ? Object.assign.bind() : function(e) {
+}), $be = ["children", "className"];
+function tR() {
+ return tR = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, oR.apply(null, arguments);
+ }, tR.apply(null, arguments);
}
-function Fbe(e, t) {
+function exe(e, t) {
if (e == null) return {};
- var n, r, i = Ibe(e, t);
+ var n, r, i = txe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Ibe(e, t) {
+function txe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -51582,39 +51741,39 @@ function Ibe(e, t) {
}
return n;
}
-var sR = /*#__PURE__*/ B.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = Fbe(e, Pbe), a = Jr("recharts-layer", r);
- return /*#__PURE__*/ B.createElement("g", oR({ className: a }, rR(i), { ref: t }), n);
-}), cR = /*#__PURE__*/ (0, B.createContext)(null), Lbe = () => (0, B.useContext)(cR);
+var nR = /*#__PURE__*/ B.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = exe(e, $be), a = Jr("recharts-layer", r);
+ return /*#__PURE__*/ B.createElement("g", tR({ className: a }, QL(i), { ref: t }), n);
+}), rR = /*#__PURE__*/ (0, B.createContext)(null), nxe = () => (0, B.useContext)(rR);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function lR(e) {
+function iR(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var uR = Math.cos, dR = Math.sin, fR = Math.sqrt, pR = Math.PI;
-pR / 2;
-var mR = 2 * pR, hR = Math.PI, gR = 2 * hR, _R = 1e-6, Rbe = gR - _R;
-function vR(e) {
+var aR = Math.cos, oR = Math.sin, sR = Math.sqrt, cR = Math.PI;
+cR / 2;
+var lR = 2 * cR, uR = Math.PI, dR = 2 * uR, fR = 1e-6, rxe = dR - fR;
+function pR(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function zbe(e) {
+function ixe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return vR;
+ if (t > 15) return pR;
let n = 10 ** t;
return function(e) {
this._ += e[0];
for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
};
}
-var yR = class {
+var mR = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? vR : zbe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? pR : ixe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -51635,18 +51794,18 @@ var yR = class {
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
- else if (d > _R) {
- if (!(Math.abs(u * s - c * l) > _R) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > fR) {
+ if (!(Math.abs(u * s - c * l) > fR) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
else {
- let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((hR - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > _R && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((uR - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > fR && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > _R || Math.abs(this._y1 - l) > _R) && this._append`L${c},${l}`, n && (d < 0 && (d = d % gR + gR), d > Rbe ? 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 > _R && this._append`A${n},${n},0,${+(d >= hR)},${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) > fR || Math.abs(this._y1 - l) > fR) && this._append`L${c},${l}`, n && (d < 0 && (d = d % dR + dR), d > rxe ? 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 > fR && this._append`A${n},${n},0,${+(d >= uR)},${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`;
@@ -51655,10 +51814,10 @@ var yR = class {
return this._;
}
};
-yR.prototype;
+mR.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function bR(e) {
+function hR(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -51669,18 +51828,18 @@ function bR(e) {
t = e;
}
return e;
- }, () => new yR(t);
+ }, () => new mR(t);
}
Array.prototype.slice;
-function xR(e) {
+function gR(e) {
return typeof e == "object" && "length" in e ? e : Array.from(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js
-function SR(e) {
+function _R(e) {
this._context = e;
}
-SR.prototype = {
+_R.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -51703,33 +51862,33 @@ SR.prototype = {
}
}
};
-function CR(e) {
- return new SR(e);
+function vR(e) {
+ return new _R(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function wR(e) {
+function yR(e) {
return e[0];
}
-function TR(e) {
+function bR(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function ER(e, t) {
- var n = lR(!0), r = null, i = CR, a = null, o = bR(s);
- e = typeof e == "function" ? e : e === void 0 ? wR : lR(e), t = typeof t == "function" ? t : t === void 0 ? TR : lR(t);
+function xR(e, t) {
+ var n = iR(!0), r = null, i = vR, a = null, o = hR(s);
+ e = typeof e == "function" ? e : e === void 0 ? yR : iR(e), t = typeof t == "function" ? t : t === void 0 ? bR : iR(t);
function s(s) {
- var c, l = (s = xR(s)).length, u, d = !1, f;
+ var c, l = (s = gR(s)).length, u, d = !1, f;
for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
if (f) return a = null, f + "" || null;
}
return s.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : lR(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : iR(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : lR(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : iR(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : lR(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : iR(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -51738,11 +51897,11 @@ function ER(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function DR(e, t, n) {
- var r = null, i = lR(!0), a = null, o = CR, s = null, c = bR(l);
- e = typeof e == "function" ? e : e === void 0 ? wR : lR(+e), t = typeof t == "function" ? t : lR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? TR : lR(+n);
+function SR(e, t, n) {
+ var r = null, i = iR(!0), a = null, o = vR, s = null, c = hR(l);
+ e = typeof e == "function" ? e : e === void 0 ? yR : iR(+e), t = typeof t == "function" ? t : iR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? bR : iR(+n);
function l(l) {
- var u, d, f, p = (l = xR(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = gR(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {
if (!(u < p && i(m = l[u], u, l)) === h) {
if (h = !h) d = u, s.areaStart(), s.lineStart();
@@ -51756,20 +51915,20 @@ function DR(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return ER().defined(i).curve(o).context(a);
+ return xR().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : lR(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : iR(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : lR(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : iR(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : lR(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : iR(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : lR(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : iR(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : lR(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : iR(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : lR(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : iR(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -51777,7 +51936,7 @@ function DR(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : lR(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : iR(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -51786,7 +51945,7 @@ function DR(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var OR = class {
+var CR = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -51813,70 +51972,70 @@ var OR = class {
this._x0 = e, this._y0 = t;
}
};
-function Bbe(e) {
- return new OR(e, !0);
+function axe(e) {
+ return new CR(e, !0);
}
-function Vbe(e) {
- return new OR(e, !1);
+function oxe(e) {
+ return new CR(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var kR = { draw(e, t) {
- let n = fR(t / pR);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, mR);
-} }, Hbe = { draw(e, t) {
- let n = fR(t / 5) / 2;
+var wR = { draw(e, t) {
+ let n = sR(t / cR);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, lR);
+} }, sxe = { draw(e, t) {
+ let n = sR(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();
-} }, AR = fR(1 / 3), Ube = AR * 2, Wbe = { draw(e, t) {
- let n = fR(t / Ube), r = n * AR;
+} }, TR = sR(1 / 3), cxe = TR * 2, lxe = { draw(e, t) {
+ let n = sR(t / cxe), r = n * TR;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, Gbe = { draw(e, t) {
- let n = fR(t), r = -n / 2;
+} }, uxe = { draw(e, t) {
+ let n = sR(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, Kbe = .8908130915292852, jR = dR(pR / 10) / dR(7 * pR / 10), qbe = dR(mR / 10) * jR, Jbe = -uR(mR / 10) * jR, Ybe = { draw(e, t) {
- let n = fR(t * Kbe), r = qbe * n, i = Jbe * n;
+} }, dxe = .8908130915292852, ER = oR(cR / 10) / oR(7 * cR / 10), fxe = oR(lR / 10) * ER, pxe = -aR(lR / 10) * ER, mxe = { draw(e, t) {
+ let n = sR(t * dxe), r = fxe * n, i = pxe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = mR * t / 5, o = uR(a), s = dR(a);
+ let a = lR * t / 5, o = aR(a), s = oR(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, MR = fR(3), Xbe = { draw(e, t) {
- let n = -fR(t / (MR * 3));
- e.moveTo(0, n * 2), e.lineTo(-MR * n, -n), e.lineTo(MR * n, -n), e.closePath();
-} }, NR = -.5, PR = fR(3) / 2, FR = 1 / fR(12), Zbe = (FR / 2 + 1) * 3, Qbe = { draw(e, t) {
- let n = fR(t / Zbe), r = n / 2, i = n * FR, a = r, o = n * FR + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(NR * r - PR * i, PR * r + NR * i), e.lineTo(NR * a - PR * o, PR * a + NR * o), e.lineTo(NR * s - PR * c, PR * s + NR * c), e.lineTo(NR * r + PR * i, NR * i - PR * r), e.lineTo(NR * a + PR * o, NR * o - PR * a), e.lineTo(NR * s + PR * c, NR * c - PR * s), e.closePath();
+} }, DR = sR(3), hxe = { draw(e, t) {
+ let n = -sR(t / (DR * 3));
+ e.moveTo(0, n * 2), e.lineTo(-DR * n, -n), e.lineTo(DR * n, -n), e.closePath();
+} }, OR = -.5, kR = sR(3) / 2, AR = 1 / sR(12), gxe = (AR / 2 + 1) * 3, _xe = { draw(e, t) {
+ let n = sR(t / gxe), r = n / 2, i = n * AR, a = r, o = n * AR + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(OR * r - kR * i, kR * r + OR * i), e.lineTo(OR * a - kR * o, kR * a + OR * o), e.lineTo(OR * s - kR * c, kR * s + OR * c), e.lineTo(OR * r + kR * i, OR * i - kR * r), e.lineTo(OR * a + kR * o, OR * o - kR * a), e.lineTo(OR * s + kR * c, OR * c - kR * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function $be(e, t) {
- let n = null, r = bR(i);
- e = typeof e == "function" ? e : lR(e || kR), t = typeof t == "function" ? t : lR(t === void 0 ? 64 : +t);
+function vxe(e, t) {
+ let n = null, r = hR(i);
+ e = typeof e == "function" ? e : iR(e || wR), t = typeof t == "function" ? t : iR(t === void 0 ? 64 : +t);
function i() {
let i;
if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;
}
return i.type = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : lR(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : iR(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : lR(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : iR(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js
-function IR() {}
+function jR() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function LR(e, t, n) {
+function MR(e, t, n) {
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
}
-function RR(e) {
+function NR(e) {
this._context = e;
}
-RR.prototype = {
+NR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -51888,7 +52047,7 @@ RR.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: LR(this, this._x1, this._y1);
+ case 3: MR(this, this._x1, this._y1);
case 2: this._context.lineTo(this._x1, this._y1);
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
@@ -51902,22 +52061,22 @@ RR.prototype = {
this._point = 2;
break;
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
- default: LR(this, e, t);
+ default: MR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function exe(e) {
- return new RR(e);
+function yxe(e) {
+ return new NR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function zR(e) {
+function PR(e) {
this._context = e;
}
-zR.prototype = {
- areaStart: IR,
- areaEnd: IR,
+PR.prototype = {
+ areaStart: jR,
+ areaEnd: jR,
lineStart: function() {
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
},
@@ -51943,20 +52102,20 @@ zR.prototype = {
case 2:
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
break;
- default: LR(this, e, t);
+ default: MR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function txe(e) {
- return new zR(e);
+function bxe(e) {
+ return new PR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function BR(e) {
+function FR(e) {
this._context = e;
}
-BR.prototype = {
+FR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -51983,22 +52142,22 @@ BR.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: LR(this, e, t);
+ default: MR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function nxe(e) {
- return new BR(e);
+function xxe(e) {
+ return new FR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function VR(e) {
+function IR(e) {
this._context = e;
}
-VR.prototype = {
- areaStart: IR,
- areaEnd: IR,
+IR.prototype = {
+ areaStart: jR,
+ areaEnd: jR,
lineStart: function() {
this._point = 0;
},
@@ -52009,30 +52168,30 @@ VR.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function rxe(e) {
- return new VR(e);
+function Sxe(e) {
+ return new IR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function HR(e) {
+function LR(e) {
return e < 0 ? -1 : 1;
}
-function UR(e, t, n) {
+function RR(e, t, n) {
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
- return (HR(a) + HR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (LR(a) + LR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function WR(e, t) {
+function zR(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function GR(e, t, n) {
+function BR(e, t, n) {
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
}
-function KR(e) {
+function VR(e) {
this._context = e;
}
-KR.prototype = {
+VR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52047,7 +52206,7 @@ KR.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: GR(this, this._t0, WR(this, this._t0));
+ case 3: BR(this, this._t0, zR(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -52062,24 +52221,24 @@ KR.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, GR(this, WR(this, n = UR(this, e, t)), n);
+ this._point = 3, BR(this, zR(this, n = RR(this, e, t)), n);
break;
- default: GR(this, this._t0, n = UR(this, e, t));
+ default: BR(this, this._t0, n = RR(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function qR(e) {
- this._context = new JR(e);
+function HR(e) {
+ this._context = new UR(e);
}
-(qR.prototype = Object.create(KR.prototype)).point = function(e, t) {
- KR.prototype.point.call(this, t, e);
+(HR.prototype = Object.create(VR.prototype)).point = function(e, t) {
+ VR.prototype.point.call(this, t, e);
};
-function JR(e) {
+function UR(e) {
this._context = e;
}
-JR.prototype = {
+UR.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -52093,18 +52252,18 @@ JR.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function ixe(e) {
- return new KR(e);
+function Cxe(e) {
+ return new VR(e);
}
-function axe(e) {
- return new qR(e);
+function wxe(e) {
+ return new HR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function YR(e) {
+function WR(e) {
this._context = e;
}
-YR.prototype = {
+WR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52118,7 +52277,7 @@ YR.prototype = {
var e = this._x, t = this._y, n = e.length;
if (n) {
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
- else for (var r = XR(e), i = XR(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = GR(e), i = GR(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -52126,7 +52285,7 @@ YR.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function XR(e) {
+function GR(e) {
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
@@ -52134,15 +52293,15 @@ function XR(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 oxe(e) {
- return new YR(e);
+function Txe(e) {
+ return new WR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function ZR(e, t) {
+function KR(e, t) {
this._context = e, this._t = t;
}
-ZR.prototype = {
+KR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52170,78 +52329,78 @@ ZR.prototype = {
this._x = e, this._y = t;
}
};
-function sxe(e) {
- return new ZR(e, .5);
+function Exe(e) {
+ return new KR(e, .5);
}
-function cxe(e) {
- return new ZR(e, 0);
+function Dxe(e) {
+ return new KR(e, 0);
}
-function lxe(e) {
- return new ZR(e, 1);
+function Oxe(e) {
+ return new KR(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function QR(e, t) {
+function qR(e, t) {
if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js
-function $R(e) {
+function JR(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function uxe(e, t) {
+function kxe(e, t) {
return e[t];
}
-function dxe(e) {
+function Axe(e) {
let t = [];
return t.key = e, t;
}
-function fxe() {
- var e = lR([]), t = $R, n = QR, r = uxe;
+function jxe() {
+ var e = iR([]), t = JR, n = qR, r = kxe;
function i(i) {
- var a = Array.from(e.apply(this, arguments), dxe), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), Axe), 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 = xR(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = gR(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
}
return i.keys = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : lR(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : iR(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : lR(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : iR(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? $R : typeof e == "function" ? e : lR(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? JR : typeof e == "function" ? e : iR(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? QR, i) : n;
+ return arguments.length ? (n = e ?? qR, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function pxe(e, t) {
+function Mxe(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- QR(e, t);
+ qR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function mxe(e, t) {
+function Nxe(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- QR(e, t);
+ qR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function hxe(e, t) {
+function Pxe(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) {
@@ -52253,53 +52412,53 @@ function hxe(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, QR(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, qR(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function ez(e) {
+function YR(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var gxe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function tz(e) {
+var Fxe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function XR(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : gxe.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Fxe.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function nz(e) {
+function ZR(e) {
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
-function rz(e) {
+function QR(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function _xe(e) {
- return e == null ? "" : iz(e);
+function Ixe(e) {
+ return e == null ? "" : $R(e);
}
-function iz(e) {
+function $R(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(iz).join(",");
- if (rz(e)) return e.toString();
+ if (Array.isArray(e)) return e.map($R).join(",");
+ if (QR(e)) return e.toString();
let t = e + "";
return t === "0" && Object.is(Number(e), -0) ? "-0" : t;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs
-function az(e) {
- if (Array.isArray(e)) return e.map(nz);
+function ez(e) {
+ if (Array.isArray(e)) return e.map(ZR);
if (typeof e == "symbol") return [e];
- e = _xe(e);
+ e = Ixe(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -52327,100 +52486,100 @@ function az(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function oz(e, t, n) {
+function tz(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (ez(t)) return n;
+ if (YR(t)) return n;
let r = e[t];
- return r === void 0 ? tz(t) && !Object.hasOwn(e, t) ? oz(e, az(t), n) : n : r;
+ return r === void 0 ? XR(t) && !Object.hasOwn(e, t) ? tz(e, ez(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = nz(t));
+ typeof t == "number" && (t = ZR(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return vxe(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), ez(t)) return n;
+ if (Array.isArray(t)) return Lxe(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), YR(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function vxe(e, t, n) {
+function Lxe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || ez(t[e])) return n;
+ if (r == null || YR(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var yxe = 4;
-function sz(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : yxe), n = Math.round(e * t) / t;
+var Rxe = 4;
+function nz(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Rxe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function cz(e) {
+function rz(e) {
var t = [...arguments].slice(1);
return e.reduce((e, n, r) => {
var i = t[r - 1];
- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + sz(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + nz(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var lz = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, uz = (e) => typeof e == "number" && e != +e, dz = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !uz(e), fz = (e) => Z(e) || typeof e == "string", bxe = 0, pz = (e) => {
- var t = ++bxe;
+var iz = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, az = (e) => typeof e == "number" && e != +e, oz = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !az(e), sz = (e) => Z(e) || typeof e == "string", zxe = 0, cz = (e) => {
+ var t = ++zxe;
return `${e || ""}${t}`;
-}, mz = function(e, t) {
+}, lz = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
if (!Z(e) && typeof e != "string") return n;
var i;
- if (dz(e)) {
+ if (oz(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return uz(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, hz = (e) => {
+ return az(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, uz = (e) => {
if (!Array.isArray(e)) return !1;
for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;
else return !0;
return !1;
};
-function gz(e, t, n) {
- return Z(e) && Z(t) ? sz(e + n * (t - e)) : t;
+function dz(e, t, n) {
+ return Z(e) && Z(t) ? nz(e + n * (t - e)) : t;
}
-function _z(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : oz(e, t)) === n);
+function fz(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : tz(e, t)) === n);
}
-var vz = (e) => e == null, yz = (e) => vz(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function bz(e) {
+var pz = (e) => e == null, mz = (e) => pz(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function hz(e) {
return e != null;
}
-function xz() {}
+function gz() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var xxe = [
+var Bxe = [
"type",
"size",
"sizeType"
];
-function Sz() {
- return Sz = Object.assign ? Object.assign.bind() : function(e) {
+function _z() {
+ return _z = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Sz.apply(null, arguments);
+ }, _z.apply(null, arguments);
}
-function Cz(e, t) {
+function vz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52430,30 +52589,30 @@ function Cz(e, t) {
}
return n;
}
-function wz(e) {
+function yz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Cz(Object(n), !0).forEach(function(t) {
- Sxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Cz(Object(n)).forEach(function(t) {
+ t % 2 ? vz(Object(n), !0).forEach(function(t) {
+ Vxe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Sxe(e, t, n) {
- return (t = Cxe(t)) in e ? Object.defineProperty(e, t, {
+function Vxe(e, t, n) {
+ return (t = Hxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Cxe(e) {
- var t = wxe(e, "string");
+function Hxe(e) {
+ var t = Uxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wxe(e, t) {
+function Uxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52463,16 +52622,16 @@ function wxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Txe(e, t) {
+function Wxe(e, t) {
if (e == null) return {};
- var n, r, i = Exe(e, t);
+ var n, r, i = Gxe(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 Exe(e, t) {
+function Gxe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -52481,68 +52640,68 @@ function Exe(e, t) {
}
return n;
}
-var Tz = {
- symbolCircle: kR,
- symbolCross: Hbe,
- symbolDiamond: Wbe,
- symbolSquare: Gbe,
- symbolStar: Ybe,
- symbolTriangle: Xbe,
- symbolWye: Qbe
-}, Dxe = Math.PI / 180, Oxe = (e) => Tz[`symbol${yz(e)}`] || kR, kxe = (e, t, n) => {
+var bz = {
+ symbolCircle: wR,
+ symbolCross: sxe,
+ symbolDiamond: lxe,
+ symbolSquare: uxe,
+ symbolStar: mxe,
+ symbolTriangle: hxe,
+ symbolWye: _xe
+}, Kxe = Math.PI / 180, qxe = (e) => bz[`symbol${mz(e)}`] || wR, Jxe = (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 * Dxe;
+ var r = 18 * Kxe;
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;
}
-}, Axe = (e, t) => {
- Tz[`symbol${yz(e)}`] = t;
-}, Ez = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = wz(wz({}, Txe(e, xxe)), {}, {
+}, Yxe = (e, t) => {
+ bz[`symbol${mz(e)}`] = t;
+}, xz = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = yz(yz({}, Wxe(e, Bxe)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = Oxe(a), t = $be().type(e).size(kxe(n, r, a))();
+ var e = qxe(a), t = vxe().type(e).size(Jxe(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = rR(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ B.createElement("path", Sz({}, u, {
+ }, { className: s, cx: c, cy: l } = i, u = QL(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ B.createElement("path", _z({}, u, {
className: Jr("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-Ez.registerSymbol = Axe;
+xz.registerSymbol = Yxe;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var Dz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, Oz = (e, t) => {
+var Sz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, Cz = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, B.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- QL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ qL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, jxe = (e, t, n) => (r) => (e(t, n, r), null), kz = (e, t, n) => {
+}, Xxe = (e, t, n) => (r) => (e(t, n, r), null), wz = (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];
- QL(i) && typeof a == "function" && (r ||= {}, r[i] = jxe(a, t, n));
+ qL(i) && typeof a == "function" && (r ||= {}, r[i] = Xxe(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function Az(e, t) {
+function Tz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52552,30 +52711,30 @@ function Az(e, t) {
}
return n;
}
-function Mxe(e) {
+function Zxe(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) {
- Nxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Az(Object(n)).forEach(function(t) {
+ t % 2 ? Tz(Object(n), !0).forEach(function(t) {
+ Qxe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Tz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Nxe(e, t, n) {
- return (t = Pxe(t)) in e ? Object.defineProperty(e, t, {
+function Qxe(e, t, n) {
+ return (t = $xe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Pxe(e) {
- var t = Fxe(e, "string");
+function $xe(e) {
+ var t = eSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Fxe(e, t) {
+function eSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52585,22 +52744,22 @@ function Fxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function jz(e, t) {
- var n = Mxe({}, e), r = t;
+function Ez(e, t) {
+ var n = Zxe({}, e), r = t;
return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
}
//#endregion
//#region node_modules/recharts/es6/component/DefaultLegendContent.js
-function Mz() {
- return Mz = Object.assign ? Object.assign.bind() : function(e) {
+function Dz() {
+ return Dz = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Mz.apply(null, arguments);
+ }, Dz.apply(null, arguments);
}
-function Nz(e, t) {
+function Oz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52610,30 +52769,30 @@ function Nz(e, t) {
}
return n;
}
-function Pz(e) {
+function kz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Nz(Object(n), !0).forEach(function(t) {
- Ixe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Nz(Object(n)).forEach(function(t) {
+ t % 2 ? Oz(Object(n), !0).forEach(function(t) {
+ tSe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Oz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ixe(e, t, n) {
- return (t = Lxe(t)) in e ? Object.defineProperty(e, t, {
+function tSe(e, t, n) {
+ return (t = nSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Lxe(e) {
- var t = Rxe(e, "string");
+function nSe(e) {
+ var t = rSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Rxe(e, t) {
+function rSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52643,7 +52802,7 @@ function Rxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Fz = 32, zxe = {
+var Az = 32, iSe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -52651,20 +52810,20 @@ var Fz = 32, zxe = {
verticalAlign: "middle",
labelStyle: {}
};
-function Bxe(e) {
+function aSe(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function Vxe(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = Fz / 2, a = Fz / 6, o = Fz / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function oSe(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = Az / 2, a = Az / 6, o = Az / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ B.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: Bxe(t.payload),
+ strokeDasharray: aSe(t.payload),
x1: 0,
y1: i,
- x2: Fz,
+ x2: Az,
y2: i,
className: "recharts-legend-icon"
});
@@ -52674,35 +52833,35 @@ function Vxe(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${Fz}M${2 * o},${i}
+ H${Az}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ B.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${Fz / 8}h${Fz}v${Fz * 3 / 4}h${-Fz}z`,
+ d: `M0,${Az / 8}h${Az}v${Az * 3 / 4}h${-Az}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ B.isValidElement(t.legendIcon)) {
- var l = Pz({}, t);
+ var l = kz({}, t);
return delete l.legendIcon, /*#__PURE__*/ B.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ B.createElement(Ez, {
+ return /*#__PURE__*/ B.createElement(xz, {
fill: s,
cx: i,
cy: i,
- size: Fz,
+ size: Az,
sizeType: "diameter",
type: c
});
}
-function Hxe(e) {
+function sSe(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: Fz,
- height: Fz
+ width: Az,
+ height: Az
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -52718,20 +52877,20 @@ function Hxe(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? Pz({}, s) : {};
+ var p = typeof s == "object" ? kz({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ B.createElement("li", Mz({
+ return /*#__PURE__*/ B.createElement("li", Dz({
className: f,
style: l,
key: `legend-item-${r}`
- }, kz(e, t, r)), /*#__PURE__*/ B.createElement(aR, {
+ }, wz(e, t, r)), /*#__PURE__*/ B.createElement(eR, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ B.createElement(Vxe, {
+ }, /*#__PURE__*/ B.createElement(oSe, {
data: t,
iconType: o,
inactiveColor: a
@@ -52741,8 +52900,8 @@ function Hxe(e) {
}, m));
});
}
-var Uxe = (e) => {
- var t = jz(e, zxe), { payload: n, layout: r, align: i } = t;
+var cSe = (e) => {
+ var t = Ez(e, iSe), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -52752,11 +52911,11 @@ var Uxe = (e) => {
return /*#__PURE__*/ B.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ B.createElement(Hxe, Mz({}, t, { payload: n })));
+ }, /*#__PURE__*/ B.createElement(sSe, Dz({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function Wxe(e, t) {
+function lSe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -52766,77 +52925,77 @@ function Wxe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function Gxe(e, t) {
+function uSe(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function Iz(e) {
+function jz(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function Kxe(e) {
+function dSe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function Lz(e) {
- return e != null && typeof e != "function" && Kxe(e.length);
+function Mz(e) {
+ return e != null && typeof e != "function" && dSe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function qxe(e) {
+function fSe(e) {
return function(t) {
- return oz(t, e);
+ return tz(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function Rz(e) {
+function Nz(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function Jxe(e) {
+function pSe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function Yxe(e) {
+function mSe(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function zz(e) {
+function Pz(e) {
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var Xxe = "[object RegExp]", Bz = "[object String]", Vz = "[object Number]", Hz = "[object Boolean]", Uz = "[object Arguments]", Zxe = "[object Symbol]", Qxe = "[object Date]", $xe = "[object Map]", eSe = "[object Set]", tSe = "[object Array]", nSe = "[object ArrayBuffer]", rSe = "[object Object]", iSe = "[object DataView]", aSe = "[object Uint8Array]", oSe = "[object Uint8ClampedArray]", sSe = "[object Uint16Array]", cSe = "[object Uint32Array]", lSe = "[object Int8Array]", uSe = "[object Int16Array]", dSe = "[object Int32Array]", Wz = "[object Float32Array]", Gz = "[object Float64Array]", Kz = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var hSe = "[object RegExp]", Fz = "[object String]", Iz = "[object Number]", Lz = "[object Boolean]", Rz = "[object Arguments]", gSe = "[object Symbol]", _Se = "[object Date]", vSe = "[object Map]", ySe = "[object Set]", bSe = "[object Array]", xSe = "[object ArrayBuffer]", SSe = "[object Object]", CSe = "[object DataView]", zz = "[object Uint8Array]", Bz = "[object Uint8ClampedArray]", Vz = "[object Uint16Array]", Hz = "[object Uint32Array]", Uz = "[object Int8Array]", Wz = "[object Int16Array]", Gz = "[object Int32Array]", Kz = "[object Float32Array]", qz = "[object Float64Array]", Jz = 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 qz(e) {
- return Kz.Buffer !== void 0 && Kz.Buffer.isBuffer(e);
+function Yz(e) {
+ return Jz.Buffer !== void 0 && Jz.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function Jz(e, t) {
- return Yz(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function Xz(e, t) {
+ return Zz(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function Yz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function Zz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (Rz(e)) return e;
+ if (Nz(e)) return e;
if (r.has(e)) return r.get(e);
if (Array.isArray(e)) {
let t = Array(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = Yz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Zz(e[a], a, n, r, i);
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
}
if (e instanceof Date) return new Date(e.getTime());
@@ -52847,132 +53006,132 @@ function Yz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
if (e instanceof Map) {
let t = /* @__PURE__ */ new Map();
r.set(e, t);
- for (let [a, o] of e) t.set(a, Yz(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, Zz(o, a, n, r, i));
return t;
}
if (e instanceof Set) {
let t = /* @__PURE__ */ new Set();
r.set(e, t);
- for (let a of e) t.add(Yz(a, void 0, n, r, i));
+ for (let a of e) t.add(Zz(a, void 0, n, r, i));
return t;
}
- if (qz(e)) return e.subarray();
- if (Jxe(e)) {
+ if (Yz(e)) return e.subarray();
+ if (pSe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = Yz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Zz(e[a], a, n, r, i);
return t;
}
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
if (e instanceof DataView) {
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
- return r.set(e, t), Xz(t, e, n, r, i), t;
+ return r.set(e, t), Qz(t, e, n, r, i), t;
}
if (typeof File < "u" && e instanceof File) {
let t = new File([e], e.name, { type: e.type });
- return r.set(e, t), Xz(t, e, n, r, i), t;
+ return r.set(e, t), Qz(t, e, n, r, i), t;
}
if (typeof Blob < "u" && e instanceof Blob) {
let t = new Blob([e], { type: e.type });
- return r.set(e, t), Xz(t, e, n, r, i), t;
+ return r.set(e, t), Qz(t, e, n, r, i), t;
}
if (e instanceof Error) {
let t = structuredClone(e);
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, Xz(t, e, n, r, i), t;
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, Qz(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), Xz(t, e, n, r, i), t;
+ return r.set(e, t), Qz(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), Xz(t, e, n, r, i), t;
+ return r.set(e, t), Qz(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), Xz(t, e, n, r, i), t;
+ return r.set(e, t), Qz(t, e, n, r, i), t;
}
- if (typeof e == "object" && Zz(e)) {
+ if (typeof e == "object" && $z(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), Xz(t, e, n, r, i), t;
+ return r.set(e, t), Qz(t, e, n, r, i), t;
}
return e;
}
-function Xz(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...Yxe(t)];
+function Qz(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...mSe(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = Yz(t[s], s, n, r, i));
- }
-}
-function Zz(e) {
- switch (zz(e)) {
+ (c == null || c.writable) && (e[s] = Zz(t[s], s, n, r, i));
+ }
+}
+function $z(e) {
+ switch (Pz(e)) {
+ case Rz:
+ case bSe:
+ case xSe:
+ case CSe:
+ case Lz:
+ case _Se:
+ case Kz:
+ case qz:
case Uz:
- case tSe:
- case nSe:
- case iSe:
- case Hz:
- case Qxe:
case Wz:
case Gz:
- case lSe:
- case uSe:
- case dSe:
- case $xe:
- case Vz:
- case rSe:
- case Xxe:
- case eSe:
+ case vSe:
+ case Iz:
+ case SSe:
+ case hSe:
+ case ySe:
+ case Fz:
+ case gSe:
+ case zz:
case Bz:
- case Zxe:
- case aSe:
- case oSe:
- case sSe:
- case cSe: return !0;
+ case Vz:
+ case Hz: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function Qz(e) {
- return Yz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function eB(e) {
+ return Zz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function $z(e, t) {
+function tB(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function eB(e) {
+function nB(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function tB(e, t, n) {
- return typeof n == "function" ? nB(e, t, function e(t, r, i, a, o, s) {
+function rB(e, t, n) {
+ return typeof n == "function" ? iB(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? nB(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : tB(e, t, () => void 0);
+ return c === void 0 ? iB(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : rB(e, t, () => void 0);
}
-function nB(e, t, n, r, i = !1) {
+function iB(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return rB(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? nB(e, { ...t }, n, r, i) : $z(e, t);
- default: return eB(e) && i ? typeof t != "string" || t === "" : $z(e, t);
+ case "object": return aB(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? iB(e, { ...t }, n, r, i) : tB(e, t);
+ default: return nB(e) && i ? typeof t != "string" || t === "" : tB(e, t);
}
}
-function rB(e, t, n, r, i = !1) {
+function aB(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return aB(e, t, n, r);
- if (t instanceof Map) return iB(e, t, n, r);
- if (t instanceof Set) return oB(e, t, n, r);
+ if (Array.isArray(t)) return sB(e, t, n, r);
+ if (t instanceof Map) return oB(e, t, n, r);
+ if (t instanceof Set) return cB(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) Rz(e) && (e = Object(e));
+ if (i) Nz(e) && (e = Object(e));
else {
- let t = zz(e);
+ let t = Pz(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -52988,13 +53147,13 @@ function rB(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function iB(e, t, n, r) {
+function oB(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function aB(e, t, n, r) {
+function sB(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -53012,40 +53171,40 @@ function aB(e, t, n, r) {
}
return !0;
}
-function oB(e, t, n, r) {
- return t.size === 0 || e instanceof Set && aB([...e], [...t], n, r);
+function cB(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && sB([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function sB(e, t) {
- return tB(e, t, () => void 0);
+function lB(e, t) {
+ return rB(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function cB(e) {
- return e = Qz(e), (t) => sB(t, e);
+function uB(e) {
+ return e = eB(e), (t) => lB(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function lB(e, t) {
- return Jz(e, (n, r, i, a) => {
+function dB(e, t) {
+ return Xz(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (zz(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (Pz(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), Xz(t, e, i, a), t;
+ return a.set(e, t), Qz(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
- case Vz:
- case Bz:
- case Hz: {
+ case Iz:
+ case Fz:
+ case Lz: {
let t = new e.constructor(e?.valueOf());
- return Xz(t, e), t;
+ return Qz(t, e), t;
}
- case Uz: {
+ case Rz: {
let t = {};
- return Xz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return Qz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -53054,79 +53213,79 @@ function lB(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function uB(e) {
- return lB(e);
+function fB(e) {
+ return dB(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var dB = /^(?:0|[1-9]\d*)$/;
-function fB(e, t = 2 ** 53 - 1) {
+var pB = /^(?:0|[1-9]\d*)$/;
+function mB(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 dB.test(e);
+ case "string": return pB.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function pB(e) {
- return typeof e == "object" && !!e && zz(e) === "[object Arguments]";
+function hB(e) {
+ return typeof e == "object" && !!e && Pz(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function mB(e, t) {
+function gB(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && tz(t) && !(t in Object(e)) ? az(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && XR(t) && !(t in Object(e)) ? ez(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = nz(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || pB(r)) && fB(t) && Number(t) < r.length)) return !1;
+ let t = ZR(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || hB(r)) && mB(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function hB(e, t) {
+function _B(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = nz(e);
+ case "number": e = ZR(e);
}
- return t = uB(t), function(n) {
- let r = oz(n, e);
- return r === void 0 ? mB(n, e) : t === void 0 ? r === void 0 : sB(r, t);
+ return t = fB(t), function(n) {
+ let r = tz(n, e);
+ return r === void 0 ? gB(n, e) : t === void 0 ? r === void 0 : lB(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function gB(e) {
- if (e == null) return Iz;
+function vB(e) {
+ if (e == null) return jz;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? hB(e[0], e[1]) : cB(e);
- default: return qxe(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? _B(e[0], e[1]) : uB(e);
+ default: return fSe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function _B(e) {
+function yB(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function vB(e, t = Iz) {
- return Lz(e) ? Wxe(Array.from(e), Gxe(gB(t), 1)).map(_B) : [];
+function bB(e, t = jz) {
+ return Mz(e) ? lSe(Array.from(e), uSe(vB(t), 1)).map(yB) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function yB(e, t, n) {
- return t === !0 ? vB(e, n) : typeof t == "function" ? vB(e, t) : e;
+function xB(e, t, n) {
+ return t === !0 ? bB(e, n) : typeof t == "function" ? bB(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var bB = /* @__PURE__ */ mt(((e) => {
+var SB = /* @__PURE__ */ mt(((e) => {
var t = St(), n = us();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -53171,60 +53330,60 @@ var bB = /* @__PURE__ */ mt(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), xB = /* @__PURE__ */ mt(((e, t) => {
- t.exports = bB();
-})), SB = /*#__PURE__*/ (0, B.createContext)(null), CB = xB(), wB = (e) => e, TB = () => {
- var e = (0, B.useContext)(SB);
- return e ? e.store.dispatch : wB;
-}, EB = () => {}, DB = () => EB, OB = (e, t) => e === t;
+})), CB = /* @__PURE__ */ mt(((e, t) => {
+ t.exports = SB();
+})), wB = /*#__PURE__*/ (0, B.createContext)(null), TB = CB(), EB = (e) => e, DB = () => {
+ var e = (0, B.useContext)(wB);
+ return e ? e.store.dispatch : EB;
+}, OB = () => {}, kB = () => OB, AB = (e, t) => e === t;
function Q(e) {
- var t = (0, B.useContext)(SB), n = (0, B.useMemo)(() => t ? (t) => {
+ var t = (0, B.useContext)(wB), n = (0, B.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : EB, [t, e]);
- return (0, CB.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : DB, t ? t.store.getState : EB, t ? t.store.getState : EB, n, OB);
+ } : OB, [t, e]);
+ return (0, TB.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : kB, t ? t.store.getState : OB, t ? t.store.getState : OB, n, AB);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function kB(e, t = `expected a function, instead received ${typeof e}`) {
+function jB(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function AB(e, t = `expected an object, instead received ${typeof e}`) {
+function MB(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function jB(e, t = "expected all items to be functions, instead received the following types: ") {
+function NB(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 MB = (e) => Array.isArray(e) ? e : [e];
-function NB(e) {
+var PB = (e) => Array.isArray(e) ? e : [e];
+function FB(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return jB(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return NB(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function PB(e, t) {
+function IB(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var FB = class {
+var LB = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, IB = typeof WeakRef < "u" ? WeakRef : FB, LB = 0, RB = 1;
-function zB() {
+}, RB = typeof WeakRef < "u" ? WeakRef : LB, zB = 0, BB = 1;
+function VB() {
return {
- s: LB,
+ s: zB,
v: void 0,
o: null,
p: null
};
}
-function BB(e, t = {}) {
- let n = zB(), { resultEqualityCheck: r } = t, i, a = 0;
+function HB(e, t = {}) {
+ let n = VB(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -53233,43 +53392,43 @@ function BB(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = zB(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = VB(), e.set(n, t)) : t = r;
} else {
let e = t.p;
e === null && (t.p = e = /* @__PURE__ */ new Map());
let r = e.get(n);
- r === void 0 ? (t = zB(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = VB(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === RB) c = t.v;
+ if (t.s === BB) 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 IB(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new RB(c) : c;
}
- return s.s = RB, s.v = c, c;
+ return s.s = BB, s.v = c, c;
}
return o.clearCache = () => {
- n = zB(), o.resetResultsCount();
+ n = VB(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function VB(e, ...t) {
+function UB(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()), kB(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = BB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), jB(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = HB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = MB(c), p = MB(u), m = NB(e), h = s(function() {
+ }, f = PB(c), p = PB(u), m = FB(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = PB(m, arguments);
+ let e = IB(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -53291,14 +53450,14 @@ function VB(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ VB(BB), HB = Object.assign((e, t = $) => {
- AB(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ UB(HB), WB = Object.assign((e, t = $) => {
+ MB(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: () => HB });
+}, { withTypes: () => WB });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function UB(e, t = 1) {
+function GB(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -53309,17 +53468,17 @@ function UB(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function WB(e, t, n) {
- return eB(n) && (typeof t == "number" && Lz(n) && fB(t) && t < n.length || typeof t == "string" && t in n) ? $z(n[t], e) : !1;
+function KB(e, t, n) {
+ return nB(n) && (typeof t == "number" && Mz(n) && mB(t) && t < n.length || typeof t == "string" && t in n) ? tB(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function GB(e) {
+function qB(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var KB = (e, t, n) => {
+var JB = (e, t, n) => {
if (e !== t) {
- let r = GB(e), i = GB(t);
+ let r = qB(e), i = qB(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -53327,15 +53486,15 @@ var KB = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, qB = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, JB = /^\w*$/;
-function YB(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || rz(e) ? !0 : typeof e == "string" && (JB.test(e) || !qB.test(e)) || t != null && Object.hasOwn(t, e);
+}, YB = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, XB = /^\w*$/;
+function ZB(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || QR(e) ? !0 : typeof e == "string" && (XB.test(e) || !YB.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function XB(e, t, n, r) {
+function QB(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = Lz(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = Mz(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
let n = e, r = 0;
for (; r < t.length && n != null; ++r) n = n[t[r]];
@@ -53343,16 +53502,16 @@ function XB(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) || YB(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || ZB(e) ? e : {
key: e,
- path: az(e)
+ path: ez(e)
}));
return e.map((e) => ({
original: e,
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = KB(e.criteria[r], t.criteria[r], n[r]);
+ let i = JB(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -53360,25 +53519,25 @@ function XB(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function ZB(e, ...t) {
+function $B(e, ...t) {
let n = t.length;
- return n > 1 && WB(e, t[0], t[1]) ? t = [] : n > 2 && WB(t[0], t[1], t[2]) && (t = [t[0]]), XB(e, UB(t), ["asc"]);
+ return n > 1 && KB(e, t[0], t[1]) ? t = [] : n > 2 && KB(t[0], t[1], t[2]) && (t = [t[0]]), QB(e, GB(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var QB = (e) => e.legend.settings, $B = (e) => e.legend.size, eV = $([(e) => e.legend.payload, QB], (e, t) => {
+var eV = (e) => e.legend.settings, tV = (e) => e.legend.size, nV = $([(e) => e.legend.payload, eV], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? ZB(r, n) : r;
+ return n ? $B(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function tV() {
- return Q(eV);
+function rV() {
+ return Q(nV);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var nV = 1;
-function rV() {
+var iV = 1;
+function aV() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, B.useState)({
height: 0,
left: 0,
@@ -53393,7 +53552,7 @@ function rV() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > nV || Math.abs(i.left - t.left) > nV || Math.abs(i.top - t.top) > nV || Math.abs(i.width - t.width) > nV) && n({
+ (Math.abs(i.height - t.height) > iV || Math.abs(i.left - t.left) > iV || Math.abs(i.top - t.top) > iV || Math.abs(i.width - t.width) > iV) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -53410,26 +53569,26 @@ function rV() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function iV(e) {
+function oV(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var aV = typeof Symbol == "function" && Symbol.observable || "@@observable", oV = () => Math.random().toString(36).substring(7).split("").join("."), sV = {
- INIT: `@@redux/INIT${/* @__PURE__ */ oV()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ oV()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${oV()}`
+var sV = typeof Symbol == "function" && Symbol.observable || "@@observable", cV = () => Math.random().toString(36).substring(7).split("").join("."), lV = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ cV()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ cV()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${cV()}`
};
-function cV(e) {
+function uV(e) {
if (typeof e != "object" || !e) return !1;
let t = e;
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function lV(e, t, n) {
- if (typeof e != "function") throw Error(iV(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(iV(0));
+function dV(e, t, n) {
+ if (typeof e != "function") throw Error(oV(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(oV(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(iV(1));
- return n(lV)(e, t);
+ if (typeof n != "function") throw Error(oV(1));
+ return n(dV)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -53438,27 +53597,27 @@ function lV(e, t, n) {
}));
}
function u() {
- if (c) throw Error(iV(3));
+ if (c) throw Error(oV(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(iV(4));
- if (c) throw Error(iV(5));
+ if (typeof e != "function") throw Error(oV(4));
+ if (c) throw Error(oV(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(iV(6));
+ if (c) throw Error(oV(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!cV(e)) throw Error(iV(7));
- if (e.type === void 0) throw Error(iV(8));
- if (typeof e.type != "string") throw Error(iV(17));
- if (c) throw Error(iV(9));
+ if (!uV(e)) throw Error(oV(7));
+ if (e.type === void 0) throw Error(oV(8));
+ if (typeof e.type != "string") throw Error(oV(17));
+ if (c) throw Error(oV(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -53469,41 +53628,41 @@ function lV(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(iV(10));
- r = e, f({ type: sV.REPLACE });
+ if (typeof e != "function") throw Error(oV(10));
+ r = e, f({ type: lV.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(iV(11));
+ if (typeof t != "object" || !t) throw Error(oV(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [aV]() {
+ [sV]() {
return this;
}
};
}
- return f({ type: sV.INIT }), {
+ return f({ type: lV.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [aV]: m
+ [sV]: m
};
}
-function uV(e) {
+function fV(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: sV.INIT }) === void 0) throw Error(iV(12));
- if (n(void 0, { type: sV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(iV(13));
+ if (n(void 0, { type: lV.INIT }) === void 0) throw Error(oV(12));
+ if (n(void 0, { type: lV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(oV(13));
});
}
-function dV(e) {
+function pV(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -53511,7 +53670,7 @@ function dV(e) {
}
let r = Object.keys(n), i;
try {
- uV(n);
+ fV(n);
} catch (e) {
i = e;
}
@@ -53520,70 +53679,70 @@ function dV(e) {
let a = !1, o = {};
for (let i = 0; i < r.length; i++) {
let s = r[i], c = n[s], l = e[s], u = c(l, t);
- if (u === void 0) throw t && t.type, Error(iV(14));
+ if (u === void 0) throw t && t.type, Error(oV(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function fV(...e) {
+function mV(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function pV(...e) {
+function hV(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(iV(15));
+ throw Error(oV(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = fV(...e.map((e) => e(o)))(i.dispatch), {
+ return a = mV(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function mV(e) {
- return cV(e) && "type" in e && typeof e.type == "string";
+function gV(e) {
+ return uV(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var hV = Symbol.for("immer-nothing"), gV = Symbol.for("immer-draftable"), _V = Symbol.for("immer-state");
-function vV(e, ...t) {
+var _V = Symbol.for("immer-nothing"), vV = Symbol.for("immer-draftable"), yV = Symbol.for("immer-state");
+function bV(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var yV = Object, bV = yV.getPrototypeOf, xV = "constructor", SV = "prototype", CV = "configurable", wV = "enumerable", TV = "writable", EV = "value", DV = (e) => !!e && !!e[_V];
-function OV(e) {
- return e ? jV(e) || RV(e) || !!e[gV] || !!e[xV]?.[gV] || zV(e) || BV(e) : !1;
+var xV = Object, SV = xV.getPrototypeOf, CV = "constructor", wV = "prototype", TV = "configurable", EV = "enumerable", DV = "writable", OV = "value", kV = (e) => !!e && !!e[yV];
+function AV(e) {
+ return e ? MV(e) || RV(e) || !!e[vV] || !!e[CV]?.[vV] || zV(e) || BV(e) : !1;
}
-var kV = yV[SV][xV].toString(), AV = /* @__PURE__ */ new WeakMap();
-function jV(e) {
+var wSe = xV[wV][CV].toString(), jV = /* @__PURE__ */ new WeakMap();
+function MV(e) {
if (!e || !VV(e)) return !1;
- let t = bV(e);
- if (t === null || t === yV[SV]) return !0;
- let n = yV.hasOwnProperty.call(t, xV) && t[xV];
+ let t = SV(e);
+ if (t === null || t === xV[wV]) return !0;
+ let n = xV.hasOwnProperty.call(t, CV) && t[CV];
if (n === Object) return !0;
if (!HV(n)) return !1;
- let r = AV.get(n);
- return r === void 0 && (r = Function.toString.call(n), AV.set(n, r)), r === kV;
+ let r = jV.get(n);
+ return r === void 0 && (r = Function.toString.call(n), jV.set(n, r)), r === wSe;
}
-function MV(e, t, n = !0) {
- NV(e) === 0 ? (n ? Reflect.ownKeys(e) : yV.keys(e)).forEach((n) => {
+function NV(e, t, n = !0) {
+ PV(e) === 0 ? (n ? Reflect.ownKeys(e) : xV.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function NV(e) {
- let t = e[_V];
+function PV(e) {
+ let t = e[yV];
return t ? t.type_ : RV(e) ? 1 : zV(e) ? 2 : BV(e) ? 3 : 0;
}
-var PV = (e, t, n = NV(e)) => n === 2 ? e.has(t) : yV[SV].hasOwnProperty.call(e, t), FV = (e, t, n = NV(e)) => n === 2 ? e.get(t) : e[t], IV = (e, t, n, r = NV(e)) => {
+var FV = (e, t, n = PV(e)) => n === 2 ? e.has(t) : xV[wV].hasOwnProperty.call(e, t), IV = (e, t, n = PV(e)) => n === 2 ? e.get(t) : e[t], LV = (e, t, n, r = PV(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function LV(e, t) {
+function TSe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
var RV = Array.isArray, zV = (e) => e instanceof Map, BV = (e) => e instanceof Set, VV = (e) => typeof e == "object", HV = (e) => typeof e == "function", UV = (e) => typeof e == "boolean";
-function fSe(e) {
+function ESe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
@@ -53591,53 +53750,53 @@ var WV = (e) => e.copy_ || e.base_, GV = (e) => e.modified_ ? e.copy_ : e.base_;
function KV(e, t) {
if (zV(e)) return new Map(e);
if (BV(e)) return new Set(e);
- if (RV(e)) return Array[SV].slice.call(e);
- let n = jV(e);
+ if (RV(e)) return Array[wV].slice.call(e);
+ let n = MV(e);
if (t === !0 || t === "class_only" && !n) {
- let t = yV.getOwnPropertyDescriptors(e);
- delete t[_V];
+ let t = xV.getOwnPropertyDescriptors(e);
+ delete t[yV];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[TV] === !1 && (a[TV] = !0, a[CV] = !0), (a.get || a.set) && (t[i] = {
- [CV]: !0,
+ a[DV] === !1 && (a[DV] = !0, a[TV] = !0), (a.get || a.set) && (t[i] = {
[TV]: !0,
- [wV]: a[wV],
- [EV]: e[i]
+ [DV]: !0,
+ [EV]: a[EV],
+ [OV]: e[i]
});
}
- return yV.create(bV(e), t);
+ return xV.create(SV(e), t);
}
{
- let t = bV(e);
+ let t = SV(e);
if (t !== null && n) return { ...e };
- let r = yV.create(t);
- return yV.assign(r, e);
+ let r = xV.create(t);
+ return xV.assign(r, e);
}
}
function qV(e, t = !1) {
- return YV(e) || DV(e) || !OV(e) ? e : (NV(e) > 1 && yV.defineProperties(e, {
+ return YV(e) || kV(e) || !AV(e) ? e : (PV(e) > 1 && xV.defineProperties(e, {
set: JV,
add: JV,
clear: JV,
delete: JV
- }), yV.freeze(e), t && MV(e, (e, t) => {
+ }), xV.freeze(e), t && NV(e, (e, t) => {
qV(t, !0);
}, !1), e);
}
-function pSe() {
- vV(2);
+function DSe() {
+ bV(2);
}
-var JV = { [EV]: pSe };
+var JV = { [OV]: DSe };
function YV(e) {
- return e === null || !VV(e) || yV.isFrozen(e);
+ return e === null || !VV(e) || xV.isFrozen(e);
}
var XV = "MapSet", ZV = "Patches", QV = "ArrayMethods", $V = {};
function eH(e) {
let t = $V[e];
- return t || vV(0, e), t;
+ return t || bV(0, e), t;
}
-var tH = (e) => !!$V[e], nH, rH = () => nH, mSe = (e, t) => ({
+var tH = (e) => !!$V[e], nH, rH = () => nH, OSe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -53652,29 +53811,29 @@ function iH(e, t) {
t && (e.patchPlugin_ = eH(ZV), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function aH(e) {
- oH(e), e.drafts_.forEach(hSe), e.drafts_ = null;
+ oH(e), e.drafts_.forEach(kSe), e.drafts_ = null;
}
function oH(e) {
e === nH && (nH = e.parent_);
}
-var sH = (e) => nH = mSe(nH, e);
-function hSe(e) {
- let t = e[_V];
+var sH = (e) => nH = OSe(nH, e);
+function kSe(e) {
+ let t = e[yV];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
function cH(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[_V].modified_ && (aH(t), vV(4)), OV(e) && (e = lH(t, e));
+ n[yV].modified_ && (aH(t), bV(4)), AV(e) && (e = lH(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[_V].base_, e, t);
+ r && r.generateReplacementPatches_(n[yV].base_, e, t);
} else e = lH(t, n);
- return gSe(t, e, !0), aH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === hV ? void 0 : e;
+ return ASe(t, e, !0), aH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === _V ? void 0 : e;
}
function lH(e, t) {
if (YV(t)) return t;
- let n = t[_V];
+ let n = t[yV];
if (!n) return mH(t, e.handledSet_, e);
if (!dH(n, e)) return t;
if (!n.modified_) return n.base_;
@@ -53685,32 +53844,32 @@ function lH(e, t) {
}
return n.copy_;
}
-function gSe(e, t, n = !1) {
+function ASe(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && qV(t, n);
}
function uH(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var dH = (e, t) => e.scope_ === t, _Se = [];
+var dH = (e, t) => e.scope_ === t, jSe = [];
function fH(e, t, n, r) {
let i = WV(e), a = e.type_;
- if (r !== void 0 && FV(i, r, a) === t) {
- IV(i, r, n, a);
+ if (r !== void 0 && IV(i, r, a) === t) {
+ LV(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- MV(i, (e, n) => {
- if (DV(n)) {
+ NV(i, (e, n) => {
+ if (kV(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? _Se;
- for (let e of o) IV(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? jSe;
+ for (let e of o) LV(i, e, n, a);
}
-function vSe(e, t, n) {
+function MSe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
if (!i || !dH(i, r)) return;
@@ -53729,27 +53888,27 @@ function pH(e, t) {
uH(e);
}
}
-function ySe(e, t, n) {
+function NSe(e, t, n) {
let { scope_: r } = e;
- if (DV(n)) {
- let i = n[_V];
+ if (kV(n)) {
+ let i = n[yV];
dH(i, r) && i.callbacks_.push(function() {
bH(e), fH(e, n, GV(i), t);
});
- } else OV(n) && e.callbacks_.push(function() {
+ } else AV(n) && e.callbacks_.push(function() {
let i = WV(e);
- e.type_ === 3 ? i.has(n) && mH(n, r.handledSet_, r) : FV(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && mH(FV(e.copy_, t, e.type_), r.handledSet_, r);
+ e.type_ === 3 ? i.has(n) && mH(n, r.handledSet_, r) : IV(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && mH(IV(e.copy_, t, e.type_), r.handledSet_, r);
});
}
function mH(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || DV(e) || t.has(e) || !OV(e) || YV(e) ? e : (t.add(e), MV(e, (r, i) => {
- if (DV(i)) {
- let t = i[_V];
- dH(t, n) && (IV(e, r, GV(t), e.type_), uH(t));
- } else OV(i) && mH(i, t, n);
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || kV(e) || t.has(e) || !AV(e) || YV(e) ? e : (t.add(e), NV(e, (r, i) => {
+ if (kV(i)) {
+ let t = i[yV];
+ dH(t, n) && (LV(e, r, GV(t), e.type_), uH(t));
+ } else AV(i) && mH(i, t, n);
}), e);
}
-function bSe(e, t) {
+function PSe(e, t) {
let n = RV(e), r = {
type_: +!!n,
scope_: t ? t.scope_ : rH(),
@@ -53770,14 +53929,14 @@ function bSe(e, t) {
}
var hH = {
get(e, t) {
- if (t === _V) return e;
+ if (t === yV) return e;
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
let i = WV(e);
- if (!PV(i, t, e.type_)) return SSe(e, i, t);
+ if (!FV(i, t, e.type_)) return ISe(e, i, t);
let a = i[t];
- if (e.finalized_ || !OV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && fSe(t)) return a;
- if (a === _H(e.base_, t) || xSe(e, t, a)) {
+ if (e.finalized_ || !AV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && ESe(t)) return a;
+ if (a === _H(e.base_, t) || FSe(e, t, a)) {
bH(e);
let n = e.type_ === 1 ? +t : t, r = xH(e.scope_, a, e, n);
return e.copy_[n] = r;
@@ -53794,12 +53953,12 @@ var hH = {
let r = vH(WV(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = _H(WV(e), t), i = r?.[_V];
+ let r = _H(WV(e), t), i = r?.[yV];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (LV(n, r) && (n !== void 0 || PV(e.base_, t, e.type_))) return !0;
+ if (TSe(n, r) && (n !== void 0 || FV(e.base_, t, e.type_))) return !0;
bH(e), yH(e);
}
- return e.copy_[t] === n && (n !== void 0 || PV(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), ySe(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || FV(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), NSe(e, t, n), !0);
},
deleteProperty(e, t) {
return bH(e), _H(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), yH(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
@@ -53807,20 +53966,20 @@ var hH = {
getOwnPropertyDescriptor(e, t) {
let n = WV(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [TV]: !0,
- [CV]: e.type_ !== 1 || t !== "length",
- [wV]: r[wV],
- [EV]: n[t]
+ [DV]: !0,
+ [TV]: e.type_ !== 1 || t !== "length",
+ [EV]: r[EV],
+ [OV]: n[t]
};
},
defineProperty() {
- vV(11);
+ bV(11);
},
getPrototypeOf(e) {
- return bV(e.base_);
+ return SV(e.base_);
},
setPrototypeOf() {
- vV(12);
+ bV(12);
}
}, gH = {};
for (let e in hH) {
@@ -53836,23 +53995,23 @@ gH.deleteProperty = function(e, t) {
return hH.set.call(this, e[0], t, n, e[0]);
};
function _H(e, t) {
- let n = e[_V];
+ let n = e[yV];
return (n ? WV(n) : e)[t];
}
-function xSe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !OV(n) || n[_V] ? !1 : e.baseRefs_.has(n);
+function FSe(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !AV(n) || n[yV] ? !1 : e.baseRefs_.has(n);
}
-function SSe(e, t, n) {
+function ISe(e, t, n) {
let r = vH(t, n);
- return r ? EV in r ? r[EV] : r.get?.call(e.draft_) : void 0;
+ return r ? OV in r ? r[OV] : r.get?.call(e.draft_) : void 0;
}
function vH(e, t) {
if (!(t in e)) return;
- let n = bV(e);
+ let n = SV(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = bV(n);
+ n = SV(n);
}
}
function yH(e) {
@@ -53861,7 +54020,7 @@ function yH(e) {
function bH(e) {
e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), KV(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var CSe = class {
+var LSe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
if (HV(e) && !HV(t)) {
@@ -53872,9 +54031,9 @@ var CSe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- HV(t) || vV(6), n !== void 0 && !HV(n) && vV(7);
+ HV(t) || bV(6), n !== void 0 && !HV(n) && bV(7);
let r;
- if (OV(e)) {
+ if (AV(e)) {
let i = sH(this), a = xH(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
@@ -53884,7 +54043,7 @@ var CSe = class {
return iH(i, n), cH(r, i);
}
if (!e || !VV(e)) {
- if (r = t(e), r === void 0 && (r = e), r === hV && (r = void 0), this.autoFreeze_ && qV(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === _V && (r = void 0), this.autoFreeze_ && qV(r, !0), n) {
let t = [], i = [];
eH(ZV).generateReplacementPatches_(e, r, {
patches_: t,
@@ -53893,7 +54052,7 @@ var CSe = class {
}
return r;
}
- vV(1, e);
+ bV(1, e);
}, this.produceWithPatches = (e, t) => {
if (HV(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -53907,13 +54066,13 @@ var CSe = class {
}, UV(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), UV(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), UV(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- OV(e) || vV(8), DV(e) && (e = SH(e));
+ AV(e) || bV(8), kV(e) && (e = SH(e));
let t = sH(this), n = xH(t, e, void 0);
- return n[_V].isManual_ = !0, oH(t), n;
+ return n[yV].isManual_ = !0, oH(t), n;
}
finishDraft(e, t) {
- let n = e && e[_V];
- (!n || !n.isManual_) && vV(9);
+ let n = e && e[yV];
+ (!n || !n.isManual_) && bV(9);
let { scope_: r } = n;
return iH(r, t), cH(void 0, r);
}
@@ -53940,40 +54099,40 @@ var CSe = class {
}
n > -1 && (t = t.slice(n + 1));
let r = eH(ZV).applyPatches_;
- return DV(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ return kV(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
function xH(e, t, n, r) {
- let [i, a] = zV(t) ? eH(XV).proxyMap_(t, n) : BV(t) ? eH(XV).proxySet_(t, n) : bSe(t, n);
- return (n?.scope_ ?? rH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? vSe(n, a, r) : a.callbacks_.push(function(e) {
+ let [i, a] = zV(t) ? eH(XV).proxyMap_(t, n) : BV(t) ? eH(XV).proxySet_(t, n) : PSe(t, n);
+ return (n?.scope_ ?? rH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? MSe(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
}), i;
}
function SH(e) {
- return DV(e) || vV(10, e), CH(e);
+ return kV(e) || bV(10, e), CH(e);
}
function CH(e) {
- if (!OV(e) || YV(e)) return e;
- let t = e[_V], n, r = !0;
+ if (!AV(e) || YV(e)) return e;
+ let t = e[yV], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
t.finalized_ = !0, n = KV(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
} else n = KV(e, !0);
- return MV(n, (e, t) => {
- IV(n, e, CH(t));
+ return NV(n, (e, t) => {
+ LV(n, e, CH(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var wH = new CSe().produce;
+var wH = new LSe().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
function TH(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var wSe = TH(), TSe = TH, ESe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? fV : fV.apply(null, arguments);
+var RSe = TH(), zSe = TH, BSe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? mV : mV.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
function EH(e, t) {
@@ -53993,7 +54152,7 @@ function EH(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => mV(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => gV(t) && t.type === e, n;
}
var DH = class e extends Array {
constructor(...t) {
@@ -54010,28 +54169,28 @@ var DH = class e extends Array {
}
};
function OH(e) {
- return OV(e) ? wH(e, () => {}) : e;
+ return AV(e) ? wH(e, () => {}) : e;
}
function kH(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function DSe(e) {
+function VSe(e) {
return typeof e == "boolean";
}
-var OSe = () => function(e) {
+var HSe = () => function(e) {
let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new DH();
- return t && (DSe(t) ? a.push(wSe) : a.push(TSe(t.extraArgument))), a;
+ return t && (VSe(t) ? a.push(RSe) : a.push(zSe(t.extraArgument))), a;
}, AH = "RTK_autoBatch", jH = () => (e) => ({
payload: e,
meta: { [AH]: !0 }
}), MH = (e) => (t) => {
setTimeout(t, e);
-}, kSe = (e, t) => (n) => {
+}, USe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
}, NH = (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 ? kSe(window.requestAnimationFrame, 100) : MH(10) : e.type === "callback" ? e.queueNotification : MH(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 ? USe(window.requestAnimationFrame, 100) : MH(10) : e.type === "callback" ? e.queueNotification : MH(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -54049,24 +54208,24 @@ var OSe = () => function(e) {
}
}
});
-}, ASe = (e) => function(t) {
+}, WSe = (e) => function(t) {
let { autoBatch: n = !0 } = t ?? {}, r = new DH(e);
return n && r.push(NH(typeof n == "object" ? n : void 0)), r;
};
-function jSe(e) {
- let t = OSe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function GSe(e) {
+ let t = HSe(), { 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 (cV(n)) c = dV(n);
+ else if (uV(n)) c = pV(n);
else throw Error(sU(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = fV;
- i && (u = ESe({
+ let u = mV;
+ i && (u = BSe({
trace: !1,
...typeof i == "object" && i
}));
- let d = ASe(pV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return lV(c, o, p);
+ let d = WSe(hV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return dV(c, o, p);
}
function PH(e) {
let t = {}, n = [], r, i = {
@@ -54098,12 +54257,12 @@ function PH(e) {
r
];
}
-function MSe(e) {
+function KSe(e) {
return typeof e == "function";
}
-function NSe(e, t) {
+function qSe(e, t) {
let [n, r, i] = PH(t), a;
- if (MSe(e)) a = () => OH(e());
+ if (KSe(e)) a = () => OH(e());
else {
let t = OH(e);
a = () => t;
@@ -54112,11 +54271,11 @@ function NSe(e, t) {
let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];
return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {
if (n) {
- if (DV(e)) {
+ if (kV(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (OV(e)) return wH(e, (e) => n(e, t));
+ if (AV(e)) return wH(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -54131,20 +54290,20 @@ function NSe(e, t) {
}
return o.getInitialState = a, o;
}
-var PSe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", FSe = (e = 21) => {
+var JSe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", YSe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += PSe[Math.random() * 64 | 0];
+ for (; n--;) t += JSe[Math.random() * 64 | 0];
return t;
-}, ISe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function LSe(e, t) {
+}, XSe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function ZSe(e, t) {
return `${e}/${t}`;
}
-function RSe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[ISe];
+function QSe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[XSe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
if (!n) throw Error(sU(11));
- let i = (typeof e.reducers == "function" ? e.reducers(BSe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ let i = (typeof e.reducers == "function" ? e.reducers(eCe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -54172,17 +54331,17 @@ function RSe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: LSe(n, r),
+ type: ZSe(n, r),
createNotation: typeof e.reducers == "function"
};
- HSe(a) ? WSe(o, a, s, t) : VSe(o, a, s);
+ nCe(a) ? iCe(o, a, s, t) : tCe(o, a, s);
});
function c() {
let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? PH(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return NSe(e.initialState, (e) => {
+ return qSe(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);
@@ -54204,7 +54363,7 @@ function RSe({ creators: e } = {}) {
function i(t = l) {
return kH(kH(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = zSe(a, t, () => kH(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = $Se(a, t, () => kH(d, t, m), n);
return r;
});
}
@@ -54238,15 +54397,15 @@ function RSe({ creators: e } = {}) {
return g;
};
}
-function zSe(e, t, n, r) {
+function $Se(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 FH = /* @__PURE__ */ RSe();
-function BSe() {
+var FH = /* @__PURE__ */ QSe();
+function eCe() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -54270,21 +54429,21 @@ function BSe() {
asyncThunk: e
};
}
-function VSe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function tCe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !USe(r)) throw Error(sU(17));
+ if (n && !rCe(r)) throw Error(sU(17));
a = r.reducer, o = r.prepare;
} else a = r;
i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? EH(e, o) : EH(e));
}
-function HSe(e) {
+function nCe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function USe(e) {
+function rCe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function WSe({ type: e, reducerName: t }, n, r, i) {
+function iCe({ type: e, reducerName: t }, n, r, i) {
if (!i) throw Error(sU(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, {
@@ -54295,9 +54454,9 @@ function WSe({ type: e, reducerName: t }, n, r, i) {
});
}
function IH() {}
-var GSe = "task", LH = "listener", RH = "completed", zH = "cancelled", KSe = `task-${zH}`, qSe = `task-${RH}`, BH = `${LH}-${zH}`, JSe = `${LH}-${RH}`, VH = class {
+var aCe = "task", LH = "listener", RH = "completed", zH = "cancelled", oCe = `task-${zH}`, sCe = `task-${RH}`, BH = `${LH}-${zH}`, cCe = `${LH}-${RH}`, VH = class {
constructor(e) {
- this.code = e, this.message = `${GSe} ${zH} (reason: ${e})`;
+ this.code = e, this.message = `${aCe} ${zH} (reason: ${e})`;
}
code;
name = "TaskAbortError";
@@ -54320,7 +54479,7 @@ function qH(e, t) {
n = UH;
});
}
-var YSe = async (e, t) => {
+var lCe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -54337,13 +54496,13 @@ var YSe = async (e, t) => {
}, JH = (e) => (t) => WH(qH(e, t).then((t) => (KH(e), t))), YH = (e) => {
let t = JH(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: XH } = Object, ZH = {}, QH = "listenerMiddleware", XSe = (e, t) => {
+}, { assign: XH } = Object, ZH = {}, QH = "listenerMiddleware", uCe = (e, t) => {
let n = (t) => GH(e, () => t.abort(e.reason));
return (r, i) => {
HH(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = YSe(async () => {
+ let o = lCe(async () => {
KH(e), KH(a.signal);
let t = await r({
pause: JH(a.signal),
@@ -54351,15 +54510,15 @@ var YSe = async (e, t) => {
signal: a.signal
});
return KH(a.signal), t;
- }, () => a.abort(qSe));
+ }, () => a.abort(sCe));
return i?.autoJoin && t.push(o.catch(UH)), {
result: JH(e)(o),
cancel() {
- a.abort(KSe);
+ a.abort(oCe);
}
};
};
-}, ZSe = (e, t) => {
+}, dCe = (e, t) => {
let n = async (n, r) => {
KH(t);
let i = () => {}, a = [new Promise((t, r) => {
@@ -54400,7 +54559,7 @@ var YSe = async (e, t) => {
}, eU = /* @__PURE__ */ XH((e) => {
let { type: t, predicate: n, effect: r } = $H(e);
return {
- id: FSe(),
+ id: YSe(),
effect: r,
type: t,
predicate: n,
@@ -54416,7 +54575,7 @@ var YSe = async (e, t) => {
e.pending.forEach((e) => {
e.abort(BH);
});
-}, QSe = (e, t) => () => {
+}, fCe = (e, t) => () => {
for (let e of t.keys()) nU(e);
e.clear();
}, rU = (e, t, n) => {
@@ -54427,7 +54586,7 @@ var YSe = async (e, t) => {
throw e;
}, 0);
}
-}, iU = /* @__PURE__ */ XH(/* @__PURE__ */ EH(`${QH}/add`), { withTypes: () => iU }), $Se = /* @__PURE__ */ EH(`${QH}/removeAll`), aU = /* @__PURE__ */ XH(/* @__PURE__ */ EH(`${QH}/remove`), { withTypes: () => aU }), eCe = (...e) => {
+}, iU = /* @__PURE__ */ XH(/* @__PURE__ */ EH(`${QH}/add`), { withTypes: () => iU }), pCe = /* @__PURE__ */ EH(`${QH}/removeAll`), aU = /* @__PURE__ */ XH(/* @__PURE__ */ EH(`${QH}/remove`), { withTypes: () => aU }), mCe = (...e) => {
console.error(`${QH}/error`, ...e);
}, oU = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
@@ -54436,7 +54595,7 @@ var YSe = async (e, t) => {
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = eCe } = e;
+ }, { extra: a, onError: o = mCe } = e;
HH(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
e.unsubscribe(), t?.cancelActive && nU(e);
@@ -54451,7 +54610,7 @@ var YSe = async (e, t) => {
};
XH(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = ZSe(c, u.signal), f = [];
+ let u = new AbortController(), d = dCe(c, u.signal), f = [];
try {
e.pending.add(u), r(e), await Promise.resolve(e.effect(n, XH({}, s, {
getOriginalState: l,
@@ -54461,7 +54620,7 @@ var YSe = async (e, t) => {
pause: JH(u.signal),
extra: a,
signal: u.signal,
- fork: XSe(u.signal, f),
+ fork: uCe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
@@ -54481,14 +54640,14 @@ var YSe = async (e, t) => {
} catch (e) {
e instanceof VH || rU(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(JSe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(cCe), i(e), e.pending.delete(u);
}
- }, d = QSe(t, n);
+ }, d = fCe(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!mV(r)) return n(r);
+ if (!gV(r)) return n(r);
if (iU.match(r)) return c(r.payload);
- if ($Se.match(r)) {
+ if (pCe.match(r)) {
d();
return;
}
@@ -54553,7 +54712,7 @@ var cU = FH({
e.scale = t.payload;
}
}
-}), { setMargin: tCe, setLayout: nCe, setChartSize: rCe, setScale: iCe } = cU.actions, aCe = cU.reducer;
+}), { setMargin: hCe, setLayout: gCe, setChartSize: _Ce, setScale: vCe } = cU.actions, yCe = cU.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
function lU(e, t, n) {
@@ -54583,26 +54742,26 @@ function pU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? fU(Object(n), !0).forEach(function(t) {
- oCe(e, t, n[t]);
+ bCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oCe(e, t, n) {
- return (t = sCe(t)) in e ? Object.defineProperty(e, t, {
+function bCe(e, t, n) {
+ return (t = xCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sCe(e) {
- var t = cCe(e, "string");
+function xCe(e) {
+ var t = SCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cCe(e, t) {
+function SCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54613,9 +54772,9 @@ function cCe(e, t) {
return (t === "string" ? String : Number)(e);
}
function mU(e, t, n) {
- return vz(e) || vz(t) ? n : fz(t) ? oz(e, t, n) : typeof t == "function" ? t(e) : n;
+ return pz(e) || pz(t) ? n : sz(t) ? tz(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var lCe = (e, t, n) => {
+var CCe = (e, t, n) => {
if (t && n) {
var { width: r, height: i } = n, { align: a, verticalAlign: o, layout: s } = t;
if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return pU(pU({}, e), {}, { [a]: e[a] + (r || 0) });
@@ -54631,7 +54790,7 @@ var lCe = (e, t, n) => {
var { duplicateDomain: r, type: i, range: a, scale: o, realScaleType: s, isCategorical: c, categoricalDomain: l, tickCount: u, ticks: d, niceTicks: f, axisType: p } = e;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? lz(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? iz(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
var n = r ? r.indexOf(e) : e, i = o.map(n);
return uU(i) ? {
coordinate: i + h,
@@ -54639,7 +54798,7 @@ var lCe = (e, t, n) => {
offset: h,
index: t
} : null;
- }).filter(bz) : c && l ? l.map((e, t) => {
+ }).filter(hz) : c && l ? l.map((e, t) => {
var n = o.map(e);
return uU(n) ? {
coordinate: n + h,
@@ -54647,7 +54806,7 @@ var lCe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(bz) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(hz) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
return uU(n) ? {
coordinate: n + h,
@@ -54655,7 +54814,7 @@ var lCe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(bz) : o.domain().map((e, t) => {
+ }).filter(hz) : o.domain().map((e, t) => {
var n = o.map(e);
return uU(n) ? {
coordinate: n + h,
@@ -54663,12 +54822,12 @@ var lCe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(bz);
+ }).filter(hz);
}, vU = (e, t) => {
if (!t || t.length !== 2 || !Z(t[0]) || !Z(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
return (!Z(e[0]) || e[0] < n) && (i[0] = n), (!Z(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, uCe = {
+}, wCe = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -54676,16 +54835,16 @@ var lCe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {
var s = e[o]?.[r];
if (s != null) {
- var c = s[1], l = s[0], u = uz(c) ? l : c;
+ var c = s[1], l = s[0], u = az(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: pxe,
- none: QR,
- silhouette: mxe,
- wiggle: hxe,
+ expand: Mxe,
+ none: qR,
+ silhouette: Nxe,
+ wiggle: Pxe,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -54693,14 +54852,14 @@ var lCe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {
var o = e[a]?.[r];
if (o != null) {
- var s = uz(o[1]) ? o[0] : o[1];
+ var s = az(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, dCe = (e, t, n) => {
- var r = uCe[n] ?? QR, i = fxe().keys(t).value((e, t) => Number(mU(e, t, 0))).order($R).offset(r)(e);
+}, TCe = (e, t, n) => {
+ var r = wCe[n] ?? qR, i = jxe().keys(t).value((e, t) => Number(mU(e, t, 0))).order(JR).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
var a = mU(e[i], t[r], 0);
@@ -54714,20 +54873,20 @@ function yU(e) {
function bU(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !vz(i[t.dataKey])) {
- var s = _z(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !pz(i[t.dataKey])) {
+ var s = fz(n, "value", i[t.dataKey]);
if (s) return s.coordinate + r / 2;
}
return n != null && n[a] ? n[a].coordinate + r / 2 : null;
}
- var c = mU(i, vz(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = mU(i, pz(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
var xU = (e) => {
var { axis: t, ticks: n, offset: r, bandSize: i, entry: a, index: o } = e;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
var s = mU(a, t.dataKey, t.scale.domain()[o]);
- if (vz(s)) return null;
+ if (pz(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
}, SU = (e) => {
@@ -54737,15 +54896,15 @@ var xU = (e) => {
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, fCe = (e) => {
+}, ECe = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, pCe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], mCe = (e, t, n) => {
- if (e != null) return pCe(Object.keys(e).reduce((r, i) => {
+}, DCe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], OCe = (e, t, n) => {
+ if (e != null) return DCe(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = fCe(lU(r, t, n));
+ var i = ECe(lU(r, t, n));
return !uU(i[0]) || !uU(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];
@@ -54756,7 +54915,7 @@ var xU = (e) => {
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = ZB(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = $B(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
var c = i[o], l = i[o - 1];
a = Math.min((c?.coordinate || 0) - (l?.coordinate || 0), a);
}
@@ -54777,10 +54936,10 @@ function DU(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var hCe = (e, t) => {
+var kCe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, gCe = (e, t) => t === "centric" ? e.angle : e.radius, OU = (e) => e.layout.width, kU = (e) => e.layout.height, _Ce = (e) => e.layout.scale, AU = (e) => e.layout.margin, jU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), MU = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), vCe = "data-recharts-item-index";
+}, ACe = (e, t) => t === "centric" ? e.angle : e.radius, OU = (e) => e.layout.width, kU = (e) => e.layout.height, jCe = (e) => e.layout.scale, AU = (e) => e.layout.margin, jU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), MU = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), MCe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
function NU(e, t) {
@@ -54797,26 +54956,26 @@ function PU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? NU(Object(n), !0).forEach(function(t) {
- yCe(e, t, n[t]);
+ NCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yCe(e, t, n) {
- return (t = bCe(t)) in e ? Object.defineProperty(e, t, {
+function NCe(e, t, n) {
+ return (t = PCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bCe(e) {
- var t = xCe(e, "string");
+function PCe(e) {
+ var t = FCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xCe(e, t) {
+function FCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54826,30 +54985,30 @@ function xCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var SCe = (e) => e.brush.height;
-function CCe(e) {
+var ICe = (e) => e.brush.height;
+function LCe(e) {
return MU(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function wCe(e) {
+function RCe(e) {
return MU(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function TCe(e) {
+function zCe(e) {
return jU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-function ECe(e) {
+function BCe(e) {
return jU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
var FU = $([
OU,
kU,
AU,
- SCe,
- CCe,
- wCe,
- TCe,
- ECe,
- QB,
- $B
+ ICe,
+ LCe,
+ RCe,
+ zCe,
+ BCe,
+ eV,
+ tV
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
@@ -54858,13 +55017,13 @@ var FU = $([
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = lCe(d, c, l);
+ d.bottom += r, d = CCe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
return PU(PU({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), DCe = $(FU, (e) => ({
+}), VCe = $(FU, (e) => ({
x: e.left,
y: e.top,
width: e.width,
@@ -54874,7 +55033,7 @@ var FU = $([
y: 0,
width: e,
height: t
-})), OCe = /*#__PURE__*/ (0, B.createContext)(null), LU = () => (0, B.useContext)(OCe) != null, RU = (e) => e.brush, zU = $([
+})), HCe = /*#__PURE__*/ (0, B.createContext)(null), LU = () => (0, B.useContext)(HCe) != null, RU = (e) => e.brush, zU = $([
RU,
FU,
AU
@@ -54886,7 +55045,7 @@ var FU = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function kCe(e, t, { signal: n, edges: r } = {}) {
+function UCe(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -54911,11 +55070,11 @@ function kCe(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function ACe(e, t = 0, n = {}) {
+function WCe(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = kCe(function(...t) {
+ let s, c = null, l = UCe(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -54924,9 +55083,9 @@ function ACe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function jCe(e, t = 0, n = {}) {
+function GCe(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return ACe(e, t, {
+ return WCe(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -54953,26 +55112,26 @@ var BU = function(e, t) {
height: -1
}
}, HU = (e, t, n) => {
- var { width: r = VU.width, height: i = VU.height, aspect: a, maxHeight: o } = n, s = dz(r) ? e : Number(r), c = dz(i) ? t : Number(i);
+ var { width: r = VU.width, height: i = VU.height, aspect: a, maxHeight: o } = n, s = oz(r) ? e : Number(r), c = oz(i) ? t : Number(i);
return a && a > 0 && (s ? c = s / a : c && (s = c * a), o && c != null && c > o && (c = o)), {
calculatedWidth: s,
calculatedHeight: c
};
-}, MCe = {
+}, KCe = {
width: 0,
height: 0,
overflow: "visible"
-}, NCe = {
+}, qCe = {
width: 0,
overflowX: "visible"
-}, PCe = {
+}, JCe = {
height: 0,
overflowY: "visible"
-}, FCe = {}, ICe = (e) => {
- var { width: t, height: n } = e, r = dz(t), i = dz(n);
- return r && i ? MCe : r ? NCe : i ? PCe : FCe;
+}, YCe = {}, XCe = (e) => {
+ var { width: t, height: n } = e, r = oz(t), i = oz(n);
+ return r && i ? KCe : r ? qCe : i ? JCe : YCe;
};
-function LCe(e) {
+function ZCe(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
return i === void 0 && a === void 0 ? (i = VU.width, a = VU.height) : i === void 0 ? i = r && r > 0 ? void 0 : VU.width : a === void 0 && (a = r && r > 0 ? void 0 : VU.height), {
width: i,
@@ -55004,26 +55163,26 @@ function GU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? WU(Object(n), !0).forEach(function(t) {
- RCe(e, t, n[t]);
+ QCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function RCe(e, t, n) {
- return (t = zCe(t)) in e ? Object.defineProperty(e, t, {
+function QCe(e, t, n) {
+ return (t = $Ce(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zCe(e) {
- var t = BCe(e, "string");
+function $Ce(e) {
+ var t = ewe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BCe(e, t) {
+function ewe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55034,7 +55193,7 @@ function BCe(e, t) {
return (t === "string" ? String : Number)(e);
}
var KU = /*#__PURE__*/ (0, B.createContext)(VU.initialDimension);
-function VCe(e) {
+function twe(e) {
return dU(e.width) && dU(e.height);
}
function qU(e) {
@@ -55042,9 +55201,9 @@ function qU(e) {
width: n,
height: r
}), [n, r]);
- return VCe(i) ? /*#__PURE__*/ B.createElement(KU.Provider, { value: i }, t) : null;
+ return twe(i) ? /*#__PURE__*/ B.createElement(KU.Provider, { value: i }, t) : null;
}
-var JU = () => (0, B.useContext)(KU), HCe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+var JU = () => (0, B.useContext)(KU), nwe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
var { aspect: n, initialDimension: r = VU.initialDimension, width: i, height: a, minWidth: o = VU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = VU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, B.useRef)(null), g = (0, B.useRef)();
g.current = p, (0, B.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, B.useState)({
@@ -55060,7 +55219,7 @@ var JU = () => (0, B.useContext)(KU), HCe = /*#__PURE__*/ (0, B.forwardRef)((e,
});
}, []);
(0, B.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return xz;
+ if (h.current == null || typeof ResizeObserver > "u") return gz;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -55068,7 +55227,7 @@ var JU = () => (0, B.useContext)(KU), HCe = /*#__PURE__*/ (0, B.forwardRef)((e,
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = jCe(e, u, {
+ u > 0 && (e = GCe(e, u, {
trailing: !0,
leading: !1
}));
@@ -55096,7 +55255,7 @@ var JU = () => (0, B.useContext)(KU), HCe = /*#__PURE__*/ (0, B.forwardRef)((e,
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ B.createElement("div", { style: ICe({
+ }, /*#__PURE__*/ B.createElement("div", { style: XCe({
width: i,
height: a
}) }, /*#__PURE__*/ B.createElement(qU, {
@@ -55106,7 +55265,7 @@ var JU = () => (0, B.useContext)(KU), HCe = /*#__PURE__*/ (0, B.forwardRef)((e,
}), YU = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
var n = JU();
if (dU(n.width) && dU(n.height)) return e.children;
- var { width: r, height: i } = LCe({
+ var { width: r, height: i } = ZCe({
width: e.width,
height: e.height,
aspect: e.aspect
@@ -55119,7 +55278,7 @@ var JU = () => (0, B.useContext)(KU), HCe = /*#__PURE__*/ (0, B.forwardRef)((e,
return Z(a) && Z(o) ? /*#__PURE__*/ B.createElement(qU, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ B.createElement(HCe, UU({}, e, {
+ }, e.children) : /*#__PURE__*/ B.createElement(nwe, UU({}, e, {
width: r,
height: i,
ref: t
@@ -55138,14 +55297,14 @@ function XU(e) {
};
}
var ZU = () => {
- var e = LU(), t = Q(DCe), n = Q(zU), r = Q(RU)?.padding;
+ var e = LU(), t = Q(VCe), n = Q(zU), r = Q(RU)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, UCe = {
+}, rwe = {
top: 0,
bottom: 0,
left: 0,
@@ -55153,16 +55312,16 @@ var ZU = () => {
width: 0,
height: 0,
brushBottom: 0
-}, QU = () => Q(FU) ?? UCe, $U = () => Q(OU), eW = () => Q(kU), WCe = () => Q((e) => e.layout.margin), tW = (e) => e.layout.layoutType, nW = () => Q(tW), rW = () => {
+}, QU = () => Q(FU) ?? rwe, $U = () => Q(OU), eW = () => Q(kU), iwe = () => Q((e) => e.layout.margin), tW = (e) => e.layout.layoutType, nW = () => Q(tW), rW = () => {
var e = nW();
if (e === "horizontal" || e === "vertical") return e;
}, iW = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, aW = () => Q(iW), GCe = () => nW() !== void 0, oW = (e) => {
- var t = TB(), n = LU(), { width: r, height: i } = e, a = JU(), o = r, s = i;
+}, aW = () => Q(iW), awe = () => nW() !== void 0, oW = (e) => {
+ var t = DB(), n = LU(), { width: r, height: i } = e, a = JU(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, B.useEffect)(() => {
- !n && dU(o) && dU(s) && t(rCe({
+ !n && dU(o) && dU(s) && t(_Ce({
width: o,
height: s
}));
@@ -55183,7 +55342,7 @@ function fW(e) {
function pW(e) {
return e ? hW(e) || Array.isArray(e) || !!e[cW] || !!e.constructor?.[cW] || bW(e) || xW(e) : !1;
}
-var KCe = Object.prototype.constructor.toString(), mW = /* @__PURE__ */ new WeakMap();
+var owe = Object.prototype.constructor.toString(), mW = /* @__PURE__ */ new WeakMap();
function hW(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
@@ -55192,7 +55351,7 @@ function hW(e) {
if (n === Object) return !0;
if (typeof n != "function") return !1;
let r = mW.get(n);
- return r === void 0 && (r = Function.toString.call(n), mW.set(n, r)), r === KCe;
+ return r === void 0 && (r = Function.toString.call(n), mW.set(n, r)), r === owe;
}
function gW(e, t, n = !0) {
_W(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
@@ -55210,7 +55369,7 @@ function yW(e, t, n) {
let r = _W(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function qCe(e, t) {
+function swe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
function bW(e) {
@@ -55257,23 +55416,23 @@ function wW(e, t = !1) {
delete: TW
}), Object.freeze(e), t && Object.values(e).forEach((e) => wW(e, !0)), e);
}
-function JCe() {
+function cwe() {
uW(2);
}
-var TW = { value: JCe };
+var TW = { value: cwe };
function EW(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var YCe = {};
+var lwe = {};
function DW(e) {
- let t = YCe[e];
+ let t = lwe[e];
return t || uW(0, e), t;
}
var OW;
function kW() {
return OW;
}
-function XCe(e, t) {
+function uwe(e, t) {
return {
drafts_: [],
parent_: e,
@@ -55286,15 +55445,15 @@ function AW(e, t) {
t && (DW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function jW(e) {
- MW(e), e.drafts_.forEach(ZCe), e.drafts_ = null;
+ MW(e), e.drafts_.forEach(dwe), e.drafts_ = null;
}
function MW(e) {
e === OW && (OW = e.parent_);
}
function NW(e) {
- return OW = XCe(OW, e);
+ return OW = uwe(OW, e);
}
-function ZCe(e) {
+function dwe(e) {
let t = e[lW];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
@@ -55334,7 +55493,7 @@ function IW(e, t, n, r, i, a, o) {
function LW(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && wW(t, n);
}
-function QCe(e, t) {
+function fwe(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
scope_: t ? t.scope_ : kW(),
@@ -55356,7 +55515,7 @@ var RW = {
get(e, t) {
if (t === lW) return e;
let n = SW(e);
- if (!vW(n, t)) return $Ce(e, n, t);
+ if (!vW(n, t)) return pwe(e, n, t);
let r = n[t];
return e.finalized_ || !pW(r) ? r : r === BW(e.base_, t) ? (UW(e), e.copy_[t] = WW(r, e)) : r;
},
@@ -55372,7 +55531,7 @@ var RW = {
if (!e.modified_) {
let r = BW(SW(e), t), i = r?.[lW];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (qCe(n, r) && (n !== void 0 || vW(e.base_, t))) return !0;
+ if (swe(n, r) && (n !== void 0 || vW(e.base_, t))) return !0;
UW(e), HW(e);
}
return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_[t] = !0, !0);
@@ -55412,7 +55571,7 @@ function BW(e, t) {
let n = e[lW];
return (n ? SW(n) : e)[t];
}
-function $Ce(e, t, n) {
+function pwe(e, t, n) {
let r = VW(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
@@ -55431,7 +55590,7 @@ function HW(e) {
function UW(e) {
e.copy_ ||= CW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var ewe = class {
+var mwe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -55474,7 +55633,7 @@ var ewe = class {
}, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- pW(e) || uW(8), fW(e) && (e = twe(e));
+ pW(e) || uW(8), fW(e) && (e = hwe(e));
let t = NW(this), n = WW(e, void 0);
return n[lW].isManual_ = !0, MW(t), n;
}
@@ -55511,10 +55670,10 @@ var ewe = class {
}
};
function WW(e, t) {
- let n = bW(e) ? DW("MapSet").proxyMap_(e, t) : xW(e) ? DW("MapSet").proxySet_(e, t) : QCe(e, t);
+ let n = bW(e) ? DW("MapSet").proxyMap_(e, t) : xW(e) ? DW("MapSet").proxySet_(e, t) : fwe(e, t);
return (t ? t.scope_ : kW()).drafts_.push(n), n;
}
-function twe(e) {
+function hwe(e) {
return fW(e) || uW(10, e), GW(e);
}
function GW(e) {
@@ -55528,7 +55687,7 @@ function GW(e) {
yW(n, e, GW(t));
}, r), t && (t.finalized_ = !1), n;
}
-new ewe().produce;
+new mwe().produce;
function KW(e) {
return e;
}
@@ -55577,24 +55736,24 @@ var qW = FH({
prepare: jH()
}
}
-}), { setLegendSize: JW, setLegendSettings: nwe, addLegendPayload: YW, replaceLegendPayload: XW, removeLegendPayload: ZW } = qW.actions, rwe = qW.reducer, iwe = /* @__PURE__ */ mt(((e) => {
+}), { setLegendSize: JW, setLegendSettings: gwe, addLegendPayload: YW, replaceLegendPayload: XW, removeLegendPayload: ZW } = qW.actions, _we = qW.reducer, vwe = /* @__PURE__ */ mt(((e) => {
var t = St();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ mt(((e, t) => {
- t.exports = iwe();
+ t.exports = vwe();
})))();
-function awe(e) {
+function ywe(e) {
e();
}
-function owe() {
+function bwe() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- awe(() => {
+ ywe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -55620,7 +55779,7 @@ var QW = {
notify() {},
get: () => []
};
-function swe(e, t) {
+function xwe(e, t) {
let n, r = QW, i = 0, a = !1;
function o(e) {
u();
@@ -55639,7 +55798,7 @@ function swe(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = owe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = bwe());
}
function d() {
i--, n && i === 0 && (n(), n = void 0, r.clear(), r = QW);
@@ -55661,11 +55820,11 @@ function swe(e, t) {
};
return m;
}
-var cwe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, lwe = typeof navigator < "u" && navigator.product === "ReactNative", uwe = cwe || lwe ? B.useLayoutEffect : B.useEffect;
+var Swe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Cwe = typeof navigator < "u" && navigator.product === "ReactNative", wwe = Swe || Cwe ? B.useLayoutEffect : B.useEffect;
function $W(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function dwe(e, t) {
+function Twe(e, t) {
if ($W(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
@@ -55673,32 +55832,32 @@ function dwe(e, t) {
for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !$W(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var fwe = /* @__PURE__ */ Symbol.for("react-redux-context"), pwe = typeof globalThis < "u" ? globalThis : {};
-function mwe() {
+var Ewe = /* @__PURE__ */ Symbol.for("react-redux-context"), Dwe = typeof globalThis < "u" ? globalThis : {};
+function Owe() {
if (!B.createContext) return {};
- let e = pwe[fwe] ??= /* @__PURE__ */ new Map(), t = e.get(B.createContext);
+ let e = Dwe[Ewe] ??= /* @__PURE__ */ new Map(), t = e.get(B.createContext);
return t || (t = B.createContext(null), e.set(B.createContext, t)), t;
}
-var hwe = /* @__PURE__ */ mwe();
-function gwe(e) {
+var kwe = /* @__PURE__ */ Owe();
+function Awe(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = B.useMemo(() => {
- let e = swe(i);
+ let e = xwe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = B.useMemo(() => i.getState(), [i]);
- uwe(() => {
+ wwe(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || hwe;
+ let s = n || kwe;
return /* @__PURE__ */ B.createElement(s.Provider, { value: a }, t);
}
-var _we = gwe, vwe = /* @__PURE__ */ new Set([
+var jwe = Awe, Mwe = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -55721,19 +55880,19 @@ var _we = gwe, vwe = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function ywe(e, t) {
+function Nwe(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
function eG(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (vwe.has(n)) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (Mwe.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!dwe(e[n], t[n])) return !1;
- } else if (!ywe(e[n], t[n])) return !1;
+ if (!Twe(e[n], t[n])) return !1;
+ } else if (!Nwe(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var bwe = ["contextPayload"];
+var Pwe = ["contextPayload"];
function tG() {
return tG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -55757,26 +55916,26 @@ function rG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? nG(Object(n), !0).forEach(function(t) {
- xwe(e, t, n[t]);
+ Fwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xwe(e, t, n) {
- return (t = Swe(t)) in e ? Object.defineProperty(e, t, {
+function Fwe(e, t, n) {
+ return (t = Iwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Swe(e) {
- var t = Cwe(e, "string");
+function Iwe(e) {
+ var t = Lwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Cwe(e, t) {
+function Lwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55786,16 +55945,16 @@ function Cwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function wwe(e, t) {
+function Rwe(e, t) {
if (e == null) return {};
- var n, r, i = Twe(e, t);
+ var n, r, i = zwe(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 Twe(e, t) {
+function zwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55804,25 +55963,25 @@ function Twe(e, t) {
}
return n;
}
-function Ewe(e) {
+function Bwe(e) {
return e.value;
}
-function Dwe(e) {
- var { contextPayload: t } = e, n = wwe(e, bwe), r = yB(t, e.payloadUniqBy, Ewe), i = rG(rG({}, n), {}, { payload: r });
- return /*#__PURE__*/ B.isValidElement(e.content) ? /*#__PURE__*/ B.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ B.createElement(e.content, i) : /*#__PURE__*/ B.createElement(Uxe, i);
+function Vwe(e) {
+ var { contextPayload: t } = e, n = Rwe(e, Pwe), r = xB(t, e.payloadUniqBy, Bwe), i = rG(rG({}, n), {}, { payload: r });
+ return /*#__PURE__*/ B.isValidElement(e.content) ? /*#__PURE__*/ B.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ B.createElement(e.content, i) : /*#__PURE__*/ B.createElement(cSe, i);
}
-function Owe(e, t, n, r, i, a) {
+function Hwe(e, t, n, r, i, a) {
var { layout: o, align: s, verticalAlign: c } = t, l, u;
return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), rG(rG({}, l), u);
}
-function kwe(e) {
- var t = TB();
+function Uwe(e) {
+ var t = DB();
return (0, B.useEffect)(() => {
- t(nwe(e));
+ t(gwe(e));
}, [t, e]), null;
}
-function Awe(e) {
- var t = TB();
+function Wwe(e) {
+ var t = DB();
return (0, B.useEffect)(() => (t(JW(e)), () => {
t(JW({
width: 0,
@@ -55830,10 +55989,10 @@ function Awe(e) {
}));
}), [t, e]), null;
}
-function jwe(e, t, n, r) {
+function Gwe(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var Mwe = {
+var Kwe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -55841,28 +56000,28 @@ var Mwe = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function Nwe(e) {
- var t = jz(e, Mwe), n = tV(), r = Lbe(), i = WCe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = rV([n]), d = $U(), f = eW();
+function qwe(e) {
+ var t = Ez(e, Kwe), n = rV(), r = nxe(), i = iwe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = aV([n]), d = $U(), f = eW();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = jwe(t.layout, o, a, p), h = c ? s : rG(rG({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = Gwe(t.layout, o, a, p), h = c ? s : rG(rG({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, Owe(s, t, i, d, f, l)), s), g = c ?? r;
+ }, Hwe(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
var _ = /*#__PURE__*/ B.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ B.createElement(kwe, {
+ }, /*#__PURE__*/ B.createElement(Uwe, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ B.createElement(Awe, {
+ }), !c && /*#__PURE__*/ B.createElement(Wwe, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ B.createElement(Dwe, tG({}, t, m, {
+ }), /*#__PURE__*/ B.createElement(Vwe, tG({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
@@ -55870,7 +56029,7 @@ function Nwe(e) {
})));
return /*#__PURE__*/ (0, Dt.createPortal)(_, g);
}
-var iG = /*#__PURE__*/ B.memo(Nwe, eG);
+var iG = /*#__PURE__*/ B.memo(qwe, eG);
iG.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
@@ -55897,26 +56056,26 @@ function sG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? oG(Object(n), !0).forEach(function(t) {
- Pwe(e, t, n[t]);
+ Jwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Pwe(e, t, n) {
- return (t = Fwe(t)) in e ? Object.defineProperty(e, t, {
+function Jwe(e, t, n) {
+ return (t = Ywe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Fwe(e) {
- var t = Iwe(e, "string");
+function Ywe(e) {
+ var t = Xwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Iwe(e, t) {
+function Xwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55926,8 +56085,8 @@ function Iwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Lwe(e) {
- return Array.isArray(e) && fz(e[0]) && fz(e[1]) ? e.join(" ~ ") : e;
+function Zwe(e) {
+ return Array.isArray(e) && sz(e[0]) && sz(e[1]) ? e.join(" ~ ") : e;
}
var cG = {
separator: " : ",
@@ -55947,18 +56106,18 @@ var cG = {
labelStyle: {},
accessibilityLayer: !1
};
-function Rwe(e, t) {
- return t == null ? e : ZB(e, t);
+function Qwe(e, t) {
+ return t == null ? e : $B(e, t);
}
-var zwe = (e) => {
+var $we = (e) => {
var { separator: t = cG.separator, contentStyle: n, itemStyle: r, labelStyle: i = cG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = cG.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = Rwe(a, s).map((e, n) => {
+ }, n = Qwe(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || Lwe, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || Zwe, { value: s, name: c } = e, l = s, u = c;
if (i) {
var d = i(s, c, e, n, a);
if (Array.isArray(d)) [l, u] = d;
@@ -55970,7 +56129,7 @@ var zwe = (e) => {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, fz(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, fz(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, sz(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, sz(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ B.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -55978,7 +56137,7 @@ var zwe = (e) => {
}, n);
}
return null;
- }, m = sG(sG({}, cG.contentStyle), n), h = sG({ margin: 0 }, i), g = !vz(u), _ = g ? u : "", v = Jr("recharts-default-tooltip", c), y = Jr("recharts-tooltip-label", l);
+ }, m = sG(sG({}, cG.contentStyle), n), h = sG({ margin: 0 }, i), g = !pz(u), _ = g ? u : "", v = Jr("recharts-default-tooltip", c), y = Jr("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
@@ -55991,8 +56150,8 @@ var zwe = (e) => {
className: y,
style: h
}, /*#__PURE__*/ B.isValidElement(_) ? _ : `${_}`), p());
-}, lG = "recharts-tooltip-wrapper", Bwe = { visibility: "hidden" };
-function Vwe(e) {
+}, lG = "recharts-tooltip-wrapper", eTe = { visibility: "hidden" };
+function tTe(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
return Jr(lG, {
[`${lG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
@@ -56009,11 +56168,11 @@ function uG(e) {
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function Hwe(e) {
+function nTe(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function Uwe(e) {
+function rTe(e) {
var { allowEscapeViewBox: t, coordinate: n, offsetTop: r, offsetLeft: i, position: a, reverseDirection: o, tooltipBox: s, useTranslate3d: c, viewBox: l } = e, u, d, f;
return s.height > 0 && s.width > 0 && n ? (d = uG({
allowEscapeViewBox: t,
@@ -56035,13 +56194,13 @@ function Uwe(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = Hwe({
+ }), u = nTe({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = Bwe, {
+ })) : u = eTe, {
cssProperties: u,
- cssClasses: Vwe({
+ cssClasses: tTe({
translateX: d,
translateY: f,
coordinate: n
@@ -56083,26 +56242,26 @@ function mG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? pG(Object(n), !0).forEach(function(t) {
- Wwe(e, t, n[t]);
+ iTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Wwe(e, t, n) {
- return (t = Gwe(t)) in e ? Object.defineProperty(e, t, {
+function iTe(e, t, n) {
+ return (t = aTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Gwe(e) {
- var t = Kwe(e, "string");
+function aTe(e) {
+ var t = oTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Kwe(e, t) {
+function oTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56112,10 +56271,10 @@ function Kwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function qwe(e) {
+function sTe(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function Jwe(e) {
+function cTe(e) {
var t = fG(), [n, r] = B.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
@@ -56137,7 +56296,7 @@ function Jwe(e) {
document.removeEventListener("keydown", t);
};
}, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(mG(mG({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = Uwe({
+ var { cssClasses: i, cssProperties: a } = rTe({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -56150,7 +56309,7 @@ function Jwe(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = mG(mG({}, e.hasPortalFromProps ? {} : mG(mG({ transition: qwe({
+ }), o = mG(mG({}, e.hasPortalFromProps ? {} : mG(mG({ transition: sTe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -56170,7 +56329,7 @@ function Jwe(e) {
ref: e.innerRef
}, e.children);
}
-var Ywe = /*#__PURE__*/ B.memo(Jwe), hG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var lTe = /*#__PURE__*/ B.memo(cTe), hG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
function gG() {
@@ -56196,26 +56355,26 @@ function vG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? _G(Object(n), !0).forEach(function(t) {
- Xwe(e, t, n[t]);
+ uTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _G(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Xwe(e, t, n) {
- return (t = Zwe(t)) in e ? Object.defineProperty(e, t, {
+function uTe(e, t, n) {
+ return (t = dTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Zwe(e) {
- var t = Qwe(e, "string");
+function dTe(e) {
+ var t = fTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Qwe(e, t) {
+function fTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56226,37 +56385,37 @@ function Qwe(e, t) {
return (t === "string" ? String : Number)(e);
}
var yG = {
- curveBasisClosed: txe,
- curveBasisOpen: nxe,
- curveBasis: exe,
- curveBumpX: Bbe,
- curveBumpY: Vbe,
- curveLinearClosed: rxe,
- curveLinear: CR,
- curveMonotoneX: ixe,
- curveMonotoneY: axe,
- curveNatural: oxe,
- curveStep: sxe,
- curveStepAfter: lxe,
- curveStepBefore: cxe
-}, bG = (e) => uU(e.x) && uU(e.y), xG = (e) => e.base != null && bG(e.base) && bG(e), SG = (e) => e.x, CG = (e) => e.y, $we = (e, t) => {
+ curveBasisClosed: bxe,
+ curveBasisOpen: xxe,
+ curveBasis: yxe,
+ curveBumpX: axe,
+ curveBumpY: oxe,
+ curveLinearClosed: Sxe,
+ curveLinear: vR,
+ curveMonotoneX: Cxe,
+ curveMonotoneY: wxe,
+ curveNatural: Txe,
+ curveStep: Exe,
+ curveStepAfter: Oxe,
+ curveStepBefore: Dxe
+}, bG = (e) => uU(e.x) && uU(e.y), xG = (e) => e.base != null && bG(e.base) && bG(e), SG = (e) => e.x, CG = (e) => e.y, pTe = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${yz(e)}`;
+ var n = `curve${mz(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
var r = yG[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return yG[n] || CR;
+ return yG[n] || vR;
}, wG = {
connectNulls: !1,
type: "linear"
-}, eTe = (e) => {
- var { type: t = wG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = wG.connectNulls } = e, o = $we(t, i), s = a ? n.filter(bG) : n;
+}, mTe = (e) => {
+ var { type: t = wG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = wG.connectNulls } = e, o = pTe(t, i), s = a ? n.filter(bG) : n;
if (Array.isArray(r)) {
var c, l = n.map((e, t) => vG(vG({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? DR().y(CG).x1(SG).x0((e) => e.base.x) : DR().x(SG).y1(CG).y0((e) => e.base.y), c.defined(xG).curve(o)(a ? l.filter(xG) : l);
+ return c = i === "vertical" ? SR().y(CG).x1(SG).x0((e) => e.base.x) : SR().x(SG).y1(CG).y0((e) => e.base.y), c.defined(xG).curve(o)(a ? l.filter(xG) : l);
}
- return (i === "vertical" && Z(r) ? DR().y(CG).x1(SG).x0(r) : Z(r) ? DR().x(SG).y1(CG).y0(r) : ER().x(SG).y(CG)).defined(bG).curve(o)(s);
+ return (i === "vertical" && Z(r) ? SR().y(CG).x1(SG).x0(r) : Z(r) ? SR().x(SG).y1(CG).y0(r) : xR().x(SG).y(CG)).defined(bG).curve(o)(s);
}, TG = (e) => {
var { className: t, points: n, path: r, pathRef: i } = e, a = nW();
if ((!n || !n.length) && !r) return null;
@@ -56266,13 +56425,13 @@ var yG = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? eTe(o) : r;
- return /*#__PURE__*/ B.createElement("path", gG({}, tR(e), Oz(e), {
+ }, s = n && n.length ? mTe(o) : r;
+ return /*#__PURE__*/ B.createElement("path", gG({}, XL(e), Cz(e), {
className: Jr("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, tTe = [
+}, hTe = [
"x",
"y",
"top",
@@ -56300,30 +56459,30 @@ function DG(e, t) {
}
return n;
}
-function nTe(e) {
+function gTe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? DG(Object(n), !0).forEach(function(t) {
- rTe(e, t, n[t]);
+ _Te(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rTe(e, t, n) {
- return (t = iTe(t)) in e ? Object.defineProperty(e, t, {
+function _Te(e, t, n) {
+ return (t = vTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iTe(e) {
- var t = aTe(e, "string");
+function vTe(e) {
+ var t = yTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aTe(e, t) {
+function yTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56333,16 +56492,16 @@ function aTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function oTe(e, t) {
+function bTe(e, t) {
if (e == null) return {};
- var n, r, i = sTe(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 sTe(e, t) {
+function xTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56351,8 +56510,8 @@ function sTe(e, t) {
}
return n;
}
-var cTe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, lTe = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = oTe(e, tTe), l = nTe({
+var STe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, CTe = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = bTe(e, hTe), l = gTe({
x: t,
y: n,
top: r,
@@ -56360,14 +56519,14 @@ var cTe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, lTe = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ B.createElement("path", EG({}, rR(l), {
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ B.createElement("path", EG({}, QL(l), {
className: Jr("recharts-cross", s),
- d: cTe(t, n, a, o, r, i)
+ d: STe(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function uTe(e, t, n, r) {
+function wTe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -56394,26 +56553,26 @@ function kG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? OG(Object(n), !0).forEach(function(t) {
- dTe(e, t, n[t]);
+ TTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dTe(e, t, n) {
- return (t = fTe(t)) in e ? Object.defineProperty(e, t, {
+function TTe(e, t, n) {
+ return (t = ETe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fTe(e) {
- var t = pTe(e, "string");
+function ETe(e) {
+ var t = DTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pTe(e, t) {
+function DTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56423,7 +56582,7 @@ function pTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var mTe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), AG = (e, t, n) => e.map((e) => `${mTe(e)} ${t}ms ${n}`).join(","), hTe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), jG = (e, t) => Object.keys(t).reduce((n, r) => kG(kG({}, n), {}, { [r]: e(r, t[r]) }), {});
+var OTe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), AG = (e, t, n) => e.map((e) => `${OTe(e)} ${t}ms ${n}`).join(","), kTe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), jG = (e, t) => Object.keys(t).reduce((n, r) => kG(kG({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
function MG(e, t) {
@@ -56440,26 +56599,26 @@ function NG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? MG(Object(n), !0).forEach(function(t) {
- gTe(e, t, n[t]);
+ ATe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gTe(e, t, n) {
- return (t = _Te(t)) in e ? Object.defineProperty(e, t, {
+function ATe(e, t, n) {
+ return (t = jTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _Te(e) {
- var t = vTe(e, "string");
+function jTe(e) {
+ var t = MTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vTe(e, t) {
+function MTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56488,7 +56647,7 @@ var PG = (e, t, n) => e + (t - e) * n, FG = (e) => {
from: PG(t.from, r[e].from, n)
}) : t, t) : IG(e, r, n - 1);
};
-function yTe(e, t, n, r, i, a) {
+function NTe(e, t, n, r, i, a) {
var o, s = r.reduce((n, r) => NG(NG({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
@@ -56503,7 +56662,7 @@ function yTe(e, t, n, r, i, a) {
(e = u) == null || e();
});
}
-function bTe(e, t, n, r, i, a, o) {
+function PTe(e, t, n, r, i, a, o) {
var s = null, c = i.reduce((n, r) => {
var i = e[r], a = t[r];
return i == null || a == null ? n : NG(NG({}, n), {}, { [r]: [i, a] });
@@ -56521,15 +56680,15 @@ function bTe(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var xTe = (e, t, n, r, i, a) => {
- var o = hTe(e, t);
- return n == null ? () => (i(NG(NG({}, e), t)), () => {}) : n.isStepper === !0 ? yTe(e, t, n, o, i, a) : bTe(e, t, n, r, o, i, a);
+var FTe = (e, t, n, r, i, a) => {
+ var o = kTe(e, t);
+ return n == null ? () => (i(NG(NG({}, e), t)), () => {}) : n.isStepper === !0 ? NTe(e, t, n, o, i, a) : PTe(e, t, n, r, o, i, a);
}, LG = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], RG = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), zG = (e, t) => (n) => RG(LG(e, t), n), STe = (e, t) => (n) => RG([...LG(e, t).map((e, t) => e * t).slice(1), 0], n), CTe = (e) => {
+], RG = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), zG = (e, t) => (n) => RG(LG(e, t), n), ITe = (e, t) => (n) => RG([...LG(e, t).map((e, t) => e * t).slice(1), 0], n), LTe = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -56541,7 +56700,7 @@ var xTe = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, wTe = function() {
+}, RTe = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -56575,7 +56734,7 @@ var xTe = (e, t, n, r, i, a) => {
1
];
default:
- var t = CTe(e[0]);
+ var t = LTe(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -56584,8 +56743,8 @@ var xTe = (e, t, n, r, i, a) => {
1,
1
];
-}, TTe = (e, t, n, r) => {
- var i = zG(e, n), a = zG(t, r), o = STe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, zTe = (e, t, n, r) => {
+ var i = zG(e, n), a = zG(t, r), o = ITe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -56595,28 +56754,28 @@ var xTe = (e, t, n, r, i, a) => {
};
return c.isStepper = !1, c;
}, BG = function() {
- return TTe(...wTe(...arguments));
-}, ETe = function() {
+ return zTe(...RTe(...arguments));
+}, BTe = function() {
var { stiff: e = 100, damping: t = 8, dt: n = 17 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = (r, i, a) => {
var o = a + (-(r - i) * e - a * t) * n / 1e3, s = a * n / 1e3 + r;
return Math.abs(s - i) < 1e-4 && Math.abs(o) < 1e-4 ? [i, 0] : [s, o];
};
return r.isStepper = !0, r.dt = n, r;
-}, DTe = (e) => {
+}, VTe = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
case "linear": return BG(e);
- case "spring": return ETe();
+ case "spring": return BTe();
default: if (e.split("(")[0] === "cubic-bezier") return BG(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function OTe(e) {
+function HTe(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -56647,7 +56806,7 @@ function OTe(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var kTe = class {
+var UTe = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : typeof requestAnimationFrame == "function" && (r = requestAnimationFrame(i));
@@ -56659,14 +56818,14 @@ var kTe = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function ATe() {
- return OTe(new kTe());
+function WTe() {
+ return HTe(new UTe());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var jTe = /*#__PURE__*/ (0, B.createContext)(ATe);
-function MTe(e, t) {
- var n = (0, B.useContext)(jTe);
+var GTe = /*#__PURE__*/ (0, B.createContext)(WTe);
+function KTe(e, t) {
+ var n = (0, B.useContext)(GTe);
return (0, B.useMemo)(() => t ?? n(e), [
e,
t,
@@ -56675,7 +56834,7 @@ function MTe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var NTe = {
+var qTe = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -56685,12 +56844,12 @@ var NTe = {
onAnimationStart: () => {}
}, VG = { t: 0 }, HG = { t: 1 };
function UG(e) {
- var t = jz(e, NTe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = fG(), d = n === "auto" ? !dG.isSsr && !u : n, f = MTe(t.animationId, t.animationManager), [p, m] = (0, B.useState)(d ? VG : HG), h = (0, B.useRef)(null);
+ var t = Ez(e, qTe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = fG(), d = n === "auto" ? !dG.isSsr && !u : n, f = KTe(t.animationId, t.animationManager), [p, m] = (0, B.useState)(d ? VG : HG), h = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
d || m(HG);
}, [d]), (0, B.useEffect)(() => {
- if (!d || !r) return xz;
- var e = xTe(VG, HG, DTe(a), i, m, f.getTimeoutController());
+ if (!d || !r) return gz;
+ var e = FTe(VG, HG, VTe(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -56716,12 +56875,12 @@ function UG(e) {
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
function WG(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, B.useRef)(pz(t)), r = (0, B.useRef)(e);
- return r.current !== e && (n.current = pz(t), r.current = e), n.current;
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, B.useRef)(cz(t)), r = (0, B.useRef)(e);
+ return r.current !== e && (n.current = cz(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var PTe = ["radius"], FTe = ["radius"], ITe, LTe, RTe, zTe, BTe, VTe, HTe, UTe, WTe, GTe;
+var JTe = ["radius"], YTe = ["radius"], XTe, ZTe, QTe, $Te, eEe, tEe, nEe, rEe, iEe, aEe;
function GG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -56736,26 +56895,26 @@ function KG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? GG(Object(n), !0).forEach(function(t) {
- KTe(e, t, n[t]);
+ oEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function KTe(e, t, n) {
- return (t = qTe(t)) in e ? Object.defineProperty(e, t, {
+function oEe(e, t, n) {
+ return (t = sEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qTe(e) {
- var t = JTe(e, "string");
+function sEe(e) {
+ var t = cEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function JTe(e, t) {
+function cEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56776,14 +56935,14 @@ function qG() {
}
function JG(e, t) {
if (e == null) return {};
- var n, r, i = YTe(e, t);
+ var n, r, i = lEe(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 YTe(e, t) {
+function lEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56796,7 +56955,7 @@ function YG(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var XG = (e, t, n, r, i) => {
- var a = sz(n), o = sz(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+ var a = nz(n), o = nz(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
if (s > 0 && Array.isArray(i)) {
for (var f = [
0,
@@ -56807,44 +56966,44 @@ var XG = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = cz(ITe ||= YG([
+ d = rz(XTe ||= YG([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += cz(LTe ||= YG([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += rz(ZTe ||= YG([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += cz(RTe ||= YG([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += rz(QTe ||= YG([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += cz(zTe ||= YG([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += rz($Te ||= YG([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += cz(BTe ||= YG([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += rz(eEe ||= YG([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += cz(VTe ||= YG([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += rz(tEe ||= YG([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += cz(HTe ||= YG([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += rz(nEe ||= YG([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += cz(UTe ||= YG([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += rz(rEe ||= YG([
"A ",
",",
",0,0,",
@@ -56854,8 +57013,8 @@ var XG = (e, t, n, r, i) => {
]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";
} else if (s > 0 && i === +i && i > 0) {
var g = Math.min(s, i);
- d = cz(WTe ||= YG(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
- } else d = cz(GTe ||= YG([
+ d = rz(iEe ||= YG(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
+ } else d = rz(aEe ||= YG([
"M ",
",",
" h ",
@@ -56876,7 +57035,7 @@ var XG = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, QG = (e) => {
- var t = jz(e, ZG), n = (0, B.useRef)(null), [r, i] = (0, B.useState)(-1);
+ var t = Ez(e, ZG), n = (0, B.useRef)(null), [r, i] = (0, B.useState)(-1);
(0, B.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
@@ -56899,12 +57058,12 @@ var XG = (e, t, n, r, i) => {
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
var x = Jr("recharts-rectangle", u);
if (!h) {
- var S = rR(t), { radius: C } = S, w = JG(S, PTe);
+ var S = QL(t), { radius: C } = S, w = JG(S, JTe);
return /*#__PURE__*/ B.createElement("path", qG({}, w, {
- x: sz(a),
- y: sz(o),
- width: sz(s),
- height: sz(c),
+ x: nz(a),
+ y: nz(o),
+ width: nz(s),
+ height: nz(c),
radius: typeof l == "number" ? l : void 0,
className: x,
d: XG(a, o, s, c, l)
@@ -56920,12 +57079,12 @@ var XG = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = gz(T, s, e), i = gz(E, c, e), u = gz(D, a, e), d = gz(O, o, e);
+ var r = dz(T, s, e), i = dz(E, c, e), u = dz(D, a, e), d = dz(O, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = rR(t), { radius: h } = p, b = JG(p, FTe);
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = QL(t), { radius: h } = p, b = JG(p, YTe);
return /*#__PURE__*/ B.createElement("path", qG({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
@@ -56951,26 +57110,26 @@ function eK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? $G(Object(n), !0).forEach(function(t) {
- XTe(e, t, n[t]);
+ uEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $G(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function XTe(e, t, n) {
- return (t = ZTe(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 ZTe(e) {
- var t = QTe(e, "string");
+function dEe(e) {
+ var t = fEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function QTe(e, t) {
+function fEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56980,10 +57139,10 @@ function QTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var tK = Math.PI / 180, nK = (e) => e * Math.PI / 180, $Te = (e) => e * 180 / Math.PI, rK = (e, t, n, r) => ({
+var tK = Math.PI / 180, nK = (e) => e * Math.PI / 180, pEe = (e) => e * 180 / Math.PI, rK = (e, t, n, r) => ({
x: e + Math.cos(-tK * r) * n,
y: t + Math.sin(-tK * r) * n
-}), eEe = function(e, t) {
+}), mEe = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -56994,11 +57153,11 @@ var tK = Math.PI / 180, nK = (e) => e * Math.PI / 180, $Te = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, tEe = (e, t) => {
+}, hEe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, nEe = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = tEe({
+}, gEe = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = hEe({
x: n,
y: r
}, {
@@ -57012,25 +57171,25 @@ var tK = Math.PI / 180, nK = (e) => e * Math.PI / 180, $Te = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: $Te(c),
+ angle: pEe(c),
angleInRadian: c
};
-}, rEe = (e) => {
+}, _Ee = (e) => {
var { startAngle: t, endAngle: n } = e, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, iEe = (e, t) => {
+}, vEe = (e, t) => {
var { startAngle: n, endAngle: r } = t, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, aEe = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = nEe({
+}, yEe = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = gEe({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = rEe(t), u = a, d;
+ var { startAngle: c, endAngle: l } = _Ee(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -57042,7 +57201,7 @@ var tK = Math.PI / 180, nK = (e) => e * Math.PI / 180, $Te = (e) => e * 180 / Ma
}
return d ? eK(eK({}, t), {}, {
radius: i,
- angle: iEe(u, t)
+ angle: vEe(u, t)
}) : null;
};
//#endregion
@@ -57060,7 +57219,7 @@ function iK(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var oEe, sEe, cEe, lEe, uEe, dEe, fEe;
+var bEe, xEe, SEe, CEe, wEe, TEe, EEe;
function aK() {
return aK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -57073,7 +57232,7 @@ function aK() {
function oK(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var pEe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) => {
+var DEe = (e, t) => iz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) => {
var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / tK, d = c ? i : i + a * u, f = rK(t, n, l, d), p = rK(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -57082,7 +57241,7 @@ var pEe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) =>
theta: u
};
}, cK = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = pEe(a, o), c = a + s, l = rK(t, n, i, a), u = rK(t, n, i, c), d = cz(oEe ||= oK([
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = DEe(a, o), c = a + s, l = rK(t, n, i, a), u = rK(t, n, i, c), d = rz(bEe ||= oK([
"M ",
",",
"\n A ",
@@ -57095,7 +57254,7 @@ var pEe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = rK(t, n, r, a), p = rK(t, n, r, c);
- d += cz(sEe ||= oK([
+ d += rz(xEe ||= oK([
"L ",
",",
"\n A ",
@@ -57106,14 +57265,14 @@ var pEe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += cz(cEe ||= oK([
+ } else d += rz(SEe ||= oK([
"L ",
",",
" Z"
]), t, n);
return d;
-}, mEe = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = lz(l - c), { circleTangency: d, lineTangency: f, theta: p } = sK({
+}, OEe = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = iz(l - c), { circleTangency: d, lineTangency: f, theta: p } = sK({
cx: t,
cy: n,
radius: i,
@@ -57130,7 +57289,7 @@ var pEe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? cz(lEe ||= oK([
+ if (_ < 0) return o ? rz(CEe ||= oK([
"M ",
",",
"\n a",
@@ -57148,7 +57307,7 @@ var pEe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) =>
startAngle: c,
endAngle: l
});
- var v = cz(uEe ||= oK([
+ var v = rz(wEe ||= oK([
"M ",
",",
"\n A",
@@ -57190,7 +57349,7 @@ var pEe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) =>
cornerIsExternal: s
}), T = s ? Math.abs(c - l) : Math.abs(c - l) - x - w;
if (T < 0 && a === 0) return `${v}L${t},${n}Z`;
- v += cz(dEe ||= oK([
+ v += rz(TEe ||= oK([
"L",
",",
"\n A",
@@ -57211,13 +57370,13 @@ var pEe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) =>
",",
"Z"
]), C.x, C.y, a, a, +(u < 0), S.x, S.y, r, r, +(T > 180), +(u > 0), y.x, y.y, a, a, +(u < 0), b.x, b.y);
- } else v += cz(fEe ||= oK([
+ } else v += rz(EEe ||= oK([
"L",
",",
"Z"
]), t, n);
return v;
-}, hEe = {
+}, kEe = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -57228,9 +57387,9 @@ var pEe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, lK = (e) => {
- var t = jz(e, hEe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+ var t = Ez(e, kEe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
if (a < i || l === u) return null;
- var f = Jr("recharts-sector", d), p = a - i, m = mz(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? mEe({
+ var f = Jr("recharts-sector", d), p = a - i, m = lz(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? OEe({
cx: n,
cy: r,
innerRadius: i,
@@ -57248,14 +57407,14 @@ var pEe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ B.createElement("path", aK({}, rR(t), {
+ return /*#__PURE__*/ B.createElement("path", aK({}, QL(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function gEe(e, t, n) {
+function AEe(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -57270,7 +57429,7 @@ function gEe(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (Dz(t)) {
+ if (Sz(t)) {
if (e === "centric") {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = rK(r, i, a, s), l = rK(r, i, o, s);
return [{
@@ -57286,18 +57445,18 @@ function gEe(e, t, n) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function _Ee(e) {
- return rz(e) ? NaN : Number(e);
+function jEe(e) {
+ return QR(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
function uK(e) {
- return e ? (e = _Ee(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+ return e ? (e = jEe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
function dK(e, t, n) {
- n && typeof n != "number" && WB(e, t, n) && (t = n = void 0), e = uK(e), t === void 0 ? (t = e, e = 0) : t = uK(t), n = n === void 0 ? e < t ? 1 : -1 : uK(n);
+ n && typeof n != "number" && KB(e, t, n) && (t = n = void 0), e = uK(e), t === void 0 ? (t = e, e = 0) : t = uK(t), n = n === void 0 ? e < t ? 1 : -1 : uK(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
@@ -57336,7 +57495,7 @@ function vK(e, t) {
if (gK(o)) return o;
}
}
-function vEe(e, t, n) {
+function MEe(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
@@ -57783,7 +57942,7 @@ var SK = (e) => {
}
var u = r[c] ?? 1, d = new yK.default(u).mul(o);
return t ? d : new yK.default(Math.ceil(d.toNumber()));
-}, yEe = (e, t, n) => {
+}, NEe = (e, t, n) => {
var r = new yK.default(1), i = new yK.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
@@ -57812,7 +57971,7 @@ var SK = (e) => {
var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];
return t > n ? l.reverse() : l;
}
- if (s === c) return yEe(s, r, i);
+ if (s === c) return NEe(s, r, i);
var { step: u, tickMin: d, tickMax: f } = TK(s, c, o, i, 0, a === "snap125" ? wK : CK), p = xK(d, f.add(new yK.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
}, DK = function(e, t) {
@@ -57821,7 +57980,7 @@ var SK = (e) => {
if (o === s) return [o];
var c = a === "snap125" ? wK : CK, l = Math.max(t, 2), u = c(new yK.default(s).sub(o).div(l - 1), i, 0), d = [...xK(new yK.default(o), new yK.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, OK = (e) => e.rootProps.maxBarSize, kK = (e) => e.rootProps.barGap, AK = (e) => e.rootProps.barCategoryGap, jK = (e) => e.rootProps.barSize, MK = (e) => e.rootProps.stackOffset, NK = (e) => e.rootProps.reverseStackOrder, PK = (e) => e.options.chartName, FK = (e) => e.rootProps.syncId, IK = (e) => e.rootProps.syncMethod, LK = (e) => e.options.eventEmitter, bEe = (e) => e.rootProps.baseValue, RK = {
+}, OK = (e) => e.rootProps.maxBarSize, kK = (e) => e.rootProps.barGap, AK = (e) => e.rootProps.barCategoryGap, jK = (e) => e.rootProps.barSize, MK = (e) => e.rootProps.stackOffset, NK = (e) => e.rootProps.reverseStackOrder, PK = (e) => e.options.chartName, FK = (e) => e.rootProps.syncId, IK = (e) => e.rootProps.syncMethod, LK = (e) => e.options.eventEmitter, PEe = (e) => e.rootProps.baseValue, RK = {
grid: -100,
barBackground: -50,
area: 100,
@@ -57901,26 +58060,26 @@ function WK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? UK(Object(n), !0).forEach(function(t) {
- xEe(e, t, n[t]);
+ FEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xEe(e, t, n) {
- return (t = SEe(t)) in e ? Object.defineProperty(e, t, {
+function FEe(e, t, n) {
+ return (t = IEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SEe(e) {
- var t = CEe(e, "string");
+function IEe(e) {
+ var t = LEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CEe(e, t) {
+function LEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57978,21 +58137,21 @@ var GK = {
OU,
kU,
FU
-], eEe), ZK = $([YK, XK], (e, t) => {
- if (e != null) return mz(e.innerRadius, t, 0);
+], mEe), ZK = $([YK, XK], (e, t) => {
+ if (e != null) return lz(e.innerRadius, t, 0);
}), QK = $([YK, XK], (e, t) => {
- if (e != null) return mz(e.outerRadius, t, t * .8);
+ if (e != null) return lz(e.outerRadius, t, t * .8);
}), $K = $([YK], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), wEe = $([qK, $K], VK), eq = $([
+}), REe = $([qK, $K], VK), eq = $([
XK,
ZK,
QK
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), TEe = $([JK, eq], VK), tq = $([
+}), zEe = $([JK, eq], VK), tq = $([
tW,
YK,
ZK,
@@ -58003,8 +58162,8 @@ var GK = {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var { cx: o, cy: s, startAngle: c, endAngle: l } = t;
return {
- cx: mz(o, i, i / 2),
- cy: mz(s, a, a / 2),
+ cx: lz(o, i, i / 2),
+ cy: lz(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -58046,7 +58205,7 @@ var sq = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] &&
function cq(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function EEe(e, t) {
+function BEe(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -58125,7 +58284,7 @@ function pq(e, t) {
//#region node_modules/d3-array/src/bisector.js
function mq(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = DEe(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = VEe(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -58151,7 +58310,7 @@ function mq(e) {
right: i
};
}
-function DEe(e) {
+function VEe(e) {
return (t, n) => pq(e(t), n);
}
//#endregion
@@ -58159,7 +58318,7 @@ function DEe(e) {
function hq(e) {
return e === null ? NaN : +e;
}
-function* OEe(e, t) {
+function* HEe(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -58173,7 +58332,7 @@ gq.left, mq(hq).center;
//#endregion
//#region node_modules/internmap/src/index.js
var vq = class extends Map {
- constructor(e, t = jEe) {
+ constructor(e, t = GEe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
@@ -58186,25 +58345,25 @@ var vq = class extends Map {
return super.has(yq(this, e));
}
set(e, t) {
- return super.set(kEe(this, e), t);
+ return super.set(UEe(this, e), t);
}
delete(e) {
- return super.delete(AEe(this, e));
+ return super.delete(WEe(this, e));
}
};
function yq({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function kEe({ _intern: e, _key: t }, n) {
+function UEe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function AEe({ _intern: e, _key: t }, n) {
+function WEe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function jEe(e) {
+function GEe(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
@@ -58277,15 +58436,15 @@ function kq(e, t, n) {
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function MEe(e, t, n) {
- if (e = Float64Array.from(OEe(e, n)), r = e.length) {
+function KEe(e, t, n) {
+ if (e = Float64Array.from(HEe(e, n)), r = e.length) {
if ((t = +t) <= 0 || r < 2) return Dq(e);
if (t >= 1) return Eq(e);
var r, i = (r - 1) * t, a = Math.floor(i), o = Eq(Oq(e, a).subarray(0, a + 1));
return o + (Dq(e.subarray(a + 1)) - o) * (i - a);
}
}
-function NEe(e, t, n = hq) {
+function qEe(e, t, n = hq) {
if (r = e.length) {
if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);
if (t >= 1) return +n(e[r - 1], r - 1, e);
@@ -58295,7 +58454,7 @@ function NEe(e, t, n = hq) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function PEe(e, t, n) {
+function JEe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
@@ -58367,7 +58526,7 @@ function Fq() {
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = PEe(e).map(function(e) {
+ var m = JEe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -58402,7 +58561,7 @@ function Iq(e) {
return Iq(t());
}, e;
}
-function FEe() {
+function YEe() {
return Iq(Fq.apply(null, arguments).paddingInner(1));
}
//#endregion
@@ -58418,7 +58577,7 @@ function Rq(e, t) {
//#endregion
//#region node_modules/d3-color/src/color.js
function zq() {}
-var Bq = .7, Vq = 1 / Bq, Hq = "\\s*([+-]?\\d+)\\s*", Uq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Wq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", IEe = /^#([0-9a-f]{3,8})$/, LEe = RegExp(`^rgb\\(${Hq},${Hq},${Hq}\\)$`), REe = RegExp(`^rgb\\(${Wq},${Wq},${Wq}\\)$`), zEe = RegExp(`^rgba\\(${Hq},${Hq},${Hq},${Uq}\\)$`), BEe = RegExp(`^rgba\\(${Wq},${Wq},${Wq},${Uq}\\)$`), VEe = RegExp(`^hsl\\(${Uq},${Wq},${Wq}\\)$`), HEe = RegExp(`^hsla\\(${Uq},${Wq},${Wq},${Uq}\\)$`), Gq = {
+var Bq = .7, Vq = 1 / Bq, Hq = "\\s*([+-]?\\d+)\\s*", Uq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Wq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", XEe = /^#([0-9a-f]{3,8})$/, ZEe = RegExp(`^rgb\\(${Hq},${Hq},${Hq}\\)$`), QEe = RegExp(`^rgb\\(${Wq},${Wq},${Wq}\\)$`), $Ee = RegExp(`^rgba\\(${Hq},${Hq},${Hq},${Uq}\\)$`), eDe = RegExp(`^rgba\\(${Wq},${Wq},${Wq},${Uq}\\)$`), tDe = RegExp(`^hsl\\(${Uq},${Wq},${Wq}\\)$`), nDe = RegExp(`^hsla\\(${Uq},${Wq},${Wq},${Uq}\\)$`), Gq = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -58577,18 +58736,18 @@ Lq(zq, Jq, {
},
hex: Kq,
formatHex: Kq,
- formatHex8: UEe,
- formatHsl: WEe,
+ formatHex8: rDe,
+ formatHsl: iDe,
formatRgb: qq,
toString: qq
});
function Kq() {
return this.rgb().formatHex();
}
-function UEe() {
+function rDe() {
return this.rgb().formatHex8();
}
-function WEe() {
+function iDe() {
return aJ(this).formatHsl();
}
function qq() {
@@ -58596,7 +58755,7 @@ function qq() {
}
function Jq(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = IEe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Yq(t) : n === 3 ? new Qq(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Xq(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Xq(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = LEe.exec(e)) ? new Qq(t[1], t[2], t[3], 1) : (t = REe.exec(e)) ? new Qq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = zEe.exec(e)) ? Xq(t[1], t[2], t[3], t[4]) : (t = BEe.exec(e)) ? Xq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = VEe.exec(e)) ? iJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = HEe.exec(e)) ? iJ(t[1], t[2] / 100, t[3] / 100, t[4]) : Gq.hasOwnProperty(e) ? Yq(Gq[e]) : e === "transparent" ? new Qq(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = XEe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Yq(t) : n === 3 ? new Qq(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Xq(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Xq(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = ZEe.exec(e)) ? new Qq(t[1], t[2], t[3], 1) : (t = QEe.exec(e)) ? new Qq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = $Ee.exec(e)) ? Xq(t[1], t[2], t[3], t[4]) : (t = eDe.exec(e)) ? Xq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = tDe.exec(e)) ? iJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = nDe.exec(e)) ? iJ(t[1], t[2] / 100, t[3] / 100, t[4]) : Gq.hasOwnProperty(e) ? Yq(Gq[e]) : e === "transparent" ? new Qq(NaN, NaN, NaN, 0) : null;
}
function Yq(e) {
return new Qq(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
@@ -58604,11 +58763,11 @@ function Yq(e) {
function Xq(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new Qq(e, t, n, r);
}
-function GEe(e) {
+function aDe(e) {
return e instanceof zq || (e = Jq(e)), e ? (e = e.rgb(), new Qq(e.r, e.g, e.b, e.opacity)) : new Qq();
}
function Zq(e, t, n, r) {
- return arguments.length === 1 ? GEe(e) : new Qq(e, t, n, r ?? 1);
+ return arguments.length === 1 ? aDe(e) : new Qq(e, t, n, r ?? 1);
}
function Qq(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
@@ -58631,14 +58790,14 @@ Lq(Qq, Zq, Rq(zq, {
},
hex: $q,
formatHex: $q,
- formatHex8: KEe,
+ formatHex8: oDe,
formatRgb: eJ,
toString: eJ
}));
function $q() {
return `#${rJ(this.r)}${rJ(this.g)}${rJ(this.b)}`;
}
-function KEe() {
+function oDe() {
return `#${rJ(this.r)}${rJ(this.g)}${rJ(this.b)}${rJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
function eJ() {
@@ -58665,13 +58824,13 @@ function aJ(e) {
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new oJ(o, s, c, e.opacity);
}
-function qEe(e, t, n, r) {
+function sDe(e, t, n, r) {
return arguments.length === 1 ? aJ(e) : new oJ(e, t, n, r ?? 1);
}
function oJ(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-Lq(oJ, qEe, Rq(zq, {
+Lq(oJ, sDe, Rq(zq, {
brighter(e) {
return e = e == null ? Vq : Vq ** +e, new oJ(this.h, this.s, this.l * e, this.opacity);
},
@@ -58707,29 +58866,29 @@ function lJ(e, t, n) {
var uJ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function JEe(e, t) {
+function cDe(e, t) {
return function(n) {
return e + n * t;
};
}
-function YEe(e, t, n) {
+function lDe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function XEe(e) {
+function uDe(e) {
return (e = +e) == 1 ? dJ : function(t, n) {
- return n - t ? YEe(t, n, e) : uJ(isNaN(t) ? n : t);
+ return n - t ? lDe(t, n, e) : uJ(isNaN(t) ? n : t);
};
}
function dJ(e, t) {
var n = t - e;
- return n ? JEe(e, n) : uJ(isNaN(e) ? t : e);
+ return n ? cDe(e, n) : uJ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
var fJ = (function e(t) {
- var n = XEe(t);
+ var n = uDe(t);
function r(e, t) {
var r = n((e = Zq(e)).r, (t = Zq(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = dJ(e.opacity, t.opacity);
return function(t) {
@@ -58740,7 +58899,7 @@ var fJ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function ZEe(e, t) {
+function dDe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -58748,12 +58907,12 @@ function ZEe(e, t) {
return r;
};
}
-function QEe(e) {
+function fDe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function $Ee(e, t) {
+function pDe(e, t) {
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
for (o = 0; o < r; ++o) i[o] = gJ(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
@@ -58764,7 +58923,7 @@ function $Ee(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function eDe(e, t) {
+function mDe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -58779,7 +58938,7 @@ function pJ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function tDe(e, t) {
+function hDe(e, t) {
var n = {}, r = {}, i;
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = gJ(e[i], t[i]) : r[i] = t[i];
return function(e) {
@@ -58790,23 +58949,23 @@ function tDe(e, t) {
//#endregion
//#region node_modules/d3-interpolate/src/string.js
var mJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, hJ = new RegExp(mJ.source, "g");
-function nDe(e) {
+function gDe(e) {
return function() {
return e;
};
}
-function rDe(e) {
+function _De(e) {
return function(t) {
return e(t) + "";
};
}
-function iDe(e, t) {
+function vDe(e, t) {
var n = mJ.lastIndex = hJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
for (e += "", t += ""; (r = mJ.exec(e)) && (i = hJ.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
x: pJ(r, i)
})), n = hJ.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? rDe(c[0].x) : nDe(t) : (t = c.length, function(e) {
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? _De(c[0].x) : gDe(t) : (t = c.length, function(e) {
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
return s.join("");
});
@@ -58815,7 +58974,7 @@ function iDe(e, t) {
//#region node_modules/d3-interpolate/src/value.js
function gJ(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? uJ(t) : (n === "number" ? pJ : n === "string" ? (r = Jq(t)) ? (t = r, fJ) : iDe : t instanceof Jq ? fJ : t instanceof Date ? eDe : QEe(t) ? ZEe : Array.isArray(t) ? $Ee : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? tDe : pJ)(e, t);
+ return t == null || n === "boolean" ? uJ(t) : (n === "number" ? pJ : n === "string" ? (r = Jq(t)) ? (t = r, fJ) : vDe : t instanceof Jq ? fJ : t instanceof Date ? mDe : fDe(t) ? dDe : Array.isArray(t) ? pDe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? hDe : pJ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -58826,7 +58985,7 @@ function _J(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function aDe(e, t) {
+function yDe(e, t) {
t === void 0 && (t = e, e = gJ);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
@@ -58836,7 +58995,7 @@ function aDe(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function oDe(e) {
+function bDe(e) {
return function() {
return e;
};
@@ -58855,21 +59014,21 @@ function bJ(e) {
function xJ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : oDe(isNaN(t) ? NaN : .5);
+ } : bDe(isNaN(t) ? NaN : .5);
}
-function sDe(e, t) {
+function xDe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function cDe(e, t, n) {
+function SDe(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
return i < r ? (r = xJ(i, r), a = n(o, a)) : (r = xJ(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function lDe(e, t, n) {
+function CDe(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] = xJ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
@@ -58884,7 +59043,7 @@ function CJ() {
var e = yJ, t = yJ, n = gJ, r, i, a, o = bJ, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== bJ && (o = sDe(e[0], e[n - 1])), s = n > 2 ? lDe : cDe, c = l = null, d;
+ return o !== bJ && (o = xDe(e[0], e[n - 1])), s = n > 2 ? CDe : SDe, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -58912,7 +59071,7 @@ function wJ() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function uDe(e) {
+function wDe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function TJ(e, t) {
@@ -58927,7 +59086,7 @@ function EJ(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function dDe(e, t) {
+function TDe(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);
@@ -58935,7 +59094,7 @@ function dDe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function fDe(e) {
+function EDe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -58944,9 +59103,9 @@ function fDe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var pDe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var DDe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function DJ(e) {
- if (!(t = pDe.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = DDe.exec(e))) throw Error("invalid format: " + e);
var t;
return new OJ({
fill: t[1],
@@ -58970,7 +59129,7 @@ OJ.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function mDe(e) {
+function ODe(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -58987,7 +59146,7 @@ function mDe(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var kJ;
-function hDe(e, t) {
+function kDe(e, t) {
var n = TJ(e, t);
if (!n) return kJ = void 0, e.toPrecision(t);
var r = n[0], i = n[1], a = i - (kJ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
@@ -59007,14 +59166,14 @@ var jJ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: uDe,
+ d: wDe,
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) => AJ(e * 100, t),
r: AJ,
- s: hDe,
+ s: kDe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
@@ -59044,8 +59203,8 @@ var NJ = Array.prototype.map, PJ = [
"Z",
"Y"
];
-function gDe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? MJ : dDe(NJ.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 ? MJ : fDe(NJ.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 ADe(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? MJ : TDe(NJ.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 ? MJ : EDe(NJ.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 = DJ(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;
@@ -59058,7 +59217,7 @@ function gDe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = mDe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && kJ !== void 0 ? PJ[8 + kJ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = ODe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && kJ !== void 0 ? PJ[8 + kJ / 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;
@@ -59099,27 +59258,27 @@ function gDe(e) {
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
var FJ, IJ, LJ;
-_De({
+jDe({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function _De(e) {
- return FJ = gDe(e), IJ = FJ.format, LJ = FJ.formatPrefix, FJ;
+function jDe(e) {
+ return FJ = ADe(e), IJ = FJ.format, LJ = FJ.formatPrefix, FJ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function vDe(e) {
+function MDe(e) {
return Math.max(0, -EJ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function yDe(e, t) {
+function NDe(e, t) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(EJ(t) / 3))) * 3 - EJ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function bDe(e, t) {
+function PDe(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, EJ(t) - EJ(e)) + 1;
}
//#endregion
@@ -59129,16 +59288,16 @@ function RJ(e, t, n, r) {
switch (r = DJ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = yDe(i, o)) && (r.precision = a), LJ(r, o);
+ return r.precision == null && !isNaN(a = NDe(i, o)) && (r.precision = a), LJ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = bDe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = PDe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = vDe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = MDe(i)) && (r.precision = a - (r.type === "%") * 2);
}
return IJ(r);
}
@@ -59201,19 +59360,19 @@ function UJ(e) {
function WJ(e) {
return Math.exp(e);
}
-function xDe(e) {
+function FDe(e) {
return -Math.log(-e);
}
-function SDe(e) {
+function IDe(e) {
return -Math.exp(-e);
}
-function CDe(e) {
+function LDe(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function wDe(e) {
- return e === 10 ? CDe : e === Math.E ? Math.exp : (t) => e ** +t;
+function RDe(e) {
+ return e === 10 ? LDe : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function TDe(e) {
+function zDe(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 GJ(e) {
@@ -59222,7 +59381,7 @@ function GJ(e) {
function KJ(e) {
let t = e(UJ, WJ), n = t.domain, r = 10, i, a;
function o() {
- return i = TDe(r), a = wDe(r), n()[0] < 0 ? (i = GJ(i), a = GJ(a), e(xDe, SDe)) : e(UJ, WJ), t;
+ return i = zDe(r), a = RDe(r), n()[0] < 0 ? (i = GJ(i), a = GJ(a), e(FDe, IDe)) : e(UJ, WJ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -59292,16 +59451,16 @@ function QJ(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function EDe(e) {
+function BDe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function DDe(e) {
+function VDe(e) {
return e < 0 ? -e * e : e * e;
}
function $J(e) {
var t = e(bJ, bJ), n = 1;
function r() {
- return n === 1 ? e(bJ, bJ) : n === .5 ? e(EDe, DDe) : e(QJ(n), QJ(1 / n));
+ return n === 1 ? e(bJ, bJ) : n === .5 ? e(BDe, VDe) : e(QJ(n), QJ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -59313,7 +59472,7 @@ function eY() {
return SJ(e, eY()).exponent(e.exponent());
}, jq.apply(e, arguments), e;
}
-function ODe() {
+function HDe() {
return eY.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -59321,13 +59480,13 @@ function ODe() {
function tY(e) {
return Math.sign(e) * e * e;
}
-function kDe(e) {
+function UDe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
function nY() {
var e = wJ(), t = [0, 1], n = !1, r;
function i(t) {
- var i = kDe(e(t));
+ var i = UDe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -59354,7 +59513,7 @@ function rY() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = NEe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = qEe(e, r / i);
return a;
}
function a(e) {
@@ -59523,8 +59682,8 @@ function TY(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * dY) / mY);
}
-var EY = TY(0), DY = TY(1), ADe = TY(2), jDe = TY(3), OY = TY(4), MDe = TY(5), NDe = TY(6);
-EY.range, DY.range, ADe.range, jDe.range, OY.range, MDe.range, NDe.range;
+var EY = TY(0), DY = TY(1), WDe = TY(2), GDe = TY(3), OY = TY(4), KDe = TY(5), qDe = TY(6);
+EY.range, DY.range, WDe.range, GDe.range, OY.range, KDe.range, qDe.range;
function kY(e) {
return cY((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -59532,8 +59691,8 @@ function kY(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / mY);
}
-var AY = kY(0), jY = kY(1), PDe = kY(2), FDe = kY(3), MY = kY(4), IDe = kY(5), LDe = kY(6);
-AY.range, jY.range, PDe.range, FDe.range, MY.range, IDe.range, LDe.range;
+var AY = kY(0), jY = kY(1), JDe = kY(2), YDe = kY(3), MY = kY(4), XDe = kY(5), ZDe = kY(6);
+AY.range, jY.range, JDe.range, YDe.range, MY.range, XDe.range, ZDe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var NY = cY((e) => {
@@ -59680,7 +59839,7 @@ function LY(e, t, n, r, i, a) {
}
return [s, c];
}
-var [RDe, zDe] = LY(IY, PY, AY, wY, xY, yY), [BDe, VDe] = LY(FY, NY, EY, SY, bY, vY);
+var [QDe, $De] = LY(IY, PY, AY, wY, xY, yY), [eOe, tOe] = LY(FY, NY, EY, SY, bY, vY);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function RY(e) {
@@ -59708,7 +59867,7 @@ function BY(e, t, n) {
L: 0
};
}
-function HDe(e) {
+function nOe(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 = WY(i), u = GY(i), d = WY(a), f = GY(a), p = WY(o), m = GY(o), h = WY(s), g = GY(s), _ = WY(c), v = GY(c), y = {
a: N,
A: ee,
@@ -59717,30 +59876,30 @@ function HDe(e) {
c: null,
d: XY,
e: XY,
- f: dOe,
- g: xOe,
- G: COe,
- H: cOe,
- I: lOe,
- j: uOe,
+ f: TOe,
+ g: FOe,
+ G: LOe,
+ H: SOe,
+ I: COe,
+ j: wOe,
L: ZY,
- m: fOe,
- M: pOe,
+ m: EOe,
+ M: DOe,
p: F,
q: ne,
Q: rX,
s: iX,
- S: mOe,
- u: hOe,
- U: gOe,
- V: _Oe,
- w: vOe,
- W: yOe,
+ S: OOe,
+ u: kOe,
+ U: AOe,
+ V: jOe,
+ w: MOe,
+ W: NOe,
x: null,
X: null,
- y: bOe,
- Y: SOe,
- Z: wOe,
+ y: POe,
+ Y: IOe,
+ Z: ROe,
"%": nX
}, b = {
a: I,
@@ -59750,30 +59909,30 @@ function HDe(e) {
c: null,
d: $Y,
e: $Y,
- f: OOe,
- g: ROe,
- G: BOe,
- H: TOe,
- I: EOe,
- j: DOe,
+ f: HOe,
+ g: QOe,
+ G: eke,
+ H: zOe,
+ I: BOe,
+ j: VOe,
L: eX,
- m: kOe,
- M: AOe,
+ m: UOe,
+ M: WOe,
p: ae,
q: oe,
Q: rX,
s: iX,
- S: jOe,
- u: MOe,
- U: NOe,
- V: POe,
- w: FOe,
- W: IOe,
+ S: GOe,
+ u: KOe,
+ U: qOe,
+ V: JOe,
+ w: YOe,
+ W: XOe,
x: null,
X: null,
- y: LOe,
- Y: zOe,
- Z: VOe,
+ y: ZOe,
+ Y: $Oe,
+ Z: tke,
"%": nX
}, x = {
a: E,
@@ -59783,31 +59942,31 @@ function HDe(e) {
c: A,
d: JY,
e: JY,
- f: iOe,
+ f: vOe,
g: qY,
G: KY,
H: YY,
I: YY,
- j: eOe,
- L: rOe,
- m: $De,
- M: tOe,
+ j: mOe,
+ L: _Oe,
+ m: pOe,
+ M: hOe,
p: T,
- q: QDe,
- Q: oOe,
- s: sOe,
- S: nOe,
- u: qDe,
- U: JDe,
- V: YDe,
- w: KDe,
- W: XDe,
+ q: fOe,
+ Q: bOe,
+ s: xOe,
+ S: gOe,
+ u: sOe,
+ U: cOe,
+ V: lOe,
+ w: oOe,
+ W: uOe,
x: j,
X: M,
y: qY,
Y: KY,
- Z: ZDe,
- "%": aOe
+ Z: dOe,
+ "%": yOe
};
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) {
@@ -59935,37 +60094,37 @@ var VY = {
"-": "",
_: " ",
0: "0"
-}, HY = /^\s*\d+/, UDe = /^%/, WDe = /[\\^$*+?|[\]().{}]/g;
+}, HY = /^\s*\d+/, rOe = /^%/, iOe = /[\\^$*+?|[\]().{}]/g;
function UY(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 GDe(e) {
- return e.replace(WDe, "\\$&");
+function aOe(e) {
+ return e.replace(iOe, "\\$&");
}
function WY(e) {
- return RegExp("^(?:" + e.map(GDe).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(aOe).join("|") + ")", "i");
}
function GY(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function KDe(e, t, n) {
+function oOe(e, t, n) {
var r = HY.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function qDe(e, t, n) {
+function sOe(e, t, n) {
var r = HY.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function JDe(e, t, n) {
+function cOe(e, t, n) {
var r = HY.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function YDe(e, t, n) {
+function lOe(e, t, n) {
var r = HY.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function XDe(e, t, n) {
+function uOe(e, t, n) {
var r = HY.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -59977,15 +60136,15 @@ function qY(e, t, n) {
var r = HY.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function ZDe(e, t, n) {
+function dOe(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 QDe(e, t, n) {
+function fOe(e, t, n) {
var r = HY.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function $De(e, t, n) {
+function pOe(e, t, n) {
var r = HY.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -59993,7 +60152,7 @@ function JY(e, t, n) {
var r = HY.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function eOe(e, t, n) {
+function mOe(e, t, n) {
var r = HY.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
@@ -60001,159 +60160,159 @@ function YY(e, t, n) {
var r = HY.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function tOe(e, t, n) {
+function hOe(e, t, n) {
var r = HY.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function nOe(e, t, n) {
+function gOe(e, t, n) {
var r = HY.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function rOe(e, t, n) {
+function _Oe(e, t, n) {
var r = HY.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function iOe(e, t, n) {
+function vOe(e, t, n) {
var r = HY.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function aOe(e, t, n) {
- var r = UDe.exec(t.slice(n, n + 1));
+function yOe(e, t, n) {
+ var r = rOe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function oOe(e, t, n) {
+function bOe(e, t, n) {
var r = HY.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function sOe(e, t, n) {
+function xOe(e, t, n) {
var r = HY.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
function XY(e, t) {
return UY(e.getDate(), t, 2);
}
-function cOe(e, t) {
+function SOe(e, t) {
return UY(e.getHours(), t, 2);
}
-function lOe(e, t) {
+function COe(e, t) {
return UY(e.getHours() % 12 || 12, t, 2);
}
-function uOe(e, t) {
+function wOe(e, t) {
return UY(1 + SY.count(FY(e), e), t, 3);
}
function ZY(e, t) {
return UY(e.getMilliseconds(), t, 3);
}
-function dOe(e, t) {
+function TOe(e, t) {
return ZY(e, t) + "000";
}
-function fOe(e, t) {
+function EOe(e, t) {
return UY(e.getMonth() + 1, t, 2);
}
-function pOe(e, t) {
+function DOe(e, t) {
return UY(e.getMinutes(), t, 2);
}
-function mOe(e, t) {
+function OOe(e, t) {
return UY(e.getSeconds(), t, 2);
}
-function hOe(e) {
+function kOe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function gOe(e, t) {
+function AOe(e, t) {
return UY(EY.count(FY(e) - 1, e), t, 2);
}
function QY(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? OY(e) : OY.ceil(e);
}
-function _Oe(e, t) {
+function jOe(e, t) {
return e = QY(e), UY(OY.count(FY(e), e) + (FY(e).getDay() === 4), t, 2);
}
-function vOe(e) {
+function MOe(e) {
return e.getDay();
}
-function yOe(e, t) {
+function NOe(e, t) {
return UY(DY.count(FY(e) - 1, e), t, 2);
}
-function bOe(e, t) {
+function POe(e, t) {
return UY(e.getFullYear() % 100, t, 2);
}
-function xOe(e, t) {
+function FOe(e, t) {
return e = QY(e), UY(e.getFullYear() % 100, t, 2);
}
-function SOe(e, t) {
+function IOe(e, t) {
return UY(e.getFullYear() % 1e4, t, 4);
}
-function COe(e, t) {
+function LOe(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? OY(e) : OY.ceil(e), UY(e.getFullYear() % 1e4, t, 4);
}
-function wOe(e) {
+function ROe(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + UY(t / 60 | 0, "0", 2) + UY(t % 60, "0", 2);
}
function $Y(e, t) {
return UY(e.getUTCDate(), t, 2);
}
-function TOe(e, t) {
+function zOe(e, t) {
return UY(e.getUTCHours(), t, 2);
}
-function EOe(e, t) {
+function BOe(e, t) {
return UY(e.getUTCHours() % 12 || 12, t, 2);
}
-function DOe(e, t) {
+function VOe(e, t) {
return UY(1 + CY.count(IY(e), e), t, 3);
}
function eX(e, t) {
return UY(e.getUTCMilliseconds(), t, 3);
}
-function OOe(e, t) {
+function HOe(e, t) {
return eX(e, t) + "000";
}
-function kOe(e, t) {
+function UOe(e, t) {
return UY(e.getUTCMonth() + 1, t, 2);
}
-function AOe(e, t) {
+function WOe(e, t) {
return UY(e.getUTCMinutes(), t, 2);
}
-function jOe(e, t) {
+function GOe(e, t) {
return UY(e.getUTCSeconds(), t, 2);
}
-function MOe(e) {
+function KOe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function NOe(e, t) {
+function qOe(e, t) {
return UY(AY.count(IY(e) - 1, e), t, 2);
}
function tX(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? MY(e) : MY.ceil(e);
}
-function POe(e, t) {
+function JOe(e, t) {
return e = tX(e), UY(MY.count(IY(e), e) + (IY(e).getUTCDay() === 4), t, 2);
}
-function FOe(e) {
+function YOe(e) {
return e.getUTCDay();
}
-function IOe(e, t) {
+function XOe(e, t) {
return UY(jY.count(IY(e) - 1, e), t, 2);
}
-function LOe(e, t) {
+function ZOe(e, t) {
return UY(e.getUTCFullYear() % 100, t, 2);
}
-function ROe(e, t) {
+function QOe(e, t) {
return e = tX(e), UY(e.getUTCFullYear() % 100, t, 2);
}
-function zOe(e, t) {
+function $Oe(e, t) {
return UY(e.getUTCFullYear() % 1e4, t, 4);
}
-function BOe(e, t) {
+function eke(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? MY(e) : MY.ceil(e), UY(e.getUTCFullYear() % 1e4, t, 4);
}
-function VOe() {
+function tke() {
return "+0000";
}
function nX() {
@@ -60168,7 +60327,7 @@ function iX(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var aX, oX, sX;
-HOe({
+nke({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -60220,15 +60379,15 @@ HOe({
"Dec"
]
});
-function HOe(e) {
- return aX = HDe(e), oX = aX.format, aX.parse, sX = aX.utcFormat, aX.utcParse, aX;
+function nke(e) {
+ return aX = nOe(e), oX = aX.format, aX.parse, sX = aX.utcFormat, aX.utcParse, aX;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function UOe(e) {
+function rke(e) {
return new Date(e);
}
-function WOe(e) {
+function ike(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function cX(e, t, n, r, i, a, o, s, c, l) {
@@ -60239,7 +60398,7 @@ function cX(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, WOe)) : f().map(UOe);
+ return arguments.length ? f(Array.from(e, ike)) : f().map(rke);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -60252,13 +60411,13 @@ function cX(e, t, n, r, i, a, o, s, c, l) {
return SJ(u, cX(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function GOe() {
- return jq.apply(cX(BDe, VDe, FY, NY, EY, SY, bY, vY, _Y, oX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function ake() {
+ return jq.apply(cX(eOe, tOe, FY, NY, EY, SY, bY, vY, _Y, oX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function KOe() {
- return jq.apply(cX(RDe, zDe, IY, PY, AY, CY, xY, yY, _Y, sX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function oke() {
+ return jq.apply(cX(QDe, $De, IY, PY, AY, CY, xY, yY, _Y, sX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -60313,7 +60472,7 @@ function mX() {
return uX(e, mX()).exponent(e.exponent());
}, Mq.apply(e, arguments);
}
-function qOe() {
+function ske() {
return mX.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -60333,7 +60492,7 @@ function hX() {
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => MEe(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => KEe(e, r / t));
}, n.copy = function() {
return hX(t).domain(e);
}, Mq.apply(n, arguments);
@@ -60359,7 +60518,7 @@ function gX() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = aDe(e, [
+ return arguments.length ? ([n, r, i] = t, l = yDe(e, [
n,
r,
i
@@ -60404,7 +60563,7 @@ function bX() {
return uX(e, bX()).exponent(e.exponent());
}, Mq.apply(e, arguments);
}
-function JOe() {
+function cke() {
return bX.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -60414,14 +60573,14 @@ var xX = /* @__PURE__ */ ht({
scaleDiverging: () => _X,
scaleDivergingLog: () => vX,
scaleDivergingPow: () => bX,
- scaleDivergingSqrt: () => JOe,
+ scaleDivergingSqrt: () => cke,
scaleDivergingSymlog: () => yX,
scaleIdentity: () => VJ,
scaleImplicit: () => Nq,
scaleLinear: () => BJ,
scaleLog: () => qJ,
scaleOrdinal: () => Pq,
- scalePoint: () => FEe,
+ scalePoint: () => YEe,
scalePow: () => eY,
scaleQuantile: () => rY,
scaleQuantize: () => iY,
@@ -60430,26 +60589,26 @@ var xX = /* @__PURE__ */ ht({
scaleSequentialLog: () => fX,
scaleSequentialPow: () => mX,
scaleSequentialQuantile: () => hX,
- scaleSequentialSqrt: () => qOe,
+ scaleSequentialSqrt: () => ske,
scaleSequentialSymlog: () => pX,
- scaleSqrt: () => ODe,
+ scaleSqrt: () => HDe,
scaleSymlog: () => ZJ,
scaleThreshold: () => aY,
- scaleTime: () => GOe,
- scaleUtc: () => KOe,
+ scaleTime: () => ake,
+ scaleUtc: () => oke,
tickFormat: () => RJ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function YOe(e) {
+function lke(e) {
if (e in xX) return xX[e]();
- var t = `scale${yz(e)}`;
+ var t = `scale${mz(e)}`;
if (t in xX) return xX[t]();
}
function SX(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = YOe(e);
+ var r = lke(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -60458,22 +60617,22 @@ function CX(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function XOe(e) {
- return `scale${yz(e)}`;
+function uke(e) {
+ return `scale${mz(e)}`;
}
-function ZOe(e) {
- return XOe(e) in xX;
+function dke(e) {
+ return uke(e) in xX;
}
var wX = (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 ZOe(r) ? r : "point";
+ if (typeof r == "string") return dke(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function QOe(e, t) {
+function fke(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;
@@ -60484,7 +60643,7 @@ function TX(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 = QOe(r, e);
+ var t = fke(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;
@@ -60494,7 +60653,7 @@ function TX(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function $Oe(e) {
+function pke(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : TX(e, void 0);
}
//#endregion
@@ -60513,26 +60672,26 @@ function DX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? EX(Object(n), !0).forEach(function(t) {
- eke(e, t, n[t]);
+ mke(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function eke(e, t, n) {
- return (t = tke(t)) in e ? Object.defineProperty(e, t, {
+function mke(e, t, n) {
+ return (t = hke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tke(e) {
- var t = nke(e, "string");
+function hke(e) {
+ var t = gke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nke(e, t) {
+function gke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60600,7 +60759,7 @@ var OX = [0, "auto"], kX = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, NX = (e, t) => e.cartesianAxis.yAxis[t], PX = (e, t) => NX(e, t) ?? MX, rke = {
+}, NX = (e, t) => e.cartesianAxis.yAxis[t], PX = (e, t) => NX(e, t) ?? MX, _ke = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -60613,7 +60772,7 @@ var OX = [0, "auto"], kX = {
scale: "auto",
type: "number",
unit: ""
-}, FX = (e, t) => e.cartesianAxis.zAxis[t] ?? rke, IX = (e, t, n) => {
+}, FX = (e, t) => e.cartesianAxis.zAxis[t] ?? _ke, IX = (e, t, n) => {
switch (t) {
case "xAxis": return jX(e, n);
case "yAxis": return PX(e, n);
@@ -60622,7 +60781,7 @@ var OX = [0, "auto"], kX = {
case "radiusAxis": return JK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, ike = (e, t, n) => {
+}, vke = (e, t, n) => {
switch (t) {
case "xAxis": return jX(e, n);
case "yAxis": return PX(e, n);
@@ -60649,20 +60808,20 @@ function zX(e, t) {
}
};
}
-var BX = (e) => e.graphicalItems.cartesianItems, ake = $([nq, rq], zX), VX = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), HX = $([
+var BX = (e) => e.graphicalItems.cartesianItems, yke = $([nq, rq], zX), VX = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), HX = $([
BX,
IX,
- ake
-], VX, { memoizeOptions: { resultEqualityCheck: cq } }), UX = $([HX], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(oq)), WX = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), oke = $([HX], WX), GX = (e) => e.map((e) => e.data).filter(Boolean).flat(1), ske = $([HX], GX, { memoizeOptions: { resultEqualityCheck: cq } }), KX = (e, t) => {
+ yke
+], VX, { memoizeOptions: { resultEqualityCheck: cq } }), UX = $([HX], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(oq)), WX = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), bke = $([HX], WX), GX = (e) => e.map((e) => e.data).filter(Boolean).flat(1), xke = $([HX], GX, { memoizeOptions: { resultEqualityCheck: cq } }), KX = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, qX = $([ske, mK], KX), JX = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: mU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: mU(e, t.dataKey) })), YX = $([
+}, qX = $([xke, mK], KX), JX = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: mU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: mU(e, t.dataKey) })), YX = $([
qX,
IX,
HX
], JX);
function XX(e) {
- if (fz(e) || e instanceof Date) {
+ if (sz(e) || e instanceof Date) {
var t = Number(e);
if (uU(t)) return t;
}
@@ -60676,31 +60835,31 @@ function ZX(e) {
if (n != null) return [n, n];
}
function QX(e) {
- return e.map(XX).filter(bz);
+ return e.map(XX).filter(hz);
}
-function cke(e, t) {
+function Ske(e, t) {
var n = XX(e), r = XX(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var $X = $([YX], (e) => e?.map((e) => e.value).sort(cke));
-function eZ(e, t) {
+var Cke = $([YX], (e) => e?.map((e) => e.value).sort(Ske));
+function $X(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
case "yAxis": return t.direction === "y";
default: return !1;
}
}
-function lke(e, t, n) {
- return !n || typeof t != "number" || uz(t) || !n.length ? [] : QX(n.flatMap((n) => {
+function wke(e, t, n) {
+ return !n || typeof t != "number" || az(t) || !n.length ? [] : QX(n.flatMap((n) => {
var r = mU(e, n.dataKey), i, a;
if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!uU(i) || !uU(a))) return [t - i, t + a];
}));
}
-var tZ = (e) => LX(e, lq(e), uq(e)), nZ = $([tZ], (e) => e?.dataKey), uke = $([
+var eZ = (e) => LX(e, lq(e), uq(e)), tZ = $([eZ], (e) => e?.dataKey), Tke = $([
UX,
mK,
- tZ
-], aq), rZ = (e, t, n, r) => {
+ eZ
+], aq), nZ = (e, t, n, r) => {
var i = t.reduce((e, t) => {
if (t.stackId == null) return e;
var n = e[t.stackId];
@@ -60709,22 +60868,22 @@ var tZ = (e) => LX(e, lq(e), uq(e)), nZ = $([tZ], (e) => e?.dataKey), uke = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: dCe(e, o.map(iq), n),
+ stackedData: TCe(e, o.map(iq), n),
graphicalItems: o
}];
}));
-}, iZ = $([
- uke,
+}, rZ = $([
+ Tke,
UX,
MK,
NK
-], rZ), aZ = (e, t, n, r) => {
+], nZ), iZ = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = mCe(e, i, a);
+ var o = OCe(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, dke = $([IX], (e) => e.allowDataOverflow), oZ = (e) => {
+}, Eke = $([IX], (e) => e.allowDataOverflow), aZ = (e) => {
if (e == null || !("domain" in e)) return OX;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -60735,22 +60894,22 @@ var tZ = (e) => LX(e, lq(e), uq(e)), nZ = $([tZ], (e) => e?.dataKey), uke = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? OX;
-}, sZ = $([IX], oZ), cZ = $([sZ, dke], vK), fke = $([
- iZ,
+}, oZ = $([IX], aZ), sZ = $([oZ, Eke], vK), Dke = $([
+ rZ,
fK,
nq,
- cZ
-], aZ, { memoizeOptions: { resultEqualityCheck: sq } }), lZ = (e) => e.errorBars, pke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => eZ(n, e)), uZ = function() {
+ sZ
+], iZ, { memoizeOptions: { resultEqualityCheck: sq } }), cZ = (e) => e.errorBars, Oke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => $X(n, e)), lZ = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
return [Math.min(...t), Math.max(...t)];
}
-}, dZ = (e, t, n, r, i) => {
+}, uZ = (e, t, n, r, i) => {
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => eZ(i, e)), c = mU(e, t.dataKey ?? n.dataKey), l = lke(e, c, s);
+ var s = r[n.id]?.filter((e) => $X(i, e)), c = mU(e, t.dataKey ?? n.dataKey), l = wke(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);
@@ -60762,88 +60921,88 @@ var tZ = (e) => LX(e, lq(e), uq(e)), nZ = $([tZ], (e) => e?.dataKey), uke = $([
var n = ZX(mU(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]));
}), uU(a) && uU(o)) return [a, o];
-}, mke = $([
+}, kke = $([
qX,
IX,
- oke,
- lZ,
+ bke,
+ cZ,
nq
-], dZ, { memoizeOptions: { resultEqualityCheck: sq } });
-function hke(e) {
+], uZ, { memoizeOptions: { resultEqualityCheck: sq } });
+function Ake(e) {
var { value: t } = e;
- if (fz(t) || t instanceof Date) return t;
+ if (sz(t) || t instanceof Date) return t;
}
-var gke = (e, t, n) => {
- var r = e.map(hke).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && hz(r)) ? dK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, fZ = (e) => e.referenceElements.dots, pZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), _ke = $([
- fZ,
+var jke = (e, t, n) => {
+ var r = e.map(Ake).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && uz(r)) ? dK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, dZ = (e) => e.referenceElements.dots, fZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), Mke = $([
+ dZ,
nq,
rq
-], pZ), mZ = (e) => e.referenceElements.areas, vke = $([
- mZ,
+], fZ), pZ = (e) => e.referenceElements.areas, Nke = $([
+ pZ,
nq,
rq
-], pZ), hZ = (e) => e.referenceElements.lines, yke = $([
- hZ,
+], fZ), mZ = (e) => e.referenceElements.lines, Pke = $([
+ mZ,
nq,
rq
-], pZ), gZ = (e, t) => {
+], fZ), hZ = (e, t) => {
if (e != null) {
var n = QX(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, bke = $(_ke, nq, gZ), _Z = (e, t) => {
+}, Fke = $(Mke, nq, hZ), gZ = (e, t) => {
if (e != null) {
var n = QX(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)];
}
-}, xke = $([vke, nq], _Z);
-function Ske(e) {
+}, Ike = $([Nke, nq], gZ);
+function Lke(e) {
if (e.x != null) return QX([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : QX(t);
}
-function Cke(e) {
+function Rke(e) {
if (e.y != null) return QX([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : QX(t);
}
-var vZ = (e, t) => {
+var _Z = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? Ske(e) : Cke(e));
+ var n = e.flatMap((e) => t === "xAxis" ? Lke(e) : Rke(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, wke = $(bke, $([yke, nq], vZ), xke, (e, t, n) => uZ(e, n, t)), yZ = (e, t, n, r, i, a, o, s) => n ?? vEe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? uZ(r, a, i) : uZ(a, i), e.allowDataOverflow), Tke = $([
+}, zke = $(Fke, $([Pke, nq], _Z), Ike, (e, t, n) => lZ(e, n, t)), vZ = (e, t, n, r, i, a, o, s) => n ?? MEe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? lZ(r, a, i) : lZ(a, i), e.allowDataOverflow), Bke = $([
IX,
+ oZ,
sZ,
- cZ,
- fke,
- mke,
- wke,
+ Dke,
+ kke,
+ zke,
tW,
nq
-], yZ, { memoizeOptions: { resultEqualityCheck: sq } }), Eke = [0, 1], bZ = (e, t, n, r, i, a, o) => {
+], vZ, { memoizeOptions: { resultEqualityCheck: sq } }), Vke = [0, 1], yZ = (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 = hU(t, a);
- return l && s == null ? dK(0, n?.length ?? 0) : c === "category" ? gke(r, e, l) : i === "expand" ? Eke : o;
+ return l && s == null ? dK(0, n?.length ?? 0) : c === "category" ? jke(r, e, l) : i === "expand" ? Vke : o;
}
-}, xZ = $([
+}, bZ = $([
IX,
tW,
qX,
YX,
MK,
nq,
- Tke
-], bZ), SZ = $([
+ Bke
+], yZ), xZ = $([
IX,
RX,
PK
-], wX), CZ = (e, t, n) => {
+], wX), SZ = (e, t, n) => {
var { niceTicks: r } = t;
if (r !== "none") {
- var i = oZ(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
+ var i = aZ(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && gK(e)) {
if (a) return EK(e, t.tickCount, t.allowDecimals, r);
if (t.type === "number") return DK(e, t.tickCount, t.allowDecimals, r);
@@ -60853,22 +61012,22 @@ var vZ = (e, t) => {
if (t.type === "number" && gK(e)) return DK(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
-}, wZ = $([
- xZ,
+}, CZ = $([
+ bZ,
LX,
- SZ
-], CZ), TZ = (e, t, n, r) => {
+ xZ
+], SZ), wZ = (e, t, n, r) => {
if (r !== "angleAxis" && e?.type === "number" && gK(t) && Array.isArray(n) && n.length > 0) {
var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, Dke = $([
+}, Hke = $([
IX,
- xZ,
- wZ,
+ bZ,
+ CZ,
nq
-], TZ), EZ = $($(YX, IX, (e, t) => {
+], wZ), TZ = $($(YX, IX, (e, t) => {
if (!(!t || t.type !== "number")) {
var n = Infinity, r = Array.from(QX(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
if (i == null || a == null) return Infinity;
@@ -60888,17 +61047,17 @@ var vZ = (e, t) => {
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = mz(n, e * a), s = e * a / 2;
+ var o = lz(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), Oke = (e, t, n) => {
+}), Uke = (e, t, n) => {
var r = jX(e, t);
- return r == null || typeof r.padding != "string" ? 0 : EZ(e, "xAxis", t, n, r.padding);
-}, kke = (e, t, n) => {
+ return r == null || typeof r.padding != "string" ? 0 : TZ(e, "xAxis", t, n, r.padding);
+}, Wke = (e, t, n) => {
var r = PX(e, t);
- return r == null || typeof r.padding != "string" ? 0 : EZ(e, "yAxis", t, n, r.padding);
-}, Ake = $(jX, Oke, (e, t) => {
+ return r == null || typeof r.padding != "string" ? 0 : TZ(e, "yAxis", t, n, r.padding);
+}, Gke = $(jX, Uke, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -60911,7 +61070,7 @@ var vZ = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), jke = $(PX, kke, (e, t) => {
+}), Kke = $(PX, Wke, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -60924,98 +61083,98 @@ var vZ = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), Mke = $([
+}), qke = $([
FU,
- Ake,
+ Gke,
zU,
RU,
(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];
-}), Nke = $([
+}), Jke = $([
FU,
tW,
- jke,
+ Kke,
zU,
RU,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var { padding: o } = i;
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
-}), DZ = (e, t, n, r) => {
+}), EZ = (e, t, n, r) => {
switch (t) {
- case "xAxis": return Mke(e, n, r);
- case "yAxis": return Nke(e, n, r);
+ case "xAxis": return qke(e, n, r);
+ case "yAxis": return Jke(e, n, r);
case "zAxis": return FX(e, n)?.range;
case "angleAxis": return $K(e);
case "radiusAxis": return eq(e, n);
default: return;
}
-}, OZ = $([IX, DZ], VK), kZ = $([
+}, DZ = $([IX, EZ], VK), OZ = $([
IX,
- SZ,
- $([SZ, Dke], fq),
- OZ
-], CX), AZ = (e, t, n, r) => {
+ xZ,
+ $([xZ, Hke], fq),
+ DZ
+], CX), kZ = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
if (hU(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
-}, jZ = $([
+}, AZ = $([
tW,
YX,
LX,
nq
-], AZ), MZ = $([kZ], dq);
-$([kZ], $Oe), $([kZ, $X], TX), $([
+], kZ), jZ = $([OZ], dq);
+$([OZ], pke), $([OZ, Cke], TX), $([
HX,
- lZ,
+ cZ,
nq
-], pke);
-function NZ(e, t) {
+], Oke);
+function MZ(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(NZ)), Fke = $(MU, PZ, FZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(NZ)), IZ = (e, t) => ({
+var NZ = (e, t) => t, PZ = (e, t, n) => n, Yke = $(jU, NZ, PZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(MZ)), Xke = $(MU, NZ, PZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(MZ)), FZ = (e, t) => ({
width: e.width,
height: t.height
-}), Ike = (e, t) => ({
+}), Zke = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), LZ = $(FU, jX, IZ), Lke = (e, t, n) => {
+}), IZ = $(FU, jX, FZ), Qke = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, Rke = (e, t, n) => {
+}, $ke = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, zke = $(kU, FU, Pke, PZ, FZ, (e, t, n, r, i) => {
+}, eAe = $(kU, FU, Yke, NZ, PZ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = IZ(t, n);
- o ??= Lke(t, r, e);
+ var s = FZ(t, n);
+ o ??= Qke(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;
-}), Bke = $(OU, FU, Fke, PZ, FZ, (e, t, n, r, i) => {
+}), tAe = $(OU, FU, Xke, NZ, PZ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = Ike(t, n);
- o ??= Rke(t, r, e);
+ var s = Zke(t, n);
+ o ??= $ke(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;
-}), Vke = $([
+}), nAe = $([
FU,
jX,
(e, t) => {
var n = jX(e, t);
- if (n != null) return zke(e, n.orientation, n.mirror);
+ if (n != null) return eAe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -61029,12 +61188,12 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.fi
y: i
};
}
-}), Hke = $([
+}), rAe = $([
FU,
PX,
(e, t) => {
var n = PX(e, t);
- if (n != null) return Bke(e, n.orientation, n.mirror);
+ if (n != null) return tAe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -61048,34 +61207,34 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.fi
y: e.top
};
}
-}), RZ = $(FU, PX, (e, t) => ({
+}), LZ = $(FU, PX, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-})), zZ = (e, t, n) => {
+})), RZ = (e, t, n) => {
switch (t) {
- case "xAxis": return LZ(e, n).width;
- case "yAxis": return RZ(e, n).height;
+ case "xAxis": return IZ(e, n).width;
+ case "yAxis": return LZ(e, n).height;
default: return;
}
-}, BZ = (e, t, n, r) => {
+}, zZ = (e, t, n, r) => {
if (n != null) {
var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = hU(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && hz(c)) return c;
+ if (o && s && a === "category" && i && uz(c)) return c;
}
-}, VZ = $([
+}, BZ = $([
tW,
YX,
IX,
nq
-], BZ), HZ = $([
+], zZ), VZ = $([
tW,
- ike,
- SZ,
- MZ,
- VZ,
+ vke,
+ xZ,
jZ,
- DZ,
- wZ,
+ BZ,
+ AZ,
+ EZ,
+ CZ,
nq
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
@@ -61101,10 +61260,10 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.fi
scale: r
};
}
-}), UZ = (e, t, n, r, i, a, o, s, c) => {
+}), HZ = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
var l = hU(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? lz(a[0] - a[1]) * 2 * m : m;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? iz(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
@@ -61114,7 +61273,7 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.fi
value: e,
offset: m
} : null;
- }).filter(bz) : l && s ? s.map((e, t) => {
+ }).filter(hz) : l && s ? s.map((e, t) => {
var n = r.map(e);
return uU(n) ? {
coordinate: n + m,
@@ -61122,7 +61281,7 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(bz) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(hz) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
return uU(n) ? {
coordinate: n + m,
@@ -61130,7 +61289,7 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(bz) : r.domain().map((e, t) => {
+ }).filter(hz) : r.domain().map((e, t) => {
var n = r.map(e);
return uU(n) ? {
coordinate: n + m,
@@ -61138,22 +61297,22 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(bz);
+ }).filter(hz);
}
-}, WZ = $([
+}, UZ = $([
tW,
LX,
- SZ,
- MZ,
- wZ,
- DZ,
- VZ,
+ xZ,
jZ,
+ CZ,
+ EZ,
+ BZ,
+ AZ,
nq
-], UZ), GZ = (e, t, n, r, i, a, o) => {
+], HZ), WZ = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
var s = hU(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? lz(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ return l = o === "angleAxis" && r?.length >= 2 ? iz(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
return uU(r) ? {
coordinate: r + l,
@@ -61161,7 +61320,7 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(bz) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(hz) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
return uU(r) ? {
coordinate: r + l,
@@ -61169,7 +61328,7 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(bz) : n.domain().map((e, t) => {
+ }).filter(hz) : n.domain().map((e, t) => {
var r = n.map(e);
return uU(r) ? {
coordinate: r + l,
@@ -61177,28 +61336,28 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(bz);
+ }).filter(hz);
}
-}, KZ = $([
+}, GZ = $([
tW,
LX,
- MZ,
- DZ,
- VZ,
jZ,
+ EZ,
+ BZ,
+ AZ,
nq
-], GZ), qZ = $(IX, MZ, (e, t) => {
+], WZ), KZ = $(IX, jZ, (e, t) => {
if (e != null && t != null) return DX(DX({}, e), {}, { scale: t });
});
$((e, t, n) => FX(e, n), $([$([
IX,
- SZ,
xZ,
- OZ
+ bZ,
+ DZ
], CX)], dq), (e, t) => {
if (e != null && t != null) return DX(DX({}, e), {}, { scale: t });
});
-var Uke = $([
+var iAe = $([
tW,
jU,
MU
@@ -61223,41 +61382,41 @@ $([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js
-var JZ = (e) => e.options.defaultTooltipEventType, YZ = (e) => e.options.validateTooltipEventTypes;
-function XZ(e, t, n) {
+var qZ = (e) => e.options.defaultTooltipEventType, JZ = (e) => e.options.validateTooltipEventTypes;
+function YZ(e, t, n) {
if (e == null) return t;
var r = e ? "axis" : "item";
return n == null ? t : n.includes(r) ? r : t;
}
-function ZZ(e, t) {
- return XZ(t, JZ(e), YZ(e));
+function XZ(e, t) {
+ return YZ(t, qZ(e), JZ(e));
}
-function Wke(e) {
- return Q((t) => ZZ(t, e));
+function aAe(e) {
+ return Q((t) => XZ(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
-var QZ = (e, t) => {
+var ZZ = (e, t) => {
var n, r = Number(t);
- if (!(uz(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, Gke = (e) => e.tooltip.settings, $Z = {
+ if (!(az(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, oAe = (e) => e.tooltip.settings, QZ = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, eQ = FH({
+}, $Z = FH({
name: "tooltip",
initialState: {
itemInteraction: {
- click: $Z,
- hover: $Z
+ click: QZ,
+ hover: QZ
},
axisInteraction: {
- click: $Z,
- hover: $Z
+ click: QZ,
+ hover: QZ
},
- keyboardInteraction: $Z,
+ keyboardInteraction: QZ,
syncInteraction: {
active: !1,
index: null,
@@ -61325,10 +61484,10 @@ var QZ = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: Kke, replaceTooltipEntrySettings: qke, removeTooltipEntrySettings: Jke, setTooltipSettingsState: Yke, setActiveMouseOverItemIndex: tQ, mouseLeaveItem: Xke, mouseLeaveChart: nQ, setActiveClickItemIndex: Zke, setMouseOverAxisIndex: rQ, setMouseClickAxisIndex: Qke, setSyncInteraction: iQ, setKeyboardInteraction: aQ } = eQ.actions, $ke = eQ.reducer;
+}), { addTooltipEntrySettings: sAe, replaceTooltipEntrySettings: cAe, removeTooltipEntrySettings: lAe, setTooltipSettingsState: uAe, setActiveMouseOverItemIndex: eQ, mouseLeaveItem: dAe, mouseLeaveChart: tQ, setActiveClickItemIndex: fAe, setMouseOverAxisIndex: nQ, setMouseClickAxisIndex: pAe, setSyncInteraction: rQ, setKeyboardInteraction: iQ } = $Z.actions, mAe = $Z.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
-function oQ(e, t) {
+function aQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61338,30 +61497,30 @@ function oQ(e, t) {
}
return n;
}
-function sQ(e) {
+function oQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? oQ(Object(n), !0).forEach(function(t) {
- eAe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oQ(Object(n)).forEach(function(t) {
+ t % 2 ? aQ(Object(n), !0).forEach(function(t) {
+ hAe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function eAe(e, t, n) {
- return (t = tAe(t)) in e ? Object.defineProperty(e, t, {
+function hAe(e, t, n) {
+ return (t = gAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tAe(e) {
- var t = nAe(e, "string");
+function gAe(e) {
+ var t = _Ae(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nAe(e, t) {
+function _Ae(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61371,22 +61530,22 @@ function nAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function rAe(e, t, n) {
+function vAe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function iAe(e) {
+function yAe(e) {
return e.index != null;
}
-var cQ = (e, t, n, r) => {
- if (t == null) return $Z;
- var i = rAe(e, t, n);
- if (i == null) return $Z;
+var sQ = (e, t, n, r) => {
+ if (t == null) return QZ;
+ var i = vAe(e, t, n);
+ if (i == null) return QZ;
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 (iAe(i)) {
- if (a) return sQ(sQ({}, i), {}, { active: !0 });
+ if (yAe(i)) {
+ if (a) return oQ(oQ({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
coordinate: void 0,
@@ -61394,11 +61553,11 @@ var cQ = (e, t, n, r) => {
index: r,
graphicalItemId: void 0
};
- return sQ(sQ({}, $Z), {}, { coordinate: i.coordinate });
+ return oQ(oQ({}, QZ), {}, { coordinate: i.coordinate });
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function aAe(e) {
+function bAe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -61407,16 +61566,16 @@ function aAe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function oAe(e, t) {
- var n = aAe(e), r = t[0], i = t[1];
+function xAe(e, t) {
+ var n = bAe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function sAe(e, t, n) {
+function SAe(e, t, n) {
if (n == null || t == null) return !0;
var r = mU(e, t);
- return r == null || !gK(n) || oAe(r, n);
+ return r == null || !gK(n) || xAe(r, n);
}
-var lQ = (e, t, n, r) => {
+var cQ = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
@@ -61424,8 +61583,8 @@ var lQ = (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 || sAe(l, n, r) ? String(c) : null;
-}, uQ = (e, t, n, r, i, a, o) => {
+ return l == null || SAe(l, n, r) ? String(c) : null;
+}, lQ = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
if (s != null) return s;
@@ -61441,7 +61600,7 @@ var lQ = (e, t, n, r) => {
};
}
}
-}, dQ = (e, t, n, r) => {
+}, uQ = (e, t, n, r) => {
if (t === "axis") return e.tooltipItemPayloads;
if (e.tooltipItemPayloads.length === 0) return [];
var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;
@@ -61451,10 +61610,10 @@ var lQ = (e, t, n, r) => {
return a == null ? [] : [a];
}
return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);
-}, fQ = (e) => e.options.tooltipPayloadSearcher, pQ = (e) => e.tooltip;
+}, dQ = (e) => e.options.tooltipPayloadSearcher, fQ = (e) => e.tooltip;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js
-function mQ(e, t) {
+function pQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61464,30 +61623,30 @@ function mQ(e, t) {
}
return n;
}
-function hQ(e) {
+function mQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? mQ(Object(n), !0).forEach(function(t) {
- cAe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mQ(Object(n)).forEach(function(t) {
+ t % 2 ? pQ(Object(n), !0).forEach(function(t) {
+ CAe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cAe(e, t, n) {
- return (t = lAe(t)) in e ? Object.defineProperty(e, t, {
+function CAe(e, t, n) {
+ return (t = wAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lAe(e) {
- var t = uAe(e, "string");
+function wAe(e) {
+ var t = TAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uAe(e, t) {
+function TAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61497,39 +61656,39 @@ function uAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function dAe(e) {
+function EAe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function fAe(e) {
+function DAe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function pAe(e) {
+function OAe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
-function gQ(e) {
+function hQ(e) {
if (typeof e == "string") return e;
}
-function mAe(e) {
+function kAe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? dAe(e.name) : void 0,
- unit: "unit" in e ? fAe(e.unit) : void 0,
- dataKey: "dataKey" in e ? pAe(e.dataKey) : void 0,
+ name: "name" in e ? EAe(e.name) : void 0,
+ unit: "unit" in e ? DAe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? OAe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
- color: "color" in e ? gQ(e.color) : void 0,
- fill: "fill" in e ? gQ(e.fill) : void 0
+ color: "color" in e ? hQ(e.color) : void 0,
+ fill: "fill" in e ? hQ(e.fill) : void 0
};
}
-function hAe(e, t) {
+function AAe(e, t) {
return e ?? t;
}
-var _Q = (e, t, n, r, i, a, o) => {
+var gQ = (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 = hAe(d, s), m = Array.isArray(p) ? lU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? _z(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = AAe(d, s), m = Array.isArray(p) ? lU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? fz(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = mAe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = hQ(hQ({}, f), {}, {
+ var n = kAe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = mQ(mQ({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
@@ -61551,110 +61710,110 @@ var _Q = (e, t, n, r, i, a, o) => {
})), e;
}, []);
}
-}, vQ = $([
- tZ,
+}, _Q = $([
+ eZ,
RX,
PK
-], wX), yQ = $([
+], wX), vQ = $([
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
- tZ,
+ eZ,
$([lq, uq], zX)
-], VX, { memoizeOptions: { resultEqualityCheck: cq } }), gAe = $([yQ], (e) => e.filter(oq)), bQ = $([$([yQ], GX, { memoizeOptions: { resultEqualityCheck: cq } }), fK], KX), _Ae = $([
- gAe,
+], VX, { memoizeOptions: { resultEqualityCheck: cq } }), jAe = $([vQ], (e) => e.filter(oq)), yQ = $([$([vQ], GX, { memoizeOptions: { resultEqualityCheck: cq } }), fK], KX), MAe = $([
+ jAe,
fK,
- tZ
-], aq), xQ = $([
- bQ,
- tZ,
- yQ
-], JX), SQ = $([tZ], oZ), CQ = $([SQ, $([tZ], (e) => e.allowDataOverflow)], vK), vAe = $([
+ eZ
+], aq), bQ = $([
+ yQ,
+ eZ,
+ vQ
+], JX), xQ = $([eZ], aZ), SQ = $([xQ, $([eZ], (e) => e.allowDataOverflow)], vK), NAe = $([
$([
- _Ae,
- $([yQ], (e) => e.filter(oq)),
+ MAe,
+ $([vQ], (e) => e.filter(oq)),
MK,
NK
- ], rZ),
+ ], nZ),
fK,
lq,
- CQ
-], aZ), yAe = $([
- bQ,
- tZ,
- $([yQ], WX),
- lZ,
+ SQ
+], iZ), PAe = $([
+ yQ,
+ eZ,
+ $([vQ], WX),
+ cZ,
lq
-], dZ, { memoizeOptions: { resultEqualityCheck: sq } }), bAe = $([$([
- fZ,
+], uZ, { memoizeOptions: { resultEqualityCheck: sq } }), FAe = $([$([
+ dZ,
lq,
uq
-], pZ), lq], gZ), xAe = $([$([
- mZ,
+], fZ), lq], hZ), IAe = $([$([
+ pZ,
lq,
uq
-], pZ), lq], _Z), wQ = $([
- tZ,
+], fZ), lq], gZ), CQ = $([
+ eZ,
tW,
+ yQ,
bQ,
- xQ,
MK,
lq,
$([
- tZ,
+ eZ,
+ xQ,
SQ,
- CQ,
- vAe,
- yAe,
+ NAe,
+ PAe,
$([
- bAe,
+ FAe,
$([$([
- hZ,
+ mZ,
lq,
uq
- ], pZ), lq], vZ),
- xAe
- ], uZ),
+ ], fZ), lq], _Z),
+ IAe
+ ], lZ),
tW,
lq
- ], yZ)
-], bZ), SAe = $([
- tZ,
- wQ,
+ ], vZ)
+], yZ), LAe = $([
+ eZ,
+ CQ,
$([
- wQ,
- tZ,
- vQ
- ], CZ),
+ CQ,
+ eZ,
+ _Q
+ ], SZ),
lq
-], TZ), TQ = (e) => DZ(e, lq(e), uq(e), !1), EQ = $([tZ, TQ], VK), DQ = $([$([
- tZ,
- vQ,
- SAe,
- EQ
-], CX)], dq), OQ = $([
+], wZ), wQ = (e) => EZ(e, lq(e), uq(e), !1), TQ = $([eZ, wQ], VK), EQ = $([$([
+ eZ,
+ _Q,
+ LAe,
+ TQ
+], CX)], dq), DQ = $([
tW,
- tZ,
- vQ,
- DQ,
- TQ,
+ eZ,
+ _Q,
+ EQ,
+ wQ,
$([
tW,
- xQ,
- tZ,
+ bQ,
+ eZ,
lq
- ], BZ),
+ ], zZ),
$([
tW,
- xQ,
- tZ,
+ bQ,
+ eZ,
lq
- ], AZ),
+ ], kZ),
lq
], (e, t, n, r, i, a, o, s) => {
if (t) {
var { type: c } = t, l = hU(e, s);
if (r) {
var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;
- return d = s === "angleAxis" && i != null && i?.length >= 2 ? lz(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? iz(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
return uU(n) ? {
coordinate: n + d,
@@ -61662,7 +61821,7 @@ var _Q = (e, t, n, r, i, a, o) => {
index: t,
offset: d
} : null;
- }).filter(bz) : r.domain().map((e, t) => {
+ }).filter(hz) : r.domain().map((e, t) => {
var n = r.map(e);
return uU(n) ? {
coordinate: n + d,
@@ -61670,49 +61829,49 @@ var _Q = (e, t, n, r, i, a, o) => {
index: t,
offset: d
} : null;
- }).filter(bz);
+ }).filter(hz);
}
}
-}), kQ = $([
+}), OQ = $([
+ qZ,
JZ,
- YZ,
- Gke
-], (e, t, n) => XZ(n.shared, e, t)), AQ = (e) => e.tooltip.settings.trigger, jQ = (e) => e.tooltip.settings.defaultIndex, MQ = $([
- pQ,
+ oAe
+], (e, t, n) => YZ(n.shared, e, t)), kQ = (e) => e.tooltip.settings.trigger, AQ = (e) => e.tooltip.settings.defaultIndex, jQ = $([
+ fQ,
+ OQ,
kQ,
- AQ,
- jQ
-], cQ), NQ = $([
- MQ,
- bQ,
- nZ,
- wQ
-], lQ), PQ = $([OQ, NQ], QZ), FQ = $([MQ], (e) => {
+ AQ
+], sQ), MQ = $([
+ jQ,
+ yQ,
+ tZ,
+ CQ
+], cQ), NQ = $([DQ, MQ], ZZ), PQ = $([jQ], (e) => {
if (e) return e.dataKey;
-}), CAe = $([MQ], (e) => {
+}), RAe = $([jQ], (e) => {
if (e) return e.graphicalItemId;
-}), IQ = $([
- pQ,
+}), FQ = $([
+ fQ,
+ OQ,
kQ,
- AQ,
- jQ
-], dQ), wAe = $([MQ, $([
+ AQ
+], uQ), zAe = $([jQ, $([
OU,
kU,
tW,
FU,
- OQ,
- jQ,
- IQ
-], uQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), TAe = $([MQ], (e) => e?.active ?? !1), EAe = $([$([
- IQ,
- NQ,
+ DQ,
+ AQ,
+ FQ
+], lQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), BAe = $([jQ], (e) => e?.active ?? !1), VAe = $([$([
+ FQ,
+ MQ,
fK,
- nZ,
- PQ,
- fQ,
- kQ
-], _Q)], (e) => {
+ tZ,
+ NQ,
+ dQ,
+ OQ
+], gQ)], (e) => {
if (e != null) {
var t = e.map((e) => e.payload).filter((e) => e != null);
return Array.from(new Set(t));
@@ -61720,7 +61879,7 @@ var _Q = (e, t, n, r, i, a, o) => {
});
//#endregion
//#region node_modules/recharts/es6/context/useTooltipAxis.js
-function LQ(e, t) {
+function IQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61730,30 +61889,30 @@ function LQ(e, t) {
}
return n;
}
-function RQ(e) {
+function LQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? LQ(Object(n), !0).forEach(function(t) {
- DAe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LQ(Object(n)).forEach(function(t) {
+ t % 2 ? IQ(Object(n), !0).forEach(function(t) {
+ HAe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function DAe(e, t, n) {
- return (t = OAe(t)) in e ? Object.defineProperty(e, t, {
+function HAe(e, t, n) {
+ return (t = UAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function OAe(e) {
- var t = kAe(e, "string");
+function UAe(e) {
+ var t = WAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kAe(e, t) {
+function WAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61763,13 +61922,13 @@ function kAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var AAe = () => Q(tZ), jAe = () => {
- var e = AAe(), t = Q(OQ), n = Q(DQ);
- return TU(!e || !n ? void 0 : RQ(RQ({}, e), {}, { scale: n }), t);
+var GAe = () => Q(eZ), KAe = () => {
+ var e = GAe(), t = Q(DQ), n = Q(EQ);
+ return TU(!e || !n ? void 0 : LQ(LQ({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
-function zQ(e, t) {
+function RQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61779,30 +61938,30 @@ function zQ(e, t) {
}
return n;
}
-function BQ(e) {
+function zQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? zQ(Object(n), !0).forEach(function(t) {
- MAe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zQ(Object(n)).forEach(function(t) {
+ t % 2 ? RQ(Object(n), !0).forEach(function(t) {
+ qAe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function MAe(e, t, n) {
- return (t = NAe(t)) in e ? Object.defineProperty(e, t, {
+function qAe(e, t, n) {
+ return (t = JAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function NAe(e) {
- var t = PAe(e, "string");
+function JAe(e) {
+ var t = YAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function PAe(e, t) {
+function YAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61812,7 +61971,7 @@ function PAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var FAe = (e, t, n, r) => {
+var XAe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -61828,18 +61987,18 @@ var FAe = (e, t, n, r) => {
x: 0,
y: 0
};
-}, IAe = (e, t, n, r) => {
+}, ZAe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
var a = i.coordinate, { radius: o } = r;
- return BQ(BQ(BQ({}, r), rK(r.cx, r.cy, o, a)), {}, {
+ return zQ(zQ(zQ({}, r), rK(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, { angle: c } = r;
- return BQ(BQ(BQ({}, r), rK(r.cx, r.cy, s, c)), {}, {
+ return zQ(zQ(zQ({}, r), rK(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -61858,19 +62017,19 @@ var FAe = (e, t, n, r) => {
y: 0
};
};
-function LAe(e, t) {
+function QAe(e, t) {
var { relativeX: n, relativeY: r } = e;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
-var VQ = (e, t, n, r, i) => {
+var BQ = (e, t, n, r, i) => {
var a = t?.length ?? 0;
if (a <= 1 || e == null) return 0;
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;
if (s != null && c != null && l != null) {
- if (lz(c - s) !== lz(l - c)) {
+ if (iz(c - s) !== iz(l - c)) {
var d = [];
- if (lz(l - c) === lz(i[1] - i[0])) {
+ if (iz(l - c) === iz(i[1] - i[0])) {
u = l;
var f = c + i[1] - i[0];
d[0] = Math.min(f, (f + s) / 2), d[1] = Math.max(f, (f + s) / 2);
@@ -61895,78 +62054,78 @@ var VQ = (e, t, n, r, i) => {
}
}
return -1;
-}, HQ = () => Q(PK), UQ = (e, t) => t, WQ = (e, t, n) => n, GQ = (e, t, n, r) => r, RAe = $(OQ, (e) => ZB(e, (e) => e.coordinate)), KQ = $([
- pQ,
+}, VQ = () => Q(PK), HQ = (e, t) => t, UQ = (e, t, n) => n, WQ = (e, t, n, r) => r, $Ae = $(DQ, (e) => $B(e, (e) => e.coordinate)), GQ = $([
+ fQ,
+ HQ,
UQ,
- WQ,
- GQ
-], cQ), qQ = $([
- KQ,
- bQ,
- nZ,
- wQ
-], lQ), zAe = (e, t, n) => {
+ WQ
+], sQ), KQ = $([
+ GQ,
+ yQ,
+ tZ,
+ CQ
+], cQ), eje = (e, t, n) => {
if (t != null) {
- var r = pQ(e);
+ var r = fQ(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
}
-}, JQ = $([
- pQ,
+}, qQ = $([
+ fQ,
+ HQ,
UQ,
- WQ,
- GQ
-], dQ), YQ = $([
+ WQ
+], uQ), JQ = $([
OU,
kU,
tW,
FU,
- OQ,
- GQ,
- JQ
-], uQ), BAe = $([KQ, YQ], (e, t) => e.coordinate ?? t), XQ = $([OQ, qQ], QZ), VAe = $([
- JQ,
+ DQ,
+ WQ,
+ qQ
+], lQ), tje = $([GQ, JQ], (e, t) => e.coordinate ?? t), YQ = $([DQ, KQ], ZZ), nje = $([
qQ,
+ KQ,
fK,
- nZ,
- XQ,
- fQ,
- UQ
-], _Q), HAe = $([KQ, qQ], (e, t) => ({
+ tZ,
+ YQ,
+ dQ,
+ HQ
+], gQ), rje = $([GQ, KQ], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), UAe = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && LAe(e, o)) {
- var s = VQ(hCe(e, t), a, i, n, r), c = FAe(t, i, s, e);
+})), ije = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && QAe(e, o)) {
+ var s = BQ(kCe(e, t), a, i, n, r), c = XAe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, WAe = (e, t, n, r, i, a, o) => {
+}, aje = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = aEe(e, n);
+ var s = yEe(e, n);
if (s) {
- var c = VQ(gCe(s, t), o, a, r, i), l = IAe(t, a, c, s);
+ var c = BQ(ACe(s, t), o, a, r, i), l = ZAe(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, GAe = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? UAe(e, t, r, i, a, o, s) : WAe(e, t, n, r, i, a, o);
-}, KAe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, oje = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? ije(e, t, r, i, a, o, s) : aje(e, t, n, r, i, a, o);
+}, sje = $((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;
}
-}), qAe = $((e) => e.zIndex.zIndexMap, (e) => {
+}), cje = $((e) => e.zIndex.zIndexMap, (e) => {
var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(RK));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: EEe } });
+}, { memoizeOptions: { resultEqualityCheck: BEe } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
-function ZQ(e, t) {
+function XQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61976,30 +62135,30 @@ function ZQ(e, t) {
}
return n;
}
-function QQ(e) {
+function ZQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? ZQ(Object(n), !0).forEach(function(t) {
- JAe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZQ(Object(n)).forEach(function(t) {
+ t % 2 ? XQ(Object(n), !0).forEach(function(t) {
+ lje(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function JAe(e, t, n) {
- return (t = YAe(t)) in e ? Object.defineProperty(e, t, {
+function lje(e, t, n) {
+ return (t = uje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function YAe(e) {
- var t = XAe(e, "string");
+function uje(e) {
+ var t = dje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function XAe(e, t) {
+function dje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62009,17 +62168,17 @@ function XAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var ZAe = { zIndexMap: Object.values(RK).reduce((e, t) => QQ(QQ({}, e), {}, { [t]: {
+var fje = { zIndexMap: Object.values(RK).reduce((e, t) => ZQ(ZQ({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, QAe = new Set(Object.values(RK));
-function $Ae(e) {
- return QAe.has(e);
+} }), {}) }, pje = new Set(Object.values(RK));
+function mje(e) {
+ return pje.has(e);
}
-var $Q = FH({
+var QQ = FH({
name: "zIndex",
- initialState: ZAe,
+ initialState: fje,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -62035,7 +62194,7 @@ var $Q = FH({
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !$Ae(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !mje(n) && delete e.zIndexMap[n]);
},
prepare: jH()
},
@@ -62058,33 +62217,33 @@ var $Q = FH({
prepare: jH()
}
}
-}), { registerZIndexPortal: eje, unregisterZIndexPortal: tje, registerZIndexPortalElement: nje, unregisterZIndexPortalElement: rje } = $Q.actions, ije = $Q.reducer;
+}), { registerZIndexPortal: hje, unregisterZIndexPortal: gje, registerZIndexPortalElement: _je, unregisterZIndexPortalElement: vje } = QQ.actions, yje = QQ.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
-function e$(e) {
- var { zIndex: t, children: n } = e, r = GCe() && t !== void 0 && t !== 0, i = LU(), a = TB();
- (0, B.useLayoutEffect)(() => r ? (a(eje({ zIndex: t })), () => {
- a(tje({ zIndex: t }));
- }) : xz, [
+function $Q(e) {
+ var { zIndex: t, children: n } = e, r = awe() && t !== void 0 && t !== 0, i = LU(), a = DB();
+ (0, B.useLayoutEffect)(() => r ? (a(hje({ zIndex: t })), () => {
+ a(gje({ zIndex: t }));
+ }) : gz, [
a,
t,
r
]);
- var o = Q((e) => KAe(e, t, i));
+ var o = Q((e) => sje(e, t, i));
return r ? o ? /*#__PURE__*/ (0, Dt.createPortal)(n, o) : null : n;
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
-function t$() {
- return t$ = Object.assign ? Object.assign.bind() : function(e) {
+function e$() {
+ return e$ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, t$.apply(null, arguments);
+ }, e$.apply(null, arguments);
}
-function n$(e, t) {
+function t$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62094,30 +62253,30 @@ function n$(e, t) {
}
return n;
}
-function r$(e) {
+function n$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? n$(Object(n), !0).forEach(function(t) {
- aje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n$(Object(n)).forEach(function(t) {
+ t % 2 ? t$(Object(n), !0).forEach(function(t) {
+ bje(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aje(e, t, n) {
- return (t = oje(t)) in e ? Object.defineProperty(e, t, {
+function bje(e, t, n) {
+ return (t = xje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oje(e) {
- var t = sje(e, "string");
+function xje(e) {
+ var t = Sje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sje(e, t) {
+function Sje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62127,17 +62286,17 @@ function sje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function cje(e) {
+function Cje(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, B.isValidElement)(t) ? /*#__PURE__*/ (0, B.cloneElement)(t, r) : /*#__PURE__*/ (0, B.createElement)(n, r);
}
-function lje(e) {
+function wje(e) {
var { coordinate: t, payload: n, index: r, offset: i, tooltipAxisBandSize: a, layout: o, cursor: s, tooltipEventType: c, chartName: l } = e, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = lTe, h = RK.cursorLine;
- else if (l === "BarChart") p = uTe(o, u, i, a), m = QG, h = RK.cursorRectangle;
- else if (o === "radial" && Dz(u)) {
+ if (l === "ScatterChart") p = u, m = CTe, h = RK.cursorLine;
+ else if (l === "BarChart") p = wTe(o, u, i, a), m = QG, h = RK.cursorRectangle;
+ else if (o === "radial" && Sz(u)) {
var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = iK(u);
p = {
cx: g,
@@ -62147,24 +62306,24 @@ function lje(e) {
innerRadius: v,
outerRadius: v
}, m = lK, h = RK.cursorLine;
- } else p = { points: gEe(o, u, i) }, m = TG, h = RK.cursorLine;
- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = r$(r$(r$(r$({
+ } else p = { points: AEe(o, u, i) }, m = TG, h = RK.cursorLine;
+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = n$(n$(n$(n$({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), nR(s)), {}, {
+ }, i), p), ZL(s)), {}, {
payload: d,
payloadIndex: f,
className: Jr("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ B.createElement(cje, {
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ B.createElement(Cje, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function uje(e) {
- var t = jAe(), n = QU(), r = nW(), i = HQ();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ B.createElement(lje, t$({}, e, {
+function Tje(e) {
+ var t = KAe(), n = QU(), r = nW(), i = VQ();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ B.createElement(wje, e$({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -62173,7 +62332,7 @@ function uje(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var i$ = /*#__PURE__*/ (0, B.createContext)(null), dje = () => (0, B.useContext)(i$), fje = (/* @__PURE__ */ vt((/* @__PURE__ */ mt(((e, t) => {
+var r$ = /*#__PURE__*/ (0, B.createContext)(null), Eje = () => (0, B.useContext)(r$), Dje = (/* @__PURE__ */ vt((/* @__PURE__ */ mt(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -62260,12 +62419,12 @@ var i$ = /*#__PURE__*/ (0, B.createContext)(null), dje = () => (0, B.useContext)
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, a$ = new fje(), o$ = "recharts.syncEvent.tooltip", s$ = "recharts.syncEvent.brush", c$ = (e, t) => {
+})))(), 1)).default, i$ = new Dje(), a$ = "recharts.syncEvent.tooltip", o$ = "recharts.syncEvent.brush", s$ = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!uz(n)) return e[n];
+ if (!az(n)) return e[n];
}
-}, l$ = FH({
+}, c$ = FH({
name: "options",
initialState: {
chartName: "",
@@ -62276,13 +62435,13 @@ var i$ = /*#__PURE__*/ (0, B.createContext)(null), dje = () => (0, B.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), pje = l$.reducer, { createEventEmitter: mje } = l$.actions;
+}), Oje = c$.reducer, { createEventEmitter: kje } = c$.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function hje(e) {
+function Aje(e) {
return e.tooltip.syncInteraction;
}
-var u$ = FH({
+var l$ = FH({
name: "chartData",
initialState: {
chartData: void 0,
@@ -62306,8 +62465,8 @@ var u$ = FH({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: d$, setDataStartEndIndexes: gje, setComputedData: _je } = u$.actions, vje = u$.reducer, yje = ["x", "y"];
-function f$(e, t) {
+}), { setChartData: u$, setDataStartEndIndexes: jje, setComputedData: Mje } = l$.actions, Nje = l$.reducer, Pje = ["x", "y"];
+function d$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62317,30 +62476,30 @@ function f$(e, t) {
}
return n;
}
-function p$(e) {
+function f$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? f$(Object(n), !0).forEach(function(t) {
- bje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f$(Object(n)).forEach(function(t) {
+ t % 2 ? d$(Object(n), !0).forEach(function(t) {
+ Fje(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bje(e, t, n) {
- return (t = xje(t)) in e ? Object.defineProperty(e, t, {
+function Fje(e, t, n) {
+ return (t = Ije(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xje(e) {
- var t = Sje(e, "string");
+function Ije(e) {
+ var t = Lje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Sje(e, t) {
+function Lje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62350,16 +62509,16 @@ function Sje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Cje(e, t) {
+function Rje(e, t) {
if (e == null) return {};
- var n, r, i = wje(e, t);
+ var n, r, i = zje(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 wje(e, t) {
+function zje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62368,20 +62527,20 @@ function wje(e, t) {
}
return n;
}
-function Tje() {
- var e = Q(FK), t = Q(LK), n = TB(), r = Q(IK), i = Q(OQ), a = nW(), o = ZU(), s = Q((e) => e.rootProps.className);
+function Bje() {
+ var e = Q(FK), t = Q(LK), n = DB(), r = Q(IK), i = Q(DQ), a = nW(), o = ZU(), s = Q((e) => e.rootProps.className);
(0, B.useEffect)(() => {
- if (e == null) return xz;
+ if (e == null) return gz;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, { x: f, y: p } = d, m = Cje(d, yje), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = p$(p$({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = Rje(d, Pje), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = f$(f$({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
- n(p$(p$({}, c), {}, { payload: p$(p$({}, c.payload), {}, { coordinate: y }) }));
+ n(f$(f$({}, c), {}, { payload: f$(f$({}, c.payload), {}, { coordinate: y }) }));
} else n(c);
return;
}
@@ -62397,7 +62556,7 @@ function Tje() {
})] : r === "value" && (b = i.find((e) => String(e.value) === c.payload.label));
var { coordinate: x } = c.payload;
if (b == null || c.payload.active === !1 || x == null || o == null) {
- n(iQ({
+ n(rQ({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -62412,7 +62571,7 @@ function Tje() {
x: a === "horizontal" ? b.coordinate : w,
y: a === "horizontal" ? T : b.coordinate
};
- n(iQ({
+ n(rQ({
active: c.payload.active,
coordinate: E,
dataKey: c.payload.dataKey,
@@ -62424,8 +62583,8 @@ function Tje() {
}
}
};
- return a$.on(o$, s), () => {
- a$.off(o$, s);
+ return i$.on(a$, s), () => {
+ i$.off(a$, s);
};
}, [
s,
@@ -62438,15 +62597,15 @@ function Tje() {
o
]);
}
-function Eje() {
- var e = Q(FK), t = Q(LK), n = TB();
+function Vje() {
+ var e = Q(FK), t = Q(LK), n = DB();
(0, B.useEffect)(() => {
- if (e == null) return xz;
+ if (e == null) return gz;
var r = (r, i, a) => {
- t !== a && e === r && n(gje(i));
+ t !== a && e === r && n(jje(i));
};
- return a$.on(s$, r), () => {
- a$.off(s$, r);
+ return i$.on(o$, r), () => {
+ i$.off(o$, r);
};
}, [
n,
@@ -62454,17 +62613,17 @@ function Eje() {
e
]);
}
-function Dje() {
- var e = TB();
+function Hje() {
+ var e = DB();
(0, B.useEffect)(() => {
- e(mje());
- }, [e]), Tje(), Eje();
+ e(kje());
+ }, [e]), Bje(), Vje();
}
-function Oje(e, t, n, r, i, a) {
- var o = Q((n) => zAe(n, e, t)), s = Q(CAe), c = Q(LK), l = Q(FK), u = Q(IK), d = Q(hje)?.active, f = ZU();
+function Uje(e, t, n, r, i, a) {
+ var o = Q((n) => eje(n, e, t)), s = Q(RAe), c = Q(LK), l = Q(FK), u = Q(IK), d = Q(Aje)?.active, f = ZU();
(0, B.useEffect)(() => {
if (!d && l != null && c != null) {
- var e = iQ({
+ var e = rQ({
active: a,
coordinate: n,
dataKey: o,
@@ -62473,7 +62632,7 @@ function Oje(e, t, n, r, i, a) {
sourceViewBox: f,
graphicalItemId: s
});
- a$.emit(o$, l, e, c);
+ i$.emit(a$, l, e, c);
}
}, [
d,
@@ -62491,7 +62650,7 @@ function Oje(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/recharts/es6/component/Tooltip.js
-function m$(e, t) {
+function p$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62501,30 +62660,30 @@ function m$(e, t) {
}
return n;
}
-function h$(e) {
+function m$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? m$(Object(n), !0).forEach(function(t) {
- kje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m$(Object(n)).forEach(function(t) {
+ t % 2 ? p$(Object(n), !0).forEach(function(t) {
+ Wje(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kje(e, t, n) {
- return (t = Aje(t)) in e ? Object.defineProperty(e, t, {
+function Wje(e, t, n) {
+ return (t = Gje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Aje(e) {
- var t = jje(e, "string");
+function Gje(e) {
+ var t = Kje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jje(e, t) {
+function Kje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62534,13 +62693,13 @@ function jje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Mje(e) {
+function qje(e) {
return e.dataKey;
}
-function Nje(e, t) {
- return /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ B.createElement(e, t) : /*#__PURE__*/ B.createElement(zwe, t);
+function Jje(e, t) {
+ return /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ B.createElement(e, t) : /*#__PURE__*/ B.createElement($we, t);
}
-var g$ = [], Pje = {
+var h$ = [], Yje = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -62566,10 +62725,10 @@ var g$ = [], Pje = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function Fje(e) {
- var t = jz(e, Pje), { 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 = TB(), S = typeof v == "number" ? String(v) : v;
+function Xje(e) {
+ var t = Ez(e, Yje), { 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 = DB(), S = typeof v == "number" ? String(v) : v;
(0, B.useEffect)(() => {
- x(Yke({
+ x(uAe({
shared: g,
trigger: _,
axisId: b,
@@ -62584,20 +62743,20 @@ function Fje(e) {
n,
S
]);
- var C = ZU(), w = hG(), T = Wke(g), { activeIndex: E, isActive: D } = Q((e) => HAe(e, T, _, S)) ?? {}, O = Q((e) => VAe(e, T, _, S)), k = Q((e) => XQ(e, T, _, S)), A = Q((e) => BAe(e, T, _, S)), j = O, M = dje(), N = n ?? D ?? !1, [ee, te] = rV([j, N]), P = T === "axis" ? k : void 0;
- Oje(T, _, A, P, E, N);
+ var C = ZU(), w = hG(), T = aAe(g), { activeIndex: E, isActive: D } = Q((e) => rje(e, T, _, S)) ?? {}, O = Q((e) => nje(e, T, _, S)), k = Q((e) => YQ(e, T, _, S)), A = Q((e) => tje(e, T, _, S)), j = O, M = Eje(), N = n ?? D ?? !1, [ee, te] = aV([j, N]), P = T === "axis" ? k : void 0;
+ Uje(T, _, A, P, E, N);
var F = y ?? M;
if (F == null || C == null || T == null) return null;
- var ne = j ?? g$;
- N || (ne = g$), s && ne.length && (ne = yB(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, Mje));
- var I = ne.length > 0, re = h$(h$({}, t), {}, {
+ var ne = j ?? h$;
+ N || (ne = h$), s && ne.length && (ne = xB(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, qje));
+ var I = ne.length > 0, re = m$(m$({}, t), {}, {
payload: ne,
label: P,
active: N,
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), L = /*#__PURE__*/ B.createElement(Ywe, {
+ }), L = /*#__PURE__*/ B.createElement(lTe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -62614,8 +62773,8 @@ function Fje(e) {
lastBoundingBox: ee,
innerRef: te,
hasPortalFromProps: !!y
- }, Nje(o, re));
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ (0, Dt.createPortal)(L, F), N && /*#__PURE__*/ B.createElement(uje, {
+ }, Jje(o, re));
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ (0, Dt.createPortal)(L, F), N && /*#__PURE__*/ B.createElement(Tje, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -62625,23 +62784,23 @@ function Fje(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cell.js
-var _$ = (e) => null;
-_$.displayName = "Cell";
+var g$ = (e) => null;
+g$.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function Ije(e, t, n) {
- return (t = Lje(t)) in e ? Object.defineProperty(e, t, {
+function Zje(e, t, n) {
+ return (t = Qje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Lje(e) {
- var t = Rje(e, "string");
+function Qje(e) {
+ var t = $je(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Rje(e, t) {
+function $je(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62651,9 +62810,9 @@ function Rje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var zje = class {
+var eMe = class {
constructor(e) {
- Ije(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ Zje(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -62676,7 +62835,7 @@ var zje = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function v$(e, t) {
+function _$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62686,30 +62845,30 @@ function v$(e, t) {
}
return n;
}
-function Bje(e) {
+function tMe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? v$(Object(n), !0).forEach(function(t) {
- Vje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v$(Object(n)).forEach(function(t) {
+ t % 2 ? _$(Object(n), !0).forEach(function(t) {
+ nMe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Vje(e, t, n) {
- return (t = Hje(t)) in e ? Object.defineProperty(e, t, {
+function nMe(e, t, n) {
+ return (t = rMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Hje(e) {
- var t = Uje(e, "string");
+function rMe(e) {
+ var t = iMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Uje(e, t) {
+function iMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62719,10 +62878,10 @@ function Uje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var y$ = Bje({}, {
+var v$ = tMe({}, {
cacheSize: 2e3,
enableCache: !0
-}), b$ = new zje(y$.cacheSize), Wje = {
+}), y$ = new eMe(v$.cacheSize), aMe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -62730,14 +62889,14 @@ var y$ = Bje({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, x$ = "recharts_measurement_span";
-function Gje(e, t) {
+}, b$ = "recharts_measurement_span";
+function oMe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var S$ = (e, t) => {
+var x$ = (e, t) => {
try {
- var n = document.getElementById(x$);
- n || (n = document.createElement("span"), n.setAttribute("id", x$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, Wje, t), n.textContent = `${e}`;
+ var n = document.getElementById(b$);
+ n || (n = document.createElement("span"), n.setAttribute("id", b$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, aMe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -62749,31 +62908,31 @@ var S$ = (e, t) => {
height: 0
};
}
-}, C$ = function(e) {
+}, S$ = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
if (e == null || dG.isSsr) return {
width: 0,
height: 0
};
- if (!y$.enableCache) return S$(e, t);
- var n = Gje(e, t), r = b$.get(n);
+ if (!v$.enableCache) return x$(e, t);
+ var n = oMe(e, t), r = y$.get(n);
if (r) return r;
- var i = S$(e, t);
- return b$.set(n, i), i;
-}, w$;
-function Kje(e, t, n) {
- return (t = qje(t)) in e ? Object.defineProperty(e, t, {
+ var i = x$(e, t);
+ return y$.set(n, i), i;
+}, C$;
+function sMe(e, t, n) {
+ return (t = cMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qje(e) {
- var t = Jje(e, "string");
+function cMe(e) {
+ var t = lMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Jje(e, t) {
+function lMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62783,7 +62942,7 @@ function Jje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var T$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, E$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, Yje = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Xje = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Zje = {
+var w$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, T$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, uMe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, dMe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, fMe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -62791,7 +62950,7 @@ var T$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, E$ = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, Qje = [
+}, pMe = [
"cm",
"mm",
"pt",
@@ -62800,20 +62959,20 @@ var T$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, E$ = /(
"Q",
"px"
];
-function $je(e) {
- return Qje.includes(e);
+function mMe(e) {
+ return pMe.includes(e);
}
-var D$ = "NaN";
-function eMe(e, t) {
- return e * Zje[t];
+var E$ = "NaN";
+function hMe(e, t) {
+ return e * fMe[t];
}
-var O$ = class e {
+var D$ = class e {
static parse(t) {
- var [, n, r] = Xje.exec(t) ?? [];
+ var [, n, r] = dMe.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, uz(e) && (this.unit = ""), t !== "" && !Yje.test(t) && (this.num = NaN, this.unit = ""), $je(t) && (this.num = eMe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, az(e) && (this.unit = ""), t !== "" && !uMe.test(t) && (this.num = NaN, this.unit = ""), mMe(t) && (this.num = hMe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -62831,50 +62990,50 @@ var O$ = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return uz(this.num);
+ return az(this.num);
}
};
-w$ = O$, Kje(O$, "NaN", new w$(NaN, ""));
-function k$(e) {
- if (e == null || e.includes(D$)) return D$;
+C$ = D$, sMe(D$, "NaN", new C$(NaN, ""));
+function O$(e) {
+ if (e == null || e.includes(E$)) return E$;
for (var t = e; t.includes("*") || t.includes("/");) {
- var [, n, r, i] = T$.exec(t) ?? [], a = O$.parse(n ?? ""), o = O$.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
- if (s.isNaN()) return D$;
- t = t.replace(T$, s.toString());
+ var [, n, r, i] = w$.exec(t) ?? [], a = D$.parse(n ?? ""), o = D$.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
+ if (s.isNaN()) return E$;
+ t = t.replace(w$, s.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var [, c, l, u] = E$.exec(t) ?? [], d = O$.parse(c ?? ""), f = O$.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
- if (p.isNaN()) return D$;
- t = t.replace(E$, p.toString());
+ var [, c, l, u] = T$.exec(t) ?? [], d = D$.parse(c ?? ""), f = D$.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
+ if (p.isNaN()) return E$;
+ t = t.replace(T$, p.toString());
}
return t;
}
-var A$ = /\(([^()]*)\)/;
-function tMe(e) {
- for (var t = e, n; (n = A$.exec(t)) != null;) {
+var k$ = /\(([^()]*)\)/;
+function gMe(e) {
+ for (var t = e, n; (n = k$.exec(t)) != null;) {
var [, r] = n;
- t = t.replace(A$, k$(r));
+ t = t.replace(k$, O$(r));
}
return t;
}
-function nMe(e) {
+function _Me(e) {
var t = e.replace(/\s+/g, "");
- return t = tMe(t), t = k$(t), t;
+ return t = gMe(t), t = O$(t), t;
}
-function rMe(e) {
+function vMe(e) {
try {
- return nMe(e);
+ return _Me(e);
} catch {
- return D$;
+ return E$;
}
}
-function j$(e) {
- var t = rMe(e.slice(5, -1));
- return t === D$ ? "" : t;
+function A$(e) {
+ var t = vMe(e.slice(5, -1));
+ return t === E$ ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var iMe = [
+var yMe = [
"x",
"y",
"lineHeight",
@@ -62883,32 +63042,32 @@ var iMe = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], aMe = [
+], bMe = [
"dx",
"dy",
"angle",
"className",
"breakAll"
];
-function M$() {
- return M$ = Object.assign ? Object.assign.bind() : function(e) {
+function j$() {
+ return j$ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, M$.apply(null, arguments);
+ }, j$.apply(null, arguments);
}
-function N$(e, t) {
+function M$(e, t) {
if (e == null) return {};
- var n, r, i = oMe(e, t);
+ var n, r, i = xMe(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 oMe(e, t) {
+function xMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62917,28 +63076,28 @@ function oMe(e, t) {
}
return n;
}
-var P$ = /[ \f\n\r\t\v\u2028\u2029]+/, F$ = (e) => {
+var N$ = /[ \f\n\r\t\v\u2028\u2029]+/, P$ = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return vz(t) || (i = n ? t.toString().split("") : t.toString().split(P$)), {
+ return pz(t) || (i = n ? t.toString().split("") : t.toString().split(N$)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
- width: C$(e, r).width
+ width: S$(e, r).width
})),
- spaceWidth: n ? 0 : C$("\xA0", r).width
+ spaceWidth: n ? 0 : S$("\xA0", r).width
};
} catch {
return null;
}
};
-function I$(e) {
+function F$(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function sMe(e) {
- return vz(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function SMe(e) {
+ return pz(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var L$ = (e, t, n, r) => e.reduce((e, i) => {
+var I$ = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;
else {
@@ -62949,20 +63108,20 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), R$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), cMe = "…", z$ = (e, t, n, r, i, a, o, s) => {
- var c = F$({
+}, []), L$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), CMe = "…", R$ = (e, t, n, r, i, a, o, s) => {
+ var c = P$({
breakAll: n,
style: r,
- children: e.slice(0, t) + cMe
+ children: e.slice(0, t) + CMe
});
if (!c) return [!1, []];
- var l = L$(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || R$(l).width > Number(a), l];
-}, lMe = (e, t, n, r, i) => {
- var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = L$(t, r, n, i);
- if (!l || i || !(d.length > a || R$(d).width > Number(r))) return d;
+ var l = I$(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || L$(l).width > Number(a), l];
+}, wMe = (e, t, n, r, i) => {
+ var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = I$(t, r, n, i);
+ if (!l || i || !(d.length > a || L$(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
- var g = Math.floor((f + p) / 2), [_, v] = z$(u, g - 1, c, s, a, r, n, i), [y] = z$(u, g, c, s, a, r, n, i);
+ var g = Math.floor((f + p) / 2), [_, v] = R$(u, g - 1, c, s, a, r, n, i), [y] = R$(u, g, c, s, a, r, n, i);
if (!_ && !y && (f = g + 1), _ && y && (p = g - 1), !_ && y) {
h = v;
break;
@@ -62970,13 +63129,13 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, B$ = (e) => [{
- words: vz(e) ? [] : e.toString().split(P$),
+}, z$ = (e) => [{
+ words: pz(e) ? [] : e.toString().split(N$),
width: void 0
-}], uMe = (e) => {
+}], TMe = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
if ((t || n) && !dG.isSsr) {
- var s, c, l = F$({
+ var s, c, l = P$({
breakAll: a,
children: r,
style: i
@@ -62984,28 +63143,28 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
- } else return B$(r);
- return lMe({
+ } else return z$(r);
+ return wMe({
breakAll: a,
children: r,
maxLines: o,
style: i
}, s, c, t, !!n);
}
- return B$(r);
-}, V$ = "#808080", dMe = {
+ return z$(r);
+}, B$ = "#808080", EMe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: V$,
+ fill: B$,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
verticalAnchor: "end",
x: 0,
y: 0
-}, H$ = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var n = jz(e, dMe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = N$(n, iMe), f = (0, B.useMemo)(() => uMe({
+}, V$ = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var n = Ez(e, EMe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = M$(n, yMe), f = (0, B.useMemo)(() => TMe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -63019,32 +63178,32 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = N$(d, aMe);
- if (!fz(r) || !fz(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = M$(d, bMe);
+ if (!sz(r) || !sz(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
if (!uU(y) || !uU(b)) return null;
var x;
switch (u) {
case "start":
- x = j$(`calc(${o})`);
+ x = A$(`calc(${o})`);
break;
case "middle":
- x = j$(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
+ x = A$(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
break;
- default: x = j$(`calc(${f.length - 1} * -${a})`);
+ default: x = A$(`calc(${f.length - 1} * -${a})`);
}
var S = [], C = f[0];
if (c && C != null) {
var w = C.width, { width: T } = d;
S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);
}
- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ B.createElement("text", M$({}, rR(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ B.createElement("text", j$({}, QL(v), {
ref: t,
x: y,
y: b,
className: Jr("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? V$ : s
+ fill: s.includes("url") ? B$ : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
return /*#__PURE__*/ B.createElement("tspan", {
@@ -63054,10 +63213,10 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
}, n);
}));
});
-H$.displayName = "Text";
+V$.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function U$(e, t) {
+function H$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63067,30 +63226,30 @@ function U$(e, t) {
}
return n;
}
-function W$(e) {
+function U$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? U$(Object(n), !0).forEach(function(t) {
- fMe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U$(Object(n)).forEach(function(t) {
+ t % 2 ? H$(Object(n), !0).forEach(function(t) {
+ DMe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function fMe(e, t, n) {
- return (t = pMe(t)) in e ? Object.defineProperty(e, t, {
+function DMe(e, t, n) {
+ return (t = OMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function pMe(e) {
- var t = mMe(e, "string");
+function OMe(e) {
+ var t = kMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function mMe(e, t) {
+function kMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63100,7 +63259,7 @@ function mMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var hMe = (e) => {
+var AMe = (e) => {
var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = XU(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 = {
@@ -63142,68 +63301,68 @@ var hMe = (e) => {
width: m,
height: c
} : {};
- return n === "insideLeft" ? W$({
+ return n === "insideLeft" ? U$({
x: p + x,
y: s + c / 2,
horizontalAnchor: C,
verticalAnchor: "middle"
- }, k) : n === "insideRight" ? W$({
+ }, k) : n === "insideRight" ? U$({
x: p + m - x,
y: s + c / 2,
horizontalAnchor: S,
verticalAnchor: "middle"
- }, k) : n === "insideTop" ? W$({
+ }, k) : n === "insideTop" ? U$({
x: d + l / 2,
y: s + _,
horizontalAnchor: "middle",
verticalAnchor: y
- }, k) : n === "insideBottom" ? W$({
+ }, k) : n === "insideBottom" ? U$({
x: f + u / 2,
y: s + c - _,
horizontalAnchor: "middle",
verticalAnchor: v
- }, k) : n === "insideTopLeft" ? W$({
+ }, k) : n === "insideTopLeft" ? U$({
x: d + x,
y: s + _,
horizontalAnchor: C,
verticalAnchor: y
- }, k) : n === "insideTopRight" ? W$({
+ }, k) : n === "insideTopRight" ? U$({
x: d + l - x,
y: s + _,
horizontalAnchor: S,
verticalAnchor: y
- }, k) : n === "insideBottomLeft" ? W$({
+ }, k) : n === "insideBottomLeft" ? U$({
x: f + x,
y: s + c - _,
horizontalAnchor: C,
verticalAnchor: v
- }, k) : n === "insideBottomRight" ? W$({
+ }, k) : n === "insideBottomRight" ? U$({
x: f + u - x,
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || dz(n.x)) && (Z(n.y) || dz(n.y)) ? W$({
- x: o + mz(n.x, m),
- y: s + mz(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || oz(n.x)) && (Z(n.y) || oz(n.y)) ? U$({
+ x: o + lz(n.x, m),
+ y: s + lz(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, k) : W$({
+ }, k) : U$({
x: h,
y: s + c / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, gMe = ["labelRef"], _Me = ["content"];
-function G$(e, t) {
+}, jMe = ["labelRef"], MMe = ["content"];
+function W$(e, t) {
if (e == null) return {};
- var n, r, i = vMe(e, t);
+ var n, r, i = NMe(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 vMe(e, t) {
+function NMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63212,7 +63371,7 @@ function vMe(e, t) {
}
return n;
}
-function K$(e, t) {
+function G$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63222,30 +63381,30 @@ function K$(e, t) {
}
return n;
}
-function q$(e) {
+function K$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? K$(Object(n), !0).forEach(function(t) {
- yMe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K$(Object(n)).forEach(function(t) {
+ t % 2 ? G$(Object(n), !0).forEach(function(t) {
+ PMe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yMe(e, t, n) {
- return (t = bMe(t)) in e ? Object.defineProperty(e, t, {
+function PMe(e, t, n) {
+ return (t = FMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bMe(e) {
- var t = xMe(e, "string");
+function FMe(e) {
+ var t = IMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xMe(e, t) {
+function IMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63255,16 +63414,16 @@ function xMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function J$() {
- return J$ = Object.assign ? Object.assign.bind() : function(e) {
+function q$() {
+ return q$ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, J$.apply(null, arguments);
+ }, q$.apply(null, arguments);
}
-var Y$ = /*#__PURE__*/ (0, B.createContext)(null), X$ = (e) => {
+var J$ = /*#__PURE__*/ (0, B.createContext)(null), Y$ = (e) => {
var { x: t, y: n, upperWidth: r, lowerWidth: i, width: a, height: o, children: s } = e, c = (0, B.useMemo)(() => ({
x: t,
y: n,
@@ -63280,11 +63439,11 @@ var Y$ = /*#__PURE__*/ (0, B.createContext)(null), X$ = (e) => {
a,
o
]);
- return /*#__PURE__*/ B.createElement(Y$.Provider, { value: c }, s);
-}, Z$ = () => {
- var e = (0, B.useContext)(Y$), t = ZU();
+ return /*#__PURE__*/ B.createElement(J$.Provider, { value: c }, s);
+}, X$ = () => {
+ var e = (0, B.useContext)(J$), t = ZU();
return e || (t ? XU(t) : void 0);
-}, Q$ = /*#__PURE__*/ (0, B.createContext)(null), SMe = (e) => {
+}, Z$ = /*#__PURE__*/ (0, B.createContext)(null), LMe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, B.useMemo)(() => ({
cx: t,
cy: n,
@@ -63302,15 +63461,15 @@ var Y$ = /*#__PURE__*/ (0, B.createContext)(null), X$ = (e) => {
o,
s
]);
- return /*#__PURE__*/ B.createElement(Q$.Provider, { value: l }, c);
-}, $$ = () => {
- var e = (0, B.useContext)(Q$), t = Q(tq);
+ return /*#__PURE__*/ B.createElement(Z$.Provider, { value: l }, c);
+}, Q$ = () => {
+ var e = (0, B.useContext)(Z$), t = Q(tq);
return e || t;
-}, CMe = (e) => {
- var { value: t, formatter: n } = e, r = vz(e.children) ? t : e.children;
+}, RMe = (e) => {
+ var { value: t, formatter: n } = e, r = pz(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, e1 = (e) => e != null && typeof e == "function", wMe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 360), TMe = (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 = wMe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, $$ = (e) => e != null && typeof e == "function", zMe = (e, t) => iz(t - e) * Math.min(Math.abs(t - e), 360), BMe = (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 = zMe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -63326,15 +63485,15 @@ var Y$ = /*#__PURE__*/ (0, B.createContext)(null), X$ = (e) => {
v = h <= 0 ? v : !v;
var y = rK(s, c, m, _), b = rK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = vz(e.id) ? pz("recharts-radial-line-") : e.id;
- return /*#__PURE__*/ B.createElement("text", J$({}, r, {
+ ${b.x},${b.y}`, S = pz(e.id) ? cz("recharts-radial-line-") : e.id;
+ return /*#__PURE__*/ B.createElement("text", q$({}, r, {
dominantBaseline: "central",
className: Jr("recharts-radial-bar-label", o)
}), /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("path", {
id: S,
d: x
})), /*#__PURE__*/ B.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, EMe = (e, t, n) => {
+}, VMe = (e, t, n) => {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, startAngle: s, endAngle: c } = e, l = (s + c) / 2;
if (n === "outside") {
var { x: u, y: d } = rK(r, i, o + t, l);
@@ -63370,15 +63529,15 @@ var Y$ = /*#__PURE__*/ (0, B.createContext)(null), X$ = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, t1 = (e) => e != null && "cx" in e && Z(e.cx), DMe = {
+}, e1 = (e) => e != null && "cx" in e && Z(e.cx), HMe = {
angle: 0,
offset: 5,
zIndex: RK.label,
position: "middle",
textBreakAll: !1
};
-function OMe(e) {
- if (!t1(e)) return e;
+function UMe(e) {
+ if (!e1(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
x: t - r,
@@ -63389,100 +63548,100 @@ function OMe(e) {
height: i
};
}
-function n1(e) {
- var t = jz(e, DMe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = $$(), f = Z$(), p = n == null ? i === "center" ? f : d ?? f : t1(n) ? n : XU(n), m, h, g = OMe(p);
- if (!p || vz(a) && vz(o) && !/*#__PURE__*/ (0, B.isValidElement)(s) && typeof s != "function") return null;
- var _ = q$(q$({}, t), {}, { viewBox: p });
+function t1(e) {
+ var t = Ez(e, HMe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = Q$(), f = X$(), p = n == null ? i === "center" ? f : d ?? f : e1(n) ? n : XU(n), m, h, g = UMe(p);
+ if (!p || pz(a) && pz(o) && !/*#__PURE__*/ (0, B.isValidElement)(s) && typeof s != "function") return null;
+ var _ = K$(K$({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, B.isValidElement)(s)) {
- var { labelRef: v } = _, y = G$(_, gMe);
+ var { labelRef: v } = _, y = W$(_, jMe);
return /*#__PURE__*/ (0, B.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = G$(_, _Me);
+ var { content: b } = _, x = W$(_, MMe);
if (m = /*#__PURE__*/ (0, B.createElement)(s, x), /*#__PURE__*/ (0, B.isValidElement)(m)) return m;
- } else m = CMe(t);
- var S = rR(t);
- if (t1(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return TMe(t, i, m, S, p);
- h = EMe(p, t.offset, t.position);
+ } else m = RMe(t);
+ var S = QL(t);
+ if (e1(p)) {
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return BMe(t, i, m, S, p);
+ h = VMe(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = hMe({
+ var C = AMe({
viewBox: g,
position: i,
offset: t.offset,
- parentViewBox: t1(r) ? void 0 : r,
+ parentViewBox: e1(r) ? void 0 : r,
clamp: !0
});
- h = q$(q$({
+ h = K$(K$({
x: C.x,
y: C.y,
textAnchor: C.horizontalAnchor,
verticalAnchor: C.verticalAnchor
}, C.width === void 0 ? {} : { width: C.width }), C.height === void 0 ? {} : { height: C.height });
}
- return /*#__PURE__*/ B.createElement(e$, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(H$, J$({
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(V$, q$({
ref: u,
className: Jr("recharts-label", c)
}, S, h, {
- textAnchor: I$(S.textAnchor) ? S.textAnchor : h.textAnchor,
+ textAnchor: F$(S.textAnchor) ? S.textAnchor : h.textAnchor,
breakAll: l
}), m));
}
-n1.displayName = "Label";
-var r1 = (e, t, n) => {
+t1.displayName = "Label";
+var n1 = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ B.createElement(n1, J$({ key: "label-implicit" }, r)) : fz(e) ? /*#__PURE__*/ B.createElement(n1, J$({
+ return e === !0 ? /*#__PURE__*/ B.createElement(t1, q$({ key: "label-implicit" }, r)) : sz(e) ? /*#__PURE__*/ B.createElement(t1, q$({
key: "label-implicit",
value: e
- }, r)) : /*#__PURE__*/ (0, B.isValidElement)(e) ? e.type === n1 ? /*#__PURE__*/ (0, B.cloneElement)(e, q$({ key: "label-implicit" }, r)) : /*#__PURE__*/ B.createElement(n1, J$({
+ }, r)) : /*#__PURE__*/ (0, B.isValidElement)(e) ? e.type === t1 ? /*#__PURE__*/ (0, B.cloneElement)(e, K$({ key: "label-implicit" }, r)) : /*#__PURE__*/ B.createElement(t1, q$({
key: "label-implicit",
content: e
- }, r)) : e1(e) ? /*#__PURE__*/ B.createElement(n1, J$({
+ }, r)) : $$(e) ? /*#__PURE__*/ B.createElement(t1, q$({
key: "label-implicit",
content: e
- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ B.createElement(n1, J$({}, e, { key: "label-implicit" }, r)) : null;
+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ B.createElement(t1, q$({}, e, { key: "label-implicit" }, r)) : null;
};
-function i1(e) {
+function r1(e) {
var { label: t, labelRef: n } = e;
- return r1(t, Z$(), n) || null;
+ return n1(t, X$(), n) || null;
}
-function kMe(e) {
+function WMe(e) {
var { label: t } = e;
- return r1(t, $$()) || null;
+ return n1(t, Q$()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var AMe = ["valueAccessor"], jMe = [
+var GMe = ["valueAccessor"], KMe = [
"dataKey",
"clockWise",
"id",
"textBreakAll",
"zIndex"
];
-function a1() {
- return a1 = Object.assign ? Object.assign.bind() : function(e) {
+function i1() {
+ return i1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, a1.apply(null, arguments);
+ }, i1.apply(null, arguments);
}
-function o1(e, t) {
+function a1(e, t) {
if (e == null) return {};
- var n, r, i = MMe(e, t);
+ var n, r, i = qMe(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 MMe(e, t) {
+function qMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63491,21 +63650,21 @@ function MMe(e, t) {
}
return n;
}
-var NMe = (e) => {
+var JMe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (sMe(t)) return t;
-}, s1 = /*#__PURE__*/ (0, B.createContext)(void 0), c1 = s1.Provider, l1 = /*#__PURE__*/ (0, B.createContext)(void 0), PMe = l1.Provider;
-function FMe() {
- return (0, B.useContext)(s1);
-}
-function IMe() {
- return (0, B.useContext)(l1);
-}
-function u1(e) {
- var { valueAccessor: t = NMe } = e, n = o1(e, AMe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = o1(n, jMe), l = FMe(), u = IMe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: s ?? RK.label }, /*#__PURE__*/ B.createElement(sR, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = vz(r) ? t(e, i) : mU(e.payload, r), l = vz(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ B.createElement(n1, a1({ key: `label-${i}` }, rR(e), c, l, {
+ if (SMe(t)) return t;
+}, o1 = /*#__PURE__*/ (0, B.createContext)(void 0), s1 = o1.Provider, c1 = /*#__PURE__*/ (0, B.createContext)(void 0), YMe = c1.Provider;
+function XMe() {
+ return (0, B.useContext)(o1);
+}
+function ZMe() {
+ return (0, B.useContext)(c1);
+}
+function l1(e) {
+ var { valueAccessor: t = JMe } = e, n = a1(e, GMe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = a1(n, KMe), l = XMe(), u = ZMe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ B.createElement($Q, { zIndex: s ?? RK.label }, /*#__PURE__*/ B.createElement(nR, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = pz(r) ? t(e, i) : mU(e.payload, r), l = pz(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ B.createElement(t1, i1({ key: `label-${i}` }, QL(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -63516,41 +63675,41 @@ function u1(e) {
}));
})));
}
-u1.displayName = "LabelList";
-function d1(e) {
+l1.displayName = "LabelList";
+function u1(e) {
var { label: t } = e;
- return t ? t === !0 ? /*#__PURE__*/ B.createElement(u1, { key: "labelList-implicit" }) : /*#__PURE__*/ B.isValidElement(t) || e1(t) ? /*#__PURE__*/ B.createElement(u1, {
+ return t ? t === !0 ? /*#__PURE__*/ B.createElement(l1, { key: "labelList-implicit" }) : /*#__PURE__*/ B.isValidElement(t) || $$(t) ? /*#__PURE__*/ B.createElement(l1, {
key: "labelList-implicit",
content: t
- }) : typeof t == "object" ? /*#__PURE__*/ B.createElement(u1, a1({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
+ }) : typeof t == "object" ? /*#__PURE__*/ B.createElement(l1, i1({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var LMe = [
+var QMe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], RMe;
-function f1() {
- return f1 = Object.assign ? Object.assign.bind() : function(e) {
+], $Me;
+function d1() {
+ return d1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, f1.apply(null, arguments);
+ }, d1.apply(null, arguments);
}
-function zMe(e, t) {
+function eNe(e, t) {
if (e == null) return {};
- var n, r, i = BMe(e, t);
+ var n, r, i = tNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function BMe(e, t) {
+function tNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63559,23 +63718,23 @@ function BMe(e, t) {
}
return n;
}
-function VMe(e, t) {
+function nNe(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var p1 = (e) => e != null && e.x === +e.x && e.y === +e.y, HMe = function() {
+var f1 = (e) => e != null && e.x === +e.x && e.y === +e.y, rNe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- p1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ f1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- p1(n) && r && r.push(n);
+ f1(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
-}, m1 = (e, t) => {
- var n = HMe(e);
+}, p1 = (e, t) => {
+ var n = rNe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => cz(RMe ||= VMe([
+ var r = n.map((e) => e.reduce((e, t, n) => rz($Me ||= nNe([
"",
"",
"",
@@ -63583,29 +63742,29 @@ var p1 = (e) => e != null && e.x === +e.x && e.y === +e.y, HMe = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, UMe = (e, t, n) => {
- var r = m1(e, n);
- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${m1(Array.from(t).reverse(), n).slice(1)}`;
-}, h1 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = zMe(e, LMe);
+}, iNe = (e, t, n) => {
+ var r = p1(e, n);
+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${p1(Array.from(t).reverse(), n).slice(1)}`;
+}, m1 = (e) => {
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = eNe(e, QMe);
if (!t || !t.length) return null;
var o = Jr("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = UMe(t, r, i);
- return /*#__PURE__*/ B.createElement("g", { className: o }, /*#__PURE__*/ B.createElement("path", f1({}, rR(a), {
+ var s = a.stroke && a.stroke !== "none", c = iNe(t, r, i);
+ return /*#__PURE__*/ B.createElement("g", { className: o }, /*#__PURE__*/ B.createElement("path", d1({}, QL(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ B.createElement("path", f1({}, rR(a), {
+ })), s ? /*#__PURE__*/ B.createElement("path", d1({}, QL(a), {
fill: "none",
- d: m1(t, i)
- })) : null, s ? /*#__PURE__*/ B.createElement("path", f1({}, rR(a), {
+ d: p1(t, i)
+ })) : null, s ? /*#__PURE__*/ B.createElement("path", d1({}, QL(a), {
fill: "none",
- d: m1(r, i)
+ d: p1(r, i)
})) : null);
}
- var l = m1(t, i);
- return /*#__PURE__*/ B.createElement("path", f1({}, rR(a), {
+ var l = p1(t, i);
+ return /*#__PURE__*/ B.createElement("path", d1({}, QL(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -63613,36 +63772,36 @@ var p1 = (e) => e != null && e.x === +e.x && e.y === +e.y, HMe = function() {
};
//#endregion
//#region node_modules/recharts/es6/shape/Dot.js
-function g1() {
- return g1 = Object.assign ? Object.assign.bind() : function(e) {
+function h1() {
+ return h1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, g1.apply(null, arguments);
+ }, h1.apply(null, arguments);
}
-var _1 = (e) => {
+var g1 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = Jr("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ B.createElement("circle", g1({}, tR(e), Oz(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ B.createElement("circle", h1({}, XL(e), Cz(e), {
className: a,
cx: t,
cy: n,
r
})) : null;
-}, v1 = (e) => e.graphicalItems.polarItems, y1 = $([
- v1,
+}, _1 = (e) => e.graphicalItems.polarItems, v1 = $([
+ _1,
IX,
$([nq, rq], zX)
-], VX), b1 = $([$([y1], GX), pK], KX), x1 = $([
- b1,
+], VX), y1 = $([$([v1], GX), pK], KX), b1 = $([
+ y1,
IX,
- y1
+ v1
], JX);
$([
- b1,
+ y1,
IX,
- y1
+ v1
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
value: mU(e, t.dataKey ?? n.dataKey),
errorDomain: []
@@ -63653,71 +63812,71 @@ $([
value: mU(e, t.dataKey),
errorDomain: []
})));
-var S1 = () => void 0, C1 = $([
+var x1 = () => void 0, S1 = $([
IX,
tW,
+ y1,
b1,
- x1,
MK,
nq,
$([
IX,
+ oZ,
sZ,
- cZ,
- S1,
+ x1,
$([
- b1,
- IX,
y1,
- lZ,
+ IX,
+ v1,
+ cZ,
nq
- ], dZ),
- S1,
+ ], uZ),
+ x1,
tW,
nq
- ], yZ)
-], bZ), w1 = $([
- C1,
+ ], vZ)
+], yZ), C1 = $([
+ S1,
LX,
- SZ
-], CZ), WMe = $([SZ, $([
+ xZ
+], SZ), aNe = $([xZ, $([
IX,
+ S1,
C1,
- w1,
nq
-], TZ)], fq), T1 = (e, t, n) => {
+], wZ)], fq), w1 = (e, t, n) => {
switch (t) {
case "angleAxis": return qK(e, n);
case "radiusAxis": return JK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, E1 = (e, t, n) => {
+}, T1 = (e, t, n) => {
switch (t) {
- case "angleAxis": return wEe(e, n);
- case "radiusAxis": return TEe(e, n);
+ case "angleAxis": return REe(e, n);
+ case "radiusAxis": return zEe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, D1 = $([$([
- T1,
- SZ,
- WMe,
- E1
-], CX)], dq), O1 = $([
+}, E1 = $([$([
+ w1,
+ xZ,
+ aNe,
+ T1
+], CX)], dq), D1 = $([
tW,
- x1,
+ b1,
LX,
nq
-], AZ), k1 = $([
+], kZ), O1 = $([
tW,
- T1,
- SZ,
- D1,
w1,
+ xZ,
E1,
- VZ,
- O1,
+ C1,
+ T1,
+ BZ,
+ D1,
nq
-], UZ), GMe = $([k1], (e) => {
+], HZ), oNe = $([O1], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -63725,19 +63884,19 @@ var S1 = () => void 0, C1 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), KMe = $([
+}), sNe = $([
tW,
+ w1,
+ E1,
T1,
+ BZ,
D1,
- E1,
- VZ,
- O1,
nq
-], GZ), qMe = $([(e, t) => k1(e, "angleAxis", t, !1)], (e) => {
+], WZ), cNe = $([(e, t) => O1(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), JMe = $([(e, t) => k1(e, "radiusAxis", t, !1)], (e) => {
+}), lNe = $([(e, t) => O1(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), YMe = [
+}), uNe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -63750,16 +63909,16 @@ var S1 = () => void 0, C1 = $([
"polarRadius",
"zIndex"
];
-function XMe(e, t) {
+function dNe(e, t) {
if (e == null) return {};
- var n, r, i = ZMe(e, t);
+ var n, r, i = fNe(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 ZMe(e, t) {
+function fNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63768,16 +63927,16 @@ function ZMe(e, t) {
}
return n;
}
-function A1() {
- return A1 = Object.assign ? Object.assign.bind() : function(e) {
+function k1() {
+ return k1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, A1.apply(null, arguments);
+ }, k1.apply(null, arguments);
}
-function j1(e, t) {
+function A1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63787,30 +63946,30 @@ function j1(e, t) {
}
return n;
}
-function M1(e) {
+function j1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? j1(Object(n), !0).forEach(function(t) {
- QMe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j1(Object(n)).forEach(function(t) {
+ t % 2 ? A1(Object(n), !0).forEach(function(t) {
+ pNe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QMe(e, t, n) {
- return (t = $Me(t)) in e ? Object.defineProperty(e, t, {
+function pNe(e, t, n) {
+ return (t = mNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Me(e) {
- var t = eNe(e, "string");
+function mNe(e) {
+ var t = hNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eNe(e, t) {
+function hNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63820,69 +63979,69 @@ function eNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var tNe = (e, t, n, r) => {
+var gNe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = rK(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, nNe = (e) => {
+}, _Ne = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = M1({ stroke: "#ccc" }, tR(e));
+ var s = j1({ stroke: "#ccc" }, XL(e));
return /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = rK(t, n, r, e), o = rK(t, n, i, e);
- return /*#__PURE__*/ B.createElement("line", A1({ key: `line-${e}` }, s, {
+ return /*#__PURE__*/ B.createElement("line", k1({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
x2: o.x,
y2: o.y
}));
}));
-}, N1 = (e) => {
- var { cx: t, cy: n, radius: r } = e, i = M1({
+}, M1 = (e) => {
+ var { cx: t, cy: n, radius: r } = e, i = j1({
stroke: "#ccc",
fill: "none"
- }, tR(e));
- return /*#__PURE__*/ B.createElement("circle", A1({}, i, {
+ }, XL(e));
+ return /*#__PURE__*/ B.createElement("circle", k1({}, i, {
className: Jr("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, P1 = (e) => {
- var { radius: t } = e, n = M1({
+}, N1 = (e) => {
+ var { radius: t } = e, n = j1({
stroke: "#ccc",
fill: "none"
- }, tR(e));
- return /*#__PURE__*/ B.createElement("path", A1({}, n, {
+ }, XL(e));
+ return /*#__PURE__*/ B.createElement("path", k1({}, n, {
className: Jr("recharts-polar-grid-concentric-polygon", e.className),
- d: tNe(t, e.cx, e.cy, e.polarAngles)
+ d: gNe(t, e.cx, e.cy, e.polarAngles)
}));
-}, rNe = (e) => {
+}, vNe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ B.createElement(N1, A1({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ B.createElement(P1, A1({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ B.createElement(M1, k1({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ B.createElement(N1, k1({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ B.createElement(N1, A1({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ B.createElement(M1, k1({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ B.createElement(P1, A1({ key: i }, e, {
+ })) : /*#__PURE__*/ B.createElement(N1, k1({ key: i }, e, {
fill: "none",
radius: t
}));
}));
-}, iNe = {
+}, yNe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
zIndex: RK.grid
-}, F1 = (e) => {
- var t = jz(e, iNe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = XMe(t, YMe), m = Q(tq), h = Q((e) => qMe(e, i)), g = Q((e) => JMe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+}, P1 = (e) => {
+ var t = Ez(e, yNe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = dNe(t, uNe), m = Q(tq), h = Q((e) => cNe(e, i)), g = Q((e) => lNe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
- var y = M1({
+ var y = j1({
cx: m?.cx ?? o ?? 0,
cy: m?.cy ?? s ?? 0,
innerRadius: m?.innerRadius ?? c ?? 0,
@@ -63891,13 +64050,13 @@ var tNe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: y.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ B.createElement(rNe, A1({
+ return b <= 0 ? null : /*#__PURE__*/ B.createElement($Q, { zIndex: y.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ B.createElement(vNe, k1({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ B.createElement(nNe, A1({
+ })), /*#__PURE__*/ B.createElement(_Ne, k1({
gridType: n,
radialLines: r
}, y, {
@@ -63905,19 +64064,19 @@ var tNe = (e, t, n, r) => {
polarRadius: v
}))));
};
-F1.displayName = "PolarGrid";
+P1.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
-function I1(e) {
+function F1(e) {
return Array.isArray(e) ? e : Array.from(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function aNe(e, t = Iz) {
+function bNe(e, t = jz) {
if (e == null) return;
- let n = I1(e);
+ let n = F1(e);
if (n.length === 0) return;
- let r = gB(t), i, a;
+ let r = vB(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);
@@ -63926,11 +64085,11 @@ function aNe(e, t = Iz) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function oNe(e, t = Iz) {
+function xNe(e, t = jz) {
if (e == null) return;
- let n = I1(e);
+ let n = F1(e);
if (n.length === 0) return;
- let r = gB(t), i, a;
+ let r = vB(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);
@@ -63939,7 +64098,7 @@ function oNe(e, t = Iz) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var L1 = FH({
+var I1 = FH({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -63959,35 +64118,35 @@ var L1 = FH({
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: sNe, removeRadiusAxis: cNe, addAngleAxis: lNe, removeAngleAxis: uNe } = L1.actions, dNe = L1.reducer;
+}), { addRadiusAxis: SNe, removeRadiusAxis: CNe, addAngleAxis: wNe, removeAngleAxis: TNe } = I1.actions, ENe = I1.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
-function R1(e) {
+function L1(e) {
return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var fNe = ["type"], pNe = [
+var DNe = ["type"], ONe = [
"cx",
"cy",
"angle",
"axisLine"
-], mNe = [
+], kNe = [
"angle",
"tickFormatter",
"stroke",
"tick"
];
-function z1() {
- return z1 = Object.assign ? Object.assign.bind() : function(e) {
+function R1() {
+ return R1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, z1.apply(null, arguments);
+ }, R1.apply(null, arguments);
}
-function B1(e, t) {
+function z1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63997,30 +64156,30 @@ function B1(e, t) {
}
return n;
}
-function V1(e) {
+function B1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? B1(Object(n), !0).forEach(function(t) {
- hNe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B1(Object(n)).forEach(function(t) {
+ t % 2 ? z1(Object(n), !0).forEach(function(t) {
+ ANe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function hNe(e, t, n) {
- return (t = gNe(t)) in e ? Object.defineProperty(e, t, {
+function ANe(e, t, n) {
+ return (t = jNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function gNe(e) {
- var t = _Ne(e, "string");
+function jNe(e) {
+ var t = MNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function _Ne(e, t) {
+function MNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64030,16 +64189,16 @@ function _Ne(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function H1(e, t) {
+function V1(e, t) {
if (e == null) return {};
- var n, r, i = vNe(e, t);
+ var n, r, i = NNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function vNe(e, t) {
+function NNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64048,20 +64207,20 @@ function vNe(e, t) {
}
return n;
}
-var yNe = "radiusAxis";
-function bNe(e) {
- var t = TB(), n = aW(), r = (0, B.useMemo)(() => {
- var { type: t } = e, r = H1(e, fNe), i = HK(n, "radiusAxis", t);
- if (i != null) return V1(V1({}, r), {}, { type: i });
+var PNe = "radiusAxis";
+function FNe(e) {
+ var t = DB(), n = aW(), r = (0, B.useMemo)(() => {
+ var { type: t } = e, r = V1(e, DNe), i = HK(n, "radiusAxis", t);
+ if (i != null) return B1(B1({}, r), {}, { type: i });
}, [e, n]);
- return (0, B.useEffect)(() => r == null ? xz : (t(sNe(r)), () => {
- t(cNe(r));
+ return (0, B.useEffect)(() => r == null ? gz : (t(SNe(r)), () => {
+ t(CNe(r));
}), [t, r]), null;
}
-var xNe = (e, t, n, r) => {
+var INe = (e, t, n, r) => {
var { coordinate: i } = e;
return rK(n, r, i, t);
-}, SNe = (e) => {
+}, LNe = (e) => {
var t;
switch (e) {
case "left":
@@ -64073,49 +64232,49 @@ var xNe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, CNe = (e, t, n, r) => {
- var i = aNe(r, (e) => e.coordinate || 0);
+}, RNe = (e, t, n, r) => {
+ var i = bNe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: oNe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: xNe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, wNe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = H1(e, pNe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = rK(n, r, s[0], i), l = rK(n, r, s[1], i), u = V1(V1(V1({}, tR(o)), {}, { fill: "none" }, tR(a)), {}, {
+}, zNe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = V1(e, ONe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = rK(n, r, s[0], i), l = rK(n, r, s[1], i), u = B1(B1(B1({}, XL(o)), {}, { fill: "none" }, XL(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
- return /*#__PURE__*/ B.createElement("line", z1({ className: "recharts-polar-radius-axis-line" }, u));
-}, TNe = (e, t, n) => /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ B.createElement(H$, z1({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), ENe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = H1(e, mNe), s = SNe(e.orientation), c = tR(o), l = nR(a), u = t.map((t, o) => {
- var u = xNe(t, e.angle, e.cx, e.cy), d = V1(V1(V1(V1({
+ return /*#__PURE__*/ B.createElement("line", R1({ className: "recharts-polar-radius-axis-line" }, u));
+}, BNe = (e, t, n) => /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ B.createElement(V$, R1({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), VNe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = V1(e, kNe), s = LNe(e.orientation), c = XL(o), l = ZL(a), u = t.map((t, o) => {
+ var u = INe(t, e.angle, e.cx, e.cy), d = B1(B1(B1(B1({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ B.createElement(sR, z1({
- className: Jr("recharts-polar-radius-axis-tick", R1(a)),
+ return /*#__PURE__*/ B.createElement(nR, R1({
+ className: Jr("recharts-polar-radius-axis-tick", L1(a)),
key: `tick-${t.coordinate}`
- }, kz(e, t, o)), TNe(a, d, r ? r(t.value, o) : t.value));
+ }, wz(e, t, o)), BNe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ B.createElement(sR, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, DNe = (e) => {
- var { radiusAxisId: t } = e, n = Q(tq), r = Q((e) => D1(e, "radiusAxis", t)), i = Q((e) => k1(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ B.createElement(nR, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, HNe = (e) => {
+ var { radiusAxisId: t } = e, n = Q(tq), r = Q((e) => E1(e, "radiusAxis", t)), i = Q((e) => O1(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
- var a = V1(V1({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ B.createElement(e$, { zIndex: a.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: Jr("recharts-polar-radius-axis", yNe, a.className) }, s && wNe(a, i), o && ENe(a, i), /*#__PURE__*/ B.createElement(SMe, CNe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ B.createElement(kMe, { label: a.label }), a.children)));
+ var a = B1(B1({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: a.zIndex }, /*#__PURE__*/ B.createElement(nR, { className: Jr("recharts-polar-radius-axis", PNe, a.className) }, s && zNe(a, i), o && VNe(a, i), /*#__PURE__*/ B.createElement(LMe, RNe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ B.createElement(WMe, { label: a.label }), a.children)));
};
-function U1(e) {
- var t = jz(e, BK);
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(bNe, {
+function H1(e) {
+ var t = Ez(e, BK);
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(FNe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -64132,22 +64291,22 @@ function U1(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ B.createElement(DNe, t));
+ }), /*#__PURE__*/ B.createElement(HNe, t));
}
-U1.displayName = "PolarRadiusAxis";
+H1.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var ONe = ["children", "type"], kNe = ["ref"];
-function W1() {
- return W1 = Object.assign ? Object.assign.bind() : function(e) {
+var UNe = ["children", "type"], WNe = ["ref"];
+function U1() {
+ return U1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, W1.apply(null, arguments);
+ }, U1.apply(null, arguments);
}
-function G1(e, t) {
+function W1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64157,30 +64316,30 @@ function G1(e, t) {
}
return n;
}
-function K1(e) {
+function G1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? G1(Object(n), !0).forEach(function(t) {
- ANe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G1(Object(n)).forEach(function(t) {
+ t % 2 ? W1(Object(n), !0).forEach(function(t) {
+ GNe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ANe(e, t, n) {
- return (t = jNe(t)) in e ? Object.defineProperty(e, t, {
+function GNe(e, t, n) {
+ return (t = KNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jNe(e) {
- var t = MNe(e, "string");
+function KNe(e) {
+ var t = qNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MNe(e, t) {
+function qNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64190,16 +64349,16 @@ function MNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function q1(e, t) {
+function K1(e, t) {
if (e == null) return {};
- var n, r, i = NNe(e, t);
+ var n, r, i = JNe(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 NNe(e, t) {
+function JNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64208,17 +64367,17 @@ function NNe(e, t) {
}
return n;
}
-var J1 = 1e-5, PNe = Math.cos(nK(45)), FNe = "angleAxis";
-function INe(e) {
- var t = TB(), n = aW(), r = (0, B.useMemo)(() => {
- var { children: t, type: r } = e, i = q1(e, ONe), a = HK(n, "angleAxis", r);
- if (a != null) return K1(K1({}, i), {}, { type: a });
+var q1 = 1e-5, YNe = Math.cos(nK(45)), XNe = "angleAxis";
+function ZNe(e) {
+ var t = DB(), n = aW(), r = (0, B.useMemo)(() => {
+ var { children: t, type: r } = e, i = K1(e, UNe), a = HK(n, "angleAxis", r);
+ if (a != null) return G1(G1({}, i), {}, { type: a });
}, [e, n]), i = r === Q((e) => qK(e, r?.id));
- return (0, B.useEffect)(() => r == null ? xz : (t(lNe(r)), () => {
- t(uNe(r));
+ return (0, B.useEffect)(() => r == null ? gz : (t(wNe(r)), () => {
+ t(TNe(r));
}), [t, r]), i ? e.children : null;
}
-var LNe = (e, t) => {
+var QNe = (e, t) => {
var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = rK(n, r, i, e.coordinate), l = rK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
@@ -64226,29 +64385,29 @@ var LNe = (e, t) => {
x2: l.x,
y2: l.y
};
-}, RNe = (e, t) => {
+}, $Ne = (e, t) => {
var n = Math.cos(nK(-e.coordinate));
- return n > J1 ? t === "outer" ? "start" : "end" : n < -J1 ? t === "outer" ? "end" : "start" : "middle";
-}, zNe = (e) => {
+ return n > q1 ? t === "outer" ? "start" : "end" : n < -q1 ? t === "outer" ? "end" : "start" : "middle";
+}, ePe = (e) => {
var t = Math.cos(nK(-e.coordinate)), n = Math.sin(nK(-e.coordinate));
- return Math.abs(t) <= PNe ? n > 0 ? "start" : "end" : "middle";
-}, BNe = (e) => {
+ return Math.abs(t) <= YNe ? n > 0 ? "start" : "end" : "middle";
+}, tPe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = K1(K1({}, tR(e)), {}, { fill: "none" }, tR(a));
- if (i === "circle") return /*#__PURE__*/ B.createElement(_1, W1({ className: "recharts-polar-angle-axis-line" }, s, {
+ var s = G1(G1({}, XL(e)), {}, { fill: "none" }, XL(a));
+ if (i === "circle") return /*#__PURE__*/ B.createElement(g1, U1({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
var c = o.map((e) => rK(t, n, r, e.coordinate));
- return /*#__PURE__*/ B.createElement(h1, W1({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, VNe = (e) => {
+ return /*#__PURE__*/ B.createElement(m1, U1({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
+}, nPe = (e) => {
var { tick: t, tickProps: n, value: r } = e;
- return t ? /*#__PURE__*/ B.isValidElement(t) ? /*#__PURE__*/ B.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ B.createElement(H$, W1({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, HNe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = tR(e), { ref: s } = o, c = q1(o, kNe), l = nR(t), u = K1(K1({}, c), {}, { fill: "none" }, tR(n)), d = a.map((a, o) => {
- var s = LNe(a, e), d = RNe(a, e.orientation), f = zNe(a), p = K1(K1(K1({}, c), {}, {
+ return t ? /*#__PURE__*/ B.isValidElement(t) ? /*#__PURE__*/ B.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ B.createElement(V$, U1({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+}, rPe = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = XL(e), { ref: s } = o, c = K1(o, WNe), l = ZL(t), u = G1(G1({}, c), {}, { fill: "none" }, XL(n)), d = a.map((a, o) => {
+ var s = QNe(a, e), d = $Ne(a, e.orientation), f = ePe(a), p = G1(G1(G1({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -64259,28 +64418,28 @@ var LNe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ B.createElement(sR, W1({
- className: Jr("recharts-polar-angle-axis-tick", R1(t)),
+ return /*#__PURE__*/ B.createElement(nR, U1({
+ className: Jr("recharts-polar-angle-axis-tick", L1(t)),
key: `tick-${a.coordinate}`
- }, kz(e, a, o)), n && /*#__PURE__*/ B.createElement("line", W1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ B.createElement(VNe, {
+ }, wz(e, a, o)), n && /*#__PURE__*/ B.createElement("line", U1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ B.createElement(nPe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ B.createElement(sR, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, UNe = (e) => {
- var { angleAxisId: t } = e, n = Q(tq), r = Q((e) => D1(e, "angleAxis", t)), i = LU(), a = Q((e) => GMe(e, "angleAxis", t, i));
+ return /*#__PURE__*/ B.createElement(nR, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, iPe = (e) => {
+ var { angleAxisId: t } = e, n = Q(tq), r = Q((e) => E1(e, "angleAxis", t)), i = LU(), a = Q((e) => oNe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
- var o = K1(K1(K1({}, e), {}, { scale: r }, n), {}, {
+ var o = G1(G1(G1({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ B.createElement(e$, { zIndex: o.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: Jr("recharts-polar-angle-axis", FNe, o.className) }, /*#__PURE__*/ B.createElement(BNe, o), /*#__PURE__*/ B.createElement(HNe, o)));
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: o.zIndex }, /*#__PURE__*/ B.createElement(nR, { className: Jr("recharts-polar-angle-axis", XNe, o.className) }, /*#__PURE__*/ B.createElement(tPe, o), /*#__PURE__*/ B.createElement(rPe, o)));
};
-function Y1(e) {
- var t = jz(e, zK);
- return /*#__PURE__*/ B.createElement(INe, {
+function J1(e) {
+ var t = Ez(e, zK);
+ return /*#__PURE__*/ B.createElement(ZNe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -64297,12 +64456,12 @@ function Y1(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ B.createElement(UNe, t));
+ }, /*#__PURE__*/ B.createElement(iPe, t));
}
-Y1.displayName = "PolarAngleAxis";
+J1.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var WNe = /* @__PURE__ */ mt(((e) => {
+var aPe = /* @__PURE__ */ mt(((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) {
@@ -64331,26 +64490,26 @@ var WNe = /* @__PURE__ */ mt(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), GNe = (/* @__PURE__ */ mt(((e, t) => {
- t.exports = WNe();
-})))(), X1 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", Z1 = null, Q1 = null, $1 = (e) => {
- if (e === Z1 && Array.isArray(Q1)) return Q1;
+})), oPe = (/* @__PURE__ */ mt(((e, t) => {
+ t.exports = aPe();
+})))(), Y1 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", X1 = null, Z1 = null, Q1 = (e) => {
+ if (e === X1 && Array.isArray(Z1)) return Z1;
var t = [];
return B.Children.forEach(e, (e) => {
- vz(e) || ((0, GNe.isFragment)(e) ? t = t.concat($1(e.props.children)) : t.push(e));
- }), Q1 = t, Z1 = e, t;
+ pz(e) || ((0, oPe.isFragment)(e) ? t = t.concat(Q1(e.props.children)) : t.push(e));
+ }), Z1 = t, X1 = e, t;
};
-function e0(e, t) {
+function $1(e, t) {
var n = [], r = [];
- return r = Array.isArray(t) ? t.map((e) => X1(e)) : [X1(t)], $1(e).forEach((e) => {
- var t = oz(e, "type.displayName") || oz(e, "type.name");
+ return r = Array.isArray(t) ? t.map((e) => Y1(e)) : [Y1(t)], Q1(e).forEach((e) => {
+ var t = tz(e, "type.displayName") || tz(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
-var t0 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
+var e0 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function KNe(e) {
+function sPe(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -64363,8 +64522,8 @@ function KNe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var qNe, JNe, YNe, XNe, ZNe;
-function n0(e, t) {
+var cPe, lPe, uPe, dPe, fPe;
+function t0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64374,30 +64533,30 @@ function n0(e, t) {
}
return n;
}
-function r0(e) {
+function n0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? n0(Object(n), !0).forEach(function(t) {
- QNe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n0(Object(n)).forEach(function(t) {
+ t % 2 ? t0(Object(n), !0).forEach(function(t) {
+ pPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QNe(e, t, n) {
- return (t = $Ne(t)) in e ? Object.defineProperty(e, t, {
+function pPe(e, t, n) {
+ return (t = mPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Ne(e) {
- var t = ePe(e, "string");
+function mPe(e) {
+ var t = hPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ePe(e, t) {
+function hPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64407,42 +64566,42 @@ function ePe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function i0() {
- return i0 = Object.assign ? Object.assign.bind() : function(e) {
+function r0() {
+ return r0 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, i0.apply(null, arguments);
+ }, r0.apply(null, arguments);
}
-function a0(e, t) {
+function i0(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var o0 = (e, t, n, r, i) => {
- var a = n - r, o = cz(qNe ||= a0([
+var a0 = (e, t, n, r, i) => {
+ var a = n - r, o = rz(cPe ||= i0([
"M ",
",",
""
]), e, t);
- return o += cz(JNe ||= a0([
+ return o += rz(lPe ||= i0([
"L ",
",",
""
- ]), e + n, t), o += cz(YNe ||= a0([
+ ]), e + n, t), o += rz(uPe ||= i0([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += cz(XNe ||= a0([
+ ]), e + n - a / 2, t + i), o += rz(dPe ||= i0([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += cz(ZNe ||= a0([
+ ]), e + n - a / 2 - r, t + i), o += rz(fPe ||= i0([
"L ",
",",
" Z"
]), e, t), o;
-}, tPe = {
+}, gPe = {
x: 0,
y: 0,
upperWidth: 0,
@@ -64452,8 +64611,8 @@ var o0 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, nPe = (e) => {
- var t = jz(e, tPe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, B.useRef)(null), [p, m] = (0, B.useState)(-1), h = (0, B.useRef)(i), g = (0, B.useRef)(a), _ = (0, B.useRef)(o), v = (0, B.useRef)(n), y = (0, B.useRef)(r), b = WG(e, "trapezoid-");
+}, _Pe = (e) => {
+ var t = Ez(e, gPe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, B.useRef)(null), [p, m] = (0, B.useState)(-1), h = (0, B.useRef)(i), g = (0, B.useRef)(a), _ = (0, B.useRef)(o), v = (0, B.useRef)(n), y = (0, B.useRef)(r), b = WG(e, "trapezoid-");
if ((0, B.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -64461,9 +64620,9 @@ var o0 = (e, t, n, r, i) => {
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
var x = Jr("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ B.createElement("g", null, /*#__PURE__*/ B.createElement("path", i0({}, rR(t), {
+ if (!d) return /*#__PURE__*/ B.createElement("g", null, /*#__PURE__*/ B.createElement("path", r0({}, QL(t), {
className: x,
- d: o0(n, r, i, a, o)
+ d: a0(n, r, i, a, o)
})));
var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = AG(["strokeDasharray"], l, c);
return /*#__PURE__*/ B.createElement(UG, {
@@ -64475,35 +64634,35 @@ var o0 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = gz(S, i, e), c = gz(C, a, e), l = gz(w, o, e), u = gz(T, n, e), d = gz(E, r, e);
+ var s = dz(S, i, e), c = dz(C, a, e), l = dz(w, o, e), u = dz(T, n, e), d = dz(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ B.createElement("path", i0({}, rR(t), {
+ return /*#__PURE__*/ B.createElement("path", r0({}, QL(t), {
className: x,
- d: o0(u, d, s, c, l),
+ d: a0(u, d, s, c, l),
ref: f,
- style: r0(r0({}, p), t.style)
+ style: n0(n0({}, p), t.style)
}));
});
-}, rPe = [
+}, vPe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function iPe(e, t) {
+function yPe(e, t) {
if (e == null) return {};
- var n, r, i = aPe(e, t);
+ var n, r, i = bPe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function aPe(e, t) {
+function bPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64512,7 +64671,7 @@ function aPe(e, t) {
}
return n;
}
-function s0(e, t) {
+function o0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64522,30 +64681,30 @@ function s0(e, t) {
}
return n;
}
-function c0(e) {
+function s0(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) {
- oPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s0(Object(n)).forEach(function(t) {
+ t % 2 ? o0(Object(n), !0).forEach(function(t) {
+ xPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oPe(e, t, n) {
- return (t = sPe(t)) in e ? Object.defineProperty(e, t, {
+function xPe(e, t, n) {
+ return (t = SPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sPe(e) {
- var t = cPe(e, "string");
+function SPe(e) {
+ var t = CPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cPe(e, t) {
+function CPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64555,68 +64714,68 @@ function cPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function lPe(e, t) {
- return c0(c0({}, t), e);
+function wPe(e, t) {
+ return s0(s0({}, t), e);
}
-function uPe(e, t) {
+function TPe(e, t) {
return e === "symbols";
}
-function l0(e) {
+function c0(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
case "rectangle": return /*#__PURE__*/ B.createElement(QG, n);
- case "trapezoid": return /*#__PURE__*/ B.createElement(nPe, n);
+ case "trapezoid": return /*#__PURE__*/ B.createElement(_Pe, n);
case "sector": return /*#__PURE__*/ B.createElement(lK, n);
case "symbols":
- if (uPe(t, n)) return /*#__PURE__*/ B.createElement(Ez, n);
+ if (TPe(t, n)) return /*#__PURE__*/ B.createElement(xz, n);
break;
case "curve": return /*#__PURE__*/ B.createElement(TG, n);
default: return null;
}
}
-function dPe(e) {
+function EPe(e) {
return /*#__PURE__*/ (0, B.isValidElement)(e) ? e.props : e;
}
-function u0(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = iPe(e, rPe), o;
- if (/*#__PURE__*/ (0, B.isValidElement)(t)) o = /*#__PURE__*/ (0, B.cloneElement)(t, c0(c0({}, a), dPe(t)));
+function l0(e) {
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = yPe(e, vPe), o;
+ if (/*#__PURE__*/ (0, B.isValidElement)(t)) o = /*#__PURE__*/ (0, B.cloneElement)(t, s0(s0({}, a), EPe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (KNe(t) && typeof t != "boolean") {
- var s = lPe(t, a);
- o = /*#__PURE__*/ B.createElement(l0, {
+ else if (sPe(t) && typeof t != "boolean") {
+ var s = wPe(t, a);
+ o = /*#__PURE__*/ B.createElement(c0, {
shapeType: n,
elementProps: s
});
} else {
var c = a;
- o = /*#__PURE__*/ B.createElement(l0, {
+ o = /*#__PURE__*/ B.createElement(c0, {
shapeType: n,
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ B.createElement(sR, { className: r }, o) : /*#__PURE__*/ B.createElement(sR, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ B.createElement(nR, { className: r }, o) : /*#__PURE__*/ B.createElement(nR, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
-var d0 = (e, t, n) => {
- var r = TB();
+var u0 = (e, t, n) => {
+ var r = DB();
return (i, a) => (o) => {
- e?.(i, a, o), r(tQ({
+ e?.(i, a, o), r(eQ({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
activeGraphicalItemId: n
}));
};
-}, f0 = (e) => {
- var t = TB();
+}, d0 = (e) => {
+ var t = DB();
return (n, r) => (i) => {
- e?.(n, r, i), t(Xke());
+ e?.(n, r, i), t(dAe());
};
-}, p0 = (e, t, n) => {
- var r = TB();
+}, f0 = (e, t, n) => {
+ var r = DB();
return (i, a) => (o) => {
- e?.(i, a, o), r(Zke({
+ e?.(i, a, o), r(fAe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -64626,10 +64785,10 @@ var d0 = (e, t, n) => {
};
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
-function m0(e) {
- var { tooltipEntrySettings: t } = e, n = TB(), r = LU(), i = (0, B.useRef)(null);
+function p0(e) {
+ var { tooltipEntrySettings: t } = e, n = DB(), r = LU(), i = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
- r || (i.current === null ? n(Kke(t)) : i.current !== t && n(qke({
+ r || (i.current === null ? n(sAe(t)) : i.current !== t && n(cAe({
prev: i.current,
next: t
})), i.current = t);
@@ -64638,13 +64797,13 @@ function m0(e) {
n,
r
]), (0, B.useLayoutEffect)(() => () => {
- i.current &&= (n(Jke(i.current)), null);
+ i.current &&= (n(lAe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
-function h0(e) {
- var { legendPayload: t } = e, n = TB(), r = LU(), i = (0, B.useRef)(null);
+function m0(e) {
+ var { legendPayload: t } = e, n = DB(), r = LU(), i = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
r || (i.current === null ? n(YW(t)) : i.current !== t && n(XW({
prev: i.current,
@@ -64658,8 +64817,8 @@ function h0(e) {
i.current &&= (n(ZW(i.current)), null);
}, [n]), null;
}
-function g0(e) {
- var { legendPayload: t } = e, n = TB(), r = Q(tW), i = (0, B.useRef)(null);
+function h0(e) {
+ var { legendPayload: t } = e, n = DB(), r = Q(tW), i = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
(r === "centric" || r === "radial") && (i.current === null ? n(YW(t)) : i.current !== t && n(XW({
prev: i.current,
@@ -64675,22 +64834,22 @@ function g0(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var fPe = B.useId ?? (() => {
- var [e] = B.useState(() => pz("uid-"));
+var DPe = B.useId ?? (() => {
+ var [e] = B.useState(() => cz("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function pPe(e, t) {
- var n = fPe();
+function OPe(e, t) {
+ var n = DPe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var mPe = /*#__PURE__*/ (0, B.createContext)(void 0), _0 = (e) => {
- var { id: t, type: n, children: r } = e, i = pPe(`recharts-${n}`, t);
- return /*#__PURE__*/ B.createElement(mPe.Provider, { value: i }, r(i));
-}, v0 = FH({
+var kPe = /*#__PURE__*/ (0, B.createContext)(void 0), g0 = (e) => {
+ var { id: t, type: n, children: r } = e, i = OPe(`recharts-${n}`, t);
+ return /*#__PURE__*/ B.createElement(kPe.Provider, { value: i }, r(i));
+}, _0 = FH({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -64738,41 +64897,41 @@ var mPe = /*#__PURE__*/ (0, B.createContext)(void 0), _0 = (e) => {
prepare: jH()
}
}
-}), { addCartesianGraphicalItem: hPe, replaceCartesianGraphicalItem: gPe, removeCartesianGraphicalItem: _Pe, addPolarGraphicalItem: vPe, removePolarGraphicalItem: yPe, replacePolarGraphicalItem: bPe } = v0.actions, xPe = v0.reducer, y0 = /*#__PURE__*/ (0, B.memo)((e) => {
- var t = TB(), n = (0, B.useRef)(null);
+}), { addCartesianGraphicalItem: APe, replaceCartesianGraphicalItem: jPe, removeCartesianGraphicalItem: MPe, addPolarGraphicalItem: NPe, removePolarGraphicalItem: PPe, replacePolarGraphicalItem: FPe } = _0.actions, IPe = _0.reducer, v0 = /*#__PURE__*/ (0, B.memo)((e) => {
+ var t = DB(), n = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
- n.current === null ? t(hPe(e)) : n.current !== e && t(gPe({
+ n.current === null ? t(APe(e)) : n.current !== e && t(jPe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, B.useLayoutEffect)(() => () => {
- n.current &&= (t(_Pe(n.current)), null);
+ n.current &&= (t(MPe(n.current)), null);
}, [t]), null;
-}), b0 = /*#__PURE__*/ (0, B.memo)((e) => {
- var t = TB(), n = (0, B.useRef)(null);
+}), y0 = /*#__PURE__*/ (0, B.memo)((e) => {
+ var t = DB(), n = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
- n.current === null ? t(vPe(e)) : n.current !== e && t(bPe({
+ n.current === null ? t(NPe(e)) : n.current !== e && t(FPe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, B.useLayoutEffect)(() => () => {
- n.current &&= (t(yPe(n.current)), null);
+ n.current &&= (t(PPe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function SPe(e) {
+function LPe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function CPe(e) {
- if (!(!Lz(e) || e.length === 0)) return SPe(I1(e));
+function RPe(e) {
+ if (!(!Mz(e) || e.length === 0)) return LPe(F1(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var wPe = ["points"];
-function x0(e, t) {
+var zPe = ["points"];
+function b0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64782,30 +64941,30 @@ function x0(e, t) {
}
return n;
}
-function S0(e) {
+function x0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? x0(Object(n), !0).forEach(function(t) {
- TPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x0(Object(n)).forEach(function(t) {
+ t % 2 ? b0(Object(n), !0).forEach(function(t) {
+ BPe(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 TPe(e, t, n) {
- return (t = EPe(t)) in e ? Object.defineProperty(e, t, {
+function BPe(e, t, n) {
+ return (t = S0(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EPe(e) {
- var t = DPe(e, "string");
+function S0(e) {
+ var t = VPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DPe(e, t) {
+function VPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64824,16 +64983,16 @@ function C0() {
return e;
}, C0.apply(null, arguments);
}
-function OPe(e, t) {
+function HPe(e, t) {
if (e == null) return {};
- var n, r, i = kPe(e, t);
+ var n, r, i = UPe(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 kPe(e, t) {
+function UPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64842,21 +65001,21 @@ function kPe(e, t) {
}
return n;
}
-function APe(e) {
+function WPe(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, B.isValidElement)(t)) return /*#__PURE__*/ (0, B.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Jr(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = OPe(a, wPe);
- return /*#__PURE__*/ B.createElement(_1, C0({}, s, { className: i }));
+ var i = Jr(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = HPe(a, zPe);
+ return /*#__PURE__*/ B.createElement(g1, C0({}, s, { className: i }));
}
-function jPe(e, t) {
+function GPe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function w0(e) {
var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = RK.scatter } = e;
- if (!jPe(t, n)) return null;
- var u = t0(n), d = Abe(n), f = t.map((e, r) => {
- var s = S0(S0(S0({ r: 3 }, o), d), {}, {
+ if (!GPe(t, n)) return null;
+ var u = e0(n), d = Ybe(n), f = t.map((e, r) => {
+ var s = x0(x0(x0({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
cy: e.y ?? void 0,
@@ -64865,14 +65024,14 @@ function w0(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ B.createElement(APe, {
+ return /*#__PURE__*/ B.createElement(WPe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ B.createElement(e$, { zIndex: l }, /*#__PURE__*/ B.createElement(sR, C0({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ B.createElement($Q, { zIndex: l }, /*#__PURE__*/ B.createElement(nR, C0({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -64890,26 +65049,26 @@ function E0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? T0(Object(n), !0).forEach(function(t) {
- MPe(e, t, n[t]);
+ KPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function MPe(e, t, n) {
- return (t = NPe(t)) in e ? Object.defineProperty(e, t, {
+function KPe(e, t, n) {
+ return (t = qPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function NPe(e) {
- var t = PPe(e, "string");
+function qPe(e) {
+ var t = JPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function PPe(e, t) {
+function JPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64997,7 +65156,7 @@ var D0 = FH({
}
}
}
-}), { addXAxis: FPe, replaceXAxis: IPe, removeXAxis: LPe, addYAxis: RPe, replaceYAxis: zPe, removeYAxis: BPe, addZAxis: VPe, replaceZAxis: HPe, removeZAxis: UPe, updateYAxisWidth: WPe } = D0.actions, GPe = D0.reducer, KPe = $([
+}), { addXAxis: YPe, replaceXAxis: XPe, removeXAxis: ZPe, addYAxis: QPe, replaceYAxis: $Pe, removeYAxis: eFe, addZAxis: tFe, replaceZAxis: nFe, removeZAxis: rFe, updateYAxisWidth: iFe } = D0.actions, aFe = D0.reducer, oFe = $([
$([FU], (e) => ({
top: e.top,
bottom: e.bottom,
@@ -65013,7 +65172,7 @@ var D0 = FH({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), O0 = () => Q(KPe), qPe = () => Q(EAe);
+}), O0 = () => Q(oFe), sFe = () => Q(VAe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function k0(e, t) {
@@ -65030,26 +65189,26 @@ function A0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? k0(Object(n), !0).forEach(function(t) {
- JPe(e, t, n[t]);
+ cFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function JPe(e, t, n) {
- return (t = YPe(t)) in e ? Object.defineProperty(e, t, {
+function cFe(e, t, n) {
+ return (t = lFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function YPe(e) {
- var t = XPe(e, "string");
+function lFe(e) {
+ var t = uFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function XPe(e, t) {
+function uFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65059,7 +65218,7 @@ function XPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var ZPe = (e) => {
+var dFe = (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 = A0(A0(A0({}, {
@@ -65073,17 +65232,17 @@ var ZPe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), nR(i)), Oz(i)), c = /*#__PURE__*/ (0, B.isValidElement)(i) ? /*#__PURE__*/ (0, B.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ B.createElement(_1, s);
- return /*#__PURE__*/ B.createElement(sR, {
+ }), ZL(i)), Cz(i)), c = /*#__PURE__*/ (0, B.isValidElement)(i) ? /*#__PURE__*/ (0, B.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ B.createElement(g1, s);
+ return /*#__PURE__*/ B.createElement(nR, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function j0(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = RK.activeDot } = e, s = Q(NQ), c = qPe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = RK.activeDot } = e, s = Q(MQ), c = sFe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return vz(l) ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: o }, /*#__PURE__*/ B.createElement(ZPe, {
+ return pz(l) ? null : /*#__PURE__*/ B.createElement($Q, { zIndex: o }, /*#__PURE__*/ B.createElement(dFe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -65108,26 +65267,26 @@ function N0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M0(Object(n), !0).forEach(function(t) {
- QPe(e, t, n[t]);
+ fFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QPe(e, t, n) {
- return (t = $Pe(t)) in e ? Object.defineProperty(e, t, {
+function fFe(e, t, n) {
+ return (t = pFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Pe(e) {
- var t = eFe(e, "string");
+function pFe(e) {
+ var t = mFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eFe(e, t) {
+function mFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65137,13 +65296,13 @@ function eFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var P0 = (e, t) => D1(e, "radiusAxis", t), tFe = $([P0], (e) => {
+var P0 = (e, t) => E1(e, "radiusAxis", t), hFe = $([P0], (e) => {
if (e != null) return { scale: e };
-}), nFe = $([JK, P0], (e, t) => {
+}), gFe = $([JK, P0], (e, t) => {
if (e != null && t != null) return N0(N0({}, e), {}, { scale: t });
-}), rFe = (e, t, n, r) => k1(e, "radiusAxis", t, r), F0 = (e, t, n) => qK(e, n), I0 = (e, t, n) => D1(e, "angleAxis", n), iFe = $([F0, I0], (e, t) => {
+}), _Fe = (e, t, n, r) => O1(e, "radiusAxis", t, r), F0 = (e, t, n) => qK(e, n), I0 = (e, t, n) => E1(e, "angleAxis", n), vFe = $([F0, I0], (e, t) => {
if (e != null && t != null) return N0(N0({}, e), {}, { scale: t });
-}), aFe = (e, t, n, r) => k1(e, "angleAxis", n, r), oFe = $([
+}), yFe = (e, t, n, r) => O1(e, "angleAxis", n, r), bFe = $([
F0,
I0,
tq
@@ -65155,30 +65314,30 @@ var P0 = (e, t) => D1(e, "radiusAxis", t), tFe = $([P0], (e) => {
cx: n.cx,
cy: n.cy
};
-}), sFe = (e, t, n, r, i) => i, cFe = $([
+}), xFe = (e, t, n, r, i) => i, SFe = $([
tW,
- nFe,
- rFe,
- iFe,
- aFe
-], (e, t, n, r, i) => hU(e, "radiusAxis") ? TU(t, n, !1) : TU(r, i, !1)), lFe = $([
- tFe,
- oFe,
+ gFe,
+ _Fe,
+ vFe,
+ yFe
+], (e, t, n, r, i) => hU(e, "radiusAxis") ? TU(t, n, !1) : TU(r, i, !1)), CFe = $([
+ hFe,
+ bFe,
pK,
- $([v1, sFe], (e, t) => {
+ $([_1, xFe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- cFe
+ SFe
], (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 yFe({
+ if (e != null && t != null && a != null && i != null && r != null) return NFe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), uFe = ["id"];
+}), wFe = ["id"];
function L0() {
return L0 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -65202,26 +65361,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) {
- dFe(e, t, n[t]);
+ TFe(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 dFe(e, t, n) {
- return (t = fFe(t)) in e ? Object.defineProperty(e, t, {
+function TFe(e, t, n) {
+ return (t = EFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fFe(e) {
- var t = pFe(e, "string");
+function EFe(e) {
+ var t = DFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pFe(e, t) {
+function DFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65231,16 +65390,16 @@ function pFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function mFe(e, t) {
+function OFe(e, t) {
if (e == null) return {};
- var n, r, i = hFe(e, t);
+ var n, r, i = kFe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function hFe(e, t) {
+function kFe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65252,7 +65411,7 @@ function hFe(e, t) {
function B0(e, t) {
return e && e !== "none" ? e : t;
}
-var gFe = (e) => {
+var AFe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
@@ -65262,10 +65421,10 @@ var gFe = (e) => {
value: DU(n, t),
payload: e
}];
-}, _Fe = /*#__PURE__*/ B.memo((e) => {
+}, jFe = /*#__PURE__*/ B.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {
dataDefinedOnItem: void 0,
- getPosition: xz,
+ getPosition: gz,
settings: {
stroke: n,
strokeWidth: r,
@@ -65280,10 +65439,10 @@ var gFe = (e) => {
graphicalItemId: c
}
};
- return /*#__PURE__*/ B.createElement(m0, { tooltipEntrySettings: l });
+ return /*#__PURE__*/ B.createElement(p0, { tooltipEntrySettings: l });
});
-function vFe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = tR(mFe(n, uFe));
+function MFe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = XL(OFe(n, wFe));
return /*#__PURE__*/ B.createElement(w0, {
points: t,
dot: r,
@@ -65293,10 +65452,10 @@ function vFe(e) {
baseProps: o
});
}
-function yFe(e) {
+function NFe(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 = mU(e, n.dataKey, r), d = mU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? CPe(d) : d, m = vz(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = mU(e, n.dataKey, r), d = mU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? RPe(d) : d, m = pz(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(z0(z0({}, rK(o, s, m, f)), {}, {
name: a,
value: d,
@@ -65310,7 +65469,7 @@ function yFe(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = vz(n) ? 0 : t.scale.map(n) ?? 0;
+ var n = e.value[0], r = pz(n) ? 0 : t.scale.map(n) ?? 0;
d.push(z0(z0({}, e), {}, { radius: r }, rK(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -65319,7 +65478,7 @@ function yFe(e) {
baseLinePoints: d
};
}
-function bFe(e) {
+function PFe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -65337,12 +65496,12 @@ function bFe(e) {
fill: void 0
});
});
- return /*#__PURE__*/ B.createElement(c1, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ B.createElement(s1, { value: t ? i : void 0 }, r);
}
-function xFe(e) {
+function FFe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ B.isValidElement(i) ? /*#__PURE__*/ B.cloneElement(i, z0(z0({}, r), {}, { points: t })) : typeof i == "function" ? i(z0(z0({}, r), {}, { points: t })) : /*#__PURE__*/ B.createElement(h1, L0({}, rR(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ B.isValidElement(i) ? /*#__PURE__*/ B.cloneElement(i, z0(z0({}, r), {}, { points: t })) : typeof i == "function" ? i(z0(z0({}, r), {}, { points: t })) : /*#__PURE__*/ B.createElement(m1, L0({}, QL(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -65355,7 +65514,7 @@ function xFe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ B.createElement(sR, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ B.createElement(vFe, {
+ return /*#__PURE__*/ B.createElement(nR, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ B.createElement(MFe, {
props: r,
points: t
}));
@@ -65363,20 +65522,20 @@ function xFe(e) {
var V0 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
return a ? z0(z0({}, r), {}, {
- x: gz(a.x, r.x, n),
- y: gz(a.y, r.y, n)
+ x: dz(a.x, r.x, n),
+ y: dz(a.y, r.y, n)
}) : z0(z0({}, r), {}, {
- x: gz(r.cx, r.x, n),
- y: gz(r.cy, r.y, n)
+ x: dz(r.cx, r.x, n),
+ y: dz(r.cy, r.y, n)
});
};
-function SFe(e) {
+function IFe(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 = WG(t, "recharts-radar-"), [_, v] = (0, B.useState)(!1), y = !_, b = (0, B.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, B.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ B.createElement(bFe, {
+ return /*#__PURE__*/ B.createElement(PFe, {
showLabels: y,
points: i
}, /*#__PURE__*/ B.createElement(UG, {
@@ -65390,22 +65549,22 @@ function SFe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(V0(f, m, e)), s = e === 1 ? a : a?.map(V0(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ B.createElement(xFe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ B.createElement(FFe, {
points: o,
baseLinePoints: s,
props: t
});
- }), /*#__PURE__*/ B.createElement(d1, { label: t.label }), t.children);
+ }), /*#__PURE__*/ B.createElement(u1, { label: t.label }), t.children);
}
-function CFe(e) {
+function LFe(e) {
var t = (0, B.useRef)(void 0), n = (0, B.useRef)(void 0);
- return /*#__PURE__*/ B.createElement(SFe, {
+ return /*#__PURE__*/ B.createElement(IFe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var wFe = {
+var RFe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -65419,31 +65578,31 @@ var wFe = {
radiusAxisId: 0,
zIndex: RK.area
};
-function TFe(e) {
+function zFe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = Jr("recharts-radar", n);
- return /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: i }, /*#__PURE__*/ B.createElement(CFe, e)), /*#__PURE__*/ B.createElement(j0, {
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(nR, { className: i }, /*#__PURE__*/ B.createElement(LFe, e)), /*#__PURE__*/ B.createElement(j0, {
points: r,
mainColor: B0(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function EFe(e) {
- var t = LU(), n = Q((n) => lFe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ B.createElement(TFe, L0({}, e, {
+function BFe(e) {
+ var t = LU(), n = Q((n) => CFe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ B.createElement(zFe, L0({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function H0(e) {
- var t = jz(e, wFe);
- return /*#__PURE__*/ B.createElement(_0, {
+ var t = Ez(e, RFe);
+ return /*#__PURE__*/ B.createElement(g0, {
id: t.id,
type: "radar"
- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(b0, {
+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(y0, {
type: "radar",
id: e,
data: void 0,
@@ -65451,7 +65610,7 @@ function H0(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ B.createElement(g0, { legendPayload: gFe(t) }), /*#__PURE__*/ B.createElement(_Fe, {
+ }), /*#__PURE__*/ B.createElement(h0, { legendPayload: AFe(t) }), /*#__PURE__*/ B.createElement(jFe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -65460,7 +65619,7 @@ function H0(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ B.createElement(EFe, L0({}, t, { id: e }))));
+ }), /*#__PURE__*/ B.createElement(BFe, L0({}, t, { id: e }))));
}
H0.displayName = "Radar";
//#endregion
@@ -65478,13 +65637,13 @@ function W0(e) {
return typeof e == "string" ? parseInt(e, 10) : e;
}
function G0(e) {
- return /*#__PURE__*/ B.createElement(u0, U0({ shapeType: "sector" }, e));
+ return /*#__PURE__*/ B.createElement(l0, U0({ shapeType: "sector" }, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
var K0 = (e, t, n) => {
var r = n ?? e;
- if (!vz(r)) return mz(r, t, 0);
+ if (!pz(r)) return lz(r, t, 0);
}, q0 = (e, t, n) => {
var r = {}, i = e.filter(oq), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
@@ -65519,26 +65678,26 @@ function Y0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? J0(Object(n), !0).forEach(function(t) {
- DFe(e, t, n[t]);
+ VFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function DFe(e, t, n) {
- return (t = OFe(t)) in e ? Object.defineProperty(e, t, {
+function VFe(e, t, n) {
+ return (t = HFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function OFe(e) {
- var t = kFe(e, "string");
+function HFe(e) {
+ var t = UFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kFe(e, t) {
+function UFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65548,10 +65707,10 @@ function kFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function AFe(e, t, n, r, i) {
+function WFe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = mz(e, n, 0, !0), s, c = [];
+ var o = lz(e, n, 0, !0), s, c = [];
if (uU(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
@@ -65571,7 +65730,7 @@ function AFe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = mz(t, n, 0, !0);
+ var p = lz(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m >>= 0);
@@ -65589,7 +65748,7 @@ function AFe(e, t, n, r, i) {
}
}
var X0 = (e, t, n, r, i, a, o) => {
- var s = vz(o) ? t : o, c = AFe(n, r, i === a ? a : i, e, s);
+ var s = pz(o) ? t : o, c = WFe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => Y0(Y0({}, e), {}, { position: Y0(Y0({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, Z0 = (e, t) => {
var n = iq(t);
@@ -65625,26 +65784,26 @@ function e2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? $0(Object(n), !0).forEach(function(t) {
- jFe(e, t, n[t]);
+ GFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jFe(e, t, n) {
- return (t = MFe(t)) in e ? Object.defineProperty(e, t, {
+function GFe(e, t, n) {
+ return (t = KFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MFe(e) {
- var t = NFe(e, "string");
+function KFe(e) {
+ var t = qFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NFe(e, t) {
+function qFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65654,11 +65813,11 @@ function NFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var t2 = $([(e, t) => JK(e, t), (e, t) => D1(e, "radiusAxis", t)], (e, t) => {
+var t2 = $([(e, t) => JK(e, t), (e, t) => E1(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return e2(e2({}, e), {}, { scale: t });
-}), n2 = (e, t) => KMe(e, "radiusAxis", t, !1), r2 = $([(e, t, n) => qK(e, n), (e, t, n) => D1(e, "angleAxis", n)], (e, t) => {
+}), n2 = (e, t) => sNe(e, "radiusAxis", t, !1), r2 = $([(e, t, n) => qK(e, n), (e, t, n) => E1(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return e2(e2({}, e), {}, { scale: t });
-}), i2 = (e, t, n) => k1(e, "angleAxis", n, !1), a2 = $([v1, (e, t, n, r) => r], (e, t) => {
+}), i2 = (e, t, n) => O1(e, "angleAxis", n, !1), a2 = $([_1, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
}), o2 = $([
tW,
@@ -65666,20 +65825,20 @@ var t2 = $([(e, t) => JK(e, t), (e, t) => D1(e, "radiusAxis", t)], (e, t) => {
n2,
r2,
i2
-], (e, t, n, r, i) => hU(e, "radiusAxis") ? TU(t, n, !1) : TU(r, i, !1)), PFe = $([
+], (e, t, n, r, i) => hU(e, "radiusAxis") ? TU(t, n, !1) : TU(r, i, !1)), JFe = $([
r2,
t2,
tW
], (e, t, n) => {
var r = n === "radial" ? e : t;
if (r != null && r.scale != null) return SU({ numericAxis: r });
-}), FFe = (e, t, n, r, i) => i, IFe = (e, t, n, r, i) => n, LFe = (e, t, n, r, i) => t, s2 = (e, t, n, r, i) => r.maxBarSize, c2 = (e) => e.type === "radialBar", RFe = $([$([
+}), YFe = (e, t, n, r, i) => i, XFe = (e, t, n, r, i) => n, ZFe = (e, t, n, r, i) => t, s2 = (e, t, n, r, i) => r.maxBarSize, c2 = (e) => e.type === "radialBar", QFe = $([$([
$([
$([
tW,
- v1,
- IFe,
- LFe
+ _1,
+ XFe,
+ ZFe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(c2)),
jK,
() => void 0
@@ -65696,21 +65855,21 @@ var t2 = $([(e, t) => JK(e, t), (e, t) => D1(e, "radiusAxis", t)], (e, t) => {
n2,
s2
], (e, t, n, r, i, a, o) => {
- var s = vz(o) ? t : o;
+ var s = pz(o) ? t : o;
return e === "centric" ? TU(n, r, !0) ?? s ?? 0 : TU(i, a, !0) ?? s ?? 0;
}),
o2,
s2
-], X0), a2], Q0), l2 = $([y1], (e) => e.filter(c2).filter(oq)), u2 = $([
+], X0), a2], Q0), l2 = $([v1], (e) => e.filter(c2).filter(oq)), u2 = $([
$([
l2,
pK,
- tZ
+ eZ
], aq),
l2,
MK,
NK
-], rZ), zFe = $([
+], nZ), $Fe = $([
r2,
i2,
t2,
@@ -65719,16 +65878,16 @@ var t2 = $([(e, t) => JK(e, t), (e, t) => D1(e, "radiusAxis", t)], (e, t) => {
a2,
o2,
tW,
- PFe,
+ JFe,
tq,
- FFe,
- RFe,
+ YFe,
+ QFe,
$([(e, t, n) => tW(e) === "centric" ? u2(e, "radiusAxis", t) : u2(e, "angleAxis", n), a2], Z0)
], (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 nIe({
+ return gIe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -65749,7 +65908,7 @@ var t2 = $([(e, t) => JK(e, t), (e, t) => D1(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), BFe = $([pK, (e, t) => t], (e, t) => {
+}), eIe = $([pK, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -65767,16 +65926,16 @@ function d2(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var VFe = [
+var tIe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], HFe = [
+], nIe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], UFe = ["value", "background"];
+], rIe = ["value", "background"];
function f2() {
return f2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -65800,26 +65959,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) {
- WFe(e, t, n[t]);
+ iIe(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 WFe(e, t, n) {
- return (t = GFe(t)) in e ? Object.defineProperty(e, t, {
+function iIe(e, t, n) {
+ return (t = aIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function GFe(e) {
- var t = KFe(e, "string");
+function aIe(e) {
+ var t = oIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function KFe(e, t) {
+function oIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65831,14 +65990,14 @@ function KFe(e, t) {
}
function h2(e, t) {
if (e == null) return {};
- var n, r, i = qFe(e, t);
+ var n, r, i = sIe(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 qFe(e, t) {
+function sIe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65848,7 +66007,7 @@ function qFe(e, t) {
return n;
}
var g2 = [];
-function JFe(e) {
+function cIe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -65865,15 +66024,15 @@ function JFe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ B.createElement(PMe, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ B.createElement(YMe, { value: t ? i : void 0 }, r);
}
-function YFe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = h2(n, VFe), l = tR(c), u = Q(NQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = h2(n, HFe), h = d0(d, n.dataKey, s), g = f0(p), _ = p0(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ B.createElement(JFe, {
+function lIe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = h2(n, tIe), l = XL(c), u = Q(MQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = h2(n, nIe), h = u0(d, n.dataKey, s), g = d0(p), _ = f0(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ B.createElement(cIe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = m2(m2(m2(m2({}, l), {}, { cornerRadius: W0(o) }, e), kz(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = m2(m2(m2(m2({}, l), {}, { cornerRadius: W0(o) }, e), wz(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -65884,13 +66043,13 @@ function YFe(e) {
option: n ? a : i,
index: t
});
- return n ? /*#__PURE__*/ B.createElement(e$, {
+ return n ? /*#__PURE__*/ B.createElement($Q, {
zIndex: RK.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
}, /*#__PURE__*/ B.createElement(G0, f)) : /*#__PURE__*/ B.createElement(G0, f2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
- }), /*#__PURE__*/ B.createElement(d1, { label: n.label }), n.children);
+ }), /*#__PURE__*/ B.createElement(u1, { label: n.label }), n.children);
}
-function XFe(e) {
+function uIe(e) {
var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = WG(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, B.useState)(!1), m = (0, B.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, B.useCallback)(() => {
@@ -65909,34 +66068,34 @@ function XFe(e) {
var i = e === 1 ? r : (r ?? g2).map((t, n) => {
var r = d && d[n];
if (r) return m2(m2({}, t), {}, {
- startAngle: gz(r.startAngle, t.startAngle, e),
- endAngle: gz(r.endAngle, t.endAngle, e)
+ startAngle: dz(r.startAngle, t.startAngle, e),
+ endAngle: dz(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return m2(m2({}, t), {}, { endAngle: gz(a, i, e) });
+ return m2(m2({}, t), {}, { endAngle: dz(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ B.createElement(YFe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ B.createElement(lIe, {
sectors: i ?? g2,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function ZFe(e) {
+function dIe(e) {
var t = (0, B.useRef)(null);
- return /*#__PURE__*/ B.createElement(XFe, {
+ return /*#__PURE__*/ B.createElement(uIe, {
props: e,
previousSectorsRef: t
});
}
-function QFe(e) {
- var t = Q((t) => BFe(t, e.legendType));
- return /*#__PURE__*/ B.createElement(g0, { legendPayload: t ?? [] });
+function fIe(e) {
+ var t = Q((t) => eIe(t, e.legendType));
+ return /*#__PURE__*/ B.createElement(h0, { legendPayload: t ?? [] });
}
-var $Fe = /*#__PURE__*/ B.memo((e) => {
+var pIe = /*#__PURE__*/ B.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: n,
- getPosition: xz,
+ getPosition: gz,
settings: {
graphicalItemId: l,
stroke: r,
@@ -65951,15 +66110,15 @@ var $Fe = /*#__PURE__*/ B.memo((e) => {
unit: ""
}
};
- return /*#__PURE__*/ B.createElement(m0, { tooltipEntrySettings: u });
-}), eIe = class extends B.PureComponent {
+ return /*#__PURE__*/ B.createElement(p0, { tooltipEntrySettings: u });
+}), mIe = class extends B.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = nR(this.props.background);
- return /*#__PURE__*/ B.createElement(e$, { zIndex: d2(this.props.background, RK.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = h2(e, UFe);
+ var { cornerRadius: t } = this.props, n = ZL(this.props.background);
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: d2(this.props.background, RK.barBackground) }, e.map((e, r) => {
+ var { value: i, background: a } = e, o = h2(e, rIe);
if (!a) return null;
- var s = m2(m2(m2(m2(m2({ cornerRadius: W0(t) }, o), {}, { fill: "#eee" }, a), n), kz(this.props, e, r)), {}, {
+ var s = m2(m2(m2(m2(m2({ cornerRadius: W0(t) }, o), {}, { fill: "#eee" }, a), n), wz(this.props, e, r)), {}, {
index: r,
className: Jr("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
@@ -65972,11 +66131,11 @@ var $Fe = /*#__PURE__*/ B.memo((e) => {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = Jr("recharts-area", n);
- return /*#__PURE__*/ B.createElement(e$, { zIndex: this.props.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: i }, r && /*#__PURE__*/ B.createElement(sR, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ B.createElement(sR, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ B.createElement(ZFe, this.props))));
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: this.props.zIndex }, /*#__PURE__*/ B.createElement(nR, { className: i }, r && /*#__PURE__*/ B.createElement(nR, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ B.createElement(nR, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ B.createElement(dIe, this.props))));
}
};
-function tIe(e) {
- var t = B.useMemo(() => e0(e.children, _$), [e.children]), n = B.useMemo(() => ({
+function hIe(e) {
+ var t = B.useMemo(() => $1(e.children, g$), [e.children]), n = B.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
@@ -65997,8 +66156,8 @@ function tIe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => zFe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? g2;
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement($Fe, {
+ ]), r = Q((r) => $Fe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? g2;
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(pIe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -66008,7 +66167,7 @@ function tIe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ B.createElement(eIe, f2({}, e, { sectors: r })));
+ }), /*#__PURE__*/ B.createElement(mIe, f2({}, e, { sectors: r })));
}
var _2 = {
angleAxisId: 0,
@@ -66027,7 +66186,7 @@ var _2 = {
radiusAxisId: 0,
zIndex: RK.bar
};
-function nIe(e) {
+function gIe(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 ? g2 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
@@ -66043,7 +66202,7 @@ function nIe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = lz(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = iz(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -66066,7 +66225,7 @@ function nIe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = lz(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = iz(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -66083,11 +66242,11 @@ function nIe(e) {
});
}
function v2(e) {
- var t = jz(e, _2);
- return /*#__PURE__*/ B.createElement(_0, {
+ var t = Ez(e, _2);
+ return /*#__PURE__*/ B.createElement(g0, {
id: t.id,
type: "radialBar"
- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(b0, {
+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(y0, {
type: "radialBar",
id: e,
data: void 0,
@@ -66099,15 +66258,15 @@ function v2(e) {
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ B.createElement(QFe, t), /*#__PURE__*/ B.createElement(tIe, f2({}, t, { id: e }))));
+ }), /*#__PURE__*/ B.createElement(fIe, t), /*#__PURE__*/ B.createElement(hIe, f2({}, t, { id: e }))));
}
v2.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var y2 = (e) => {
- var { chartData: t } = e, n = TB(), r = LU();
- return (0, B.useEffect)(() => r ? () => {} : (n(d$(t)), () => {
- n(d$(void 0));
+ var { chartData: t } = e, n = DB(), r = LU();
+ return (0, B.useEffect)(() => r ? () => {} : (n(u$(t)), () => {
+ n(u$(void 0));
}), [
t,
n,
@@ -66130,7 +66289,7 @@ var y2 = (e) => {
reducers: { setBrushSettings(e, t) {
return t.payload == null ? b2 : t.payload;
} }
-}), { setBrushSettings: rIe } = x2.actions, iIe = x2.reducer, aIe = (e, t) => {
+}), { setBrushSettings: _Ie } = x2.actions, vIe = x2.reducer, yIe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -66138,9 +66297,9 @@ var y2 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, oIe = (e) => {
+}, bIe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return aIe({
+ return yIe({
x: t,
y: n
}, {
@@ -66148,11 +66307,11 @@ var y2 = (e) => {
y: i
});
};
-function sIe(e) {
+function xIe(e) {
return (e % 180 + 180) % 180;
}
-var cIe = function(e) {
- var { width: t, height: n } = e, r = sIe(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 SIe = function(e) {
+ var { width: t, height: n } = e, r = xIe(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);
}, S2 = FH({
name: "referenceElements",
@@ -66184,8 +66343,8 @@ var cIe = function(e) {
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: lIe, removeDot: uIe, addArea: dIe, removeArea: fIe, addLine: pIe, removeLine: mIe } = S2.actions, hIe = S2.reducer, C2 = /*#__PURE__*/ (0, B.createContext)(void 0), gIe = (e) => {
- var { children: t } = e, [n] = (0, B.useState)(`${pz("recharts")}-clip`), r = O0();
+}), { addDot: CIe, removeDot: wIe, addArea: TIe, removeArea: EIe, addLine: DIe, removeLine: OIe } = S2.actions, kIe = S2.reducer, C2 = /*#__PURE__*/ (0, B.createContext)(void 0), AIe = (e) => {
+ var { children: t } = e, [n] = (0, B.useState)(`${cz("recharts")}-clip`), r = O0();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
return /*#__PURE__*/ B.createElement(C2.Provider, { value: n }, /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: n }, /*#__PURE__*/ B.createElement("rect", {
@@ -66194,7 +66353,7 @@ var cIe = function(e) {
height: s,
width: o
}))), t);
-}, _Ie = () => (0, B.useContext)(C2), vIe = class {
+}, jIe = () => (0, B.useContext)(C2), MIe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -66234,26 +66393,26 @@ function T2(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) {
- yIe(e, t, n[t]);
+ NIe(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 yIe(e, t, n) {
- return (t = bIe(t)) in e ? Object.defineProperty(e, t, {
+function NIe(e, t, n) {
+ return (t = PIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bIe(e) {
- var t = xIe(e, "string");
+function PIe(e) {
+ var t = FIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xIe(e, t) {
+function FIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66272,7 +66431,7 @@ function E2() {
return e;
}, E2.apply(null, arguments);
}
-var SIe = (e, t) => {
+var IIe = (e, t) => {
var n;
if (/*#__PURE__*/ B.isValidElement(e)) n = /*#__PURE__*/ B.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
@@ -66281,7 +66440,7 @@ var SIe = (e, t) => {
n = /*#__PURE__*/ B.createElement("line", E2({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, CIe = (e, t, n, r, i, a) => {
+}, LIe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
if (!uU(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -66292,7 +66451,7 @@ var SIe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, wIe = (e, t, n, r, i, a) => {
+}, RIe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
if (!uU(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -66303,7 +66462,7 @@ var SIe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, TIe = (e, t, n, r) => {
+}, zIe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -66312,43 +66471,43 @@ var SIe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, EIe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = fz(s);
- return fz(c) ? CIe(c, u, r, a, t, n) : d ? wIe(s, u, r, i, e, n) : l != null && l.length === 2 ? TIe(l, u, r, new vIe({
+}, BIe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = sz(s);
+ return sz(c) ? LIe(c, u, r, a, t, n) : d ? RIe(s, u, r, i, e, n) : l != null && l.length === 2 ? zIe(l, u, r, new MIe({
x: e,
y: t
})) : null;
};
-function DIe(e) {
- var t = TB();
- return (0, B.useEffect)(() => (t(pIe(e)), () => {
- t(mIe(e));
+function VIe(e) {
+ var t = DB();
+ return (0, B.useEffect)(() => (t(DIe(e)), () => {
+ t(OIe(e));
})), null;
}
-function OIe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = LU(), s = _Ie(), c = Q((e) => jX(e, t)), l = Q((e) => PX(e, n)), u = Q((e) => MZ(e, "xAxis", t, o)), d = Q((e) => MZ(e, "yAxis", n, o)), f = ZU();
+function HIe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = LU(), s = jIe(), c = Q((e) => jX(e, t)), l = Q((e) => PX(e, n)), u = Q((e) => jZ(e, "xAxis", t, o)), d = Q((e) => jZ(e, "yAxis", n, o)), f = ZU();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = EIe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = BIe(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var { x: g, y: _ } = m, { x: v, y } = h, b = T2(T2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, rR(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = T2(T2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, QL(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = oIe({
+ }), x = bIe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: Jr("recharts-reference-line", i) }, SIe(r, b), /*#__PURE__*/ B.createElement(X$, E2({}, x, {
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(nR, { className: Jr("recharts-reference-line", i) }, IIe(r, b), /*#__PURE__*/ B.createElement(Y$, E2({}, x, {
lowerWidth: x.width,
upperWidth: x.width
- }), /*#__PURE__*/ B.createElement(i1, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ B.createElement(r1, { label: e.label }), e.children)));
}
-var kIe = {
+var UIe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -66361,15 +66520,15 @@ var kIe = {
zIndex: RK.line
};
function D2(e) {
- var t = jz(e, kIe);
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(DIe, {
+ var t = Ez(e, UIe);
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(VIe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ B.createElement(OIe, t));
+ }), /*#__PURE__*/ B.createElement(HIe, t));
}
D2.displayName = "ReferenceLine";
//#endregion
@@ -66385,13 +66544,13 @@ function O2(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function AIe(e, t, n) {
- return cIe({
+function WIe(e, t, n) {
+ return SIe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function jIe(e, t, n) {
+function GIe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -66406,12 +66565,12 @@ function k2(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function MIe(e, t) {
+function KIe(e, t) {
return O2(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function NIe(e, t, n, r, i) {
+function qIe(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: O2(r, l) };
@@ -66420,7 +66579,7 @@ function NIe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function PIe(e, t, n, r, i) {
+function JIe(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++) {
@@ -66457,26 +66616,26 @@ function j2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? A2(Object(n), !0).forEach(function(t) {
- FIe(e, t, n[t]);
+ YIe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function FIe(e, t, n) {
- return (t = IIe(t)) in e ? Object.defineProperty(e, t, {
+function YIe(e, t, n) {
+ return (t = XIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function IIe(e) {
- var t = LIe(e, "string");
+function XIe(e) {
+ var t = ZIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function LIe(e, t) {
+function ZIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66486,7 +66645,7 @@ function LIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function RIe(e, t, n, r, i) {
+function QIe(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;
@@ -66499,7 +66658,7 @@ function RIe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function zIe(e, t, n, r, i, a) {
+function $Ie(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];
@@ -66523,8 +66682,8 @@ function zIe(e, t, n, r, i, a) {
function M2(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) || dG.isSsr) return MIe(i, Z(c) ? c : 0) ?? [];
- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? C$(u, {
+ if (Z(c) || dG.isSsr) return KIe(i, Z(c) ? c : 0) ?? [];
+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? S$(u, {
fontSize: t,
letterSpacing: n
}) : {
@@ -66532,19 +66691,19 @@ function M2(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? AIe(C$(i, {
+ return p === "width" ? WIe(S$(i, {
fontSize: t,
letterSpacing: n
- }), m, d) : C$(i, {
+ }), m, d) : S$(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? lz(_.coordinate - g.coordinate) : 1, y = jIe(a, v, p);
- return c === "equidistantPreserveStart" ? NIe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? PIe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? zIe(v, y, h, i, o, c === "preserveStartEnd") : RIe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? iz(_.coordinate - g.coordinate) : 1, y = GIe(a, v, p);
+ return c === "equidistantPreserveStart" ? qIe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? JIe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? $Ie(v, y, h, i, o, c === "preserveStartEnd") : QIe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var BIe = (e) => {
+var eLe = (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) => {
@@ -66573,7 +66732,7 @@ var BIe = (e) => {
delete e[n][r];
}
}
-}), { setRenderedTicks: VIe, removeRenderedTicks: HIe } = N2.actions, UIe = N2.reducer, WIe = [
+}), { setRenderedTicks: tLe, removeRenderedTicks: nLe } = N2.actions, rLe = N2.reducer, iLe = [
"axisLine",
"width",
"height",
@@ -66583,16 +66742,16 @@ var BIe = (e) => {
"axisType",
"axisId"
];
-function GIe(e, t) {
+function aLe(e, t) {
if (e == null) return {};
- var n, r, i = KIe(e, t);
+ var n, r, i = oLe(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 KIe(e, t) {
+function oLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66624,26 +66783,26 @@ function I2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? F2(Object(n), !0).forEach(function(t) {
- qIe(e, t, n[t]);
+ sLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qIe(e, t, n) {
- return (t = JIe(t)) in e ? Object.defineProperty(e, t, {
+function sLe(e, t, n) {
+ return (t = cLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JIe(e) {
- var t = YIe(e, "string");
+function cLe(e) {
+ var t = lLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YIe(e, t) {
+function lLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66677,10 +66836,10 @@ var L2 = {
interval: "preserveEnd",
zIndex: RK.axis
};
-function XIe(e) {
+function uLe(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 = I2(I2(I2({}, c), tR(s)), {}, { fill: "none" });
+ var l = I2(I2(I2({}, c), XL(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = I2(I2({}, l), {}, {
@@ -66698,9 +66857,9 @@ function XIe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ B.createElement("line", P2({}, l, { className: Jr("recharts-cartesian-axis-line", oz(s, "className")) }));
+ return /*#__PURE__*/ B.createElement("line", P2({}, l, { className: Jr("recharts-cartesian-axis-line", tz(s, "className")) }));
}
-function ZIe(e, t, n, r, i, a, o, s, c) {
+function dLe(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":
@@ -66727,14 +66886,14 @@ function ZIe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function QIe(e, t) {
+function fLe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function $Ie(e, t) {
+function pLe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -66742,19 +66901,19 @@ function $Ie(e, t) {
default: return t ? "end" : "start";
}
}
-function eLe(e) {
+function mLe(e) {
var { option: t, tickProps: n, value: r } = e, i, a = Jr(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ B.isValidElement(t)) i = /*#__PURE__*/ B.cloneElement(t, I2(I2({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(I2(I2({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Jr(o, R1(t))), i = /*#__PURE__*/ B.createElement(H$, P2({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Jr(o, L1(t))), i = /*#__PURE__*/ B.createElement(V$, P2({}, n, { className: o }), r);
}
return i;
}
-function tLe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = TB();
- return (0, B.useEffect)(() => r == null || n == null ? xz : (i(VIe({
+function hLe(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = DB();
+ return (0, B.useEffect)(() => r == null || n == null ? gz : (i(tLe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -66764,7 +66923,7 @@ function tLe(e) {
axisId: r,
axisType: n
})), () => {
- i(HIe({
+ i(nLe({
axisId: r,
axisType: n
}));
@@ -66775,15 +66934,15 @@ function tLe(e) {
n
]), null;
}
-var nLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = M2(I2(I2({}, b), {}, { ticks: n }), v, y), T = tR(b), E = nR(r), D = I$(T.textAnchor) ? T.textAnchor : QIe(u, d), O = $Ie(u, d), k = {};
+var gLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = M2(I2(I2({}, b), {}, { ticks: n }), v, y), T = XL(b), E = ZL(r), D = F$(T.textAnchor) ? T.textAnchor : fLe(u, d), O = pLe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = I2(I2({}, T), {}, { fill: "none" }, k), j = w.map((e) => I2({ entry: e }, ZIe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = I2(I2({}, T), {}, { fill: "none" }, k), j = w.map((e) => I2({ entry: e }, dLe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ B.createElement(sR, {
+ return /*#__PURE__*/ B.createElement(nR, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ B.createElement("line", P2({}, A, n, { className: Jr("recharts-cartesian-axis-tick-line", oz(i, "className")) })));
+ }, i && /*#__PURE__*/ B.createElement("line", P2({}, A, n, { className: Jr("recharts-cartesian-axis-tick-line", tz(i, "className")) })));
}), N = j.map((e, t) => {
var { entry: n, tick: i } = e, u = I2(I2({}, I2(I2(I2(I2({ verticalAnchor: O }, T), {}, {
textAnchor: D,
@@ -66796,26 +66955,26 @@ var nLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ B.createElement(sR, P2({
+ return /*#__PURE__*/ B.createElement(nR, P2({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, kz(x, n, t)), r && /*#__PURE__*/ B.createElement(eLe, {
+ }, wz(x, n, t)), r && /*#__PURE__*/ B.createElement(mLe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ B.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ B.createElement(tLe, {
+ return /*#__PURE__*/ B.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ B.createElement(hLe, {
ticks: w,
axisId: C,
axisType: S
- }), N.length > 0 && /*#__PURE__*/ B.createElement(e$, { zIndex: RK.label }, /*#__PURE__*/ B.createElement("g", {
+ }), N.length > 0 && /*#__PURE__*/ B.createElement($Q, { zIndex: RK.label }, /*#__PURE__*/ B.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ B.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), rLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = GIe(e, WIe), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = (0, B.useRef)(null);
- (0, B.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => BIe({
+}), _Le = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = aLe(e, iLe), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = (0, B.useRef)(null);
+ (0, B.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => eLe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -66833,7 +66992,7 @@ var nLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: Jr("recharts-cartesian-axis", a) }, /*#__PURE__*/ B.createElement(XIe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ B.createElement($Q, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(nR, { className: Jr("recharts-cartesian-axis", a) }, /*#__PURE__*/ B.createElement(uLe, {
x: e.x,
y: e.y,
width: r,
@@ -66841,8 +67000,8 @@ var nLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: tR(e)
- }), /*#__PURE__*/ B.createElement(nLe, {
+ otherSvgProps: XL(e)
+ }), /*#__PURE__*/ B.createElement(gLe, {
ref: g,
axisType: c,
events: u,
@@ -66866,31 +67025,31 @@ var nLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ B.createElement(X$, {
+ }), /*#__PURE__*/ B.createElement(Y$, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ B.createElement(i1, {
+ }, /*#__PURE__*/ B.createElement(r1, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
}), R2 = /*#__PURE__*/ B.forwardRef((e, t) => {
- var n = jz(e, L2);
- return /*#__PURE__*/ B.createElement(rLe, P2({}, n, { ref: t }));
+ var n = Ez(e, L2);
+ return /*#__PURE__*/ B.createElement(_Le, P2({}, n, { ref: t }));
});
R2.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var iLe = [
+var vLe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], aLe = ["offset"], oLe = ["xAxisId", "yAxisId"], sLe = ["xAxisId", "yAxisId"];
+], yLe = ["offset"], bLe = ["xAxisId", "yAxisId"], xLe = ["xAxisId", "yAxisId"];
function z2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -66905,26 +67064,26 @@ function B2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? z2(Object(n), !0).forEach(function(t) {
- cLe(e, t, n[t]);
+ SLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cLe(e, t, n) {
- return (t = lLe(t)) in e ? Object.defineProperty(e, t, {
+function SLe(e, t, n) {
+ return (t = CLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lLe(e) {
- var t = uLe(e, "string");
+function CLe(e) {
+ var t = wLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uLe(e, t) {
+function wLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66945,14 +67104,14 @@ function V2() {
}
function H2(e, t) {
if (e == null) return {};
- var n, r, i = dLe(e, t);
+ var n, r, i = TLe(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 dLe(e, t) {
+function TLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66961,7 +67120,7 @@ function dLe(e, t) {
}
return n;
}
-var fLe = (e) => {
+var ELe = (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;
@@ -66982,7 +67141,7 @@ function U2(e) {
if (/*#__PURE__*/ B.isValidElement(t)) r = /*#__PURE__*/ B.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = tR(H2(n, iLe)) ?? {}, { offset: u } = l, d = H2(l, aLe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = XL(H2(n, vLe)) ?? {}, { offset: u } = l, d = H2(l, yLe);
r = /*#__PURE__*/ B.createElement("line", V2({}, d, {
x1: i,
y1: a,
@@ -66994,10 +67153,10 @@ function U2(e) {
}
return r;
}
-function pLe(e) {
+function DLe(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 = H2(e, oLe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = H2(e, bLe), c = i.map((e, i) => {
var a = B2(B2({}, s), {}, {
x1: t,
y1: e,
@@ -67014,10 +67173,10 @@ function pLe(e) {
});
return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function mLe(e) {
+function OLe(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 = H2(e, sLe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = H2(e, xLe), c = i.map((e, i) => {
var a = B2(B2({}, s), {}, {
x1: e,
y1: t,
@@ -67034,7 +67193,7 @@ function mLe(e) {
});
return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function hLe(e) {
+function kLe(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);
@@ -67057,7 +67216,7 @@ function hLe(e) {
});
return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function gLe(e) {
+function ALe(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);
@@ -67080,7 +67239,7 @@ function gLe(e) {
});
return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var _Le = (e, t) => {
+var jLe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
return gU(M2(B2(B2(B2({}, L2), n), {}, {
ticks: _U(n, !0),
@@ -67091,7 +67250,7 @@ var _Le = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, vLe = (e, t) => {
+}, MLe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
return gU(M2(B2(B2(B2({}, L2), n), {}, {
ticks: _U(n, !0),
@@ -67102,7 +67261,7 @@ var _Le = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, yLe = {
+}, NLe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -67117,14 +67276,14 @@ var _Le = (e, t) => {
zIndex: RK.grid
};
function W2(e) {
- var t = $U(), n = eW(), r = QU(), i = B2(B2({}, jz(e, yLe)), {}, {
+ var t = $U(), n = eW(), r = QU(), i = B2(B2({}, Ez(e, NLe)), {}, {
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 = LU(), h = Q((e) => HZ(e, "xAxis", a, m)), g = Q((e) => HZ(e, "yAxis", o, m));
+ }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = LU(), h = Q((e) => VZ(e, "xAxis", a, m)), g = Q((e) => VZ(e, "yAxis", o, m));
if (!dU(l) || !dU(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || _Le, v = i.horizontalCoordinatesGenerator || vLe, { horizontalPoints: y, verticalPoints: b } = i;
+ var _ = i.verticalCoordinatesGenerator || jLe, v = i.horizontalCoordinatesGenerator || MLe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? B2(B2({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -67143,7 +67302,7 @@ function W2(e) {
}, C ? !0 : d);
BU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ B.createElement(e$, { zIndex: i.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ B.createElement(fLe, {
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: i.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ B.createElement(ELe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -67151,12 +67310,12 @@ function W2(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ B.createElement(hLe, V2({}, i, { horizontalPoints: y })), /*#__PURE__*/ B.createElement(gLe, V2({}, i, { verticalPoints: b })), /*#__PURE__*/ B.createElement(pLe, V2({}, i, {
+ }), /*#__PURE__*/ B.createElement(kLe, V2({}, i, { horizontalPoints: y })), /*#__PURE__*/ B.createElement(ALe, V2({}, i, { verticalPoints: b })), /*#__PURE__*/ B.createElement(DLe, V2({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ B.createElement(mLe, V2({}, i, {
+ })), /*#__PURE__*/ B.createElement(OLe, V2({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -67183,17 +67342,17 @@ var G2 = FH({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: bLe, replaceErrorBar: xLe, removeErrorBar: SLe } = G2.actions, CLe = G2.reducer, wLe = ["children"];
-function TLe(e, t) {
+}), { addErrorBar: PLe, replaceErrorBar: FLe, removeErrorBar: ILe } = G2.actions, LLe = G2.reducer, RLe = ["children"];
+function zLe(e, t) {
if (e == null) return {};
- var n, r, i = ELe(e, t);
+ var n, r, i = BLe(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 BLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67202,7 +67361,7 @@ function ELe(e, t) {
}
return n;
}
-var DLe = /*#__PURE__*/ (0, B.createContext)({
+var VLe = /*#__PURE__*/ (0, B.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -67214,8 +67373,8 @@ var DLe = /*#__PURE__*/ (0, B.createContext)({
errorBarOffset: 0
});
function K2(e) {
- var { children: t } = e, n = TLe(e, wLe);
- return /*#__PURE__*/ B.createElement(DLe.Provider, { value: n }, t);
+ var { children: t } = e, n = zLe(e, RLe);
+ return /*#__PURE__*/ B.createElement(VLe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -67240,30 +67399,30 @@ function J2(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var Y2 = (e, t, n, r) => qZ(e, "xAxis", t, r), X2 = (e, t, n, r) => KZ(e, "xAxis", t, r), Z2 = (e, t, n, r) => qZ(e, "yAxis", n, r), Q2 = (e, t, n, r) => KZ(e, "yAxis", n, r), OLe = $([
+var Y2 = (e, t, n, r) => KZ(e, "xAxis", t, r), X2 = (e, t, n, r) => GZ(e, "xAxis", t, r), Z2 = (e, t, n, r) => KZ(e, "yAxis", n, r), Q2 = (e, t, n, r) => GZ(e, "yAxis", n, r), HLe = $([
tW,
Y2,
Z2,
X2,
Q2
-], (e, t, n, r, i) => hU(e, "xAxis") ? TU(t, r, !1) : TU(n, i, !1)), kLe = (e, t, n, r, i) => i;
-function ALe(e) {
+], (e, t, n, r, i) => hU(e, "xAxis") ? TU(t, r, !1) : TU(n, i, !1)), ULe = (e, t, n, r, i) => i;
+function WLe(e) {
return e.type === "line";
}
-var jLe = $([
+var GLe = $([
tW,
Y2,
Z2,
X2,
Q2,
- $([BX, kLe], (e, t) => e.filter(ALe).find((e) => e.id === t)),
- OLe,
+ $([BX, ULe], (e, t) => e.filter(WLe).find((e) => e.id === t)),
+ HLe,
mK
], (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 ZLe({
+ if (p != null) return dRe({
layout: e,
xAxis: t,
yAxis: n,
@@ -67278,7 +67437,7 @@ var jLe = $([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function $2(e) {
- var t = nR(e), n = 3, r = 2;
+ var t = ZL(e), n = 3, r = 2;
if (t != null) {
var { r: i, strokeWidth: a } = t, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -67293,13 +67452,13 @@ function $2(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var MLe = ["id"], NLe = [
+var KLe = ["id"], qLe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], PLe = [
+], JLe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -67338,26 +67497,26 @@ function n4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? t4(Object(n), !0).forEach(function(t) {
- FLe(e, t, n[t]);
+ YLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function FLe(e, t, n) {
- return (t = ILe(t)) in e ? Object.defineProperty(e, t, {
+function YLe(e, t, n) {
+ return (t = XLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ILe(e) {
- var t = LLe(e, "string");
+function XLe(e) {
+ var t = ZLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function LLe(e, t) {
+function ZLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67369,14 +67528,14 @@ function LLe(e, t) {
}
function r4(e, t) {
if (e == null) return {};
- var n, r, i = RLe(e, t);
+ var n, r, i = QLe(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 RLe(e, t) {
+function QLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67385,7 +67544,7 @@ function RLe(e, t) {
}
return n;
}
-var zLe = (e) => {
+var $Le = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -67395,10 +67554,10 @@ var zLe = (e) => {
value: DU(n, t),
payload: e
}];
-}, BLe = /*#__PURE__*/ B.memo((e) => {
+}, eRe = /*#__PURE__*/ B.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: xz,
+ getPosition: gz,
settings: {
stroke: r,
strokeWidth: i,
@@ -67413,13 +67572,13 @@ var zLe = (e) => {
graphicalItemId: u
}
};
- return /*#__PURE__*/ B.createElement(m0, { tooltipEntrySettings: d });
+ return /*#__PURE__*/ B.createElement(p0, { tooltipEntrySettings: d });
}), i4 = (e, t) => `${t}px ${e}px`;
-function VLe(e, t) {
+function tRe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var HLe = (e, t, n) => {
+var nRe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return i4(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) {
@@ -67431,13 +67590,13 @@ var HLe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...VLe(n, i),
+ ...tRe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function ULe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = tR(r4(r, MLe));
+function rRe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = XL(r4(r, KLe));
return /*#__PURE__*/ B.createElement(w0, {
points: n,
dot: i,
@@ -67449,7 +67608,7 @@ function ULe(e) {
clipPathId: t
});
}
-function WLe(e) {
+function iRe(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, B.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -67467,10 +67626,10 @@ function WLe(e) {
fill: void 0
});
}), [r]);
- return /*#__PURE__*/ B.createElement(c1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ B.createElement(s1, { value: t ? i : void 0 }, n);
}
function a4(e) {
- var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = n4(n4({}, rR(r4(a, NLe))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = n4(n4({}, QL(r4(a, qLe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -67480,31 +67639,31 @@ function a4(e) {
connectNulls: c,
strokeDasharray: i ?? a.strokeDasharray
});
- return /*#__PURE__*/ B.createElement(B.Fragment, null, r?.length > 1 && /*#__PURE__*/ B.createElement(u0, e4({
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, r?.length > 1 && /*#__PURE__*/ B.createElement(l0, e4({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ B.createElement(ULe, {
+ }, d, { pathRef: n })), /*#__PURE__*/ B.createElement(rRe, {
points: r,
clipPathId: t,
props: a
}));
}
-function GLe(e) {
+function aRe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function KLe(e) {
+function oRe(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 = WG(o, "recharts-line-"), y = (0, B.useRef)(v), [b, x] = (0, B.useState)(!1), S = !b, C = (0, B.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, B.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = GLe(r.current), E = (0, B.useRef)(0);
+ }, [g]), T = aRe(r.current), E = (0, B.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ B.createElement(WLe, {
+ return /*#__PURE__*/ B.createElement(iRe, {
points: o,
showLabels: S
}, n.children, /*#__PURE__*/ B.createElement(UG, {
@@ -67517,20 +67676,20 @@ function KLe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = gz(D, T + D, e), u = Math.min(l, T), d = c ? s ? HLe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : i4(T, u) : s == null ? void 0 : String(s);
+ var l = dz(D, T + D, e), u = Math.min(l, T), d = c ? s ? nRe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : i4(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
if (_[r]) {
var i = _[r];
return n4(n4({}, t), {}, {
- x: gz(i.x, t.x, e),
- y: gz(i.y, t.y, e)
+ x: dz(i.x, t.x, e),
+ y: dz(i.y, t.y, e)
});
}
return f ? n4(n4({}, t), {}, {
- x: gz(p * 2, t.x, e),
- y: gz(m / 2, t.y, e)
+ x: dz(p * 2, t.x, e),
+ y: dz(m / 2, t.y, e)
}) : n4(n4({}, t), {}, {
x: t.x,
y: t.y
@@ -67551,11 +67710,11 @@ function KLe(e) {
pathRef: r,
strokeDasharray: d
});
- }), /*#__PURE__*/ B.createElement(d1, { label: n.label }));
+ }), /*#__PURE__*/ B.createElement(u1, { label: n.label }));
}
-function qLe(e) {
+function sRe(e) {
var { clipPathId: t, props: n } = e, r = (0, B.useRef)(null), i = (0, B.useRef)(0), a = (0, B.useRef)(null);
- return /*#__PURE__*/ B.createElement(KLe, {
+ return /*#__PURE__*/ B.createElement(oRe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -67563,17 +67722,17 @@ function qLe(e) {
pathRef: a
});
}
-var JLe = (e, t) => ({
+var cRe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
errorVal: mU(e.payload, t)
-}), YLe = class extends B.Component {
+}), lRe = class extends B.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
- var p = Jr("recharts-line", r), m = u, { r: h, strokeWidth: g } = $2(t), _ = t0(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ B.createElement(e$, { zIndex: f }, /*#__PURE__*/ B.createElement(sR, { className: p }, d && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(J2, {
+ var p = Jr("recharts-line", r), m = u, { r: h, strokeWidth: g } = $2(t), _ = e0(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: f }, /*#__PURE__*/ B.createElement(nR, { className: p }, d && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(J2, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -67586,9 +67745,9 @@ var JLe = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: JLe,
+ dataPointFormatter: cRe,
errorBarOffset: 0
- }, /*#__PURE__*/ B.createElement(qLe, {
+ }, /*#__PURE__*/ B.createElement(sRe, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ B.createElement(j0, {
@@ -67619,11 +67778,11 @@ var JLe = (e, t) => ({
zIndex: RK.line,
type: "linear"
};
-function XLe(e) {
- var t = jz(e, o4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = r4(t, PLe), { needClip: _ } = q2(p, m), v = O0(), y = nW(), b = LU(), x = Q((e) => jLe(e, p, m, b, h));
+function uRe(e) {
+ var t = Ez(e, o4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = r4(t, JLe), { needClip: _ } = q2(p, m), v = O0(), y = nW(), b = LU(), x = Q((e) => GLe(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var { height: S, width: C, x: w, y: T } = v;
- return /*#__PURE__*/ B.createElement(YLe, e4({}, g, {
+ return /*#__PURE__*/ B.createElement(lRe, e4({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -67647,7 +67806,7 @@ function XLe(e) {
needClip: _
}));
}
-function ZLe(e) {
+function dRe(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 = mU(e, o);
@@ -67659,11 +67818,11 @@ function ZLe(e) {
entry: e,
index: c
}),
- y: (vz(l) ? null : r.scale.map(l)) ?? null,
+ y: (pz(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = vz(l) ? null : n.scale.map(l), d = bU({
+ var u = pz(l) ? null : n.scale.map(l), d = bU({
axis: r,
ticks: a,
bandSize: s,
@@ -67678,12 +67837,12 @@ function ZLe(e) {
};
}).filter(Boolean);
}
-function QLe(e) {
- var t = jz(e, o4), n = LU();
- return /*#__PURE__*/ B.createElement(_0, {
+function fRe(e) {
+ var t = Ez(e, o4), n = LU();
+ return /*#__PURE__*/ B.createElement(g0, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(h0, { legendPayload: zLe(t) }), /*#__PURE__*/ B.createElement(BLe, {
+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(m0, { legendPayload: $Le(t) }), /*#__PURE__*/ B.createElement(eRe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -67694,7 +67853,7 @@ function QLe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ B.createElement(y0, {
+ }), /*#__PURE__*/ B.createElement(v0, {
type: "line",
id: e,
data: t.data,
@@ -67704,9 +67863,9 @@ function QLe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ B.createElement(XLe, e4({}, t, { id: e }))));
+ }), /*#__PURE__*/ B.createElement(uRe, e4({}, t, { id: e }))));
}
-var s4 = /*#__PURE__*/ B.memo(QLe, eG);
+var s4 = /*#__PURE__*/ B.memo(fRe, eG);
s4.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -67718,19 +67877,19 @@ function l4(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var u4 = (e, t, n) => qZ(e, "xAxis", c4(e, t), n), d4 = (e, t, n) => KZ(e, "xAxis", c4(e, t), n), f4 = (e, t, n) => qZ(e, "yAxis", l4(e, t), n), p4 = (e, t, n) => KZ(e, "yAxis", l4(e, t), n), $Le = $([
+var u4 = (e, t, n) => KZ(e, "xAxis", c4(e, t), n), d4 = (e, t, n) => GZ(e, "xAxis", c4(e, t), n), f4 = (e, t, n) => KZ(e, "yAxis", l4(e, t), n), p4 = (e, t, n) => GZ(e, "yAxis", l4(e, t), n), pRe = $([
tW,
u4,
f4,
d4,
p4
-], (e, t, n, r, i) => hU(e, "xAxis") ? TU(t, r, !1) : TU(n, i, !1)), m4 = $([BX, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), h4 = (e) => hU(tW(e), "xAxis") ? "yAxis" : "xAxis", eRe = (e, t) => h4(e) === "yAxis" ? l4(e, t) : c4(e, t), tRe = $([
+], (e, t, n, r, i) => hU(e, "xAxis") ? TU(t, r, !1) : TU(n, i, !1)), m4 = $([BX, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), h4 = (e) => hU(tW(e), "xAxis") ? "yAxis" : "xAxis", mRe = (e, t) => h4(e) === "yAxis" ? l4(e, t) : c4(e, t), hRe = $([
tW,
u4,
f4,
d4,
p4,
- $([m4, (e, t, n) => iZ(e, h4(e), eRe(e, t), n)], (e, t) => {
+ $([m4, (e, t, n) => rZ(e, h4(e), mRe(e, t), n)], (e, t) => {
if (e != null && t != null) {
var { stackId: n } = e, r = iq(e);
if (n != null && r != null) {
@@ -67740,14 +67899,14 @@ var u4 = (e, t, n) => qZ(e, "xAxis", c4(e, t), n), d4 = (e, t, n) => KZ(e, "xAxi
}
}),
hK,
- $Le,
+ pRe,
m4,
- bEe
+ PEe
], (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 xRe({
+ if (m != null) return FRe({
layout: e,
xAxis: t,
yAxis: n,
@@ -67761,7 +67920,7 @@ var u4 = (e, t, n) => qZ(e, "xAxis", c4(e, t), n), d4 = (e, t, n) => KZ(e, "xAxi
bandSize: s
});
}
-}), nRe = ["id"], rRe = [
+}), gRe = ["id"], _Re = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -67788,14 +67947,14 @@ function g4() {
}
function _4(e, t) {
if (e == null) return {};
- var n, r, i = iRe(e, t);
+ var n, r, i = vRe(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 iRe(e, t) {
+function vRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67818,26 +67977,26 @@ function y4(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) {
- aRe(e, t, n[t]);
+ yRe(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 aRe(e, t, n) {
- return (t = oRe(t)) in e ? Object.defineProperty(e, t, {
+function yRe(e, t, n) {
+ return (t = bRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oRe(e) {
- var t = sRe(e, "string");
+function bRe(e) {
+ var t = xRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sRe(e, t) {
+function xRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67850,7 +68009,7 @@ function sRe(e, t) {
function b4(e, t) {
return e && e !== "none" ? e : t;
}
-var cRe = (e) => {
+var SRe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
@@ -67860,10 +68019,10 @@ var cRe = (e) => {
value: DU(n, t),
payload: e
}];
-}, lRe = /*#__PURE__*/ B.memo((e) => {
+}, CRe = /*#__PURE__*/ B.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: xz,
+ getPosition: gz,
settings: {
stroke: r,
strokeWidth: i,
@@ -67878,10 +68037,10 @@ var cRe = (e) => {
graphicalItemId: u
}
};
- return /*#__PURE__*/ B.createElement(m0, { tooltipEntrySettings: d });
+ return /*#__PURE__*/ B.createElement(p0, { tooltipEntrySettings: d });
});
-function uRe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = tR(r);
+function wRe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = XL(r);
return /*#__PURE__*/ B.createElement(w0, {
points: n,
dot: a,
@@ -67893,7 +68052,7 @@ function uRe(e) {
clipPathId: t
});
}
-function dRe(e) {
+function TRe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -67911,11 +68070,11 @@ function dRe(e) {
fill: void 0
});
});
- return /*#__PURE__*/ B.createElement(c1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ B.createElement(s1, { value: t ? i : void 0 }, n);
}
function x4(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 = _4(a, nRe), p = tR(f), m = rR(f);
- return /*#__PURE__*/ B.createElement(B.Fragment, null, t?.length > 1 && /*#__PURE__*/ B.createElement(sR, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ B.createElement(TG, g4({}, m, {
+ 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 = _4(a, gRe), p = XL(f), m = QL(f);
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, t?.length > 1 && /*#__PURE__*/ B.createElement(nR, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ B.createElement(TG, g4({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -67938,13 +68097,13 @@ function x4(e) {
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ B.createElement(uRe, {
+ }))), /*#__PURE__*/ B.createElement(wRe, {
points: t,
props: f,
clipPathId: i
}));
}
-function fRe(e) {
+function ERe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
if (!uU(a) || !uU(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
@@ -67955,7 +68114,7 @@ function fRe(e) {
height: Math.floor(s)
}) : null;
}
-function pRe(e) {
+function DRe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
if (!uU(a) || !uU(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
@@ -67966,21 +68125,21 @@ function pRe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function mRe(e) {
+function ORe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ B.createElement(fRe, {
+ return n === "vertical" ? /*#__PURE__*/ B.createElement(ERe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ B.createElement(pRe, {
+ }) : /*#__PURE__*/ B.createElement(DRe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function hRe(e) {
+function kRe(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 = WG((0, B.useMemo)(() => ({
points: o,
baseLine: s
@@ -67991,7 +68150,7 @@ function hRe(e) {
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ B.createElement(dRe, {
+ return /*#__PURE__*/ B.createElement(TRe, {
showLabels: v,
points: o
}, r.children, /*#__PURE__*/ B.createElement(UG, {
@@ -68010,18 +68169,18 @@ function hRe(e) {
if (x[r]) {
var i = x[r];
return y4(y4({}, t), {}, {
- x: gz(i.x, t.x, e),
- y: gz(i.y, t.y, e)
+ x: dz(i.x, t.x, e),
+ y: dz(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? gz(S, s, e) : vz(s) || uz(s) ? gz(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? dz(S, s, e) : pz(s) || az(s) ? dz(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
return y4(y4({}, t), {}, {
- x: gz(i.x, t.x, e),
- y: gz(i.y, t.y, e)
+ x: dz(i.x, t.x, e),
+ y: dz(i.y, t.y, e)
});
}
return t;
@@ -68034,24 +68193,24 @@ function hRe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ B.createElement(sR, null, c && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ B.createElement(mRe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ B.createElement(nR, null, c && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ B.createElement(ORe, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ B.createElement(sR, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ B.createElement(x4, {
+ }))), /*#__PURE__*/ B.createElement(nR, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ B.createElement(x4, {
points: o,
baseLine: s,
needClip: t,
clipPathId: n,
props: r
})));
- }), /*#__PURE__*/ B.createElement(d1, { label: r.label }));
+ }), /*#__PURE__*/ B.createElement(u1, { label: r.label }));
}
-function gRe(e) {
+function ARe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, B.useRef)(null), a = (0, B.useRef)();
- return /*#__PURE__*/ B.createElement(hRe, {
+ return /*#__PURE__*/ B.createElement(kRe, {
needClip: t,
clipPathId: n,
props: r,
@@ -68059,12 +68218,12 @@ function gRe(e) {
previousBaselineRef: a
});
}
-var _Re = class extends B.PureComponent {
+var jRe = class extends B.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
- var m = Jr("recharts-area", r), h = d, { r: g, strokeWidth: _ } = $2(t), v = t0(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ B.createElement(e$, { zIndex: p }, /*#__PURE__*/ B.createElement(sR, { className: m }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(J2, {
+ var m = Jr("recharts-area", r), h = d, { r: g, strokeWidth: _ } = $2(t), v = e0(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: p }, /*#__PURE__*/ B.createElement(nR, { className: m }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(J2, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -68073,7 +68232,7 @@ var _Re = class extends B.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ B.createElement(gRe, {
+ }))), /*#__PURE__*/ B.createElement(ARe, {
needClip: o,
clipPathId: h,
props: this.props
@@ -68091,7 +68250,7 @@ var _Re = class extends B.PureComponent {
clipPath: b
}));
}
-}, vRe = {
+}, MRe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -68111,11 +68270,11 @@ var _Re = class extends B.PureComponent {
yAxisId: 0,
zIndex: RK.area
};
-function yRe(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 = _4(e, rRe), g = nW(), _ = HQ(), { needClip: v } = q2(p, m), y = LU(), { points: b, isRange: x, baseLine: S } = Q((t) => tRe(t, e.id, y)) ?? {}, C = O0();
+function NRe(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 = _4(e, _Re), g = nW(), _ = VQ(), { needClip: v } = q2(p, m), y = LU(), { points: b, isRange: x, baseLine: S } = Q((t) => hRe(t, e.id, y)) ?? {}, C = O0();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: D } = C;
- return !b || !b.length ? null : /*#__PURE__*/ B.createElement(_Re, g4({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ B.createElement(jRe, g4({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -68141,7 +68300,7 @@ function yRe(e) {
yAxisId: m
}));
}
-var bRe = (e, t, n, r, i) => {
+var PRe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -68151,8 +68310,8 @@ var bRe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function xRe(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 = bRe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function FRe(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 = PRe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
@@ -68201,12 +68360,12 @@ function xRe(e) {
isRange: _
};
}
-function SRe(e) {
- var t = jz(e, vRe), n = LU();
- return /*#__PURE__*/ B.createElement(_0, {
+function IRe(e) {
+ var t = Ez(e, MRe), n = LU();
+ return /*#__PURE__*/ B.createElement(g0, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(h0, { legendPayload: cRe(t) }), /*#__PURE__*/ B.createElement(lRe, {
+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(m0, { legendPayload: SRe(t) }), /*#__PURE__*/ B.createElement(CRe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -68217,7 +68376,7 @@ function SRe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ B.createElement(y0, {
+ }), /*#__PURE__*/ B.createElement(v0, {
type: "area",
id: e,
data: t.data,
@@ -68231,15 +68390,15 @@ function SRe(e) {
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ B.createElement(yRe, g4({}, t, { id: e }))));
+ }), /*#__PURE__*/ B.createElement(NRe, g4({}, t, { id: e }))));
}
-var S4 = /*#__PURE__*/ B.memo(SRe, eG);
+var S4 = /*#__PURE__*/ B.memo(IRe, eG);
S4.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var CRe = "Invariant failed";
-function wRe(e, t) {
- if (!e) throw Error(CRe);
+var LRe = "Invariant failed";
+function RRe(e, t) {
+ if (!e) throw Error(LRe);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -68253,87 +68412,87 @@ function C4() {
}, C4.apply(null, arguments);
}
function w4(e) {
- return /*#__PURE__*/ B.createElement(u0, C4({
+ return /*#__PURE__*/ B.createElement(l0, C4({
shapeType: "rectangle",
activeClassName: "recharts-active-bar",
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var TRe = function(e) {
+var zRe = 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) || vz(n);
- return i ? e(n, r) : (!i && wRe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ var i = Z(n) || pz(n);
+ return i ? e(n, r) : (!i && RRe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, ERe = (e, t, n) => n, T4 = $([BX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), DRe = $([T4], (e) => e?.maxBarSize), ORe = (e, t, n, r) => r, kRe = $([
+}, BRe = (e, t, n) => n, T4 = $([BX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), VRe = $([T4], (e) => e?.maxBarSize), HRe = (e, t, n, r) => r, URe = $([
tW,
BX,
c4,
l4,
- ERe
-], (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")), ARe = (e, t, n) => {
+ BRe
+], (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")), WRe = (e, t, n) => {
var r = tW(e), i = c4(e, t), a = l4(e, t);
- if (i != null && a != null) return r === "horizontal" ? iZ(e, "yAxis", a, n) : iZ(e, "xAxis", i, n);
-}, jRe = $([
- kRe,
+ if (i != null && a != null) return r === "horizontal" ? rZ(e, "yAxis", a, n) : rZ(e, "xAxis", i, n);
+}, GRe = $([
+ URe,
jK,
(e, t) => {
var n = tW(e), r = c4(e, t), i = l4(e, t);
- if (r != null && i != null) return n === "horizontal" ? zZ(e, "xAxis", r) : zZ(e, "yAxis", i);
+ if (r != null && i != null) return n === "horizontal" ? RZ(e, "xAxis", r) : RZ(e, "yAxis", i);
}
-], q0), MRe = (e, t, n) => {
+], q0), KRe = (e, t, n) => {
var r = T4(e, t);
if (r == null) return 0;
var i = c4(e, t), a = l4(e, t);
if (i == null || a == null) return 0;
- var o = tW(e), s = OK(e), { maxBarSize: c } = r, l = vz(c) ? s : c, u, d;
- return o === "horizontal" ? (u = qZ(e, "xAxis", i, n), d = KZ(e, "xAxis", i, n)) : (u = qZ(e, "yAxis", a, n), d = KZ(e, "yAxis", a, n)), TU(u, d, !0) ?? l ?? 0;
+ var o = tW(e), s = OK(e), { maxBarSize: c } = r, l = pz(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = KZ(e, "xAxis", i, n), d = GZ(e, "xAxis", i, n)) : (u = KZ(e, "yAxis", a, n), d = GZ(e, "yAxis", a, n)), TU(u, d, !0) ?? l ?? 0;
}, E4 = (e, t, n) => {
var r = tW(e), i = c4(e, t), a = l4(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = qZ(e, "xAxis", i, n), s = KZ(e, "xAxis", i, n)) : (o = qZ(e, "yAxis", a, n), s = KZ(e, "yAxis", a, n)), TU(o, s);
+ return r === "horizontal" ? (o = KZ(e, "xAxis", i, n), s = GZ(e, "xAxis", i, n)) : (o = KZ(e, "yAxis", a, n), s = GZ(e, "yAxis", a, n)), TU(o, s);
}
-}, NRe = $([
+}, qRe = $([
FU,
IU,
(e, t, n) => {
var r = c4(e, t);
- if (r != null) return qZ(e, "xAxis", r, n);
+ if (r != null) return KZ(e, "xAxis", r, n);
},
(e, t, n) => {
var r = l4(e, t);
- if (r != null) return qZ(e, "yAxis", r, n);
+ if (r != null) return KZ(e, "yAxis", r, n);
},
(e, t, n) => {
var r = c4(e, t);
- if (r != null) return KZ(e, "xAxis", r, n);
+ if (r != null) return GZ(e, "xAxis", r, n);
},
(e, t, n) => {
var r = l4(e, t);
- if (r != null) return KZ(e, "yAxis", r, n);
+ if (r != null) return GZ(e, "yAxis", r, n);
},
$([$([
- jRe,
+ GRe,
OK,
kK,
AK,
- MRe,
+ KRe,
E4,
- DRe
+ VRe
], X0), T4], Q0),
tW,
hK,
E4,
- $([ARe, T4], Z0),
+ $([WRe, T4], Z0),
T4,
- ORe
+ HRe
], (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 sze({
+ if (_ != null) return xze({
layout: s,
barSettings: d,
pos: o,
@@ -68350,7 +68509,7 @@ var TRe = function(e) {
dataStartIndex: m
});
}
-}), PRe = ["index"];
+}), JRe = ["index"];
function D4() {
return D4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -68360,16 +68519,16 @@ function D4() {
return e;
}, D4.apply(null, arguments);
}
-function FRe(e, t) {
+function YRe(e, t) {
if (e == null) return {};
- var n, r, i = IRe(e, t);
+ var n, r, i = XRe(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 IRe(e, t) {
+function XRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68378,31 +68537,31 @@ function IRe(e, t) {
}
return n;
}
-var O4 = /*#__PURE__*/ (0, B.createContext)(void 0), LRe = (e) => {
+var O4 = /*#__PURE__*/ (0, B.createContext)(void 0), ZRe = (e) => {
var t = (0, B.useContext)(O4);
if (t != null) return t.stackId;
if (e != null) return yU(e);
-}, RRe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, zRe = (e) => {
+}, QRe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, $Re = (e) => {
var t = (0, B.useContext)(O4);
if (t != null) {
var { stackId: n } = t;
- return `url(#${RRe(n, e)})`;
+ return `url(#${QRe(n, e)})`;
}
}, k4 = (e) => {
- var { index: t } = e, n = FRe(e, PRe), r = zRe(t);
- return /*#__PURE__*/ B.createElement(sR, D4({
+ var { index: t } = e, n = YRe(e, JRe), r = $Re(t);
+ return /*#__PURE__*/ B.createElement(nR, D4({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, BRe = [
+}, eze = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], VRe = [
+], tze = [
"value",
"background",
"tooltipPosition"
-], HRe = ["id"], URe = [
+], nze = ["id"], rze = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -68430,26 +68589,26 @@ function M4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j4(Object(n), !0).forEach(function(t) {
- WRe(e, t, n[t]);
+ ize(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function WRe(e, t, n) {
- return (t = GRe(t)) in e ? Object.defineProperty(e, t, {
+function ize(e, t, n) {
+ return (t = aze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function GRe(e) {
- var t = KRe(e, "string");
+function aze(e) {
+ var t = oze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function KRe(e, t) {
+function oze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68461,14 +68620,14 @@ function KRe(e, t) {
}
function N4(e, t) {
if (e == null) return {};
- var n, r, i = qRe(e, t);
+ var n, r, i = sze(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 qRe(e, t) {
+function sze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68477,7 +68636,7 @@ function qRe(e, t) {
}
return n;
}
-var JRe = (e) => {
+var cze = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -68487,10 +68646,10 @@ var JRe = (e) => {
value: DU(n, t),
payload: e
}];
-}, YRe = /*#__PURE__*/ B.memo((e) => {
+}, lze = /*#__PURE__*/ B.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: void 0,
- getPosition: xz,
+ getPosition: gz,
settings: {
stroke: n,
strokeWidth: r,
@@ -68505,19 +68664,19 @@ var JRe = (e) => {
graphicalItemId: l
}
};
- return /*#__PURE__*/ B.createElement(m0, { tooltipEntrySettings: u });
+ return /*#__PURE__*/ B.createElement(p0, { tooltipEntrySettings: u });
});
-function XRe(e) {
- var t = Q(NQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = N4(a, BRe), u = d0(o, r, a.id), d = f0(s), f = p0(c, r, a.id);
+function uze(e) {
+ var t = Q(MQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = N4(a, eze), u = u0(o, r, a.id), d = d0(s), f = f0(c, r, a.id);
if (!i || n == null) return null;
- var p = nR(i);
- return /*#__PURE__*/ B.createElement(e$, { zIndex: d2(i, RK.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = N4(e, VRe);
+ var p = ZL(i);
+ return /*#__PURE__*/ B.createElement($Q, { zIndex: d2(i, RK.barBackground) }, n.map((e, n) => {
+ var { value: a, background: o, tooltipPosition: s } = e, c = N4(e, tze);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = M4(M4(M4(M4(M4({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), kz(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), wz(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -68528,7 +68687,7 @@ function XRe(e) {
return /*#__PURE__*/ B.createElement(w4, A4({ key: `background-bar-${n}` }, _));
}));
}
-function ZRe(e) {
+function dze(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -68546,10 +68705,10 @@ function ZRe(e) {
fill: e.fill
});
});
- return /*#__PURE__*/ B.createElement(c1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ B.createElement(s1, { value: t ? i : void 0 }, n);
}
-function QRe(e) {
- var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(NQ), c = Q(FQ), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, B.useState)(!1), [f, p] = (0, B.useState)(!1);
+function fze(e) {
+ var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(MQ), c = Q(PQ), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, B.useState)(!1), [f, p] = (0, B.useState)(!1);
(0, B.useEffect)(() => {
var e;
return l ? (d(!0), e = requestAnimationFrame(() => {
@@ -68567,9 +68726,9 @@ function QRe(e) {
dataKey: o,
onTransitionEnd: m
}));
- return g ? /*#__PURE__*/ B.createElement(e$, { zIndex: RK.activeBar }, /*#__PURE__*/ B.createElement(k4, { index: i.originalDataIndex }, v)) : v;
+ return g ? /*#__PURE__*/ B.createElement($Q, { zIndex: RK.activeBar }, /*#__PURE__*/ B.createElement(k4, { index: i.originalDataIndex }, v)) : v;
}
-function $Re(e) {
+function pze(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ B.createElement(w4, A4({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -68578,24 +68737,24 @@ function $Re(e) {
dataKey: a
}));
}
-function eze(e) {
- var { data: t, props: n } = e, r = tR(n) ?? {}, { id: i } = r, a = N4(r, HRe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = N4(n, URe), p = d0(l, s, i), m = f0(d), h = p0(u, s, i);
+function mze(e) {
+ var { data: t, props: n } = e, r = XL(n) ?? {}, { id: i } = r, a = N4(r, nze), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = N4(n, rze), p = u0(l, s, i), m = d0(d), h = f0(u, s, i);
return t ? /*#__PURE__*/ B.createElement(B.Fragment, null, t.map((e, t) => /*#__PURE__*/ B.createElement(k4, A4({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, kz(f, e, t), {
+ }, wz(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ B.createElement(QRe, {
+ }), c ? /*#__PURE__*/ B.createElement(fze, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ B.createElement($Re, {
+ }) : /*#__PURE__*/ B.createElement(pze, {
shape: o,
baseProps: a,
entry: e,
@@ -68603,13 +68762,13 @@ function eze(e) {
dataKey: s
})))) : null;
}
-function tze(e) {
+function hze(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 = WG(t, "recharts-bar-"), [p, m] = (0, B.useState)(!1), h = !p, g = (0, B.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, B.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ B.createElement(ZRe, {
+ return /*#__PURE__*/ B.createElement(dze, {
showLabels: h,
rects: r
}, /*#__PURE__*/ B.createElement(UG, {
@@ -68625,38 +68784,38 @@ function tze(e) {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
if (r) return M4(M4({}, t), {}, {
- x: gz(r.x, t.x, e),
- y: gz(r.y, t.y, e),
- width: gz(r.width, t.width, e),
- height: gz(r.height, t.height, e)
+ x: dz(r.x, t.x, e),
+ y: dz(r.y, t.y, e),
+ width: dz(r.width, t.width, e),
+ height: dz(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = gz(0, t.height, e), o = gz(t.stackedBarStart, t.y, e);
+ var a = dz(0, t.height, e), o = dz(t.stackedBarStart, t.y, e);
return M4(M4({}, t), {}, {
y: o,
height: a
});
}
- var s = gz(0, t.width, e), c = gz(t.stackedBarStart, t.x, e);
+ var s = dz(0, t.width, e), c = dz(t.stackedBarStart, t.x, e);
return M4(M4({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ B.createElement(sR, null, /*#__PURE__*/ B.createElement(eze, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ B.createElement(nR, null, /*#__PURE__*/ B.createElement(mze, {
props: t,
data: a
}));
- }), /*#__PURE__*/ B.createElement(d1, { label: t.label }), t.children);
+ }), /*#__PURE__*/ B.createElement(u1, { label: t.label }), t.children);
}
-function nze(e) {
+function gze(e) {
var t = (0, B.useRef)(null);
- return /*#__PURE__*/ B.createElement(tze, {
+ return /*#__PURE__*/ B.createElement(hze, {
previousRectanglesRef: t,
props: e
});
}
-var P4 = 0, rze = (e, t) => {
+var P4 = 0, _ze = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
@@ -68664,29 +68823,29 @@ var P4 = 0, rze = (e, t) => {
value: n,
errorVal: mU(e, t)
};
-}, ize = class extends B.PureComponent {
+}, vze = class extends B.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
var l = Jr("recharts-bar", r), u = c;
- return /*#__PURE__*/ B.createElement(sR, {
+ return /*#__PURE__*/ B.createElement(nR, {
className: l,
id: c
}, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(J2, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ B.createElement(sR, {
+ })), /*#__PURE__*/ B.createElement(nR, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ B.createElement(XRe, {
+ }, /*#__PURE__*/ B.createElement(uze, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ B.createElement(nze, this.props)));
+ }), /*#__PURE__*/ B.createElement(gze, this.props)));
}
-}, aze = {
+}, yze = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -68701,17 +68860,17 @@ var P4 = 0, rze = (e, t) => {
yAxisId: 0,
zIndex: RK.bar
};
-function oze(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 } = q2(t, n), f = nW(), p = LU(), m = e0(e.children, _$), h = Q((t) => NRe(t, e.id, p, m));
+function bze(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 } = q2(t, n), f = nW(), p = LU(), m = $1(e.children, g$), h = Q((t) => qRe(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ B.createElement(K2, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: rze,
+ dataPointFormatter: _ze,
errorBarOffset: g
- }, /*#__PURE__*/ B.createElement(ize, A4({}, e, {
+ }, /*#__PURE__*/ B.createElement(vze, A4({}, e, {
layout: f,
needClip: d,
data: h,
@@ -68727,7 +68886,7 @@ function oze(e) {
isAnimationActive: u
})));
}
-function sze(e) {
+function xze(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 = SU({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
@@ -68736,7 +68895,7 @@ function sze(e) {
if (E == null) return null;
_ = vU(E, v);
} else _ = mU(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = TRe(r, P4)(_[1], f);
+ var D = zRe(r, P4)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
@@ -68749,13 +68908,13 @@ function sze(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = uz(A) ? 0 : A, T = {
+ if (w = az(A) ? 0 : A, T = {
x,
y: p.top,
width: C,
height: p.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = lz(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = iz(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
@@ -68774,7 +68933,7 @@ function sze(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var ee = lz(C || D) * (Math.abs(D) - Math.abs(C));
+ var ee = iz(C || D) * (Math.abs(D) - Math.abs(C));
C += ee;
}
}
@@ -68796,12 +68955,12 @@ function sze(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function cze(e) {
- var t = jz(e, aze), n = LRe(t.stackId), r = LU();
- return /*#__PURE__*/ B.createElement(_0, {
+function Sze(e) {
+ var t = Ez(e, yze), n = ZRe(t.stackId), r = LU();
+ return /*#__PURE__*/ B.createElement(g0, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(h0, { legendPayload: JRe(t) }), /*#__PURE__*/ B.createElement(YRe, {
+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(m0, { legendPayload: cze(t) }), /*#__PURE__*/ B.createElement(lze, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -68811,7 +68970,7 @@ function cze(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ B.createElement(y0, {
+ }), /*#__PURE__*/ B.createElement(v0, {
type: "bar",
id: e,
data: void 0,
@@ -68826,23 +68985,23 @@ function cze(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ B.createElement(e$, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(oze, A4({}, t, { id: e })))));
+ }), /*#__PURE__*/ B.createElement($Q, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(bze, A4({}, t, { id: e })))));
}
-var F4 = /*#__PURE__*/ B.memo(cze, eG);
+var F4 = /*#__PURE__*/ B.memo(Sze, eG);
F4.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var lze = ["domain", "range"], uze = ["domain", "range"];
+var Cze = ["domain", "range"], wze = ["domain", "range"];
function I4(e, t) {
if (e == null) return {};
- var n, r, i = dze(e, t);
+ var n, r, i = Tze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function dze(e, t) {
+function Tze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68856,16 +69015,16 @@ function L4(e, t) {
}
function R4(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = I4(e, lze), { domain: a, range: o } = t, s = I4(t, uze);
+ var { domain: n, range: r } = e, i = I4(e, Cze), { domain: a, range: o } = t, s = I4(t, wze);
return !L4(n, a) || !L4(r, o) ? !1 : eG(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var fze = ["type"], pze = [
+var Eze = ["type"], Dze = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], mze = ["id", "scale"];
+], Oze = ["id", "scale"];
function z4() {
return z4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -68889,26 +69048,26 @@ function V4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B4(Object(n), !0).forEach(function(t) {
- hze(e, t, n[t]);
+ kze(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function hze(e, t, n) {
- return (t = gze(t)) in e ? Object.defineProperty(e, t, {
+function kze(e, t, n) {
+ return (t = Aze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function gze(e) {
- var t = _ze(e, "string");
+function Aze(e) {
+ var t = jze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function _ze(e, t) {
+function jze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68920,14 +69079,14 @@ function _ze(e, t) {
}
function H4(e, t) {
if (e == null) return {};
- var n, r, i = vze(e, t);
+ var n, r, i = Mze(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 vze(e, t) {
+function Mze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68936,23 +69095,23 @@ function vze(e, t) {
}
return n;
}
-function yze(e) {
- var t = TB(), n = (0, B.useRef)(null), r = rW(), { type: i } = e, a = H4(e, fze), o = HK(r, "xAxis", i), s = (0, B.useMemo)(() => {
+function Nze(e) {
+ var t = DB(), n = (0, B.useRef)(null), r = rW(), { type: i } = e, a = H4(e, Eze), o = HK(r, "xAxis", i), s = (0, B.useMemo)(() => {
if (o != null) return V4(V4({}, a), {}, { type: o });
}, [a, o]);
return (0, B.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(FPe(s)) : n.current !== s && t(IPe({
+ s != null && (n.current === null ? t(YPe(s)) : n.current !== s && t(XPe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, B.useLayoutEffect)(() => () => {
- n.current &&= (t(LPe(n.current)), null);
+ n.current &&= (t(ZPe(n.current)), null);
}, [t]), null;
}
-var bze = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(IU), i = LU(), a = "xAxis", o = Q((e) => WZ(e, a, t, i)), s = Q((e) => LZ(e, t)), c = Q((e) => Vke(e, t)), l = Q((e) => AX(e, t));
+var Pze = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(IU), i = LU(), a = "xAxis", o = Q((e) => UZ(e, a, t, i)), s = Q((e) => IZ(e, t)), c = Q((e) => nAe(e, t)), l = Q((e) => AX(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = H4(e, pze), { id: m, scale: h } = l, g = H4(l, mze);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = H4(e, Dze), { id: m, scale: h } = l, g = H4(l, Oze);
return /*#__PURE__*/ B.createElement(R2, z4({}, p, g, {
x: c.x,
y: c.y,
@@ -68964,7 +69123,7 @@ var bze = (e) => {
axisType: a,
axisId: t
}));
-}, xze = {
+}, Fze = {
allowDataOverflow: kX.allowDataOverflow,
allowDecimals: kX.allowDecimals,
allowDuplicatedCategory: kX.allowDuplicatedCategory,
@@ -68989,8 +69148,8 @@ var bze = (e) => {
niceTicks: kX.niceTicks,
xAxisId: 0
}, U4 = /*#__PURE__*/ B.memo((e) => {
- var t = jz(e, xze);
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(yze, {
+ var t = Ez(e, Fze);
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(Nze, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -69016,16 +69175,16 @@ var bze = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ B.createElement(bze, t));
+ }), /*#__PURE__*/ B.createElement(Pze, t));
}, R4);
U4.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var Sze = ["type"], Cze = [
+var Ize = ["type"], Lze = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], wze = ["id", "scale"];
+], Rze = ["id", "scale"];
function W4() {
return W4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -69049,26 +69208,26 @@ function K4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? G4(Object(n), !0).forEach(function(t) {
- Tze(e, t, n[t]);
+ zze(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Tze(e, t, n) {
- return (t = Eze(t)) in e ? Object.defineProperty(e, t, {
+function zze(e, t, n) {
+ return (t = Bze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Eze(e) {
- var t = Dze(e, "string");
+function Bze(e) {
+ var t = Vze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Dze(e, t) {
+function Vze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -69080,14 +69239,14 @@ function Dze(e, t) {
}
function q4(e, t) {
if (e == null) return {};
- var n, r, i = Oze(e, t);
+ var n, r, i = Hze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Oze(e, t) {
+function Hze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69096,27 +69255,27 @@ function Oze(e, t) {
}
return n;
}
-function kze(e) {
- var t = TB(), n = (0, B.useRef)(null), r = rW(), { type: i } = e, a = q4(e, Sze), o = HK(r, "yAxis", i), s = (0, B.useMemo)(() => {
+function Uze(e) {
+ var t = DB(), n = (0, B.useRef)(null), r = rW(), { type: i } = e, a = q4(e, Ize), o = HK(r, "yAxis", i), s = (0, B.useMemo)(() => {
if (o != null) return K4(K4({}, a), {}, { type: o });
}, [o, a]);
return (0, B.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(RPe(s)) : n.current !== s && t(zPe({
+ s != null && (n.current === null ? t(QPe(s)) : n.current !== s && t($Pe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, B.useLayoutEffect)(() => () => {
- n.current &&= (t(BPe(n.current)), null);
+ n.current &&= (t(eFe(n.current)), null);
}, [t]), null;
}
-function Aze(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = Q(IU), c = LU(), l = TB(), u = "yAxis", d = Q((e) => RZ(e, t)), f = Q((e) => Hke(e, t)), p = Q((e) => WZ(e, u, t, c)), m = Q((e) => NX(e, t));
+function Wze(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = Q(IU), c = LU(), l = DB(), u = "yAxis", d = Q((e) => LZ(e, t)), f = Q((e) => rAe(e, t)), p = Q((e) => UZ(e, u, t, c)), m = Q((e) => NX(e, t));
if ((0, B.useLayoutEffect)(() => {
- if (!(r !== "auto" || !d || e1(i) || /*#__PURE__*/ (0, B.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !d || $$(i) || /*#__PURE__*/ (0, B.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(WPe({
+ Math.round(d.width) !== Math.round(n) && l(iFe({
id: t,
width: n
}));
@@ -69131,7 +69290,7 @@ function Aze(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = q4(e, Cze), { id: y, scale: b } = m, x = q4(m, wze);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = q4(e, Lze), { id: y, scale: b } = m, x = q4(m, Rze);
return /*#__PURE__*/ B.createElement(R2, W4({}, v, x, {
ref: a,
labelRef: o,
@@ -69147,7 +69306,7 @@ function Aze(e) {
axisId: t
}));
}
-var jze = {
+var Gze = {
allowDataOverflow: MX.allowDataOverflow,
allowDecimals: MX.allowDecimals,
allowDuplicatedCategory: MX.allowDuplicatedCategory,
@@ -69172,8 +69331,8 @@ var jze = {
width: MX.width,
yAxisId: 0
}, J4 = /*#__PURE__*/ B.memo((e) => {
- var t = jz(e, jze);
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(kze, {
+ var t = Ez(e, Gze);
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(Uze, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -69199,7 +69358,7 @@ var jze = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ B.createElement(Aze, t));
+ }), /*#__PURE__*/ B.createElement(Wze, t));
}, R4);
J4.displayName = "YAxis";
var Y4 = $([
@@ -69207,19 +69366,19 @@ var Y4 = $([
tW,
tq,
lq,
- EQ,
- OQ,
- RAe,
+ TQ,
+ DQ,
+ $Ae,
FU
-], GAe);
+], oje);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function Mze(e) {
+function Kze(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function X4(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (Mze(e)) {
+ if (Kze(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 {
@@ -69239,7 +69398,7 @@ Q4.startListening({
actionCreator: Z4,
effect: (e, t) => {
var n = e.payload, r = Y4(t.getState(), X4(n));
- r?.activeIndex != null && t.dispatch(Qke({
+ r?.activeIndex != null && t.dispatch(pAe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
@@ -69253,14 +69412,14 @@ e3.startListening({
var n = e.payload, { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i?.includes("mousemove");
t3 !== null && (cancelAnimationFrame(t3), t3 = null), n3 !== null && (typeof r != "number" || !a) && (clearTimeout(n3), n3 = null), r3 = X4(n);
var o = () => {
- var e = t.getState(), n = ZZ(e, e.tooltip.settings.shared);
+ var e = t.getState(), n = XZ(e, e.tooltip.settings.shared);
if (!r3) {
t3 = null, n3 = null;
return;
}
if (n === "axis") {
var r = Y4(e, r3);
- r?.activeIndex == null ? t.dispatch(nQ()) : t.dispatch(rQ({
+ r?.activeIndex == null ? t.dispatch(tQ()) : t.dispatch(nQ({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
@@ -69277,7 +69436,7 @@ e3.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function Nze(e, t) {
+function qze(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
@@ -69300,11 +69459,11 @@ var i3 = {
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? i3.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;
} }
-}), Pze = a3.reducer, { updateOptions: Fze } = a3.actions, o3 = FH({
+}), Jze = a3.reducer, { updateOptions: Yze } = a3.actions, o3 = FH({
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: Ize } = o3.actions, Lze = o3.reducer, s3 = EH("keyDown"), c3 = EH("focus"), l3 = EH("blur"), u3 = oU(), d3 = null, f3 = null, p3 = null;
+}), { updatePolarOptions: Xze } = o3.actions, Zze = o3.reducer, s3 = EH("keyDown"), c3 = EH("focus"), l3 = EH("blur"), u3 = oU(), d3 = null, f3 = null, p3 = null;
u3.startListening({
actionCreator: s3,
effect: (e, t) => {
@@ -69317,22 +69476,22 @@ u3.startListening({
if (e.rootProps.accessibilityLayer === !1) return;
var { keyboardInteraction: n } = e.tooltip, r = p3;
if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;
- var i = lQ(n, bQ(e), nZ(e), wQ(e)), a = i == null ? -1 : Number(i);
+ var i = cQ(n, yQ(e), tZ(e), CQ(e)), a = i == null ? -1 : Number(i);
if (!Number.isFinite(a) || a < 0) return;
- var o = OQ(e);
+ var o = DQ(e);
if (r === "Enter") {
- var s = YQ(e, "axis", "hover", String(n.index));
- t.dispatch(aQ({
+ var s = JQ(e, "axis", "hover", String(n.index));
+ t.dispatch(iQ({
active: !n.active,
activeIndex: n.index,
activeCoordinate: s
}));
return;
}
- var c = Uke(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = iAe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
- var u = YQ(e, "axis", "hover", String(l));
- t.dispatch(aQ({
+ var u = JQ(e, "axis", "hover", String(l));
+ t.dispatch(iQ({
active: !0,
activeIndex: l.toString(),
activeCoordinate: u
@@ -69356,8 +69515,8 @@ u3.startListening({
if (n.rootProps.accessibilityLayer !== !1) {
var { keyboardInteraction: r } = n.tooltip;
if (!r.active && r.index == null) {
- var i = "0", a = YQ(n, "axis", "hover", String(i));
- t.dispatch(aQ({
+ var i = "0", a = JQ(n, "axis", "hover", String(i));
+ t.dispatch(iQ({
active: !0,
activeIndex: i,
activeCoordinate: a
@@ -69371,7 +69530,7 @@ u3.startListening({
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var { keyboardInteraction: r } = n.tooltip;
- r.active && t.dispatch(aQ({
+ r.active && t.dispatch(iQ({
active: !1,
activeIndex: r.index,
activeCoordinate: r.coordinate
@@ -69412,12 +69571,12 @@ g3.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: wAe(a),
- activeDataKey: FQ(a),
- activeIndex: NQ(a),
- activeLabel: PQ(a),
- activeTooltipIndex: NQ(a),
- isTooltipActive: TAe(a)
+ activeCoordinate: zAe(a),
+ activeDataKey: PQ(a),
+ activeIndex: MQ(a),
+ activeLabel: NQ(a),
+ activeTooltipIndex: MQ(a),
+ isTooltipActive: BAe(a)
};
n && n(o, r);
} finally {
@@ -69441,8 +69600,8 @@ g3.startListening({
}
}
});
-var Rze = $([
- $([pQ], (e) => e.tooltipItemPayloads),
+var Qze = $([
+ $([fQ], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
], (e, t, n) => {
@@ -69468,7 +69627,7 @@ x3.startListening({
}));
var o = () => {
if (T3 != null) {
- var e = t.getState(), n = ZZ(e, e.tooltip.settings.shared);
+ var e = t.getState(), n = XZ(e, e.tooltip.settings.shared);
if (n === "axis") {
var r = w3?.[0];
if (r == null) {
@@ -69476,7 +69635,7 @@ x3.startListening({
return;
}
var i = Y4(e, r);
- i?.activeIndex != null && t.dispatch(rQ({
+ i?.activeIndex != null && t.dispatch(nQ({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
@@ -69486,10 +69645,10 @@ x3.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(vCe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = yQ(e).find((e) => e.id === c);
+ var s = o.getAttribute(MCe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = vQ(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = Rze(e, s, c);
- t.dispatch(tQ({
+ var { dataKey: u } = l, d = Qze(e, s, c);
+ t.dispatch(eQ({
activeDataKey: u,
activeIndex: s,
activeCoordinate: d,
@@ -69526,27 +69685,27 @@ var E3 = {
reducers: { setEventSettings: (e, t) => {
t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = KW(t.payload.throttledEvents));
} }
-}), { setEventSettings: zze } = D3.actions, Bze = D3.reducer, Vze = dV({
- brush: iIe,
- cartesianAxis: GPe,
- chartData: vje,
- errorBars: CLe,
- eventSettings: Bze,
- graphicalItems: xPe,
- layout: aCe,
- legend: rwe,
- options: pje,
- polarAxis: dNe,
- polarOptions: Lze,
- referenceElements: hIe,
- renderedTicks: UIe,
- rootProps: Pze,
- tooltip: $ke,
- zIndex: ije
-}), Hze = function(e) {
+}), { setEventSettings: $ze } = D3.actions, eBe = D3.reducer, tBe = pV({
+ brush: vIe,
+ cartesianAxis: aFe,
+ chartData: Nje,
+ errorBars: LLe,
+ eventSettings: eBe,
+ graphicalItems: IPe,
+ layout: yCe,
+ legend: _we,
+ options: Oje,
+ polarAxis: ENe,
+ polarOptions: Zze,
+ referenceElements: kIe,
+ renderedTicks: rLe,
+ rootProps: Jze,
+ tooltip: mAe,
+ zIndex: yje
+}), nBe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return jSe({
- reducer: Vze,
+ return GSe({
+ reducer: tBe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -69567,7 +69726,7 @@ var E3 = {
return typeof e == "function" && (t = e()), t.concat(NH({ type: "raf" }));
},
devTools: dG.devToolsEnabled && {
- serialize: { replacer: Nze },
+ serialize: { replacer: qze },
name: `recharts-${t}`
}
});
@@ -69577,19 +69736,19 @@ var E3 = {
function O3(e) {
var { preloadedState: t, children: n, reduxStoreName: r } = e, i = LU(), a = (0, B.useRef)(null);
if (i) return n;
- a.current ??= Hze(t, r);
- var o = SB;
- return /*#__PURE__*/ B.createElement(_we, {
+ a.current ??= nBe(t, r);
+ var o = wB;
+ return /*#__PURE__*/ B.createElement(jwe, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function Uze(e) {
- var { layout: t, margin: n } = e, r = TB(), i = LU();
+function rBe(e) {
+ var { layout: t, margin: n } = e, r = DB(), i = LU();
return (0, B.useEffect)(() => {
- i || (r(nCe(t)), r(tCe(n)));
+ i || (r(gCe(t)), r(hCe(n)));
}, [
r,
i,
@@ -69597,31 +69756,31 @@ function Uze(e) {
n
]), null;
}
-var k3 = /*#__PURE__*/ (0, B.memo)(Uze, eG);
+var k3 = /*#__PURE__*/ (0, B.memo)(rBe, eG);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function A3(e) {
- var t = TB();
+ var t = DB();
return (0, B.useEffect)(() => {
- t(Fze(e));
+ t(Yze(e));
}, [t, e]), null;
}
var j3 = /*#__PURE__*/ (0, B.memo)((e) => {
- var t = TB();
+ var t = DB();
return (0, B.useEffect)(() => {
- t(zze(e));
+ t($ze(e));
}, [t, e]), null;
}, eG);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function M3(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, B.useRef)(null), i = TB();
- return (0, B.useLayoutEffect)(() => (r.current && i(nje({
+ var { zIndex: t, isPanorama: n } = e, r = (0, B.useRef)(null), i = DB();
+ return (0, B.useLayoutEffect)(() => (r.current && i(_je({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(rje({
+ i(vje({
zIndex: t,
isPanorama: n
}));
@@ -69636,7 +69795,7 @@ function M3(e) {
});
}
function N3(e) {
- var { children: t, isPanorama: n } = e, r = Q(qAe);
+ var { children: t, isPanorama: n } = e, r = Q(cje);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
return /*#__PURE__*/ B.createElement(B.Fragment, null, i.map((e) => /*#__PURE__*/ B.createElement(M3, {
@@ -69651,17 +69810,17 @@ function N3(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var Wze = ["children"];
-function Gze(e, t) {
+var iBe = ["children"];
+function aBe(e, t) {
if (e == null) return {};
- var n, r, i = Kze(e, t);
+ var n, r, i = oBe(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 Kze(e, t) {
+function oBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69679,46 +69838,46 @@ function P3() {
return e;
}, P3.apply(null, arguments);
}
-var qze = {
+var sBe = {
width: "100%",
height: "100%",
display: "block"
-}, Jze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+}, cBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
var n = $U(), r = eW(), i = hG();
if (!dU(n) || !dU(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ B.createElement(aR, P3({}, o, {
+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ B.createElement(eR, P3({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: qze,
+ style: sBe,
ref: t
}), a);
-}), Yze = (e) => {
+}), lBe = (e) => {
var { children: t } = e, n = Q(zU);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ B.createElement(aR, {
+ return /*#__PURE__*/ B.createElement(eR, {
width: r,
height: i,
x: o,
y: a
}, t);
}, F3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { children: n } = e, r = Gze(e, Wze);
- return LU() ? /*#__PURE__*/ B.createElement(Yze, null, /*#__PURE__*/ B.createElement(N3, { isPanorama: !0 }, n)) : /*#__PURE__*/ B.createElement(Jze, P3({ ref: t }, r), /*#__PURE__*/ B.createElement(N3, { isPanorama: !1 }, n));
+ var { children: n } = e, r = aBe(e, iBe);
+ return LU() ? /*#__PURE__*/ B.createElement(lBe, null, /*#__PURE__*/ B.createElement(N3, { isPanorama: !0 }, n)) : /*#__PURE__*/ B.createElement(cBe, P3({ ref: t }, r), /*#__PURE__*/ B.createElement(N3, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function Xze() {
- var e = TB(), [t, n] = (0, B.useState)(null), r = Q(_Ce);
+function uBe() {
+ var e = DB(), [t, n] = (0, B.useState)(null), r = Q(jCe);
return (0, B.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- uU(n) && n !== r && e(iCe(n));
+ uU(n) && n !== r && e(vCe(n));
}
}, [
t,
@@ -69738,30 +69897,30 @@ function I3(e, t) {
}
return n;
}
-function Zze(e) {
+function dBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? I3(Object(n), !0).forEach(function(t) {
- Qze(e, t, n[t]);
+ fBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qze(e, t, n) {
- return (t = $ze(t)) in e ? Object.defineProperty(e, t, {
+function fBe(e, t, n) {
+ return (t = pBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $ze(e) {
- var t = eBe(e, "string");
+function pBe(e) {
+ var t = mBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eBe(e, t) {
+function mBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -69780,7 +69939,7 @@ function L3() {
return e;
}, L3.apply(null, arguments);
}
-var tBe = () => (Dje(), null);
+var hBe = () => (Hje(), null);
function R3(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -69789,7 +69948,7 @@ function R3(e) {
}
return 0;
}
-var nBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+var gBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
var n = (0, B.useRef)(null), [r, i] = (0, B.useState)({
containerWidth: R3(e.style?.width),
containerHeight: R3(e.style?.height)
@@ -69821,7 +69980,7 @@ var nBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ B.createElement("div", L3({ ref: o }, e)));
-}), rBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+}), _Be = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, B.useState)({
containerWidth: R3(n),
containerHeight: R3(r)
@@ -69843,15 +70002,15 @@ var nBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ B.createElement("div", L3({ ref: s }, e)));
-}), iBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+}), vBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
var { width: n, height: r } = e;
return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(oW, {
width: n,
height: r
}), /*#__PURE__*/ B.createElement("div", L3({ ref: t }, e)));
-}), aBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+}), yBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ B.createElement(rBe, L3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ B.createElement(iBe, L3({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ B.createElement(_Be, L3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ B.createElement(vBe, L3({}, e, {
width: n,
height: r,
ref: t
@@ -69860,11 +70019,11 @@ var nBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
height: r
}), /*#__PURE__*/ B.createElement("div", L3({ ref: t }, e)));
});
-function oBe(e) {
- return e ? nBe : aBe;
+function bBe(e) {
+ return e ? gBe : yBe;
}
-var sBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, B.useRef)(null), x = TB(), [S, C] = (0, B.useState)(null), [w, T] = (0, B.useState)(null), E = Xze(), D = JU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, B.useCallback)((e) => {
+var xBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, B.useRef)(null), x = DB(), [S, C] = (0, B.useState)(null), [w, T] = (0, B.useState)(null), E = uBe(), D = JU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, B.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -69882,7 +70041,7 @@ var sBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
reactEvent: e
}));
}, [x, l]), N = (0, B.useCallback)((e) => {
- x(nQ()), x(h3({
+ x(tQ()), x(h3({
handler: u,
reactEvent: e
}));
@@ -69936,12 +70095,12 @@ var sBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), se = oBe(v);
- return /*#__PURE__*/ B.createElement(i$.Provider, { value: S }, /*#__PURE__*/ B.createElement(cR.Provider, { value: w }, /*#__PURE__*/ B.createElement(se, {
+ }, [x, p]), se = bBe(v);
+ return /*#__PURE__*/ B.createElement(r$.Provider, { value: S }, /*#__PURE__*/ B.createElement(rR.Provider, { value: w }, /*#__PURE__*/ B.createElement(se, {
width: O ?? g?.width,
height: k ?? g?.height,
className: Jr("recharts-wrapper", r),
- style: Zze({
+ style: dBe({
position: "relative",
cursor: "default",
width: O,
@@ -69962,8 +70121,8 @@ var sBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
onTouchMove: ae,
onTouchStart: ie,
ref: A
- }, /*#__PURE__*/ B.createElement(tBe, null), n)));
-}), cBe = [
+ }, /*#__PURE__*/ B.createElement(hBe, null), n)));
+}), SBe = [
"width",
"height",
"responsive",
@@ -69974,16 +70133,16 @@ var sBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
"title",
"desc"
];
-function lBe(e, t) {
+function CBe(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)) {
@@ -69993,7 +70152,7 @@ function uBe(e, t) {
return n;
}
var z3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = tR(lBe(e, cBe));
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = XL(CBe(e, SBe));
return c ? /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(oW, {
width: n,
height: r
@@ -70001,7 +70160,7 @@ var z3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ B.createElement(sBe, {
+ }, a)) : /*#__PURE__*/ B.createElement(xBe, {
className: o,
style: s,
width: n,
@@ -70023,7 +70182,7 @@ var z3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ B.createElement(gIe, null, a)));
+ }, /*#__PURE__*/ B.createElement(AIe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -70046,30 +70205,30 @@ function V3(e, t) {
}
return n;
}
-function dBe(e) {
+function TBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V3(Object(n), !0).forEach(function(t) {
- fBe(e, t, n[t]);
+ EBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function fBe(e, t, n) {
- return (t = pBe(t)) in e ? Object.defineProperty(e, t, {
+function EBe(e, t, n) {
+ return (t = DBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function pBe(e) {
- var t = mBe(e, "string");
+function DBe(e) {
+ var t = OBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function mBe(e, t) {
+function OBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70079,7 +70238,7 @@ function mBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var hBe = dBe({
+var kBe = TBe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -70095,7 +70254,7 @@ var hBe = dBe({
stackOffset: "none",
syncMethod: "index"
}, E3), H3 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
- var n = jz(e.categoricalChartProps, hBe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = Ez(e.categoricalChartProps, kBe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -70124,32 +70283,32 @@ var hBe = dBe({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ B.createElement(z3, B3({}, n, { ref: t })));
-}), gBe = ["axis"], _Be = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
+}), ABe = ["axis"], jBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: gBe,
- tooltipPayloadSearcher: c$,
+ validateTooltipEventTypes: ABe,
+ tooltipPayloadSearcher: s$,
categoricalChartProps: e,
ref: t
-})), vBe = ["axis", "item"], U3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
+})), MBe = ["axis", "item"], U3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: vBe,
- tooltipPayloadSearcher: c$,
+ validateTooltipEventTypes: MBe,
+ tooltipPayloadSearcher: s$,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function yBe(e) {
- var t = TB();
+function NBe(e) {
+ var t = DB();
return (0, B.useEffect)(() => {
- t(Ize(e));
+ t(Xze(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var bBe = ["layout"];
+var PBe = ["layout"];
function W3() {
return W3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -70159,16 +70318,16 @@ function W3() {
return e;
}, W3.apply(null, arguments);
}
-function xBe(e, t) {
+function FBe(e, t) {
if (e == null) return {};
- var n, r, i = SBe(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 SBe(e, t) {
+function IBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -70187,30 +70346,30 @@ function G3(e, t) {
}
return n;
}
-function CBe(e) {
+function LBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? G3(Object(n), !0).forEach(function(t) {
- wBe(e, t, n[t]);
+ RBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function wBe(e, t, n) {
- return (t = TBe(t)) in e ? Object.defineProperty(e, t, {
+function RBe(e, t, n) {
+ return (t = zBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function TBe(e) {
- var t = EBe(e, "string");
+function zBe(e) {
+ var t = BBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function EBe(e, t) {
+function BBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70220,7 +70379,7 @@ function EBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var K3 = CBe({
+var K3 = LBe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -70240,7 +70399,7 @@ var K3 = CBe({
innerRadius: 0,
outerRadius: "80%"
}, E3), q3 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
- var n = jz(e.categoricalChartProps, K3), { layout: r } = n, i = xBe(n, bBe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = Ez(e.categoricalChartProps, K3), { layout: r } = n, i = FBe(n, PBe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -70268,7 +70427,7 @@ var K3 = CBe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ B.createElement(yBe, {
+ }), /*#__PURE__*/ B.createElement(NBe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -70293,26 +70452,26 @@ function Y3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? J3(Object(n), !0).forEach(function(t) {
- DBe(e, t, n[t]);
+ VBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function DBe(e, t, n) {
- return (t = OBe(t)) in e ? Object.defineProperty(e, t, {
+function VBe(e, t, n) {
+ return (t = HBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function OBe(e) {
- var t = kBe(e, "string");
+function HBe(e) {
+ var t = UBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kBe(e, t) {
+function UBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70322,25 +70481,25 @@ function kBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var ABe = ["axis"], jBe = Y3(Y3({}, K3), {}, {
+var WBe = ["axis"], GBe = Y3(Y3({}, K3), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), MBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var n = jz(e, jBe);
+}), KBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var n = Ez(e, GBe);
return /*#__PURE__*/ B.createElement(q3, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: ABe,
- tooltipPayloadSearcher: c$,
+ validateTooltipEventTypes: WBe,
+ tooltipPayloadSearcher: s$,
categoricalChartProps: n,
ref: t
});
-}), NBe = ["axis"], PBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
+}), qBe = ["axis"], JBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: NBe,
- tooltipPayloadSearcher: c$,
+ validateTooltipEventTypes: qBe,
+ tooltipPayloadSearcher: s$,
categoricalChartProps: e,
ref: t
}));
@@ -70360,26 +70519,26 @@ function Z3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? X3(Object(n), !0).forEach(function(t) {
- FBe(e, t, n[t]);
+ YBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function FBe(e, t, n) {
- return (t = IBe(t)) in e ? Object.defineProperty(e, t, {
+function YBe(e, t, n) {
+ return (t = XBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function IBe(e) {
- var t = LBe(e, "string");
+function XBe(e) {
+ var t = ZBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function LBe(e, t) {
+function ZBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70389,17 +70548,17 @@ function LBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var RBe = ["axis", "item"], zBe = Z3(Z3({}, K3), {}, {
+var QBe = ["axis", "item"], $Be = Z3(Z3({}, K3), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), BBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var n = jz(e, zBe);
+}), eVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var n = Ez(e, $Be);
return /*#__PURE__*/ B.createElement(q3, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: RBe,
- tooltipPayloadSearcher: c$,
+ validateTooltipEventTypes: QBe,
+ tooltipPayloadSearcher: s$,
categoricalChartProps: n,
ref: t
});
@@ -70415,7 +70574,7 @@ var $3 = {
light: "",
dark: ".dark"
}, e6 = Object.keys($3);
-function VBe(e) {
+function tVe(e) {
for (let [t, n] of Object.entries(e)) if (n.colors && !e6.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${e6.join(", ")}). Received empty object or invalid keys.`);
}
var t6 = B.createContext(null);
@@ -70429,7 +70588,7 @@ function r6({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = B.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return VBe(t), /* @__PURE__ */ (0, H.jsx)(t6.Provider, {
+ return tVe(t), /* @__PURE__ */ (0, H.jsx)(t6.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, H.jsxs)("div", {
"data-slot": "chart",
@@ -70460,7 +70619,7 @@ function i6({ isLoading: e }) {
})
}) : null;
}
-function HBe(e, t) {
+function nVe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -70475,7 +70634,7 @@ var a6 = ({ 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 ? [] : HBe(r, s6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : nVe(r, s6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
}).filter(Boolean).join("\n"), i = Object.entries($3).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, H.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
@@ -70489,15 +70648,15 @@ function s6(e) {
let t = e6.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var UBe = (e = 10, t = 0, n = 70) => {
+var rVe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, WBe = {
+}, iVe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, GBe = {
+}, aVe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -70524,7 +70683,7 @@ function c6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, H.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: Q3("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", WBe[p], GBe[m], n),
+ className: Q3("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", iVe[p], aVe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, H.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
@@ -70538,7 +70697,7 @@ function c6({ 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: KBe(n, o)
+ style: oVe(n, o)
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: Q3("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -70557,10 +70716,10 @@ function c6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function KBe(e, t) {
+function oVe(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 l6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, H.jsx)(Fje, {
+var l6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, H.jsx)(Xje, {
animationDuration: e,
...t
});
@@ -70577,7 +70736,7 @@ function u6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, H.jsx)(i.icon, {}) : /* @__PURE__ */ (0, H.jsx)(qBe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, H.jsx)(i.icon, {}) : /* @__PURE__ */ (0, H.jsx)(sVe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -70586,8 +70745,8 @@ function u6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function qBe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = JBe(t, n), i = YBe(t, n);
+function sVe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = cVe(t, n), i = lVe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, H.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -70619,10 +70778,10 @@ function qBe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function JBe(e, t) {
+function cVe(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 YBe(e, t) {
+function lVe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -70642,7 +70801,7 @@ var d6 = iG, f6 = () => null, p6 = {
damping: 35,
mass: .8
};
-function XBe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function uVe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = B.useRef(null), [a, o] = B.useState(!1), s = (0, B.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, B.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -70688,7 +70847,7 @@ function XBe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function ZBe({ 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 dVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
let x = B.useRef(null), S = B.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = B.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = B.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -70722,7 +70881,7 @@ function ZBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = XBe({
+ }, [C, v]), { isDragging: A, bind: j } = uVe({
range: E,
totalPoints: C,
containerRef: x,
@@ -70747,16 +70906,16 @@ function ZBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
f,
A
]);
- let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, ee = C > 1 ? M.endIndex / (C - 1) * 100 : 100, te = FE(N), P = FE(ee);
+ let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, ee = C > 1 ? M.endIndex / (C - 1) * 100 : 100, te = jE(N), P = jE(ee);
te.get() !== N && te.set(N), P.get() !== ee && P.set(ee);
- let F = zE(te, p6), ne = zE(P, p6), I = LE(F, (e) => `${e}%`), re = LE(ne, (e) => `${e}%`), L = LE(F, (e) => `${e}%`), ie = LE(ne, (e) => `${Math.max(0, 100 - e)}%`), ae = FE(`${Math.max(0, ee - N)}%`), oe = (0, B.useCallback)(() => {
+ let F = FE(te, p6), ne = FE(P, p6), I = NE(F, (e) => `${e}%`), re = NE(ne, (e) => `${e}%`), L = NE(F, (e) => `${e}%`), ie = NE(ne, (e) => `${Math.max(0, 100 - e)}%`), ae = jE(`${Math.max(0, ee - N)}%`), oe = (0, B.useCallback)(() => {
ae.set(`${Math.max(0, ne.get() - F.get())}%`);
}, [
F,
ne,
ae
]);
- PE(F, "change", oe), PE(ne, "change", oe);
+ AE(F, "change", oe), AE(ne, "change", oe);
let se = (0, B.useCallback)((t) => {
if (!r) return String(t);
let n = e[t]?.[r];
@@ -70778,7 +70937,7 @@ function ZBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}),
/* @__PURE__ */ (0, H.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, H.jsx)(QBe, {
+ children: /* @__PURE__ */ (0, H.jsx)(fVe, {
data: e,
keys: S,
chartConfig: t,
@@ -70791,15 +70950,15 @@ function ZBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
barRadius: u
})
}),
- /* @__PURE__ */ (0, H.jsx)(BE.div, {
+ /* @__PURE__ */ (0, H.jsx)(IE.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 left-0 rounded-l-md backdrop-blur-[2px]",
style: { width: L }
}),
- /* @__PURE__ */ (0, H.jsx)(BE.div, {
+ /* @__PURE__ */ (0, H.jsx)(IE.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 right-0 rounded-r-md backdrop-blur-[2px]",
style: { width: ie }
}),
- /* @__PURE__ */ (0, H.jsx)(BE.div, {
+ /* @__PURE__ */ (0, H.jsx)(IE.div, {
className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",
style: {
left: I,
@@ -70824,7 +70983,7 @@ function ZBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}
function m6({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
- return /* @__PURE__ */ (0, H.jsxs)(BE.div, {
+ return /* @__PURE__ */ (0, H.jsxs)(IE.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, H.jsx)("div", {
@@ -70847,7 +71006,7 @@ function m6({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function QBe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function fVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = B.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: s6(t)
@@ -70907,7 +71066,7 @@ function QBe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
if (r === "line") return /* @__PURE__ */ (0, H.jsx)(YU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, H.jsxs)(_Be, {
+ children: /* @__PURE__ */ (0, H.jsxs)(jBe, {
data: e,
margin: {
top: 4,
@@ -70963,7 +71122,7 @@ function QBe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, H.jsx)(YU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, H.jsxs)(PBe, {
+ children: /* @__PURE__ */ (0, H.jsxs)(JBe, {
data: e,
margin: {
top: 4,
@@ -70989,7 +71148,7 @@ function QBe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function $Be({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function pVe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = B.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -71013,7 +71172,7 @@ function $Be({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var eVe = {
+var mVe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, H.jsx)("pattern", {
id: e,
x: "0",
@@ -71186,8 +71345,8 @@ var eVe = {
})
};
function h6({ variant: e }) {
- let t = (0, B.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = eVe[e];
- return /* @__PURE__ */ (0, H.jsxs)(e$, {
+ let t = (0, B.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = mVe[e];
+ return /* @__PURE__ */ (0, H.jsxs)($Q, {
zIndex: -1,
children: [/* @__PURE__ */ (0, H.jsxs)("defs", { children: [
/* @__PURE__ */ (0, H.jsx)(a, { id: n }),
@@ -71217,7 +71376,7 @@ function h6({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var g6 = 2, tVe = "loading", nVe = 2e3, rVe = "evil-stacked", iVe = .5, aVe = .05, oVe = [
+var g6 = 2, hVe = "loading", gVe = 2e3, _Ve = "evil-stacked", vVe = .5, yVe = .05, bVe = [
0,
.7,
.5,
@@ -71229,7 +71388,7 @@ function v6() {
return e;
}
function y6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = g6, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
- let _ = (0, B.useId)().replace(/:/g, ""), [v] = (0, B.useState)(() => Date.now()), [y, b] = (0, B.useState)(f), [x, S] = (0, B.useState)(!1), { loadingData: C, onShimmerExit: w } = TVe(m, h), { visibleData: T, brushProps: E } = $Be({ data: t }), D = (0, B.useMemo)(() => {
+ let _ = (0, B.useId)().replace(/:/g, ""), [v] = (0, B.useState)(() => Date.now()), [y, b] = (0, B.useState)(f), [x, S] = (0, B.useState)(!1), { loadingData: C, onShimmerExit: w } = zVe(m, h), { visibleData: T, brushProps: E } = pVe({ data: t }), D = (0, B.useMemo)(() => {
let e = B.Children.toArray(n), t = e.find((e) => (0, B.isValidElement)(e) && e.type === f6), r = (0, B.isValidElement)(t) ? t.props : {};
return {
slot: {
@@ -71272,7 +71431,7 @@ function y6({ config: e, data: t, children: n, className: r, chartProps: i, stac
children: /* @__PURE__ */ (0, H.jsxs)(r6, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, H.jsx)(ZBe, {
+ footer: O && !m && /* @__PURE__ */ (0, H.jsx)(dVe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -71303,7 +71462,7 @@ function y6({ config: e, data: t, children: n, className: r, chartProps: i, stac
d && /* @__PURE__ */ (0, H.jsx)(h6, { variant: d }),
/* @__PURE__ */ (0, H.jsx)(D2, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, H.jsx)(EVe, {
+ m && /* @__PURE__ */ (0, H.jsx)(BVe, {
chartId: _,
onShimmerExit: w
})
@@ -71312,8 +71471,8 @@ function y6({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function sVe({ 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 } = v6(), b = (0, B.useId)().replace(/:/g, ""), x = lce();
+function xVe({ 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 } = v6(), b = (0, B.useId)().replace(/:/g, ""), x = bce();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -71335,7 +71494,7 @@ function sVe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(F4, {
dataKey: e,
- stackId: u ? rVe : void 0,
+ stackId: u ? _Ve : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -71352,44 +71511,44 @@ function sVe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, H.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, H.jsx)(gVe, {
+ /* @__PURE__ */ (0, H.jsx)(AVe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, H.jsx)(_Ve, {
+ t === "hatched" && /* @__PURE__ */ (0, H.jsx)(jVe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, H.jsx)(yVe, {
+ t === "duotone" && /* @__PURE__ */ (0, H.jsx)(NVe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, H.jsx)(bVe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, H.jsx)(PVe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, H.jsx)(xVe, {
+ t === "gradient" && /* @__PURE__ */ (0, H.jsx)(FVe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, H.jsx)(SVe, {
+ t === "stripped" && /* @__PURE__ */ (0, H.jsx)(IVe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, H.jsx)(vVe, {
+ s && /* @__PURE__ */ (0, H.jsx)(MVe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, H.jsx)(CVe, {
+ o && /* @__PURE__ */ (0, H.jsx)(LVe, {
id: b,
dataKey: e
})
] })] });
}
-function cVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function SVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = v6();
return o ? null : /* @__PURE__ */ (0, H.jsx)(U4, {
tickLine: e,
@@ -71400,7 +71559,7 @@ function cVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function lVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function CVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = v6();
return s ? null : /* @__PURE__ */ (0, H.jsx)(J4, {
tickLine: e,
@@ -71412,7 +71571,7 @@ function lVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function uVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function wVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = v6();
return /* @__PURE__ */ (0, H.jsx)(W2, {
strokeDasharray: e,
@@ -71421,7 +71580,7 @@ function uVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function dVe({ variant: e, roundness: t, defaultIndex: n }) {
+function TVe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = v6();
return r ? null : /* @__PURE__ */ (0, H.jsx)(l6, {
cursor: !1,
@@ -71433,7 +71592,7 @@ function dVe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function fVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function EVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = v6();
return /* @__PURE__ */ (0, H.jsx)(d6, {
verticalAlign: n,
@@ -71447,7 +71606,7 @@ function fVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
});
}
var b6 = (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 = pVe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : mVe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = hVe({
+ 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 = DVe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : OVe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = kVe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -71484,7 +71643,7 @@ var b6 = (e) => {
children: [/* @__PURE__ */ (0, H.jsx)(QG, {
...e,
fill: "transparent"
- }), w ? /* @__PURE__ */ (0, H.jsx)(BE.g, {
+ }), w ? /* @__PURE__ */ (0, H.jsx)(IE.g, {
initial: w.initial,
animate: w.animate,
transition: w.transition,
@@ -71492,7 +71651,7 @@ var b6 = (e) => {
children: A
}) : A]
});
-}, pVe = (e, t, n, r, i) => {
+}, DVe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -71507,11 +71666,11 @@ var b6 = (e) => {
break;
default: s = t;
}
- let c = s * aVe * 1e3, l = iVe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * yVe * 1e3, l = vVe * 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: oVe,
+ ease: bVe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -71525,7 +71684,7 @@ var b6 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, mVe = (e, t, n) => {
+}, OVe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -71534,10 +71693,10 @@ var b6 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, hVe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, kVe = ({ 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;
-}, gVe = ({ id: e, dataKey: t, config: n }) => {
+}, AVe = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {});
return /* @__PURE__ */ (0, H.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -71559,7 +71718,7 @@ var b6 = (e) => {
}, i);
})
});
-}, _Ve = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
+}, jVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -71600,7 +71759,7 @@ var b6 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), vVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
+] }), MVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -71641,7 +71800,7 @@ var b6 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), yVe = ({ id: e, dataKey: t, config: n }) => {
+] }), NVe = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {});
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("linearGradient", {
@@ -71709,7 +71868,7 @@ var b6 = (e) => {
})
})
] });
-}, bVe = ({ id: e, dataKey: t, config: n }) => {
+}, PVe = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {});
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("linearGradient", {
@@ -71777,7 +71936,7 @@ var b6 = (e) => {
})
})
] });
-}, xVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
+}, FVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -71814,7 +71973,7 @@ var b6 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), SVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
+] }), IVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -71851,7 +72010,7 @@ var b6 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), CVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)("filter", {
+] }), LVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -71871,35 +72030,35 @@ var b6 = (e) => {
}),
/* @__PURE__ */ (0, H.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, H.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, H.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), wVe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), RVe = (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 TVe(e, t = 12) {
+function zVe(e, t = 12) {
let [n, r] = (0, B.useState)(!1), i = (0, B.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, B.useMemo)(() => UBe(t, 20, 80), [t, n]),
+ loadingData: (0, B.useMemo)(() => rVe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var EVe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(F4, {
- dataKey: tVe,
+var BVe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(F4, {
+ dataKey: hVe,
fill: "currentColor",
fillOpacity: .15,
radius: g6,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, H.jsx)("defs", { children: /* @__PURE__ */ (0, H.jsx)(DVe, {
+}), /* @__PURE__ */ (0, H.jsx)("defs", { children: /* @__PURE__ */ (0, H.jsx)(VVe, {
chartId: e,
onShimmerExit: t
-}) })] }), DVe = ({ chartId: e, onShimmerExit: t }) => {
- let n = wVe(), r = (0, B.useRef)(-1);
+}) })] }), VVe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = RVe(), r = (0, B.useRef)(-1);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -71922,7 +72081,7 @@ var EVe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fr
height: "1",
x: "0",
y: "0",
- children: /* @__PURE__ */ (0, H.jsx)(BE.rect, {
+ children: /* @__PURE__ */ (0, H.jsx)(IE.rect, {
y: "0",
width: "1",
height: "1",
@@ -71930,7 +72089,7 @@ var EVe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: nVe / 1e3,
+ duration: gVe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -71952,10 +72111,10 @@ var EVe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fr
})
] });
};
-y6.Bar = sVe, y6.XAxis = cVe, y6.YAxis = lVe, y6.Grid = uVe, y6.Tooltip = dVe, y6.Legend = fVe, y6.Brush = f6;
+y6.Bar = xVe, y6.XAxis = SVe, y6.YAxis = CVe, y6.Grid = wVe, y6.Tooltip = TVe, y6.Legend = EVe, y6.Brush = f6;
//#endregion
//#region src/react/charts/chart-card.tsx
-var x6 = `${iT({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var x6 = `${eT({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function S6({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, H.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -71982,7 +72141,7 @@ var C6 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], w6 = (e) => ({ light: [e] }), T6 = (e) => `s${e}`;
-function OVe(e) {
+function HVe(e) {
return Object.fromEntries(e.map((e, t) => [T6(t), {
label: e,
colors: w6(C6[t % C6.length])
@@ -72007,7 +72166,7 @@ function D6({ swatch: e, name: t, value: n }) {
});
}
var O6 = "size-2.5 shrink-0 rounded-xs";
-function kVe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function UVe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = n6(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, H.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
@@ -72032,7 +72191,7 @@ function kVe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function k6({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, H.jsx)(l6, {
cursor: !1,
- content: /* @__PURE__ */ (0, H.jsx)(kVe, {
+ content: /* @__PURE__ */ (0, H.jsx)(UVe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -72109,7 +72268,7 @@ var N6 = [
"周六",
"周日"
], P6 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function AVe(e) {
+function WVe(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;
@@ -72126,7 +72285,7 @@ function AVe(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function jVe(e) {
+function GVe(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,
@@ -72165,19 +72324,19 @@ var F6 = 14, I6 = 17, L6 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, MVe = {
+}, KVe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function NVe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function qVe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${E6} ${MVe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${E6} ${KVe[a]}`,
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -72235,7 +72394,7 @@ function R6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, H.jsx)(NVe, {
+ }), g && _ ? /* @__PURE__ */ (0, H.jsx)(qVe, {
cell: g,
series: t.series,
tone: c,
@@ -72251,7 +72410,7 @@ function R6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var PVe = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [N6.map((e, t) => /* @__PURE__ */ (0, H.jsx)("text", {
+var JVe = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [N6.map((e, t) => /* @__PURE__ */ (0, H.jsx)("text", {
x: 0,
y: 18 + t * I6 + 7,
dominantBaseline: "middle",
@@ -72265,7 +72424,7 @@ var PVe = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [N6.map((e, t) =>
children: t
}, t))] });
function z6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = AVe(e), s = jVe(e);
+ let o = WVe(e), s = GVe(e);
return s.cells.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
children: [/* @__PURE__ */ (0, H.jsx)(R6, {
@@ -72276,7 +72435,7 @@ function z6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: PVe,
+ axis: JVe,
footer: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, H.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
}), /* @__PURE__ */ (0, H.jsx)(R6, {
title: n,
@@ -72342,20 +72501,20 @@ function B6({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, H.jsx)(jw, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, H.jsx)(Tw, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var FVe = "30%", IVe = "100%", V6 = 5, H6 = 14, LVe = 5, U6 = 1500, W6 = (0, B.createContext)(null);
+var YVe = "30%", XVe = "100%", V6 = 5, H6 = 14, ZVe = 5, U6 = 1500, W6 = (0, B.createContext)(null);
function G6() {
let e = (0, B.use)(W6);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function K6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = FVe, outerRadius: l = IVe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, B.useId)().replace(/:/g, ""), [h, g] = (0, B.useState)(u), _ = WVe(f), v = VVe(o), y = (0, B.useCallback)((e, t) => {
+function K6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = YVe, outerRadius: l = XVe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, B.useId)().replace(/:/g, ""), [h, g] = (0, B.useState)(u), _ = iHe(f), v = tHe(o), y = (0, B.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -72387,7 +72546,7 @@ function K6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
children: /* @__PURE__ */ (0, H.jsxs)(r6, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, H.jsx)(i6, { isLoading: f }), /* @__PURE__ */ (0, H.jsxs)(BBe, {
+ children: [/* @__PURE__ */ (0, H.jsx)(i6, { isLoading: f }), /* @__PURE__ */ (0, H.jsxs)(eVe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -72398,7 +72557,7 @@ function K6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
cy: v.cy,
...a,
children: [
- s != null && s > 0 && /* @__PURE__ */ (0, H.jsx)(Y1, {
+ s != null && s > 0 && /* @__PURE__ */ (0, H.jsx)(J1, {
type: "number",
domain: [0, s],
tick: !1,
@@ -72406,8 +72565,8 @@ function K6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, H.jsx)(h6, { variant: p }),
r,
- f && /* @__PURE__ */ (0, H.jsx)(GVe, {}),
- /* @__PURE__ */ (0, H.jsx)("defs", { children: /* @__PURE__ */ (0, H.jsx)(HVe, {
+ f && /* @__PURE__ */ (0, H.jsx)(aHe, {}),
+ /* @__PURE__ */ (0, H.jsx)("defs", { children: /* @__PURE__ */ (0, H.jsx)(nHe, {
config: e,
chartId: m
}) })
@@ -72416,7 +72575,7 @@ function K6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function RVe({ dataKey: e, cornerRadius: t = V6, barSize: n = H6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function QVe({ dataKey: e, cornerRadius: t = V6, barSize: n = H6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = G6();
return s ? null : /* @__PURE__ */ (0, H.jsx)(v2, {
dataKey: e,
@@ -72441,7 +72600,7 @@ function RVe({ dataKey: e, cornerRadius: t = V6, barSize: n = H6, showBackground
...a
});
}
-function zVe({ variant: e, roundness: t, defaultIndex: n }) {
+function $Ve({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = G6();
return i ? null : /* @__PURE__ */ (0, H.jsx)(l6, {
defaultIndex: n,
@@ -72454,7 +72613,7 @@ function zVe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function BVe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function eHe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = G6();
return a ? null : /* @__PURE__ */ (0, H.jsx)(d6, {
verticalAlign: n,
@@ -72468,7 +72627,7 @@ function BVe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function VVe(e) {
+function tHe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -72484,7 +72643,7 @@ function VVe(e) {
};
}
}
-var HVe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, H.jsx)(H.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var nHe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, H.jsx)(H.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = s6(n);
return /* @__PURE__ */ (0, H.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -72507,13 +72666,13 @@ var HVe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, H.jsx)(H.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function UVe() {
- return Array.from({ length: LVe }, (e, t) => ({
+function rHe() {
+ return Array.from({ length: ZVe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function WVe(e) {
+function iHe(e) {
let [t, n] = (0, B.useState)(0);
return (0, B.useEffect)(() => {
if (!e) return;
@@ -72521,9 +72680,9 @@ function WVe(e) {
n((e) => e + 1);
}, U6);
return () => clearInterval(t);
- }, [e]), (0, B.useMemo)(() => UVe(), [t]);
+ }, [e]), (0, B.useMemo)(() => rHe(), [t]);
}
-var GVe = () => /* @__PURE__ */ (0, H.jsx)(v2, {
+var aHe = () => /* @__PURE__ */ (0, H.jsx)(v2, {
dataKey: "value",
cornerRadius: V6,
barSize: H6,
@@ -72537,17 +72696,17 @@ var GVe = () => /* @__PURE__ */ (0, H.jsx)(v2, {
fillOpacity: .25
})
});
-K6.RadialBar = RVe, K6.Tooltip = zVe, K6.Legend = BVe;
+K6.RadialBar = QVe, K6.Tooltip = $Ve, K6.Legend = eHe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var KVe = [
+var oHe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], qVe = [
+], sHe = [
"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",
@@ -72588,13 +72747,13 @@ function q6({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, H.jsxs)(K6, {
data: f,
nameKey: "slice",
- config: OVe(s.map((e) => e.name)),
- max: bbe(s.map((e) => e.value)),
+ config: HVe(s.map((e) => e.name)),
+ max: zbe(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, H.jsx)(K6.RadialBar, {
dataKey: "value",
- barSize: xbe(s.length),
+ barSize: Bbe(s.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, H.jsx)(lK, {
...e,
@@ -72620,13 +72779,13 @@ function q6({ 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 ${qVe[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 ${sHe[t % 6]}`,
children: [
/* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, H.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${KVe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${oHe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, H.jsx)("b", {
@@ -72645,7 +72804,7 @@ function q6({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var JVe = 10, J6 = C6[5], YVe = C6[4], XVe = `${iT()} flex flex-col gap-4`, ZVe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", QVe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", $Ve = "开始播放后,这里会显示最近的真实观看证据。", eHe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", tHe = "添加媒体文件夹后,这里会显示存储空间。";
+var cHe = 10, J6 = C6[5], lHe = C6[4], uHe = `${eT()} flex flex-col gap-4`, dHe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", fHe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", pHe = "开始播放后,这里会显示最近的真实观看证据。", mHe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", hHe = "添加媒体文件夹后,这里会显示存储空间。";
function Y6({ term: e, value: t }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -72667,10 +72826,10 @@ function X6({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, H.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [JL(t, n), "%"]
+ children: [UL(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, H.jsx)(_T, {
+ }), /* @__PURE__ */ (0, H.jsx)(pT, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
@@ -72698,14 +72857,14 @@ function Z6({ term: e, figure: t, unit: n }) {
}
function Q6({ headline: e, children: t }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: `${XVe} md:flex-row md:gap-6`,
+ className: `${uHe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function nHe({ data: e, configurable: t, openMediaSettings: n }) {
+function gHe({ data: e, configurable: t, openMediaSettings: n }) {
return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -72733,14 +72892,14 @@ function nHe({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: J6,
- rows: Tbe(e.by_length)
+ rows: Wbe(e.by_length)
}),
/* @__PURE__ */ (0, H.jsx)(M6, {
title: "画质",
unit: "个视频",
series: "视频",
color: J6,
- rows: ZL(e.by_quality)
+ rows: KL(e.by_quality)
}),
/* @__PURE__ */ (0, H.jsx)(M6, {
title: "文件类型",
@@ -72748,28 +72907,28 @@ function nHe({ data: e, configurable: t, openMediaSettings: n }) {
series: "条目",
color: J6,
layout: "horizontal",
- rows: Cbe(e.by_medium)
+ rows: Hbe(e.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: doe,
+ icon: xoe,
title: "还没有视频",
actions: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [t ? /* @__PURE__ */ (0, H.jsx)(J, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, H.jsx)(Qw, {
+ }) : null, /* @__PURE__ */ (0, H.jsx)(Jw, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: ZVe
+ children: dHe
});
}
-function rHe({ data: e }) {
+function _He({ data: e }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(z6, {
activity: e.play_activity,
title: "播放时间",
@@ -72784,11 +72943,11 @@ function rHe({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: YVe,
- rows: Dbe(e.replays)
+ color: lHe,
+ rows: Kbe(e.replays)
})] });
}
-function iHe({ attribution: e }) {
+function vHe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col",
@@ -72821,7 +72980,7 @@ function iHe({ attribution: e }) {
]
});
}
-function aHe({ volume: e }) {
+function yHe({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, H.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -72838,11 +72997,11 @@ function aHe({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [I(n), /* @__PURE__ */ (0, H.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [JL(n, t), "%"]
+ children: [UL(n, t), "%"]
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, H.jsx)(_T, {
+ t == null ? null : /* @__PURE__ */ (0, H.jsx)(pT, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -72860,25 +73019,25 @@ function aHe({ volume: e }) {
]
});
}
-function oHe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function bHe({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, H.jsx)(aHe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ children: e.map((e) => /* @__PURE__ */ (0, H.jsx)(yHe, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: Hw,
+ icon: Lw,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, H.jsx)(J, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: tHe
+ children: hHe
});
}
-function sHe({ tags: e, tagLabel: t, onTag: n }) {
+function xHe({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)(B6, {
- previewCount: JVe,
+ previewCount: cHe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, H.jsx)("li", {
className: "min-w-0",
@@ -72902,24 +73061,24 @@ function sHe({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: Ww,
+ icon: Bw,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, H.jsx)(Qw, {
+ actions: /* @__PURE__ */ (0, H.jsx)(Jw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: QVe
+ children: fHe
});
}
-function cHe({ rows: e }) {
+function SHe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = YL(e);
+ let t = WL(e);
return /* @__PURE__ */ (0, H.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -72927,41 +73086,41 @@ function cHe({ rows: e }) {
children: [/* @__PURE__ */ (0, H.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, H.jsx)("a", {
- href: ybe(e),
+ href: Rbe(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, H.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, H.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, H.jsx)("span", { children: vbe(e) })]
+ children: [/* @__PURE__ */ (0, H.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, H.jsx)("span", { children: Lbe(e) })]
})]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, H.jsx)(_T, {
+ children: [/* @__PURE__ */ (0, H.jsx)(pT, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, H.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${XL(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${GL(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: Uw,
+ icon: Rw,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, H.jsx)(Qw, {
+ actions: /* @__PURE__ */ (0, H.jsx)(Jw, {
variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: $Ve
+ children: pHe
});
}
-function lHe({ sources: e, videos: t }) {
+function CHe({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, H.jsxs)("article", {
@@ -72980,7 +73139,7 @@ function lHe({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, H.jsx)(_T, {
+ /* @__PURE__ */ (0, H.jsx)(pT, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -72991,27 +73150,27 @@ function lHe({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: Ww,
+ icon: Bw,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, H.jsx)(Qw, {
+ actions: /* @__PURE__ */ (0, H.jsx)(Jw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: eHe
+ children: mHe
});
}
function $6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
return /* @__PURE__ */ (0, H.jsx)(R_, {
id: e,
- className: qj({
+ className: Hj({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, H.jsx)(Zj, {
+ children: /* @__PURE__ */ (0, H.jsx)(Kj, {
label: t,
icon: i,
accent: a,
@@ -73020,18 +73179,18 @@ function $6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function uHe(e) {
- let t = gw({
- queryKey: KL,
- queryFn: ({ signal: e }) => qL(e)
+function wHe(e) {
+ let t = uw({
+ queryKey: VL,
+ queryFn: ({ signal: e }) => HL(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ if (!n) return /* @__PURE__ */ (0, H.jsx)(Ek, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? G(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = JL(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = UL(n.tag_cov, n.attribution.videos);
+ return /* @__PURE__ */ (0, H.jsxs)(Ek, { children: [
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${I(o)}`
@@ -73042,12 +73201,12 @@ function uHe(e) {
children: [
/* @__PURE__ */ (0, H.jsxs)(L_, {
"aria-label": "统计视图",
- className: Jj,
+ className: Uj,
children: [
/* @__PURE__ */ (0, H.jsx)($6, {
id: "inventory",
label: "馆藏视频",
- icon: Rw,
+ icon: Nw,
accent: 0,
figure: a.toLocaleString(),
detail: I(o)
@@ -73055,15 +73214,15 @@ function uHe(e) {
/* @__PURE__ */ (0, H.jsx)($6, {
id: "viewing",
label: "看过",
- icon: Vw,
+ icon: Iw,
accent: 1,
figure: r.played.toLocaleString(),
- detail: _be(r.play_seconds)
+ detail: Ibe(r.play_seconds)
}),
/* @__PURE__ */ (0, H.jsx)($6, {
id: "coverage",
label: "内容标签",
- icon: Ww,
+ icon: Bw,
accent: 2,
figure: `${s}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -73071,7 +73230,7 @@ function uHe(e) {
/* @__PURE__ */ (0, H.jsx)($6, {
id: "storage",
label: "使用空间",
- icon: Hw,
+ icon: Lw,
accent: 3,
figure: `${i.online} 个卷`,
detail: i.measured ? `已用 ${I(i.used)}` : "容量未取得"
@@ -73080,7 +73239,7 @@ function uHe(e) {
}),
/* @__PURE__ */ (0, H.jsx)(z_, {
id: "inventory",
- children: /* @__PURE__ */ (0, H.jsx)(nHe, {
+ children: /* @__PURE__ */ (0, H.jsx)(gHe, {
data: n,
...e
})
@@ -73131,7 +73290,7 @@ function uHe(e) {
})
]
})
- }), /* @__PURE__ */ (0, H.jsx)(rHe, { data: n })]
+ }), /* @__PURE__ */ (0, H.jsx)(_He, { data: n })]
}),
/* @__PURE__ */ (0, H.jsx)(z_, {
id: "coverage",
@@ -73141,7 +73300,7 @@ function uHe(e) {
figure: `${s}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, H.jsx)(iHe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, H.jsx)(vHe, { attribution: n.attribution })
})
}),
/* @__PURE__ */ (0, H.jsx)(z_, {
@@ -73152,7 +73311,7 @@ function uHe(e) {
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, H.jsx)(oHe, {
+ children: /* @__PURE__ */ (0, H.jsx)(bHe, {
volumes: n.storage_volumes,
...e
})
@@ -73162,27 +73321,27 @@ function uHe(e) {
}),
/* @__PURE__ */ (0, H.jsxs)(I_, {
defaultSelectedKey: "tags",
- className: `${iT({ padding: "none" })} flex flex-col`,
+ className: `${eT({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, H.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, H.jsxs)(SC, {
+ children: /* @__PURE__ */ (0, H.jsxs)(gC, {
"aria-label": "统计维度",
- className: wC,
+ className: vC,
children: [
/* @__PURE__ */ (0, H.jsx)(R_, {
id: "tags",
- className: TC,
+ className: yC,
children: "内容标签"
}),
/* @__PURE__ */ (0, H.jsx)(R_, {
id: "recent",
- className: TC,
+ className: yC,
children: "最近看过"
}),
/* @__PURE__ */ (0, H.jsx)(R_, {
id: "sources",
- className: TC,
+ className: yC,
children: "标签来源"
})
]
@@ -73191,7 +73350,7 @@ function uHe(e) {
/* @__PURE__ */ (0, H.jsx)(z_, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, H.jsx)(sHe, {
+ children: /* @__PURE__ */ (0, H.jsx)(xHe, {
tags: n.top_tags,
...e
})
@@ -73199,12 +73358,12 @@ function uHe(e) {
/* @__PURE__ */ (0, H.jsx)(z_, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, H.jsx)(cHe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, H.jsx)(SHe, { rows: n.recent })
}),
/* @__PURE__ */ (0, H.jsx)(z_, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, H.jsx)(lHe, {
+ children: /* @__PURE__ */ (0, H.jsx)(CHe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -73215,7 +73374,7 @@ function uHe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function dHe(e, t) {
+function THe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -73239,13 +73398,13 @@ function r8(e, t) {
function i8(e) {
return e.value;
}
-function fHe(e) {
+function EHe(e) {
return e.index;
}
-function pHe(e) {
+function DHe(e) {
return e.nodes;
}
-function mHe(e) {
+function OHe(e) {
return e.links;
}
function a8(e, t) {
@@ -73260,8 +73419,8 @@ function o8({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function hHe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = fHe, c = dHe, l, u, d = pHe, f = mHe, p = 6;
+function kHe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = EHe, c = THe, l, u, d = DHe, f = OHe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -73447,7 +73606,7 @@ function hHe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var s8 = Math.PI, c8 = 2 * s8, l8 = 1e-6, gHe = c8 - l8;
+var s8 = Math.PI, c8 = 2 * s8, l8 = 1e-6, AHe = c8 - l8;
function u8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -73488,7 +73647,7 @@ u8.prototype = d8.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) > l8 || Math.abs(this._y1 - l) > l8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % c8 + c8), d > gHe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > l8 && (this._ += "A" + n + "," + n + ",0," + +(d >= s8) + "," + 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) > l8 || Math.abs(this._y1 - l) > l8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % c8 + c8), d > AHe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > l8 && (this._ += "A" + n + "," + n + ",0," + +(d >= s8) + "," + 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";
@@ -73506,27 +73665,27 @@ function f8(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function _He(e) {
+function jHe(e) {
return e[0];
}
-function vHe(e) {
+function MHe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var yHe = Array.prototype.slice;
+var NHe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function bHe(e) {
+function PHe(e) {
return e.source;
}
-function xHe(e) {
+function FHe(e) {
return e.target;
}
-function SHe(e) {
- var t = bHe, n = xHe, r = _He, i = vHe, a = null;
+function IHe(e) {
+ var t = PHe, n = FHe, r = jHe, i = MHe, a = null;
function o() {
- var o, s = yHe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = NHe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
if (a ||= o = d8(), 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) {
@@ -73541,48 +73700,48 @@ function SHe(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function CHe(e, t, n, r, i) {
+function LHe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function wHe() {
- return SHe(CHe);
+function RHe() {
+ return IHe(LHe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function THe(e) {
+function zHe(e) {
return [e.source.x1, e.y0];
}
-function EHe(e) {
+function BHe(e) {
return [e.target.x0, e.y1];
}
-function DHe() {
- return wHe().source(THe).target(EHe);
+function VHe() {
+ return RHe().source(zHe).target(BHe);
}
//#endregion
//#region src/react/taste/taste.ts
-var OHe = "/api/taste", p8 = "/api/taste/refresh", kHe = "/api/taste/import", AHe = "/api/taste/source", m8 = (e) => ["taste", e], jHe = ["taste", "refresh"], MHe = [
+var HHe = "/api/taste", p8 = "/api/taste/refresh", UHe = "/api/taste/import", WHe = "/api/taste/source", m8 = (e) => ["taste", e], GHe = ["taste", "refresh"], KHe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], h8 = (e, t) => K(`${OHe}?window=${e}`, t), NHe = (e) => K(p8, e);
-async function PHe(e, t) {
+], h8 = (e, t) => K(`${HHe}?window=${e}`, t), qHe = (e) => K(p8, e);
+async function JHe(e, t) {
await z.fetchQuery({
queryKey: m8(e),
queryFn: () => h8(e, t)
});
}
-var FHe = (e) => q(p8, {
+var YHe = (e) => q(p8, {
window: e,
background: !0
-}), IHe = (e, t) => q(AHe, {
+}), XHe = (e, t) => q(WHe, {
operation: "remove",
source_key: e,
window: t
});
-async function LHe(e) {
- let t = await fetch(kHe, {
+async function ZHe(e) {
+ let t = await fetch(UHe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -73596,25 +73755,25 @@ async function LHe(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new RC(e || `导入失败(${t.status})`, t.status, n);
+ throw new MC(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var RHe = 1e4, g8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", zHe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, BHe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function VHe(e) {
+var QHe = 1e4, g8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", $He = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, eUe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function tUe(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 HHe(e) {
- let t = e.map(BHe), n = Math.max(1, ...t);
+function nUe(e) {
+ let t = e.map(eUe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
var _8 = (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 UHe(e) {
+function rUe(e) {
let t = _8(e, 6);
return t.length < 3 ? [] : t;
}
@@ -73625,10 +73784,10 @@ var v8 = {
source: 145,
target: 545
};
-function WHe(e = []) {
+function iUe(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 = hHe().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 = kHe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -73643,7 +73802,7 @@ function WHe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = DHe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = VHe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -73673,7 +73832,7 @@ function WHe(e = []) {
total: a
};
}
-var GHe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, b8 = B.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var aUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, b8 = B.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = B.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -73796,14 +73955,14 @@ var C8 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
C8.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var KHe = 1, qHe = .3, JHe = 6, w8 = 1500, T8 = "value", E8 = (0, B.createContext)(null);
+var oUe = 1, sUe = .3, cUe = 6, w8 = 1500, T8 = "value", E8 = (0, B.createContext)(null);
function D8() {
let e = (0, B.use)(E8);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
function O8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
- let u = (0, B.useId)().replace(/:/g, ""), [d, f] = (0, B.useState)(o), p = sUe(c, l), m = (0, B.useCallback)((e) => {
+ let u = (0, B.useId)().replace(/:/g, ""), [d, f] = (0, B.useState)(o), p = xUe(c, l), m = (0, B.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, B.useMemo)(() => ({
config: e,
@@ -73821,32 +73980,32 @@ function O8({ config: e, data: t, children: n, className: r, chartProps: i, back
children: /* @__PURE__ */ (0, H.jsxs)(r6, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, H.jsx)(i6, { isLoading: c }), /* @__PURE__ */ (0, H.jsxs)(MBe, {
+ children: [/* @__PURE__ */ (0, H.jsx)(i6, { isLoading: c }), /* @__PURE__ */ (0, H.jsxs)(KBe, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, H.jsx)(h6, { variant: a }),
n,
- c && /* @__PURE__ */ (0, H.jsx)(cUe, {})
+ c && /* @__PURE__ */ (0, H.jsx)(SUe, {})
]
})]
})
});
}
-function YHe({ dataKey: e, variant: t = "filled", fillOpacity: n = qHe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function lUe({ dataKey: e, variant: t = "filled", fillOpacity: n = sUe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = D8(), d = (0, B.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = tUe(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = hUe(a, d, e, p.dot);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(H0, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: KHe,
+ strokeWidth: oUe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -73859,30 +74018,30 @@ function YHe({ dataKey: e, variant: t = "filled", fillOpacity: n = qHe, isGlowin
},
...o
}), /* @__PURE__ */ (0, H.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, H.jsx)(nUe, {
+ /* @__PURE__ */ (0, H.jsx)(gUe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, H.jsx)(rUe, {
+ /* @__PURE__ */ (0, H.jsx)(_Ue, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, H.jsx)(iUe, {
+ m && /* @__PURE__ */ (0, H.jsx)(vUe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, H.jsx)(aUe, {
+ r && /* @__PURE__ */ (0, H.jsx)(yUe, {
id: d,
dataKey: e
})
] })] });
}
var k8 = () => null, A8 = () => null;
-function XHe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, H.jsx)(F1, {
+function uUe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, H.jsx)(P1, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -73890,30 +74049,30 @@ function XHe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function ZHe({ tick: e = {
+function dUe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
let { isLoading: r } = D8();
- return r ? null : /* @__PURE__ */ (0, H.jsx)(Y1, {
+ return r ? null : /* @__PURE__ */ (0, H.jsx)(J1, {
tick: e,
tickLine: t,
...n
});
}
-function QHe({ tick: e = {
+function fUe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
let { isLoading: i } = D8();
- return i ? null : /* @__PURE__ */ (0, H.jsx)(U1, {
+ return i ? null : /* @__PURE__ */ (0, H.jsx)(H1, {
tick: e,
tickLine: t,
axisLine: n,
...r
});
}
-function $He({ variant: e, roundness: t, defaultIndex: n }) {
+function pUe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = D8();
return r ? null : /* @__PURE__ */ (0, H.jsx)(l6, {
defaultIndex: n,
@@ -73925,7 +74084,7 @@ function $He({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function eUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function mUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = D8();
return i ? null : /* @__PURE__ */ (0, H.jsx)(d6, {
verticalAlign: n,
@@ -73938,7 +74097,7 @@ function eUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var tUe = (e, t, n, r) => {
+var hUe = (e, t, n, r) => {
let i = !1, a = !1;
return B.Children.forEach(e, (e) => {
if ((0, B.isValidElement)(e)) {
@@ -73980,7 +74139,7 @@ var tUe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), nUe = ({ id: e, dataKey: t, config: n }) => {
+}) }), gUe = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {});
return /* @__PURE__ */ (0, H.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -73993,7 +74152,7 @@ var tUe = (e, t, n, r) => {
colorsCount: r
})
});
-}, rUe = ({ id: e, dataKey: t, config: n }) => {
+}, _Ue = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {});
return /* @__PURE__ */ (0, H.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -74006,7 +74165,7 @@ var tUe = (e, t, n, r) => {
colorsCount: r
})
});
-}, iUe = ({ id: e, dataKey: t, config: n }) => {
+}, vUe = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, H.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -74019,7 +74178,7 @@ var tUe = (e, t, n, r) => {
opacities: i
})
});
-}, aUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)("filter", {
+}, yUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -74039,7 +74198,7 @@ var tUe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, H.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, H.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, H.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), oUe = (e) => [
+}), bUe = (e) => [
"A",
"B",
"C",
@@ -74050,7 +74209,7 @@ var tUe = (e, t, n, r) => {
skill: e,
[T8]: 30 + Math.random() * 70
}));
-function sUe(e, t = JHe) {
+function xUe(e, t = cUe) {
let [n, r] = (0, B.useState)(0);
return (0, B.useEffect)(() => {
if (!e) return;
@@ -74058,9 +74217,9 @@ function sUe(e, t = JHe) {
r((e) => e + 1);
}, w8);
return () => clearInterval(t);
- }, [e]), (0, B.useMemo)(() => oUe(t), [t, n]);
+ }, [e]), (0, B.useMemo)(() => bUe(t), [t, n]);
}
-var cUe = () => /* @__PURE__ */ (0, H.jsx)(H0, {
+var SUe = () => /* @__PURE__ */ (0, H.jsx)(H0, {
dataKey: T8,
stroke: "currentColor",
strokeOpacity: .3,
@@ -74072,17 +74231,17 @@ var cUe = () => /* @__PURE__ */ (0, H.jsx)(H0, {
animationDuration: w8,
animationEasing: "ease-in-out"
});
-O8.Radar = YHe, O8.Dot = k8, O8.ActiveDot = A8, O8.PolarGrid = XHe, O8.PolarAngleAxis = ZHe, O8.PolarRadiusAxis = QHe, O8.Tooltip = $He, O8.Legend = eUe;
+O8.Radar = lUe, O8.Dot = k8, O8.ActiveDot = A8, O8.PolarGrid = uUe, O8.PolarAngleAxis = dUe, O8.PolarRadiusAxis = fUe, O8.Tooltip = pUe, O8.Legend = mUe;
//#endregion
//#region src/react/taste/charts.tsx
-var lUe = [
+var CUe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], uUe = [
+], wUe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -74092,7 +74251,7 @@ var lUe = [
], M8 = { value: {
label: "标签命中",
colors: w6(C6[3])
-} }, dUe = [
+} }, TUe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -74102,20 +74261,20 @@ var lUe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], fUe = 26, pUe = { radius: M8.value }, mUe = (e, t) => Math.sqrt(e / t);
-function hUe({ rows: e, label: t }) {
- let n = UHe(e);
+], EUe = 26, DUe = { radius: M8.value }, OUe = (e, t) => Math.sqrt(e / t);
+function kUe({ rows: e, label: t }) {
+ let n = rUe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: mUe(e.value, r)
+ radius: OUe(e.value, r)
}));
return /* @__PURE__ */ (0, H.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, H.jsxs)(O8, {
data: i,
- config: pUe,
+ config: DUe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -74132,17 +74291,17 @@ function hUe({ rows: e, label: t }) {
})
});
}
-function gUe({ rows: e, label: t }) {
+function AUe({ rows: e, label: t }) {
let n = _8(e, 8);
return n.length ? /* @__PURE__ */ (0, H.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${dUe[n.length]}`,
+ className: `flex grow flex-col ${TUe[n.length]}`,
children: /* @__PURE__ */ (0, H.jsxs)(y6, {
data: n,
config: M8,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: fUe },
+ chartProps: { maxBarSize: EUe },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, H.jsx)(y6.YAxis, {
@@ -74166,8 +74325,8 @@ function gUe({ rows: e, label: t }) {
})
}) : null;
}
-function _Ue({ flows: e }) {
- let [t, n] = (0, B.useState)(null), r = WHe(e);
+function jUe({ flows: e }) {
+ let [t, n] = (0, B.useState)(null), r = iUe(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, H.jsxs)("section", {
@@ -74195,7 +74354,7 @@ function _Ue({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${lUe[e.color]}`,
+ className: `outline-none transition-opacity ${CUe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -74229,14 +74388,14 @@ function _Ue({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? uUe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? wUe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, H.jsxs)("text", {
x: y8[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: [GHe(e.name), /* @__PURE__ */ (0, H.jsx)("tspan", {
+ children: [aUe(e.name), /* @__PURE__ */ (0, H.jsx)("tspan", {
x: y8[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -74254,11 +74413,11 @@ function _Ue({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var vUe = 10, N8 = dr(nT, rT, "text-body-2-medium"), P8 = `${iT()} flex flex-col gap-4`, F8 = "rounded-xl bg-background-primary-default p-3", yUe = "读取运行 Peach 的这台电脑上的浏览记录", bUe = "导入或读取浏览记录后,这里会列出已采集设备。", xUe = "馆藏里暂时没有对得上浏览信号的标签。", SUe = "采集浏览记录后,这里会显示聚合后的口味证据。", CUe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", wUe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", TUe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", EUe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", DUe = "这个数据源将不再用于口味分析。原始导出文件保留。", I8 = "peach-taste-guide-dismissed";
+var MUe = 10, N8 = dr(Qw, $w, "text-body-2-medium"), P8 = `${eT()} flex flex-col gap-4`, F8 = "rounded-xl bg-background-primary-default p-3", NUe = "读取运行 Peach 的这台电脑上的浏览记录", PUe = "导入或读取浏览记录后,这里会列出已采集设备。", FUe = "馆藏里暂时没有对得上浏览信号的标签。", IUe = "采集浏览记录后,这里会显示聚合后的口味证据。", LUe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", RUe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", zUe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", BUe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", VUe = "这个数据源将不再用于口味分析。原始导出文件保留。", I8 = "peach-taste-guide-dismissed";
function L8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
- className: qj(),
- children: /* @__PURE__ */ (0, H.jsx)(Zj, {
+ className: Hj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Kj, {
label: t,
icon: e,
accent: i,
@@ -74281,22 +74440,22 @@ function R8({ name: e, domain: t }) {
})]
});
}
-function OUe({ html: e }) {
+function HUe({ html: e }) {
return /* @__PURE__ */ (0, H.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 ${NI}`,
+ 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 ${CI}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function kUe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
- if (!e.length) return /* @__PURE__ */ (0, H.jsx)(kk, {
+function UUe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
+ if (!e.length) return /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: qw,
+ icon: Uw,
title: "暂无足够证据",
children: r
});
- let a = HHe(e);
+ let a = nUe(e);
return /* @__PURE__ */ (0, H.jsx)(B6, {
- previewCount: vUe,
+ previewCount: MUe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
@@ -74323,7 +74482,7 @@ function kUe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
name: e.name,
domain: s
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, H.jsx)(OUe, { html: ue(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, H.jsx)(HUe, { html: ue(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
image_version: e.image_version,
@@ -74336,10 +74495,10 @@ function kUe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: e.name
}), /* @__PURE__ */ (0, H.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: VHe(e)
+ children: tUe(e)
})]
}),
- o ? /* @__PURE__ */ (0, H.jsx)(Nw, {
+ o ? /* @__PURE__ */ (0, H.jsx)(Dw, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -74361,29 +74520,29 @@ function kUe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
}
function z8({ label: e, panels: t, onSignal: n }) {
return /* @__PURE__ */ (0, H.jsxs)(I_, {
- className: `${iT({ padding: "none" })} flex flex-col`,
+ className: `${eT({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, H.jsx)(SC, {
+ children: /* @__PURE__ */ (0, H.jsx)(gC, {
"aria-label": e,
- className: wC,
+ className: vC,
children: t.map((e) => /* @__PURE__ */ (0, H.jsx)(R_, {
id: e.id,
- className: TC,
+ className: yC,
children: e.name
}, e.id))
})
}), t.map((e) => /* @__PURE__ */ (0, H.jsx)(z_, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, H.jsx)(kUe, {
+ children: /* @__PURE__ */ (0, H.jsx)(UUe, {
...e.props,
onSignal: n
})
}, e.id))]
});
}
-function AUe({ data: e, onSignal: t, navigate: n }) {
+function WUe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -74449,21 +74608,21 @@ function AUe({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, H.jsx)(Nw, {
+ }), /* @__PURE__ */ (0, H.jsx)(Dw, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: qw,
+ icon: Uw,
title: "还没有可探索的入口",
- children: xUe
+ children: FUe
})
]
});
}
-function jUe({ onboarding: e, done: t }) {
+function GUe({ onboarding: e, done: t }) {
let [n, r] = (0, B.useState)(() => {
try {
return localStorage.getItem(I8) === "1";
@@ -74472,21 +74631,21 @@ function jUe({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, H.jsx)("div", {
- className: iT({
+ className: eT({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, H.jsxs)(MT, {
+ children: /* @__PURE__ */ (0, H.jsxs)(OT, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: wUe
+ children: RUe
}),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: TUe
+ children: zUe
}),
/* @__PURE__ */ (0, H.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -74516,7 +74675,7 @@ function jUe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: EUe
+ children: BUe
}),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "self-start",
@@ -74536,7 +74695,7 @@ function jUe({ onboarding: e, done: t }) {
})
});
}
-function MUe({ busy: e, onRefresh: t, onImport: n }) {
+function KUe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, B.useRef)(null), [i, a] = (0, B.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -74545,15 +74704,15 @@ function MUe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
- leadingIcon: Lw,
- title: yUe,
+ leadingIcon: Mw,
+ title: NUe,
onClick: t,
...X(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, H.jsx)(J, {
ref: r,
iconOnly: !0,
- leadingIcon: jw,
+ leadingIcon: Tw,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -74568,15 +74727,15 @@ function MUe({ busy: e, onRefresh: t, onImport: n }) {
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: tT,
- children: /* @__PURE__ */ (0, H.jsxs)(Xw, {
+ className: Zw,
+ children: /* @__PURE__ */ (0, H.jsxs)(Kw, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
className: N8,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, H.jsx)(Lw, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Mw, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -74584,7 +74743,7 @@ function MUe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: N8,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, H.jsx)(Jw, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Ww, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -74592,9 +74751,9 @@ function MUe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function NUe({ sources: e, window: t, toast: n }) {
- let i = yw({
- mutationFn: (e) => IHe(e, t),
+function qUe({ sources: e, window: t, toast: n }) {
+ let i = pw({
+ mutationFn: (e) => XHe(e, t),
onSuccess: (e) => {
z.setQueryData(m8(t), e.dashboard), n("已移除口味数据源");
}
@@ -74618,10 +74777,10 @@ function NUe({ sources: e, window: t, toast: n }) {
children: [
/* @__PURE__ */ (0, H.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, H.jsx)(Jw, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, H.jsx)(Ww, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, H.jsx)(Rw, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Nw, {
"aria-hidden": !0,
className: "size-4"
})
@@ -74641,12 +74800,12 @@ function NUe({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: zw,
+ leadingIcon: Pw,
...X(i.isPending),
onClick: () => {
i.isPending || r({
title: "移除口味数据源",
- body: DUe,
+ body: VUe,
confirmLabel: "移除口味数据源",
onConfirm: () => i.mutateAsync(e.source_key)
});
@@ -74654,30 +74813,30 @@ function NUe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: Rw,
+ icon: Nw,
title: "还没有数据源",
- children: bUe
+ children: PUe
})
]
});
}
-function PUe(e) {
- let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, B.useState)("all"), [s, c] = (0, B.useState)("browser"), l = (0, B.useRef)(null), u = gw({
+function JUe(e) {
+ let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, B.useState)("all"), [s, c] = (0, B.useState)("browser"), l = (0, B.useRef)(null), u = uw({
queryKey: m8(a),
queryFn: ({ signal: e }) => h8(a, e),
- placeholderData: xw.keepPreviousData
- }), { job: d, running: f, outcome: p, start: m } = $j({
- queryKey: jHe,
- queryFn: ({ signal: e }) => NHe(e),
- start: () => FHe(a),
- idlePollMs: RHe,
+ placeholderData: hw.keepPreviousData
+ }), { job: d, running: f, outcome: p, start: m } = Jj({
+ queryKey: GHe,
+ queryFn: ({ signal: e }) => qHe(e),
+ start: () => YHe(a),
+ idlePollMs: QHe,
onFinish: (e) => {
e.status !== "failed" && (z.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
- }), h = yw({
- mutationFn: (e) => LHe(e),
+ }), h = pw({
+ mutationFn: (e) => ZHe(e),
onSuccess: (e) => {
z.setQueryData(m8("all"), e.dashboard), o("all"), r("已导入口味数据");
}
@@ -74687,13 +74846,13 @@ function PUe(e) {
}, _ = () => {
f || m.isPending || (m.reset(), m.mutate());
}, v = u.data;
- if (!v) return /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ if (!v) return /* @__PURE__ */ (0, H.jsx)(Ek, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "口味分析读取失败",
children: u.error ? G(u.error) : "读取口味分析失败"
}) });
let y = v.summary || {}, b = v.coverage || {}, x = v.rankings || {}, S = v.storage || {}, C = x.browser_categories || [], w = v.gaps || [], T = b.tagged || 0, E = b.identified || 0, D = m.error ? G(m.error) : h.error ? G(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
+ return /* @__PURE__ */ (0, H.jsxs)(Ek, { children: [
/* @__PURE__ */ (0, H.jsxs)(I_, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
@@ -74701,33 +74860,33 @@ function PUe(e) {
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, H.jsxs)(SC, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(gC, {
"aria-label": "口味证据来源",
- className: wC,
+ className: vC,
children: [/* @__PURE__ */ (0, H.jsx)(R_, {
id: "browser",
- className: TC,
+ className: yC,
children: "浏览器记录"
}), /* @__PURE__ */ (0, H.jsx)(R_, {
id: "peach",
- className: TC,
+ className: yC,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(Lk, {
+ /* @__PURE__ */ (0, H.jsx)(Nk, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: MHe.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
+ children: KHe.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Pk, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, H.jsx)(MUe, {
+ /* @__PURE__ */ (0, H.jsx)(KUe, {
busy: f || m.isPending || h.isPending,
onRefresh: _,
onImport: () => l.current?.click()
@@ -74743,7 +74902,7 @@ function PUe(e) {
]
})]
}),
- /* @__PURE__ */ (0, H.jsx)(jUe, {
+ /* @__PURE__ */ (0, H.jsx)(GUe, {
onboarding: i,
done: !!(y.history_sources || v.updated_at)
}),
@@ -74751,12 +74910,12 @@ function PUe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, H.jsx)(vT, {
+ f ? /* @__PURE__ */ (0, H.jsx)(mT, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- h.isPending ? /* @__PURE__ */ (0, H.jsx)(vT, { label: "正在导入历史文件" }) : null,
+ h.isPending ? /* @__PURE__ */ (0, H.jsx)(mT, { label: "正在导入历史文件" }) : null,
D ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: D
@@ -74768,31 +74927,31 @@ function PUe(e) {
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
- className: Jj,
+ className: Uj,
children: [
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 0,
- icon: Uw,
+ icon: Rw,
term: "浏览记录",
figure: Number(y.history_visits || 0).toLocaleString(),
detail: `${y.history_sources || 0} 个数据源 · ${g8(y.range_start)}—${g8(y.range_end)}`
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 1,
- icon: Ww,
+ icon: Bw,
term: "口味维度",
figure: C.length.toLocaleString(),
detail: C[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 2,
- icon: qw,
+ icon: Uw,
term: "浏览候选",
figure: w.length.toLocaleString()
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 3,
- icon: Rw,
+ icon: Nw,
term: "私有导出",
figure: Number(S.exports || 0).toLocaleString(),
detail: I(S.bytes || 0)
@@ -74809,7 +74968,7 @@ function PUe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, H.jsx)(hUe, {
+ /* @__PURE__ */ (0, H.jsx)(kUe, {
rows: C,
label: "主要口味维度"
}),
@@ -74820,14 +74979,14 @@ function PUe(e) {
]
}), /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: C.length ? /* @__PURE__ */ (0, H.jsx)(gUe, {
+ children: C.length ? /* @__PURE__ */ (0, H.jsx)(AUe, {
rows: C,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Tk, {
shell: "plain",
- icon: qw,
+ icon: Uw,
title: "暂无口味维度",
- children: SUe
+ children: IUe
})
})]
}),
@@ -74843,7 +75002,7 @@ function PUe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, H.jsx)(_Ue, { flows: v.creator_flows }),
+ /* @__PURE__ */ (0, H.jsx)(jUe, { flows: v.creator_flows }),
/* @__PURE__ */ (0, H.jsx)(z8, {
label: "浏览器口味维度",
onSignal: t,
@@ -74885,7 +75044,7 @@ function PUe(e) {
rows: w,
kind: "",
visual: "none",
- empty: CUe
+ empty: LUe
}
}
]
@@ -74897,30 +75056,30 @@ function PUe(e) {
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
- className: Jj,
+ className: Uj,
children: [
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 0,
- icon: Vw,
+ icon: Iw,
term: "Peach 看过",
figure: Number(y.peach_items || 0).toLocaleString(),
- detail: zHe(y.peach_seconds || 0)
+ detail: $He(y.peach_seconds || 0)
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 1,
- icon: uoe,
+ icon: boe,
term: "喜欢",
figure: Number(y.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 2,
- icon: loe,
+ icon: yoe,
term: "不合口味",
figure: Number(y.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 3,
- icon: Ww,
+ icon: Bw,
term: "有标签",
figure: T.toLocaleString()
})
@@ -74998,12 +75157,12 @@ function PUe(e) {
})
]
}),
- /* @__PURE__ */ (0, H.jsx)(AUe, {
+ /* @__PURE__ */ (0, H.jsx)(WUe, {
data: v,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, H.jsx)(NUe, {
+ /* @__PURE__ */ (0, H.jsx)(qUe, {
sources: v.sources || [],
window: a,
toast: r
@@ -75023,7 +75182,7 @@ function B8({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, H.jsx)(_T, {
+ }), /* @__PURE__ */ (0, H.jsx)(pT, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -75032,7 +75191,7 @@ function B8({ term: e, value: t, rest: n }) {
}
//#endregion
//#region src/react/router/managed-routes.tsx
-function FUe(e, t, n) {
+function YUe(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
@@ -75042,8 +75201,8 @@ function FUe(e, t, n) {
}
var V8 = {
"/stats": {
- prefetch: (e, t) => gbe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(uHe, {
+ prefetch: (e, t) => Fbe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(wHe, {
tagLabel: Je,
onTag: t.openTag,
configurable: e.configurable,
@@ -75053,8 +75212,8 @@ var V8 = {
})
},
"/taste": {
- prefetch: (e, t) => PHe("all", t),
- page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(PUe, {
+ prefetch: (e, t) => JHe("all", t),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(JUe, {
onSignal: t.openTasteSignal,
navigate: n,
toast: (e) => t.receipt(e),
@@ -75062,8 +75221,8 @@ var V8 = {
})
},
"/review": {
- prefetch: (e, t) => qde(t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(rye, {
+ prefetch: (e, t) => afe(t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(Sye, {
...e,
route: t.routeReview,
openItem: t.openItem,
@@ -75073,24 +75232,24 @@ var V8 = {
})
},
"/data-cleanup": {
- prefetch: (e, t) => Pfe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(wpe, {
+ prefetch: (e, t) => Kfe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(Ipe, {
failure: t.failure,
- open: (e) => FUe(e, t, n),
+ open: (e) => YUe(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
})
},
"/duplicates": {
- prefetch: (e, t) => gde(t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(Wme, {
+ prefetch: (e, t) => Ode(t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(she, {
openItem: t.openItem,
failure: t.failure,
toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})
})
},
"/quality-goals": {
- prefetch: (e, t) => Ede(t),
- page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(Vve, {
+ prefetch: (e, t) => Rde(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(oye, {
openItem: t.openItem,
javTitleHtml: qe,
javDisplayName: Ke,
@@ -75101,19 +75260,19 @@ var V8 = {
})
},
"/scraping": {
- prefetch: (e, t) => uye(t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(_ye, { toast: (e) => t.toast(e) })
+ prefetch: (e, t) => kye(t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(Iye, { toast: (e) => t.toast(e) })
},
"/configuration": {
- prefetch: (e, t) => NL(t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(mbe, {
+ prefetch: (e, t) => OL(t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(Nbe, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial
})
},
"/diagnostics": {
- prefetch: (e, t) => Gme(t),
- page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(Yme, {
+ prefetch: (e, t) => che(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(fhe, {
navigate: n,
openItem: t.openItem,
receipt: (e) => t.receipt(e),
@@ -75123,12 +75282,12 @@ var V8 = {
})
},
"/activity": {
- prefetch: (e, t) => kue(t),
- page: (e) => /* @__PURE__ */ (0, H.jsx)(nA, { ...e.prefill ? { prefill: e.prefill } : {} })
+ prefetch: (e, t) => Bue(t),
+ page: (e) => /* @__PURE__ */ (0, H.jsx)(eA, { ...e.prefill ? { prefill: e.prefill } : {} })
},
"/follow-manage": {
- prefetch: (e, t) => Ehe(t, e.tab),
- page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(J_e, {
+ prefetch: (e, t) => Uhe(t, e.tab),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(pve, {
...e,
route: t.routeFollowManage,
savePreference: t.saveFollowPreference,
@@ -75141,8 +75300,8 @@ var V8 = {
}
}, H8 = (e) => Object.hasOwn(V8, e), U8 = {
"/playlists": {
- prefetch: (e, t) => Dve(t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(zve, {
+ prefetch: (e, t) => Kve(t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(iye, {
revision: e.revision,
openPlaylist: t.openPlaylist,
openEntity: t.openEntity,
@@ -75151,12 +75310,12 @@ var V8 = {
})
},
"/follow": {
- prefetch: (e, t) => Phe(e, t),
- page: (e) => /* @__PURE__ */ (0, H.jsx)(ige, { ...e })
+ prefetch: (e, t) => Zhe(e, t),
+ page: (e) => /* @__PURE__ */ (0, H.jsx)(xge, { ...e })
}
}, W8 = (e) => Object.hasOwn(U8, e), G8 = {
- prefetch: (e, t) => YM(e, t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(sve, {
+ prefetch: (e, t) => HM(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(Eve, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -75176,8 +75335,8 @@ var V8 = {
"/agencies": G8,
"/tags": G8
}, q8 = {
- prefetch: (e) => kpe(e),
- page: (e) => /* @__PURE__ */ (0, H.jsx)(Fme, { ...e })
+ prefetch: (e) => Vpe(e),
+ page: (e) => /* @__PURE__ */ (0, H.jsx)(Qme, { ...e })
}, J8 = {
"/performers/*": q8,
"/studios/*": q8,
@@ -75186,40 +75345,40 @@ var V8 = {
"/agencies/*": q8
}, Y8 = {
"/": {
- prefetch: (e, t) => nle(e, t),
- page: (e) => /* @__PURE__ */ (0, H.jsx)(xA, { ...e })
+ prefetch: (e, t) => ple(e, t),
+ page: (e) => /* @__PURE__ */ (0, H.jsx)(gA, { ...e })
},
"/junk-files": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, H.jsx)(Sve, { ...e })
+ page: (e) => /* @__PURE__ */ (0, H.jsx)(Vve, { ...e })
}
-}, X8 = (e) => Object.hasOwn(Y8, e), IUe = [
+}, X8 = (e) => Object.hasOwn(Y8, e), XUe = [
"/",
"/unseen",
"/watch-later",
"/flagged",
"/trash",
"/junk-files"
-], LUe = [
+], ZUe = [
...Object.keys(V8),
...Object.keys(U8),
...Object.keys(K8),
...Object.keys(J8),
- ...IUe
+ ...XUe
], Z8 = (e) => H8(e) || W8(e) || Object.hasOwn(K8, e) || Object.hasOwn(J8, e) || X8(e);
function Q8(e) {
return H8(e) ? V8[e] : W8(e) ? U8[e] : X8(e) ? Y8[e] : Object.hasOwn(K8, e) ? K8[e] : J8[e];
}
-function RUe(e, t, n) {
+function QUe(e, t, n) {
return Z8(e) ? Q8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function zUe(e, t, n, r) {
+function $Ue(e, t, n, r) {
return Q8(e).page(t, n, r);
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/url.js
-var BUe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, VUe = /^[\\/]{2}/;
-function HUe(e, t) {
+var eWe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, tWe = /^[\\/]{2}/;
+function nWe(e, t) {
return t + e.replace(/\\/g, "/");
}
//#endregion
@@ -75235,7 +75394,7 @@ function e5(e, t) {
} catch {}
}
}
-function UUe({ pathname: e = "/", search: t = "", hash: n = "" }) {
+function rWe({ pathname: e = "/", search: t = "", hash: n = "" }) {
return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;
}
function t5(e) {
@@ -75250,19 +75409,19 @@ function t5(e) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/utils.js
-function WUe(e, t, n = "/") {
- return GUe(e, t, n, !1);
+function iWe(e, t, n = "/") {
+ return aWe(e, t, n, !1);
}
-function GUe(e, t, n, r, i) {
+function aWe(e, t, n, r, i) {
let a = c5((typeof t == "string" ? t5(t) : t).pathname || "/", n);
if (a == null) return null;
- let o = i ?? KUe(e), s = null, c = aWe(a);
- for (let e = 0; s == null && e < o.length; ++e) s = iWe(o[e], c, r);
+ let o = i ?? oWe(e), s = null, c = yWe(a);
+ for (let e = 0; s == null && e < o.length; ++e) s = vWe(o[e], c, r);
return s;
}
-function KUe(e) {
+function oWe(e) {
let t = n5(e);
- return qUe(t), t;
+ return sWe(t), t;
}
function n5(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
@@ -75279,7 +75438,7 @@ function n5(e, t = [], n = [], r = "", i = !1) {
let l = f5([r, c.relativePath]), u = n.concat(c);
e.children && e.children.length > 0 && ($8(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), n5(e.children, t, u, l, o)), !(e.path == null && !e.index) && t.push({
path: l,
- score: nWe(l, e.index),
+ score: gWe(l, e.index),
routesMeta: u.map((e, t) => {
let [n, r] = s5(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
@@ -75303,18 +75462,18 @@ function r5(e) {
let o = r5(r.join("/")), s = [];
return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);
}
-function qUe(e) {
- e.sort((e, t) => e.score === t.score ? rWe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
+function sWe(e) {
+ e.sort((e, t) => e.score === t.score ? _We(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var JUe = /^:[\w-]+$/, YUe = /^:[\w-]+/, XUe = 3.5, ZUe = 3, QUe = 2, $Ue = 1, eWe = 10, tWe = -2, i5 = (e) => e === "*";
-function nWe(e, t) {
+var cWe = /^:[\w-]+$/, lWe = /^:[\w-]+/, uWe = 3.5, dWe = 3, fWe = 2, pWe = 1, mWe = 10, hWe = -2, i5 = (e) => e === "*";
+function gWe(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(i5) && (r += tWe), t && (r += QUe), n.filter((e) => !i5(e)).reduce((e, t) => e + (JUe.test(t) ? ZUe : YUe.test(t) ? XUe : t === "" ? $Ue : eWe), r);
+ return n.some(i5) && (r += hWe), t && (r += fWe), n.filter((e) => !i5(e)).reduce((e, t) => e + (cWe.test(t) ? dWe : lWe.test(t) ? uWe : t === "" ? pWe : mWe), r);
}
-function rWe(e, t) {
+function _We(e, t) {
return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;
}
-function iWe(e, t, n = !1) {
+function vWe(e, t, n = !1) {
let { routesMeta: r } = e, i = {}, a = "/", o = [];
for (let e = 0; e < r.length; ++e) {
let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {
@@ -75330,7 +75489,7 @@ function iWe(e, t, n = !1) {
Object.assign(i, d.params), o.push({
params: i,
pathname: f5([a, d.pathname]),
- pathnameBase: uWe(f5([a, d.pathnameBase])),
+ pathnameBase: wWe(f5([a, d.pathnameBase])),
route: f
}), d.pathnameBase !== "/" && (a = f5([a, d.pathnameBase]));
}
@@ -75377,7 +75536,7 @@ function s5(e, t = !1, n = !0) {
}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");
return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];
}
-function aWe(e) {
+function yWe(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
@@ -75390,12 +75549,12 @@ function c5(e, t) {
let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);
return r && r !== "/" ? null : e.slice(n) || "/";
}
-function oWe(e, t = "/") {
+function bWe(e, t = "/") {
let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? t5(e) : e, a;
return n ? (n = d5(n), a = n.startsWith("/") || n.startsWith("\\") ? l5(n.substring(1), "/") : l5(n, t)) : a = t, {
pathname: a,
- search: dWe(r),
- hash: fWe(i)
+ search: TWe(r),
+ hash: EWe(i)
};
}
function l5(e, t) {
@@ -75407,14 +75566,14 @@ function l5(e, t) {
function u5(e, t, n, r) {
return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
}
-function sWe(e) {
+function xWe(e) {
return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
}
-function cWe(e) {
- let t = sWe(e);
+function SWe(e) {
+ let t = xWe(e);
return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
}
-function lWe(e, t, n, r = !1) {
+function CWe(e, t, n, r = !1) {
let i;
typeof e == "string" ? i = t5(e) : (i = { ...e }, $8(!i.pathname || !i.pathname.includes("?"), u5("?", "pathname", "search", i)), $8(!i.pathname || !i.pathname.includes("#"), u5("#", "pathname", "hash", i)), $8(!i.search || !i.search.includes("#"), u5("#", "search", "hash", i)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
@@ -75428,7 +75587,7 @@ function lWe(e, t, n, r = !1) {
}
s = e >= 0 ? t[e] : "/";
}
- let c = oWe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
+ let c = bWe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;
}
var d5 = (e) => e.replace(/[\\/]{2,}/g, "/"), f5 = (e) => d5(e.join("/"));
@@ -75437,7 +75596,7 @@ function p5(e, t = 0) {
for (; n > t && e.charCodeAt(n - 1) === 47;) n--;
return n === e.length ? e : e.slice(0, n);
}
-var uWe = (e) => p5(e).replace(/^\/*/, "/"), dWe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, fWe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, pWe = class {
+var wWe = (e) => p5(e).replace(/^\/*/, "/"), TWe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, EWe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, DWe = class {
status;
statusText;
data;
@@ -75447,23 +75606,23 @@ var uWe = (e) => p5(e).replace(/^\/*/, "/"), dWe = (e) => !e || e === "?" ? "" :
this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;
}
};
-function mWe(e) {
+function OWe(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
-function hWe(e) {
+function kWe(e) {
return f5(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
var m5 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
-function gWe(e, t) {
+function AWe(e, t) {
let n = e;
- if (typeof n != "string" || !BUe.test(n)) return {
+ if (typeof n != "string" || !eWe.test(n)) return {
absoluteURL: void 0,
isExternal: !1,
to: n
};
let r = n, i = !1;
if (m5) try {
- let e = new URL(window.location.href), r = VUe.test(n) ? new URL(HUe(n, e.protocol)) : new URL(n), a = c5(r.pathname, t);
+ let e = new URL(window.location.href), r = tWe.test(n) ? new URL(nWe(n, e.protocol)) : new URL(n), a = c5(r.pathname, t);
r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;
} catch {
e5(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
@@ -75488,7 +75647,7 @@ function g5(e) {
function _5(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
-function _We(e, t) {
+function jWe(e, t) {
if (e.startsWith("//")) return !0;
let n = t.protocol.toLowerCase();
return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;
@@ -75501,7 +75660,7 @@ function v5(e, t, n, r) {
let a = new URL(t, n), o = i != null && !_5(i, n), s = !_5(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !_We(e, i) || !_5(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !jWe(e, i) || !_5(i, a))) throw Error("External navigation is not allowed");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/router.js
@@ -75512,9 +75671,9 @@ var y5 = [
"DELETE"
];
new Set(y5);
-var vWe = ["GET", ...y5];
-new Set(vWe);
-var yWe = [
+var MWe = ["GET", ...y5];
+new Set(MWe);
+var NWe = [
"about:",
"blob:",
"chrome:",
@@ -75526,9 +75685,9 @@ var yWe = [
"filesystem:",
"javascript:"
];
-function bWe(e) {
+function PWe(e) {
try {
- return yWe.includes(new URL(e).protocol);
+ return NWe.includes(new URL(e).protocol);
} catch {
return !1;
}
@@ -75537,18 +75696,18 @@ function bWe(e) {
//#region node_modules/react-router/dist/production/lib/context.js
var b5 = B.createContext(null);
b5.displayName = "DataRouter";
-var xWe = B.createContext(null);
-xWe.displayName = "DataRouterState";
+var FWe = B.createContext(null);
+FWe.displayName = "DataRouterState";
var x5 = B.createContext(null);
x5.displayName = "DataRouterData";
-var SWe = B.createContext(null);
-SWe.displayName = "DataRouterNavigation";
-var CWe = B.createContext(!1), wWe = B.createContext({ isTransitioning: !1 });
-wWe.displayName = "ViewTransition";
-var TWe = B.createContext(null);
-TWe.displayName = "Fetchers";
-var EWe = B.createContext(null);
-EWe.displayName = "Await";
+var IWe = B.createContext(null);
+IWe.displayName = "DataRouterNavigation";
+var LWe = B.createContext(!1), RWe = B.createContext({ isTransitioning: !1 });
+RWe.displayName = "ViewTransition";
+var zWe = B.createContext(null);
+zWe.displayName = "Fetchers";
+var BWe = B.createContext(null);
+BWe.displayName = "Await";
var S5 = B.createContext(null);
S5.displayName = "Navigation";
var C5 = B.createContext(null);
@@ -75567,17 +75726,17 @@ var D5 = B.createContext(null);
D5.displayName = "RouteError";
//#endregion
//#region node_modules/react-router/dist/production/lib/errors.js
-var O5 = "REACT_ROUTER_ERROR", DWe = "REDIRECT", OWe = "ROUTE_ERROR_RESPONSE";
-function kWe(e) {
- if (e.startsWith(`${O5}:${DWe}:{`)) try {
+var O5 = "REACT_ROUTER_ERROR", VWe = "REDIRECT", HWe = "ROUTE_ERROR_RESPONSE";
+function UWe(e) {
+ if (e.startsWith(`${O5}:${VWe}:{`)) try {
let t = JSON.parse(e.slice(28));
if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;
} catch {}
}
-function AWe(e) {
- if (e.startsWith(`${O5}:${OWe}:{`)) try {
+function WWe(e) {
+ if (e.startsWith(`${O5}:${HWe}:{`)) try {
let t = JSON.parse(e.slice(40));
- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new pWe(t.status, t.statusText, t.data);
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new DWe(t.status, t.statusText, t.data);
} catch {}
}
//#endregion
@@ -75589,12 +75748,12 @@ function A5() {
return $8(k5(), "useLocation() may be used only in the context of a <Router> component."), B.useContext(C5).location;
}
var j5 = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
-function jWe() {
- return B.useContext(T5) ? UWe() : MWe();
+function GWe() {
+ return B.useContext(T5) ? rGe() : KWe();
}
-function MWe() {
+function KWe() {
$8(k5(), "useNavigate() may be used only in the context of a <Router> component.");
- let e = B.useContext(b5), { basename: t, navigator: n } = B.useContext(S5), { matches: r } = B.useContext(w5), { pathname: i } = A5(), a = JSON.stringify(cWe(r)), o = B.useRef(!1);
+ let e = B.useContext(b5), { basename: t, navigator: n } = B.useContext(S5), { matches: r } = B.useContext(w5), { pathname: i } = A5(), a = JSON.stringify(SWe(r)), o = B.useRef(!1);
return B.useLayoutEffect(() => {
o.current = !0;
}), B.useCallback((r, s = {}) => {
@@ -75603,8 +75762,8 @@ function MWe() {
n.go(r);
return;
}
- let c = lWe(r, JSON.parse(a), i, s.relative === "path");
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : f5([t, c.pathname])), v5(typeof r == "string" ? r : UUe(r), n.createHref(c), g5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
+ let c = CWe(r, JSON.parse(a), i, s.relative === "path");
+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : f5([t, c.pathname])), v5(typeof r == "string" ? r : rWe(r), n.createHref(c), g5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
n,
@@ -75614,7 +75773,7 @@ function MWe() {
]);
}
B.createContext(null);
-function NWe(e, t) {
+function qWe(e, t) {
return M5(e, t);
}
function M5(e, t, n) {
@@ -75634,8 +75793,8 @@ function M5(e, t, n) {
d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");
}
let f;
- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : WUe(e, { pathname: d });
- let p = zWe(f && f.map((e) => Object.assign({}, e, {
+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : iWe(e, { pathname: d });
+ let p = $We(f && f.map((e) => Object.assign({}, e, {
params: Object.assign({}, o, e.params),
pathname: f5([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
pathnameBase: e.pathnameBase === "/" ? s : f5([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
@@ -75653,14 +75812,14 @@ function M5(e, t, n) {
navigationType: "POP"
} }, p) : p;
}
-function PWe() {
- let e = HWe(), t = mWe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+function JWe() {
+ let e = nGe(), t = OWe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
return /* @__PURE__ */ B.createElement(B.Fragment, null, /* @__PURE__ */ B.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ B.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ B.createElement("pre", { style: {
padding: "0.5rem",
backgroundColor: "rgba(200,200,200, 0.5)"
} }, n) : null, null);
}
-var FWe = /* @__PURE__ */ B.createElement(PWe, null), IWe = class extends B.Component {
+var YWe = /* @__PURE__ */ B.createElement(JWe, null), XWe = class extends B.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -75668,7 +75827,7 @@ var FWe = /* @__PURE__ */ B.createElement(PWe, null), IWe = class extends B.Comp
error: e.error
};
}
- static contextType = CWe;
+ static contextType = LWe;
static getDerivedStateFromError(e) {
return { error: e };
}
@@ -75689,25 +75848,25 @@ var FWe = /* @__PURE__ */ B.createElement(PWe, null), IWe = class extends B.Comp
render() {
let e = this.state.error;
if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {
- let t = AWe(e.digest);
+ let t = WWe(e.digest);
t && (e = t);
}
let t = e === void 0 ? this.props.children : /* @__PURE__ */ B.createElement(w5.Provider, { value: this.props.routeContext }, /* @__PURE__ */ B.createElement(T5.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ B.createElement(E5.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ B.createElement(D5.Provider, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ B.createElement(LWe, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ B.createElement(ZWe, { error: e }, t) : t;
}
}, N5 = /* @__PURE__ */ new WeakMap();
-function LWe({ children: e, error: t }) {
+function ZWe({ children: e, error: t }) {
let { basename: n, navigator: r } = B.useContext(S5);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
- let e = kWe(t.digest);
+ let e = UWe(t.digest);
if (e) {
let i = N5.get(t);
if (i) throw i;
- let a = gWe(e.location, n), o = a.absoluteURL || a.to;
- if (v5(e.location, o, g5(r), "allow-explicit"), bWe(o)) throw Error("Invalid redirect location");
+ let a = AWe(e.location, n), o = a.absoluteURL || a.to;
+ if (v5(e.location, o, g5(r), "allow-explicit"), PWe(o)) throw Error("Invalid redirect location");
if (m5 && !N5.get(t)) {
if (a.isExternal || e.reloadDocument) window.location.href = o;
else {
@@ -75723,11 +75882,11 @@ function LWe({ children: e, error: t }) {
}
return e;
}
-function RWe({ routeContext: e, match: t, children: n }) {
+function QWe({ routeContext: e, match: t, children: n }) {
let r = B.useContext(b5);
return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ B.createElement(w5.Provider, { value: e }, /* @__PURE__ */ B.createElement(T5.Provider, { value: e.isDataRoute }, /* @__PURE__ */ B.createElement(E5.Provider, { value: t.route.id }, n)));
}
-function zWe(e, t = [], n) {
+function $We(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -75758,16 +75917,16 @@ function zWe(e, t = [], n) {
c(e, {
location: r.location,
params: r.matches?.[0]?.params ?? {},
- pattern: hWe(r.matches),
+ pattern: kWe(r.matches),
errorInfo: t
});
} : void 0;
return i.reduceRight((e, n, c) => {
let u, d = !1, f = null, p = null;
- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || FWe, o && (s < 0 && c === 0 ? (WWe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || YWe, o && (s < 0 && c === 0 ? (iGe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
let m = t.concat(i.slice(0, c + 1)), h = () => {
let t;
- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ B.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ B.createElement(RWe, {
+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ B.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ B.createElement(QWe, {
match: n,
routeContext: {
outlet: e,
@@ -75777,7 +75936,7 @@ function zWe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ B.createElement(IWe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ B.createElement(XWe, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -75795,11 +75954,11 @@ function zWe(e, t = [], n) {
function P5(e) {
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
-function BWe(e) {
+function eGe(e) {
let t = B.useContext(b5);
return $8(t, P5(e)), t;
}
-function VWe(e) {
+function tGe(e) {
let t = B.useContext(x5);
return $8(t, P5(e)), t;
}
@@ -75807,12 +75966,12 @@ function F5(e) {
let t = B.useContext(E5);
return $8(t, `${e} can only be used on routes that contain a unique "id"`), t;
}
-function HWe() {
- let e = B.useContext(D5), t = VWe("useRouteError"), n = F5("useRouteError");
+function nGe() {
+ let e = B.useContext(D5), t = tGe("useRouteError"), n = F5("useRouteError");
return e === void 0 ? t.errors?.[n] : e;
}
-function UWe() {
- let { router: e } = BWe("useNavigate"), t = F5("useNavigate"), n = B.useRef(!1);
+function rGe() {
+ let { router: e } = eGe("useNavigate"), t = F5("useNavigate"), n = B.useRef(!1);
return B.useLayoutEffect(() => {
n.current = !0;
}), B.useCallback(async (r, i = {}) => {
@@ -75823,11 +75982,11 @@ function UWe() {
}, [e, t]);
}
var I5 = {};
-function WWe(e, t, n) {
+function iGe(e, t, n) {
!t && !I5[e] && (I5[e] = !0, e5(!1, n));
}
-B.memo(GWe);
-function GWe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+B.memo(aGe);
+function aGe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
let a = B.useContext(b5);
return $8(a, "You must render this element inside a <DataRouterContext.Provider> element"), M5(e, void 0, {
router: a.router,
@@ -75840,7 +75999,7 @@ function GWe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
function L5(e) {
$8(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
}
-function KWe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+function oGe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
$8(!k5(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
let s = e.replace(/^\/*/, "/"), c = B.useMemo(() => ({
basename: s,
@@ -75883,8 +76042,8 @@ function KWe({ basename: e = "/", children: t = null, location: n, navigationTyp
value: h
}));
}
-function qWe({ children: e, location: t }) {
- return NWe(R5(e), t);
+function sGe({ children: e, location: t }) {
+ return qWe(R5(e), t);
}
B.Component;
function R5(e, t = []) {
@@ -75923,11 +76082,11 @@ function R5(e, t = []) {
//#endregion
//#region src/react/router/router.tsx
var z5 = (0, B.createContext)(0), B5 = (0, B.createContext)(null);
-function JWe({ children: e }) {
+function cGe({ children: e }) {
let [t, n] = (0, B.useState)(() => Ze.navigation);
return (0, B.useLayoutEffect)(() => (n(Ze.navigation), Ze.listen(n)), []), /* @__PURE__ */ (0, H.jsx)(z5.Provider, {
value: t.seq,
- children: /* @__PURE__ */ (0, H.jsx)(KWe, {
+ children: /* @__PURE__ */ (0, H.jsx)(oGe, {
location: t.location,
navigationType: t.action,
navigator: Ze,
@@ -75935,19 +76094,19 @@ function JWe({ children: e }) {
})
});
}
-function YWe() {
+function lGe() {
let e = (0, B.useContext)(z5);
return (0, B.useLayoutEffect)(() => {
queueMicrotask(() => Qe(e));
}, [e]), null;
}
-function XWe({ target: e }) {
- let t = jWe();
+function uGe({ target: e }) {
+ let t = GWe();
return (0, B.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function ZWe(e, t, n) {
+function dGe(e, t, n) {
let r = new URL(e, window.location.href);
if (!H8(r.pathname)) {
t.navigate(e);
@@ -75955,31 +76114,31 @@ function ZWe(e, t, n) {
}
n(`${r.pathname}${r.search}${r.hash}`);
}
-function QWe() {
+function fGe() {
let e = (0, B.useContext)(B5), [t, n] = (0, B.useState)(Xe), r = (0, B.useRef)(null);
(0, B.useLayoutEffect)(() => (n(Xe()), Ye((e, t) => {
t ? (0, Dt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, B.useMemo)(() => (t) => {
- e && r.current && ZWe(t, e, r.current);
+ e && r.current && dGe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(XWe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, H.jsx)($We, {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(uGe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, H.jsx)(pGe, {
entry: t,
actions: e,
go: i
}, t.revision)) : null] });
}
-var $We = (0, B.memo)(function({ entry: e, actions: t, go: n }) {
- return Z8(e.path) ? (0, Dt.createPortal)(zUe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+var pGe = (0, B.memo)(function({ entry: e, actions: t, go: n }) {
+ return Z8(e.path) ? (0, Dt.createPortal)($Ue(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function eGe({ children: e, actions: t = null }) {
- return /* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(B5.Provider, {
+function mGe({ children: e, actions: t = null }) {
+ return /* @__PURE__ */ (0, H.jsx)(RE, { children: /* @__PURE__ */ (0, H.jsx)(B5.Provider, {
value: t,
- children: /* @__PURE__ */ (0, H.jsxs)(JWe, { children: [
- /* @__PURE__ */ (0, H.jsx)(YWe, {}),
- /* @__PURE__ */ (0, H.jsx)(QWe, {}),
- /* @__PURE__ */ (0, H.jsxs)(qWe, { children: [
- LUe.map((e) => /* @__PURE__ */ (0, H.jsx)(L5, {
+ children: /* @__PURE__ */ (0, H.jsxs)(cGe, { children: [
+ /* @__PURE__ */ (0, H.jsx)(lGe, {}),
+ /* @__PURE__ */ (0, H.jsx)(fGe, {}),
+ /* @__PURE__ */ (0, H.jsxs)(sGe, { children: [
+ ZUe.map((e) => /* @__PURE__ */ (0, H.jsx)(L5, {
path: e,
element: null
}, e)),
@@ -75996,11 +76155,11 @@ function eGe({ children: e, actions: t = null }) {
}) });
}
var V5 = null;
-function tGe(e) {
+function hGe(e) {
if (V5) return;
V5 = (0, Ot.createRoot)(document.createElement("div"));
let t = V5;
- (0, Dt.flushSync)(() => t.render(/* @__PURE__ */ (0, H.jsx)(eGe, { actions: e })));
+ (0, Dt.flushSync)(() => t.render(/* @__PURE__ */ (0, H.jsx)(mGe, { actions: e })));
}
//#endregion
//#region src/number-setting.ts
@@ -76009,35 +76168,35 @@ function H5(e, t, n, r) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var nGe = (e) => {
+var gGe = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function rGe({ openConfiguration: e }) {
- let t = gw({
- queryKey: jL,
- queryFn: ({ signal: e }) => ML(e)
+function _Ge({ openConfiguration: e }) {
+ let t = uw({
+ queryKey: EL,
+ queryFn: ({ signal: e }) => DL(e)
}), n = t.data;
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, H.jsxs)(AT, { children: [
- /* @__PURE__ */ (0, H.jsx)(jT, {
+ children: [n ? /* @__PURE__ */ (0, H.jsxs)(ET, { children: [
+ /* @__PURE__ */ (0, H.jsx)(DT, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, H.jsx)(jT, {
+ /* @__PURE__ */ (0, H.jsx)(DT, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, H.jsx)(jT, {
+ /* @__PURE__ */ (0, H.jsx)(DT, {
term: "更新",
- children: nGe(n)
+ children: gGe(n)
})
- ] }) : /* @__PURE__ */ (0, H.jsx)(wT, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ ] }) : /* @__PURE__ */ (0, H.jsx)(bT, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "配置读取失败",
children: t.error ? G(t.error) : "未取得配置,请刷新页面重试。"
- }) }), /* @__PURE__ */ (0, H.jsx)(TT, {
+ }) }), /* @__PURE__ */ (0, H.jsx)(xT, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, H.jsx)(J, {
onClick: e,
@@ -76094,7 +76253,7 @@ function G5({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function iGe({ field: e, label: t, max: n, value: r, hidden: a, onStep: o, onSettle: s }) {
+function vGe({ field: e, label: t, max: n, value: r, hidden: a, onStep: o, onSettle: s }) {
let c = (0, B.useRef)(null), l = (0, B.useRef)(null), u = (0, B.useRef)({
onStep: o,
onSettle: s
@@ -76129,7 +76288,7 @@ function iGe({ field: e, label: t, max: n, value: r, hidden: a, onStep: o, onSet
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var aGe = [
+var yGe = [
[
"strength",
"强度",
@@ -76156,7 +76315,7 @@ var aGe = [
100
]
];
-function oGe({ host: e, spot: t, index: r, glow: i }) {
+function bGe({ host: e, spot: t, index: r, glow: i }) {
let a = $e[r], o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = (0, B.useRef)(null), [l, u] = (0, B.useState)("all");
(0, B.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -76195,7 +76354,7 @@ function oGe({ host: e, spot: t, index: r, glow: i }) {
children: d
})]
}),
- /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-down" })
+ /* @__PURE__ */ (0, H.jsx)(_k, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "popmenu",
@@ -76234,7 +76393,7 @@ function oGe({ host: e, spot: t, index: r, glow: i }) {
})]
});
}
-function sGe({ host: e }) {
+function xGe({ host: e }) {
let t = e.store.value.homeGlow, n = at(t.preset);
return /* @__PURE__ */ (0, H.jsxs)("section", {
"data-glow-setting": "",
@@ -76253,7 +76412,7 @@ function sGe({ host: e }) {
children: it(t.preset)
})]
}),
- /* @__PURE__ */ (0, H.jsx)(XE, {
+ /* @__PURE__ */ (0, H.jsx)(KE, {
store: e.store,
label: "光晕配色"
}),
@@ -76264,7 +76423,7 @@ function sGe({ host: e }) {
}),
/* @__PURE__ */ (0, H.jsx)("div", {
"data-glow-fields": "",
- children: aGe.map(([r, i, a]) => /* @__PURE__ */ (0, H.jsx)(iGe, {
+ children: yGe.map(([r, i, a]) => /* @__PURE__ */ (0, H.jsx)(vGe, {
field: r,
label: i,
max: a,
@@ -76286,7 +76445,7 @@ function sGe({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, H.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, H.jsx)("div", {
"data-glow-stops": "",
- children: nt.map((n, r) => /* @__PURE__ */ (0, H.jsx)(oGe, {
+ children: nt.map((n, r) => /* @__PURE__ */ (0, H.jsx)(bGe, {
host: e,
spot: n,
index: r,
@@ -76311,7 +76470,7 @@ function sGe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var cGe = {
+var SGe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -76354,7 +76513,7 @@ var cGe = {
}
}, K5 = (e) => `peach.number.${e}`;
function q5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = cGe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, B.useRef)(0);
+ let a = SGe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, B.useRef)(0);
d.current ||= H5(Number(localStorage.getItem(K5(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, B.useState)(n ?? 0), [m, h] = (0, B.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, B.useState)(""), v = (0, B.useRef)(null), y = (0, B.useRef)(i);
y.current = i, (0, B.useLayoutEffect)(() => {
@@ -76433,7 +76592,7 @@ function q5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
//#endregion
//#region src/react/sidebar/sidebar-order.ts
function J5(e) {
- let { mutate: t } = xj();
+ let { mutate: t } = gj();
return (0, B.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
@@ -76448,8 +76607,8 @@ function Y5(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var lGe = "__home__", X5 = (e) => e === "" ? lGe : e;
-function uGe({ host: e }) {
+var CGe = "__home__", X5 = (e) => e === "" ? CGe : e;
+function wGe({ host: e }) {
let t = J5(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), o = e.navCatalog.filter(([e]) => !n.includes(e)), [s, c] = (0, B.useState)(null), [l, u] = (0, B.useState)(!1), [d, f] = (0, B.useState)(null), [p, m] = (0, B.useState)(null), h = (0, B.useRef)(null), g = (0, B.useRef)(null), v = (e, r, i) => {
let a = Y5(n, e, r, i);
a && t(a);
@@ -76511,9 +76670,9 @@ function uGe({ host: e }) {
/* @__PURE__ */ (0, H.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, H.jsx)(xk, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, H.jsx)(_k, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, H.jsx)(xk, { name: a ?? "" }),
+ /* @__PURE__ */ (0, H.jsx)(_k, { name: a ?? "" }),
/* @__PURE__ */ (0, H.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, H.jsxs)("span", {
@@ -76527,7 +76686,7 @@ function uGe({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => y(e, -1),
- children: /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, H.jsx)(_k, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
@@ -76537,7 +76696,7 @@ function uGe({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => y(e, 1),
- children: /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, H.jsx)(_k, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
@@ -76549,7 +76708,7 @@ function uGe({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, H.jsx)(xk, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, H.jsx)(_k, { name: "eye-off" })
})
]
})]
@@ -76569,13 +76728,13 @@ function uGe({ host: e }) {
ref: h,
onClick: S,
children: b ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(xk, { name: b[2] ?? "" }),
+ /* @__PURE__ */ (0, H.jsx)(_k, { name: b[2] ?? "" }),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-sidebar-add-label": "",
children: b[1]
}),
- /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(xk, { name: "check" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, H.jsx)(_k, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(_k, { name: "check" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "全部页面都已显示" })] })
}), o.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -76593,7 +76752,7 @@ function uGe({ host: e }) {
onClick: () => {
c(X5(e)), x(), h.current?.focus();
},
- children: [/* @__PURE__ */ (0, H.jsx)(xk, { name: n ?? "" }), /* @__PURE__ */ (0, H.jsx)("span", { children: t })]
+ children: [/* @__PURE__ */ (0, H.jsx)(_k, { name: n ?? "" }), /* @__PURE__ */ (0, H.jsx)("span", { children: t })]
}, X5(e)))
}) : null]
}), /* @__PURE__ */ (0, H.jsx)("button", {
@@ -76619,7 +76778,7 @@ var Z5 = [
["关注", "ri-rss-line"],
["安全", "ri-shield-check-line"],
["这台电脑", "ri-macbook-line"]
-], dGe = [
+], TGe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -76628,16 +76787,16 @@ var Z5 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], fGe = [["desc", "降序"], ["asc", "升序"]], pGe = [
+], EGe = [["desc", "降序"], ["asc", "升序"]], DGe = [
["off", "关闭"],
["precise", "精准"],
["coarse", "粗略"]
-], mGe = [
+], OGe = [
["7", "每周"],
["30", "每月"],
["90", "每季"],
["0", "从不"]
-], hGe = [[
+], kGe = [[
"cover",
"官方封面",
""
@@ -76645,7 +76804,7 @@ var Z5 = [
"thumbnail",
"预览图",
""
-]], gGe = [
+]], AGe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -76670,19 +76829,19 @@ var Z5 = [
"feedHideExcerptDescription",
"把出过的正片剪成十几分钟单卖的,比如ハイライト厂牌。"
]
-], _Ge = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Q5 = null, $5 = null, e7 = null, t7 = {
+], jGe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Q5 = null, $5 = null, e7 = null, t7 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
machine: "none"
}, n7 = 0, r7 = null;
-function vGe() {
+function MGe() {
return (!$5 || !e7?.isConnected) && ($5?.unmount(), e7 = document.createElement("div"), e7.dataset.settingsHost = "", document.body.append(e7), $5 = (0, Ot.createRoot)(e7)), $5;
}
function i7() {
let e = Q5;
- e && (0, Dt.flushSync)(() => vGe().render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(TGe, {
+ e && (0, Dt.flushSync)(() => MGe().render(/* @__PURE__ */ (0, H.jsx)(RE, { children: /* @__PURE__ */ (0, H.jsx)(zGe, {
host: e,
view: t7
}) })));
@@ -76693,7 +76852,7 @@ function a7(e) {
...e
}, i7();
}
-async function yGe(e) {
+async function NGe(e) {
if (t7.machine === "summary") return;
let t = await e.configurable();
if (t7.open) {
@@ -76702,16 +76861,16 @@ async function yGe(e) {
return;
}
try {
- await NL(new AbortController().signal);
+ await OL(new AbortController().signal);
} catch {}
t7.open && a7({ machine: "summary" });
}
}
-function bGe(e = "") {
+function PGe(e = "") {
let t = Q5;
if (!t) return;
n(), n7 += 1, r7 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = Z5.findIndex(([t]) => t === e), i = nfe();
+ let r = Z5.findIndex(([t]) => t === e), i = mfe();
a7({
open: !0,
closing: !1,
@@ -76719,7 +76878,7 @@ function bGe(e = "") {
tab: r >= 0 ? r : t7.tab
}), i.then((e) => {
e && t.syncRemote(e);
- }), yGe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), NGe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
function o7() {
if (!t7.open || t7.closing) return;
@@ -76737,24 +76896,24 @@ function o7() {
}
e7?.querySelector("[data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);
}
-var xGe = {
- open: bGe,
+var FGe = {
+ open: PGe,
close: o7,
isOpen: () => t7.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function SGe(e) {
- return Q5 = e, i7(), xGe;
+function IGe(e) {
+ return Q5 = e, i7(), FGe;
}
-function CGe(e) {
+function LGe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(_Ge)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(jGe)].filter((e) => e.getClientRects().length > 0);
if (!t.length) return;
let n = t[0], r = t[t.length - 1];
e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());
}
var s7 = (e) => `settings-tab-${e}`, c7 = (e) => e === Z5.length - 1 ? "machineGroup" : `settings-group-${e}`;
-function wGe({ tab: e, epoch: t, onSelect: n }) {
+function RGe({ tab: e, epoch: t, onSelect: n }) {
let r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(e), s = (0, B.useRef)([]), c = (e, t) => {
let n = i.current;
if (!n) return;
@@ -76826,7 +76985,7 @@ function wGe({ tab: e, epoch: t, onSelect: n }) {
onPointerEnter: (e) => {
e.pointerType !== "touch" && c(e.currentTarget, !0);
},
- children: [/* @__PURE__ */ (0, H.jsx)(lue, { name: r }), t]
+ children: [/* @__PURE__ */ (0, H.jsx)(bue, { name: r }), t]
}, t))
]
});
@@ -76870,7 +77029,7 @@ var f7 = ({ html: e, ...t }) => /* @__PURE__ */ (0, H.jsx)("small", {
...t,
dangerouslySetInnerHTML: { __html: e }
}), p7 = () => `${w("保存中")}<span>正在保存…</span>`, m7 = (e, t) => e instanceof Error && e.message || t;
-function TGe({ host: e, view: n }) {
+function zGe({ host: e, view: n }) {
(0, B.useSyncExternalStore)(e.store.subscribe, e.store.version);
let r = e.store.value, i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = (0, B.useRef)(null), l = (0, B.useRef)(n.tab), u = () => {
let [e, t] = [a.current, s.current];
@@ -76902,7 +77061,7 @@ function TGe({ host: e, view: n }) {
"aria-labelledby": "settingsTitle",
"data-closing": n.closing ? "" : void 0,
ref: i,
- onKeyDown: CGe,
+ onKeyDown: LGe,
onClick: (e) => {
e.target === e.currentTarget && o7();
},
@@ -76927,7 +77086,7 @@ function TGe({ host: e, view: n }) {
})
})]
}),
- /* @__PURE__ */ (0, H.jsx)(wGe, {
+ /* @__PURE__ */ (0, H.jsx)(RGe, {
tab: n.tab,
epoch: f,
onSelect: p
@@ -76989,23 +77148,23 @@ function TGe({ host: e, view: n }) {
r.homeGlow.on = t, m(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, H.jsx)(sGe, { host: e }),
+ /* @__PURE__ */ (0, H.jsx)(xGe, { host: e }),
/* @__PURE__ */ (0, H.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, H.jsxs)("span", { children: [/* @__PURE__ */ (0, H.jsx)("b", {
id: "sidebarOrderTitle",
children: "左侧导航"
- }), /* @__PURE__ */ (0, H.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, H.jsx)(uGe, { host: e })]
+ }), /* @__PURE__ */ (0, H.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, H.jsx)(wGe, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, H.jsx)(DGe, {
+ /* @__PURE__ */ (0, H.jsx)(VGe, {
host: e,
tab: n.tab,
epoch: f
}),
- /* @__PURE__ */ (0, H.jsx)(kGe, {
+ /* @__PURE__ */ (0, H.jsx)(UGe, {
host: e,
tab: n.tab,
epoch: f
@@ -77013,12 +77172,12 @@ function TGe({ host: e, view: n }) {
/* @__PURE__ */ (0, H.jsx)(l7, {
index: 3,
tab: n.tab,
- children: /* @__PURE__ */ (0, H.jsx)(jGe, {
+ children: /* @__PURE__ */ (0, H.jsx)(GGe, {
host: e,
epoch: f
})
}),
- /* @__PURE__ */ (0, H.jsx)(MGe, {
+ /* @__PURE__ */ (0, H.jsx)(KGe, {
host: e,
tab: n.tab,
epoch: f
@@ -77038,7 +77197,7 @@ function TGe({ host: e, view: n }) {
/* @__PURE__ */ (0, H.jsx)(l7, {
index: 6,
tab: n.tab,
- children: /* @__PURE__ */ (0, H.jsx)(PGe, {
+ children: /* @__PURE__ */ (0, H.jsx)(JGe, {
host: e,
machine: n.machine
})
@@ -77049,7 +77208,7 @@ function TGe({ host: e, view: n }) {
})
});
}
-function EGe(e, t) {
+function BGe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = l("arrow-up", "arrow-down", "a", {
@@ -77059,7 +77218,7 @@ function EGe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function DGe({ host: e, tab: t, epoch: n }) {
+function VGe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";
return /* @__PURE__ */ (0, H.jsxs)(l7, {
index: 1,
@@ -77092,7 +77251,7 @@ function DGe({ host: e, tab: t, epoch: n }) {
children: [/* @__PURE__ */ (0, H.jsx)(G5, {
id: "defaultSortSetting",
label: "默认排序",
- options: dGe,
+ options: TGe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
@@ -77101,7 +77260,7 @@ function DGe({ host: e, tab: t, epoch: n }) {
}), /* @__PURE__ */ (0, H.jsx)(G5, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: fGe,
+ options: EGe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -77110,7 +77269,7 @@ function DGe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => EGe(e, o)
+ decorate: (e) => BGe(e, o)
})]
})
}),
@@ -77134,14 +77293,14 @@ function DGe({ host: e, tab: t, epoch: n }) {
id: "javImageSetting",
name: "jav-image",
legend: "JAV 默认封面",
- options: hGe,
+ options: kGe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
text: !0,
epoch: n,
onChoose: (t) => {
- r.javImage = KD(t), i(), e.changed("javImage");
+ r.javImage = HD(t), i(), e.changed("javImage");
}
})
}),
@@ -77171,7 +77330,7 @@ function DGe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- gGe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, H.jsx)(OGe, {
+ AGe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, H.jsx)(HGe, {
host: e,
id: t,
settingKey: n,
@@ -77183,8 +77342,8 @@ function DGe({ host: e, tab: t, epoch: n }) {
]
});
}
-function OGe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
- let s = xj(), [c, l] = (0, B.useState)(null), u = (0, B.useRef)(null), d = e.store.value, f = (t) => {
+function HGe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
+ let s = gj(), [c, l] = (0, B.useState)(null), u = (0, B.useRef)(null), d = e.store.value, f = (t) => {
l(t), x(u.current), s.mutate({ [n]: t }, {
onSuccess: (i) => {
d[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -77212,7 +77371,7 @@ function OGe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a
})]
});
}
-function kGe({ host: e, tab: t, epoch: n }) {
+function UGe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
return /* @__PURE__ */ (0, H.jsxs)(l7, {
index: 2,
@@ -77266,7 +77425,7 @@ function kGe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, H.jsx)(AGe, { epoch: n }),
+ /* @__PURE__ */ (0, H.jsx)(WGe, { epoch: n }),
/* @__PURE__ */ (0, H.jsx)(d7, {
title: "相关推荐",
description: "详情下方一次显示的相似作品数量。",
@@ -77285,15 +77444,15 @@ function kGe({ host: e, tab: t, epoch: n }) {
]
});
}
-function AGe({ epoch: e }) {
- let t = gw({
- queryKey: vj,
- queryFn: ({ signal: e }) => bj(e)
- }), n = ife(), r = n.reset;
+function WGe({ epoch: e }) {
+ let t = uw({
+ queryKey: pj,
+ queryFn: ({ signal: e }) => hj(e)
+ }), n = gfe(), r = n.reset;
(0, B.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data?.mode || "off", a = n.isPending ? p7() : t.isFetching ? f("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : t.data ? h7(ofe(t.data)) : "读取运行状态…";
+ let i = t.data?.mode || "off", a = n.isPending ? p7() : t.isFetching ? f("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : t.data ? h7(vfe(t.data)) : "读取运行状态…";
return /* @__PURE__ */ (0, H.jsx)(d7, {
title: "视频缩略图采集",
description: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("small", { children: "拖动进度条时按时间点看画面。精准每 10 秒一张,粗略每 30 秒一张;两小时的片子约 720 / 240 张,占 20–100 / 7–35 MB。只采集本机磁盘上的片子,网盘上的每张都要回源拉一次。" }), /* @__PURE__ */ (0, H.jsx)(f7, {
@@ -77304,7 +77463,7 @@ function AGe({ epoch: e }) {
children: /* @__PURE__ */ (0, H.jsx)(G5, {
id: "videoThumbnailSetting",
label: "视频缩略图采集",
- options: pGe,
+ options: DGe,
value: n.isPending || n.isError ? n.variables ?? i : i,
disabled: n.isPending || t.isFetching,
epoch: e,
@@ -77312,8 +77471,8 @@ function AGe({ epoch: e }) {
})
});
}
-function jGe({ host: e, epoch: t }) {
- let n = e.store.value, r = xj();
+function GGe({ host: e, epoch: t }) {
+ let n = e.store.value, r = gj();
return /* @__PURE__ */ (0, H.jsx)(d7, {
title: "搜索记录",
description: "保存在 Peach 账本,所有访问端同步。",
@@ -77330,8 +77489,8 @@ function jGe({ host: e, epoch: t }) {
})
});
}
-function MGe({ host: e, tab: t, epoch: n }) {
- let r = e.store.value, i = xj(), a = xj(), [o, s] = (0, B.useState)("");
+function KGe({ host: e, tab: t, epoch: n }) {
+ let r = e.store.value, i = gj(), a = gj(), [o, s] = (0, B.useState)("");
(0, B.useEffect)(() => {
s("");
}, [n]);
@@ -77366,14 +77525,14 @@ function MGe({ host: e, tab: t, epoch: n }) {
onPick: (e) => c(Number(e))
})
}),
- /* @__PURE__ */ (0, H.jsx)(NGe, { epoch: n }),
+ /* @__PURE__ */ (0, H.jsx)(qGe, { epoch: n }),
/* @__PURE__ */ (0, H.jsx)(d7, {
title: "头像与站点图标刷新",
description: "创作者头像、来源图标和外链圆标保存在本机,到期后下次显示时重新取一次;视频与图片不保存。",
children: /* @__PURE__ */ (0, H.jsx)(G5, {
id: "metadataRefreshSetting",
label: "头像与站点图标刷新",
- options: mGe,
+ options: OGe,
value: String(r.metadataRefreshDays),
epoch: n,
onPick: (t) => {
@@ -77385,15 +77544,15 @@ function MGe({ host: e, tab: t, epoch: n }) {
]
});
}
-function NGe({ epoch: e }) {
- let t = gw({
- queryKey: _j,
- queryFn: ({ signal: e }) => yj(e)
- }), n = rfe(), r = n.reset;
+function qGe({ epoch: e }) {
+ let t = uw({
+ queryKey: fj,
+ queryFn: ({ signal: e }) => mj(e)
+ }), n = hfe(), r = n.reset;
(0, B.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? p7() : t.isFetching ? f("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : i ? h7(afe(i)) : "读取运行状态…";
+ let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? p7() : t.isFetching ? f("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : i ? h7(_fe(i)) : "读取运行状态…";
return /* @__PURE__ */ (0, H.jsx)(d7, {
title: "关注自动更新",
description: /* @__PURE__ */ (0, H.jsx)(f7, {
@@ -77413,12 +77572,12 @@ function NGe({ epoch: e }) {
})
});
}
-function PGe({ host: e, machine: t }) {
+function JGe({ host: e, machine: t }) {
return t === "summary" ? /* @__PURE__ */ (0, H.jsx)("div", {
id: "machineSettings",
children: /* @__PURE__ */ (0, H.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, H.jsx)(rGe, { openConfiguration: () => {
+ children: /* @__PURE__ */ (0, H.jsx)(_Ge, { openConfiguration: () => {
o7(), e.openConfiguration();
} })
})
@@ -77432,7 +77591,7 @@ function h7(e) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var g7 = "__home__", FGe = {
+var g7 = "__home__", YGe = {
creator: 26,
tag: 30,
tech: 16
@@ -77445,13 +77604,13 @@ function S7() {
let e = v7;
if (!e || !y7) return;
let t = b7, n = x7;
- (0, Dt.flushSync)(() => y7.render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(RGe, {
+ (0, Dt.flushSync)(() => y7.render(/* @__PURE__ */ (0, H.jsx)(RE, { children: /* @__PURE__ */ (0, H.jsx)(QGe, {
host: e,
props: t,
epoch: n
}) })));
}
-var IGe = {
+var XGe = {
render(e) {
b7 = e, S7();
},
@@ -77459,23 +77618,23 @@ var IGe = {
x7 += 1, S7();
}
};
-function LGe(e) {
+function ZGe(e) {
return v7 = e, b7 = {
content: null,
filters: {},
latest: null
- }, e.scroll.replaceChildren(), y7 = (0, Ot.createRoot)(e.scroll), S7(), e.attached(), IGe;
+ }, e.scroll.replaceChildren(), y7 = (0, Ot.createRoot)(e.scroll), S7(), e.attached(), XGe;
}
-function RGe({ host: e, props: t, epoch: n }) {
+function QGe({ host: e, props: t, epoch: n }) {
let r = (0, B.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, H.jsx)(zGe, {
+ /* @__PURE__ */ (0, H.jsx)($Ge, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, H.jsx)(VGe, {
+ t.content ? /* @__PURE__ */ (0, H.jsx)(tKe, {
host: e,
content: t.content,
filters: t.filters,
@@ -77483,7 +77642,7 @@ function RGe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function zGe({ host: e, epoch: t, version: n }) {
+function $Ge({ host: e, epoch: t, version: n }) {
let r = J5(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, B.useRef)(null), l = (0, B.useRef)(null), u = Sr(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || g7 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, B.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
@@ -77540,7 +77699,7 @@ function zGe({ host: e, epoch: t, version: n }) {
"data-sidebar-home-logo": "",
src: "/peach-logo.png",
alt: ""
- }) : /* @__PURE__ */ (0, H.jsx)(xk, { name: r }), /* @__PURE__ */ (0, H.jsx)("span", { children: n })]
+ }) : /* @__PURE__ */ (0, H.jsx)(_k, { name: r }), /* @__PURE__ */ (0, H.jsx)("span", { children: n })]
}, t || g7))
}), v ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)("span", {
"data-sidebar-glide": "",
@@ -77549,7 +77708,7 @@ function zGe({ host: e, epoch: t, version: n }) {
}), v) : null] });
}
var C7 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function BGe(e) {
+function eKe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -77562,7 +77721,7 @@ function BGe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function VGe({ host: e, content: t, filters: n, latest: r }) {
+function tKe({ host: e, content: t, filters: n, latest: r }) {
let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}`;
(0, B.useLayoutEffect)(() => {
t.kind === "catalog" && h(e.scroll, "drawer");
@@ -77571,8 +77730,8 @@ function VGe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? HGe(e, t.facets, n, r, i) : [UGe(e, t.tags, new Set(t.selected))], o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, H.jsx)(WGe, {
+ let a = t.kind === "catalog" ? nKe(e, t.facets, n, r, i) : [rKe(e, t.tags, new Set(t.selected))], o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, H.jsx)(iKe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -77581,8 +77740,8 @@ function VGe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function HGe(e, t, n, r, i) {
- let a = BGe(r), o = (t, r, i) => {
+function nKe(e, t, n, r, i) {
+ let a = eKe(r), o = (t, r, i) => {
if (!t.length) return null;
let o = C7(n, r);
return /* @__PURE__ */ (0, H.jsx)(E7, {
@@ -77607,12 +77766,12 @@ function HGe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, H.jsx)(KGe, {
+ body: /* @__PURE__ */ (0, H.jsx)(oKe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: FGe[d],
+ limit: YGe[d],
filterKey: l,
selected: f,
counts: a,
@@ -77627,7 +77786,7 @@ function HGe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, H.jsx)(qGe, {
+ body: /* @__PURE__ */ (0, H.jsx)(sKe, {
host: e,
filters: n
})
@@ -77650,7 +77809,7 @@ function HGe(e, t, n, r, i) {
} : null
];
}
-function UGe(e, t, n) {
+function rKe(e, t, n) {
return t.length ? {
title: "内容标签",
kind: "online",
@@ -77670,7 +77829,7 @@ function w7(e, t) {
} catch {}
return n === null ? t : n === "open";
}
-function WGe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+function iKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
let o = (0, B.useRef)(null), s = (0, B.useRef)(null), [c, l] = (0, B.useState)(() => w7(e, n)), u = (0, B.useRef)(!1);
(0, B.useLayoutEffect)(() => {
let t = o.current, r = s.current;
@@ -77696,7 +77855,7 @@ function WGe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-right" }), /* @__PURE__ */ (0, H.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, H.jsx)(_k, { name: "chevron-right" }), /* @__PURE__ */ (0, H.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, H.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -77717,8 +77876,8 @@ function WGe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
});
}
var T7 = (0, B.createContext)(() => {});
-function GGe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, H.jsx)(xk, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, H.jsx)("img", {
+function aKe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, H.jsx)(_k, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, H.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
@@ -77741,7 +77900,7 @@ function E7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }
title: e.offline,
onClick: () => a.toggleChip(t, e.value, n),
children: [
- /* @__PURE__ */ (0, H.jsx)(GGe, { dot: e.dot }),
+ /* @__PURE__ */ (0, H.jsx)(aKe, { dot: e.dot }),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -77756,7 +77915,7 @@ function E7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }
})
});
}
-function KGe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: l, expandable: u }) {
+function oKe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: l, expandable: u }) {
let d = (0, B.useContext)(T7), [f, p] = (0, B.useState)(null), [m, h] = (0, B.useState)(e);
m !== e && (h(e), p(null));
let g = (0, B.useRef)(null), _ = (0, B.useRef)(null), v = !!f?.all, y = f ? f.rows : n;
@@ -77797,7 +77956,7 @@ function KGe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !v
}), v && d());
},
- children: /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, H.jsx)(_k, { name: "chevron-down" })
}) : null] });
}
function D7({ rows: e, host: t, selected: n, badges: r }) {
@@ -77822,7 +77981,7 @@ function D7({ rows: e, host: t, selected: n, badges: r }) {
});
}
var O7 = (e, t) => e ? Math.min(_7, Number(e) / 60) : t;
-function qGe({ host: e, filters: t }) {
+function sKe({ host: e, filters: t }) {
let n = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [r, i] = (0, B.useState)(n), [a, o] = (0, B.useState)(() => [O7(t.dur_min, 0), O7(t.dur_max, _7)]), [s, c] = (0, B.useState)("max");
r !== n && (i(n), o([O7(t.dur_min, 0), O7(t.dur_max, _7)]));
let [l, u] = a, d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(a);
@@ -77892,17 +78051,17 @@ function qGe({ host: e, filters: t }) {
}
//#endregion
//#region src/board-skeleton.ts
-var k7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, JGe = () => `${k7("80%")}${k7("48%")}`, YGe = (e, t) => e.repeat(t);
-function XGe() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${k7("85%")}${k7("65%")}${YGe(JGe(), 4)}</div></aside></div>`;
+var k7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, cKe = () => `${k7("80%")}${k7("48%")}`, lKe = (e, t) => e.repeat(t);
+function uKe() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${k7("85%")}${k7("65%")}${lKe(cKe(), 4)}</div></aside></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var A7 = (e) => ["follow-item", e], ZGe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, QGe = "/api/follow/save", $Ge = "/api/follow/media/hide";
+var A7 = (e) => ["follow-item", e], dKe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, fKe = "/api/follow/save", pKe = "/api/follow/media/hide";
async function j7(e, t) {
- let n = await K(ZGe(e), t);
+ let n = await K(dKe(e), t);
for (let t of n.groups || []) {
- let r = cF(t).find((t) => t.id === e);
+ let r = QP(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -77912,10 +78071,10 @@ async function j7(e, t) {
}
throw Error("这条关注内容已不存在");
}
-async function eKe(e, t) {
- let n = A7(e.id), r = Fhe(e.id), i = z.getQueryData(iF) ? null : z.fetchQuery({
- queryKey: iF,
- queryFn: () => aF(t)
+async function mKe(e, t) {
+ let n = A7(e.id), r = Qhe(e.id), i = z.getQueryData(JP) ? null : z.fetchQuery({
+ queryKey: JP,
+ queryFn: () => YP(t)
});
r ? z.setQueryData(n, {
...r,
@@ -77925,8 +78084,8 @@ async function eKe(e, t) {
queryFn: () => j7(e.id, t)
}), await i;
}
-function tKe(e, t, n, r) {
- let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && pF(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
+function hKe(e, t, n, r) {
+ let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && rF(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
selected: s,
@@ -77940,32 +78099,32 @@ function tKe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var nKe = (e) => cF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), rKe = {
+var gKe = (e) => QP(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), _Ke = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, iKe = {
+}, vKe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function aKe(e) {
+function yKe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return rKe[t] || t;
+ return _Ke[t] || t;
} catch {
return "外部文件页";
}
}
function M7(e, t) {
- return iKe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+ return vKe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function oKe(e, t, n = "") {
+function bKe(e, t, n = "") {
let r = n;
!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";
let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;
@@ -77974,16 +78133,16 @@ function oKe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var sKe = (e) => String(e.name || "").trim(), N7 = (e, t) => e.tag_types?.[t] || "unknown", cKe = /* @__PURE__ */ new Set([
+var xKe = (e) => String(e.name || "").trim(), N7 = (e, t) => e.tag_types?.[t] || "unknown", SKe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function lKe(e, t) {
+function CKe(e, t) {
let n = N7(e, t);
- return `r34-${cKe.has(n) ? n : "general"}`;
+ return `r34-${SKe.has(n) ? n : "general"}`;
}
var P7 = [
"copyright",
@@ -77992,23 +78151,23 @@ var P7 = [
"general",
"metadata"
];
-function uKe(e, t) {
+function wKe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
let n = P7.indexOf(N7(e, t));
return n < 0 ? P7.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function dKe(e, t) {
+function TKe(e, t) {
let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);
return !r.length && n && r.push(n), r;
}
-var fKe = (e, t) => ({
+var EKe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
}), F7 = (e) => e?.size ? { size: e.size } : {};
-function pKe(e, t) {
+function DKe(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t, r) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
@@ -78035,7 +78194,7 @@ function pKe(e, t) {
total: 1
}] : [];
}
-var mKe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
+var OKe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
//#endregion
//#region src/react/components/mix-queue.tsx
function I7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
@@ -78089,29 +78248,29 @@ function L7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var hKe = ({ label: e, count: t }) => /* @__PURE__ */ (0, H.jsxs)("h3", {
+var kKe = ({ label: e, count: t }) => /* @__PURE__ */ (0, H.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
" ",
/* @__PURE__ */ (0, H.jsx)("span", { children: t })
]
-}), R7 = (e) => Number(e) > 0, gKe = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("span", {
+}), R7 = (e) => Number(e) > 0, AKe = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: L(e) }
}), z7 = L("external-link", "externalmark");
-function _Ke(e) {
- let { id: t, actions: n } = e, r = gw({
+function jKe(e) {
+ let { id: t, actions: n } = e, r = uw({
queryKey: A7(t),
queryFn: ({ signal: e }) => j7(t, e)
- }), i = gw({
- queryKey: iF,
- queryFn: ({ signal: e }) => aF(e)
+ }), i = uw({
+ queryKey: JP,
+ queryFn: ({ signal: e }) => YP(e)
}), a = (0, B.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, B.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, H.jsx)(vKe, {
+ return r.data ? /* @__PURE__ */ (0, H.jsx)(MKe, {
...e,
data: r.data,
- context: fKe(r.data, a),
+ context: EKe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, H.jsx)("div", {
@@ -78122,7 +78281,7 @@ function _Ke(e) {
"data-follow-detail-media": "none",
children: [/* @__PURE__ */ (0, H.jsx)(B7, { onClose: n.close }), /* @__PURE__ */ (0, H.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? /* @__PURE__ */ (0, H.jsx)(iA, {
+ children: r.isError ? /* @__PURE__ */ (0, H.jsx)(nA, {
message: ce(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -78139,8 +78298,8 @@ var B7 = ({ onClose: e }) => /* @__PURE__ */ (0, H.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function vKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
- let { item: s, group: c } = e, l = tKe(s, c, n, i), u = SKe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, B.useState)({
+function MKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
+ let { item: s, group: c } = e, l = hKe(s, c, n, i), u = IKe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, B.useState)({
key: "",
kind: ""
}), m = {
@@ -78160,7 +78319,7 @@ function vKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
s,
l.kind
]);
- let h = !l.embedded.length && l.collection ? nKe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, H.jsx)(W7, {
+ let h = !l.embedded.length && l.collection ? gKe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, H.jsx)(W7, {
item: s,
current: l.selected.index,
helpers: a,
@@ -78173,7 +78332,7 @@ function vKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
actions: o,
onMedia: r,
currentId: s.id
- }) : /* @__PURE__ */ (0, H.jsx)(bKe, {
+ }) : /* @__PURE__ */ (0, H.jsx)(PKe, {
group: l.collection,
itemId: s.id,
helpers: a,
@@ -78184,7 +78343,7 @@ function vKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
"data-with-queue": g ? "" : void 0,
"data-follow-detail": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(yKe, {
+ /* @__PURE__ */ (0, H.jsx)(NKe, {
item: s,
media: l,
helpers: a,
@@ -78193,7 +78352,7 @@ function vKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
issues: m
}, d),
g,
- /* @__PURE__ */ (0, H.jsx)(xKe, {
+ /* @__PURE__ */ (0, H.jsx)(FKe, {
item: s,
data: e,
context: t,
@@ -78206,8 +78365,8 @@ function vKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
]
});
}
-function yKe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, B.useRef)(null), [p, m] = (0, B.useState)(null), h = pKe(e, t), g = o?.thumb_url || e.thumb_url || "", _ = e.playable && a === "video", v = e.playable && a === "image" ? s : e.thumb_url || "", y = e.playable && a === "image" && g && g !== s ? g : "", [b, x] = (0, B.useState)(v), S = (0, B.useRef)({
+function NKe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, B.useRef)(null), [p, m] = (0, B.useState)(null), h = DKe(e, t), g = o?.thumb_url || e.thumb_url || "", _ = e.playable && a === "video", v = e.playable && a === "image" ? s : e.thumb_url || "", y = e.playable && a === "image" && g && g !== s ? g : "", [b, x] = (0, B.useState)(v), S = (0, B.useRef)({
item: e,
selected: o
}), C = (0, B.useRef)(i.failed);
@@ -78244,7 +78403,7 @@ function yKe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
src: b,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: h.length ? () => void vN(Math.max(0, l), h) : void 0,
+ onClick: h.length ? () => void cN(Math.max(0, l), h) : void 0,
onError: () => {
if (y && b !== y) {
x(y), i.thumbFallback();
@@ -78256,7 +78415,7 @@ function yKe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, H.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: yF(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: lF(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, H.jsx)("span", { children: "没有可用预览" })]
}),
u ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
@@ -78314,8 +78473,8 @@ function U7(e) {
t && e.wireDrag(t);
}, [e]);
}
-function bKe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = pF(e), a = U7(n);
+function PKe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = rF(e), a = U7(n);
return /* @__PURE__ */ (0, H.jsx)(I7, {
kind: "collection",
"data-follow-queue": "",
@@ -78324,7 +78483,7 @@ function bKe({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: a,
summary: `${e.primary.title || "未命名合集"} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = oKe(e, n, i ? n.provider_label : ""), o = i ? yF(n.provider, n.provider_label) : "";
+ let i = e.duplicates.includes(n), a = bKe(e, n, i ? n.provider_label : ""), o = i ? lF(n.provider, n.provider_label) : "";
return /* @__PURE__ */ (0, H.jsxs)(L7, {
current: n.id === t,
"data-follow-queue-item": n.id,
@@ -78347,7 +78506,7 @@ function bKe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, H.jsx)("time", {
dateTime: n.published_at || "",
- children: EF(n)
+ children: gF(n)
})]
})]
}, n.id);
@@ -78372,7 +78531,7 @@ function W7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
onClose: i.close,
listRef: s,
summary: `${e.title || "未命名内容"} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, H.jsx)(hKe, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, H.jsx)(kKe, {
label: n.label,
count: n.items.length
}, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, H.jsxs)(L7, {
@@ -78384,7 +78543,7 @@ function W7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
pic: n.thumb_url ? /* @__PURE__ */ (0, H.jsx)(H7, { src: n.thumb_url }) : /* @__PURE__ */ (0, H.jsx)(V7, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, H.jsx)("b", {
"data-middle-truncate": "",
- children: sKe(n)
+ children: xKe(n)
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -78392,13 +78551,13 @@ function W7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function xKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function FKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
let { kind: c, selected: l, src: u } = r, d = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, f = wF(d, e), p = SF(e, dKe(e, t.sources), n), m = p.credited ? "" : e.author && re(e.author) !== re(p.author) ? e.author : "", h = TF(e, n), g = uKe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = mF(d, e), p = fF(e, TKe(e, t.sources), n), m = p.credited ? "" : e.author && re(e.author) !== re(p.author) ? e.author : "", h = hF(e, n), g = wKe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -78414,7 +78573,7 @@ function xKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-title": "",
"data-follow-detail-name": "",
"data-reveal-line": "",
- dangerouslySetInnerHTML: { __html: CF(d, e) + P(e.title) }
+ dangerouslySetInnerHTML: { __html: pF(d, e) + P(e.title) }
}), e.url ? /* @__PURE__ */ (0, H.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -78441,7 +78600,7 @@ function xKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, H.jsx)("span", { children: EF(e) }),
+ /* @__PURE__ */ (0, H.jsx)("span", { children: gF(e) }),
R7(e.duration) ? /* @__PURE__ */ (0, H.jsx)("span", { children: ne(e.duration) }) : null,
f ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-badges": "",
@@ -78475,7 +78634,7 @@ function xKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [aKe(e), /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [yKe(e), /* @__PURE__ */ (0, H.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z7 }
})]
@@ -78584,7 +78743,7 @@ function xKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...y(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, H.jsx)(H7, { src: e.thumb_url }) : /* @__PURE__ */ (0, H.jsx)(gKe, { name: "image-off" }), /* @__PURE__ */ (0, H.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, H.jsx)(H7, { src: e.thumb_url }) : /* @__PURE__ */ (0, H.jsx)(AKe, { name: "image-off" }), /* @__PURE__ */ (0, H.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -78598,7 +78757,7 @@ function xKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-follow-detail-tags": "",
children: g.map((t) => /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
- "data-tag-cat": lKe(e, t),
+ "data-tag-cat": CKe(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -78608,7 +78767,7 @@ function xKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function SKe(e, t, n) {
+function IKe(e, t, n) {
let r = e.id, i = A7(r), [a, o] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -78619,17 +78778,17 @@ function SKe(e, t, n) {
...t.item,
status: e
}
- }), Lhe(r, e);
+ }), ege(r, e);
}, d = (e) => {
c(ce(e) || "操作失败"), t.failure("更新关注状态", e);
- }, f = yw({
- mutationFn: ({ to: e }) => q(vP, {
+ }, f = pw({
+ mutationFn: ({ to: e }) => q(cP, {
item: r,
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && UI(), t.toast(mKe(n), { undo: i === "saved" ? void 0 : async () => {
- await q(vP, {
+ u(n), c(""), n === "ignored" && RI(), t.toast(OKe(n), { undo: i === "saved" ? void 0 : async () => {
+ await q(cP, {
item: r,
to: i
}), u(i);
@@ -78637,16 +78796,16 @@ function SKe(e, t, n) {
},
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
- }), p = yw({
- mutationFn: () => q(QGe, { item: r }),
+ }), p = pw({
+ mutationFn: () => q(fKe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
onError: d,
onSettled: () => l("save", !1)
- }), m = yw({
+ }), m = pw({
mutationFn: async ({ index: e, hidden: t }) => {
- await q($Ge, {
+ await q(pKe, {
item: r,
media: e,
hidden: t
@@ -78657,17 +78816,17 @@ function SKe(e, t, n) {
},
onSuccess: (e, { hidden: r, next: a }) => {
let o = z.getQueryData(i);
- o && Ihe(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
+ o && $he(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
},
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
- }), h = gw({
- queryKey: R_e(r),
- queryFn: ({ signal: e }) => V_e(r, e)
- }).data?.want ?? null, g = yw({
- mutationFn: async (e) => (e ? await HI([e.id]) : await VI({ follow: r }), !e),
+ }), h = uw({
+ queryKey: rve(r),
+ queryFn: ({ signal: e }) => ove(r, e)
+ }).data?.want ?? null, g = pw({
+ mutationFn: async (e) => (e ? await LI([e.id]) : await II({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), UI();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), RI();
},
onError: d,
onSettled: () => l("want", !1)
@@ -78707,19 +78866,19 @@ function SKe(e, t, n) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function CKe(e) {
+function LKe(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 wKe(e) {
+function RKe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return CKe(n ?? t.body);
+ return LKe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var TKe = "/api/cover-crop", EKe = (e, t) => q(TKe, {
+var zKe = "/api/cover-crop", BKe = (e, t) => q(zKe, {
code: e,
box: t
});
@@ -78738,7 +78897,7 @@ function G7({ className: e }) {
children: /* @__PURE__ */ (0, H.jsx)("use", { href: "#i-crop" })
});
}
-function DKe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function VKe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, B.useState)(!1), o = (0, B.useRef)(null);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("button", {
ref: o,
@@ -78751,13 +78910,13 @@ function DKe({ code: e, coverUrl: t, box: n, onSaved: r }) {
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, H.jsx)(G7, { className: "size-3.75" })
}), /* @__PURE__ */ (0, H.jsx)(Gp, {
- getContainer: () => wKe(o.current),
- children: /* @__PURE__ */ (0, H.jsx)(MN, {
+ getContainer: () => RKe(o.current),
+ children: /* @__PURE__ */ (0, H.jsx)(SN, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, H.jsx)(OKe, {
+ children: /* @__PURE__ */ (0, H.jsx)(HKe, {
code: e,
coverUrl: t,
box: n,
@@ -78767,9 +78926,9 @@ function DKe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function OKe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, B.useState)(null), [s, c] = (0, B.useState)(null), [l, u] = (0, B.useState)(!0), d = uT(), f = yw({
- mutationFn: (t) => EKe(e, t),
+function HKe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, B.useState)(null), [s, c] = (0, B.useState)(null), [l, u] = (0, B.useState)(!0), d = oT(), f = pw({
+ mutationFn: (t) => BKe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -78781,15 +78940,15 @@ function OKe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Vpe(e, qD);
- c(ON(t, e, null));
+ } : ime(e, UD);
+ c(vN(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, H.jsx)(NN, { children: /* @__PURE__ */ (0, H.jsx)(G7, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, H.jsx)(CN, { children: /* @__PURE__ */ (0, H.jsx)(G7, { className: "size-6" }) }),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -78808,8 +78967,8 @@ function OKe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsx)(fT, {
- icon: Iw,
+ /* @__PURE__ */ (0, H.jsx)(cT, {
+ icon: Aw,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -78819,24 +78978,24 @@ function OKe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, H.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, H.jsx)(FN, {
+ children: /* @__PURE__ */ (0, H.jsx)(TN, {
src: t,
- aspect: l ? qD : null,
+ aspect: l ? UD : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- EN(e) && p(e);
+ gN(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, H.jsx)(MI, {
+ children: [/* @__PURE__ */ (0, H.jsx)(SI, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(ON(s, a, qD));
+ u(e), e && s && a && c(vN(s, a, UD));
},
children: /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -78872,14 +79031,14 @@ var K7 = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
});
-function kKe(e) {
- let { queue: t, actions: n } = e, r = gw({
- queryKey: t ? eO(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => lO(t, e.helpers, n),
+function UKe(e) {
+ let { queue: t, actions: n } = e, r = uw({
+ queryKey: t ? XD(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => aO(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? fO(i, e.id) : t ? null : e.id, o = gw({
- queryKey: $D(a ?? 0),
- queryFn: ({ signal: e }) => cO(a, e),
+ }), i = t && r.data || null, a = i ? cO(i, e.id) : t ? null : e.id, o = uw({
+ queryKey: YD(a ?? 0),
+ queryFn: ({ signal: e }) => iO(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -78892,7 +79051,7 @@ function kKe(e) {
"data-item-media": "none",
children: [/* @__PURE__ */ (0, H.jsx)(J7, { onClose: n.close }), /* @__PURE__ */ (0, H.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, H.jsx)(iA, {
+ children: e ? /* @__PURE__ */ (0, H.jsx)(nA, {
message: ce(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -78902,9 +79061,9 @@ function kKe(e) {
})
});
}
- return /* @__PURE__ */ (0, H.jsx)(AKe, {
+ return /* @__PURE__ */ (0, H.jsx)(WKe, {
...e,
- item: fle(o.data, i),
+ item: Cle(o.data, i),
queue: i
}, o.data.id);
}
@@ -78917,36 +79076,36 @@ var J7 = ({ onClose: e }) => /* @__PURE__ */ (0, H.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function AKe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = KKe(t, r, i.tagLabel), o = (0, B.useRef)(t);
+function WKe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = oqe(t, r, i.tagLabel), o = (0, B.useRef)(t);
(0, B.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, B.useEffect)(() => {
- n?.kind === "playlist" && q(tO, {
+ n?.kind === "playlist" && q(ZD, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = Ele(t, i.sourceOffline(t.location || ""));
+ let s = Lle(t, i.sourceOffline(t.location || ""));
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(jKe, {
+ /* @__PURE__ */ (0, H.jsx)(GKe, {
item: t,
gate: s,
helpers: i,
actions: r
}),
- n ? /* @__PURE__ */ (0, H.jsx)(NKe, {
+ n ? /* @__PURE__ */ (0, H.jsx)(qKe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- /* @__PURE__ */ (0, H.jsx)(IKe, {
+ /* @__PURE__ */ (0, H.jsx)(XKe, {
item: t,
queue: n,
write: a,
@@ -78954,9 +79113,9 @@ function AKe(e) {
actions: r
})
]
- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, H.jsx)(GKe, { ...e }) : null] });
+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, H.jsx)(aqe, { ...e }) : null] });
}
-function jKe({ item: e, gate: t, helpers: n, actions: r }) {
+function GKe({ item: e, gate: t, helpers: n, actions: r }) {
let [i, a] = (0, B.useState)(t ? "" : "auto"), o = (0, B.useRef)(null), s = (0, B.useRef)(e);
(0, B.useLayoutEffect)(() => {
let e = o.current;
@@ -78967,7 +79126,7 @@ function jKe({ item: e, gate: t, helpers: n, actions: r }) {
ref: o,
"data-stage-media": "",
"data-item-media": t || "video",
- children: [/* @__PURE__ */ (0, H.jsx)(J7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, H.jsx)(MKe, {
+ children: [/* @__PURE__ */ (0, H.jsx)(J7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, H.jsx)(KKe, {
item: e,
badge: c,
helpers: n,
@@ -78996,7 +79155,7 @@ function jKe({ item: e, gate: t, helpers: n, actions: r }) {
}) : null]
});
}
-function MKe({ item: e, badge: t, helpers: n, actions: r }) {
+function KKe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, B.useState)(!1), [o, s] = (0, B.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -79021,8 +79180,8 @@ function MKe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function NKe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = Sle(e), a = (0, B.useRef)(null), o = FKe(e, t, r), s = (0, B.useRef)(o);
+function qKe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = Nle(e), a = (0, B.useRef)(null), o = YKe(e, t, r), s = (0, B.useRef)(o);
s.current = o;
let c = (0, B.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -79030,7 +79189,7 @@ function NKe({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => s.current.move(+e, +t, n)
}));
- }, [n, e.kind]), l = PKe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, H.jsx)("button", {
+ }, [n, e.kind]), l = JKe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -79058,10 +79217,10 @@ function NKe({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: c,
children: e.items.map((i) => {
let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, H.jsx)("i", {
- className: `javedition ${ble[i.edition_label] || "censored"}`,
+ className: `javedition ${jle[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && dO(i);
+ }) : null, s = e.kind === "playlist" && sO(i);
return /* @__PURE__ */ (0, H.jsxs)(L7, {
current: i.id === t,
"data-queue-item": i.id,
@@ -79101,14 +79260,14 @@ function NKe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? bO(i.part_label) : be(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? gO(i.part_label) : be(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function PKe(e, t) {
- let n = yw({ mutationFn: (t) => q(tO, {
+function JKe(e, t) {
+ let n = pw({ mutationFn: (t) => q(ZD, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -79121,14 +79280,14 @@ function PKe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function FKe(e, t, n) {
- let i = eO({
+function YKe(e, t, n) {
+ let i = XD({
kind: "playlist",
playlistId: e.playlistId
- }), a = (e) => (z.setQueryData(i, uO(e)), e), o = (t) => q(tO, {
+ }), a = (e) => (z.setQueryData(i, oO(e)), e), o = (t) => q(ZD, {
id: e.playlistId,
...t
- }).then((e) => e.playlist), s = yw({
+ }).then((e) => e.playlist), s = pw({
mutationFn: (e) => o({
action: "reorder",
asset_ids: e
@@ -79141,8 +79300,8 @@ function FKe(e, t, n) {
return {
move: async (t, r, i) => {
if (e.kind !== "playlist") return;
- let l = wle(c, t, r, i);
- if (Tle(l, c)) return;
+ let l = Fle(c, t, r, i);
+ if (Ile(l, c)) return;
let u = c;
await s.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
a(await o({
@@ -79188,7 +79347,7 @@ function FKe(e, t, n) {
}
};
}
-function IKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function XKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, B.useState)(!1);
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-stage-side": "",
@@ -79196,7 +79355,7 @@ function IKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, H.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(LKe, {
+ /* @__PURE__ */ (0, H.jsx)(ZKe, {
item: e,
queue: t,
helpers: r,
@@ -79208,7 +79367,7 @@ function IKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, H.jsx)(zKe, {
+ /* @__PURE__ */ (0, H.jsx)($Ke, {
item: e,
write: n
}),
@@ -79243,18 +79402,18 @@ function IKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsx)(BKe, {
+ /* @__PURE__ */ (0, H.jsx)(eqe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, H.jsx)(VKe, {
+ /* @__PURE__ */ (0, H.jsx)(tqe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, H.jsx)(UKe, { item: e }),
+ /* @__PURE__ */ (0, H.jsx)(rqe, { item: e }),
/* @__PURE__ */ (0, H.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -79356,7 +79515,7 @@ function IKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
]
}),
- /* @__PURE__ */ (0, H.jsx)(WKe, {
+ /* @__PURE__ */ (0, H.jsx)(iqe, {
item: e,
open: s,
write: n
@@ -79380,7 +79539,7 @@ function IKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function LKe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+function ZKe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
let a = (0, B.useRef)(null), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)(!1);
(0, B.useLayoutEffect)(() => {
let e = a.current;
@@ -79390,7 +79549,7 @@ function LKe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}, n = new ResizeObserver(t);
return n.observe(e), t(), () => n.disconnect();
}, []);
- let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Cle(e, t);
+ let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Ple(e, t);
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, H.jsxs)("div", {
@@ -79421,19 +79580,19 @@ function LKe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}),
e.has_cover && e.code ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, H.jsx)(DKe, {
+ children: /* @__PURE__ */ (0, H.jsx)(VKe, {
code: e.code,
coverUrl: pe(e),
box: e.poster_box || null,
onSaved: (t) => {
z.invalidateQueries({
- queryKey: $D(e.id),
+ queryKey: YD(e.id),
exact: !0
- }), QD((t) => t.code === e.code, { poster_box: t });
+ }), JD((t) => t.code === e.code, { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, H.jsx)(RKe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, H.jsx)(QKe, {
id: e.id,
actions: r,
onStatus: i
@@ -79443,7 +79602,7 @@ function LKe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function RKe({ id: e, actions: t, onStatus: n }) {
+function QKe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, B.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -79476,14 +79635,14 @@ function RKe({ id: e, actions: t, onStatus: n }) {
children: /* @__PURE__ */ (0, H.jsx)(K7, { name: "folder-sync" })
})] });
}
-function zKe({ item: e, write: t }) {
- let n = mO(e.rating);
+function $Ke({ item: e, write: t }) {
+ let n = uO(e.rating);
return /* @__PURE__ */ (0, H.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": pO(e.rating),
+ "data-value": lO(e.rating),
children: [/* @__PURE__ */ (0, H.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -79505,12 +79664,12 @@ function zKe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: hle(e.rating)
+ children: Ele(e.rating)
})]
});
}
-function BKe({ item: e, actions: t }) {
- let n = (0, B.useMemo)(() => mle(e), [e]), [r, i] = (0, B.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function eqe({ item: e, actions: t }) {
+ let n = (0, B.useMemo)(() => Tle(e), [e]), [r, i] = (0, B.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r, o = e === "performer" ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("span", { children: n.name.slice(0, 1) }), /* @__PURE__ */ (0, H.jsx)(q7, { html: ge({
id: n.id,
hasImage: n.has_image,
@@ -79624,8 +79783,8 @@ function BKe({ item: e, actions: t }) {
]
});
}
-function VKe({ item: e, write: t, helpers: n, actions: r }) {
- let i = _le(e, n);
+function tqe({ item: e, write: t, helpers: n, actions: r }) {
+ let i = Ole(e, n);
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -79646,14 +79805,14 @@ function VKe({ item: e, write: t, helpers: n, actions: r }) {
onClick: () => t.removeTag(e),
children: /* @__PURE__ */ (0, H.jsx)(K7, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, H.jsx)(HKe, {
+ }, e.k)), /* @__PURE__ */ (0, H.jsx)(nqe, {
item: e,
write: t,
helpers: n
})]
});
}
-function HKe({ item: e, write: t, helpers: n }) {
+function nqe({ item: e, write: t, helpers: n }) {
let r = (0, B.useRef)(null), i = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useRef)(!1), [c, l] = (0, B.useState)(!1), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(-1), g = (0, B.useCallback)(() => {
i.current && a(i.current), l(!1);
}, []);
@@ -79667,7 +79826,7 @@ function HKe({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [c, g]);
- let v = c ? yle(f, n.tagCandidates(), yO()) : {
+ let v = c ? Ale(f, n.tagCandidates(), hO()) : {
recent: [],
results: [],
create: ""
@@ -79695,12 +79854,12 @@ function HKe({ item: e, write: t, helpers: n }) {
if (n.key === "Enter") {
n.preventDefault();
let r = m >= 0 ? y[m] : null;
- r ? b(r, r.n !== -1 && hO(e, r.k)) : u.trim() && (g(), t.addTag(u.trim()));
+ r ? b(r, r.n !== -1 && dO(e, r.k)) : u.trim() && (g(), t.addTag(u.trim()));
}
}
}, S = -1, C = (t) => {
S += 1;
- let r = S, i = hO(e, t.k);
+ let r = S, i = dO(e, t.k);
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -79797,8 +79956,8 @@ function HKe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function UKe({ item: e }) {
- let t = Dle(e);
+function rqe({ item: e }) {
+ let t = Rle(e);
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -79832,7 +79991,7 @@ function UKe({ item: e }) {
})]
});
}
-function WKe({ item: e, open: t, write: n }) {
+function iqe({ item: e, open: t, write: n }) {
let [r, i] = (0, B.useState)(e.like_reason || ""), a = (0, B.useRef)(null);
(0, B.useEffect)(() => {
t && a.current?.focus();
@@ -79871,10 +80030,10 @@ function WKe({ item: e, open: t, write: n }) {
})]
});
}
-function GKe(e) {
- let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = gw({
- queryKey: lle(t.id, n),
- queryFn: async ({ signal: e }) => (await K(dle(t.id, n), e)).items || []
+function aqe(e) {
+ let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = uw({
+ queryKey: ble(t.id, n),
+ queryFn: async ({ signal: e }) => (await K(Sle(t.id, n), e)).items || []
}), [o] = (0, B.useState)(() => r.relatedSkeletonHtml()), c = (0, B.useCallback)((e) => {
e && (s(e), r.wireDrag(e));
}, [r]);
@@ -79887,7 +80046,7 @@ function GKe(e) {
ref: c,
id: "nrow",
"data-related-row": "",
- children: a.data ? /* @__PURE__ */ (0, H.jsx)(xA, {
+ children: a.data ? /* @__PURE__ */ (0, H.jsx)(gA, {
mode: "items",
variant: "next",
items: a.data,
@@ -79904,8 +80063,8 @@ function GKe(e) {
})]
});
}
-function KKe(e, t, n) {
- let r = e.id, i = $D(r), [a, o] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = (e, t) => o((n) => {
+function oqe(e, t, n) {
+ let r = e.id, i = YD(r), [a, o] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), f = () => z.getQueryData(i) || e, p = (e) => {
@@ -79921,11 +80080,11 @@ function KKe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return ZD(r, n), t;
+ return qD(r, n), t;
}, m = (e, t) => q(e, {
id: r,
...t
- }), h = yw({
+ }), h = pw({
mutationFn: ({ run: e }) => e(),
onError: (e, { action: n }) => t.failure(n, e),
onSettled: (e, t, { name: n }) => d(n, !1)
@@ -79936,7 +80095,7 @@ function KKe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(nO, t === void 0 ? { kind: e } : {
+ let n = await m(QD, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -79956,21 +80115,21 @@ function KKe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = gle(n, e);
- await _("rate", r), t.toast(r ? `已评 ${mO(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = Dle(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${uO(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(xO(e, r), { undo: async () => {
+ t.toast(_O(e, r), { undo: async () => {
e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => g("later", "更新稍后看", async () => {
- let e = await m(iO, {});
+ let e = await m(eO, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(iO, {})).watch_later });
+ p({ watch_later: (await m(eO, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -79980,9 +80139,9 @@ function KKe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(aO, { wanted: !e.wanted });
+ }), r = await m(tO, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(aO, e));
+ n(await m(tO, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -79996,7 +80155,7 @@ function KKe(e, t, n) {
});
u("保存中…");
try {
- o(await m(oO, {
+ o(await m(nO, {
liked: a,
reason: i
}));
@@ -80006,7 +80165,7 @@ function KKe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(oO, r));
+ o(await m(nO, r));
} });
});
},
@@ -80015,11 +80174,11 @@ function KKe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => gO(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(rO, {
+ p((t) => fO(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m($D, {
operation: "add",
tag: e.k
- }), p((t) => _O(t, e));
+ }), p((t) => pO(t, e));
} });
}),
addTag: (e) => {
@@ -80028,14 +80187,14 @@ function KKe(e, t, n) {
(await m("/api/item-tag", {
operation: "add",
tag: r
- })).ok && (p((e) => _O(e, {
+ })).ok && (p((e) => pO(e, {
k: r,
cat: "general"
- })), vle(r), t.toast(`已添加标签「${n(r)}」`, { undo: async () => {
- await m(rO, {
+ })), kle(r), t.toast(`已添加标签「${n(r)}」`, { undo: async () => {
+ await m($D, {
operation: "remove",
tag: r
- }), p((e) => gO(e, r));
+ }), p((e) => fO(e, r));
} }));
});
}
@@ -80044,16 +80203,16 @@ function KKe(e, t, n) {
//#endregion
//#region src/react/stage/stage-player.ts
var Y7 = null, X7 = null, Z7 = null, Q7 = null, $7 = null, e9 = !1, t9 = 0, n9 = null, r9 = () => !1, i9 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function qKe(e, t) {
- Y7 = e, r9 = () => t.isOpen(), n9 = () => t.requestClose(), bce({
+function sqe(e, t) {
+ Y7 = e, r9 = () => t.isOpen(), n9 = () => t.requestClose(), jce({
...e.player,
stage: () => document.getElementById("stage")
- }), xce({
+ }), Mce({
inMiniplayer: (e) => X7?.player === e,
kind: (e) => X7?.player === e ? X7.kind : Z7?.kind ?? Q7?.kind ?? "item",
expand: () => S9(),
toMiniplayer: () => C9()
- }), a9 || (a9 = !0, addEventListener("pagehide", () => AD()));
+ }), a9 || (a9 = !0, addEventListener("pagehide", () => ED()));
}
var a9 = !1;
function o9() {
@@ -80063,10 +80222,10 @@ function o9() {
function s9(e) {
Q7 = e;
}
-var JKe = () => Q7;
+var cqe = () => Q7;
function c9(e, t) {
let { kind: n, item: r, media: i = null } = t, a = i9(n, r.id, i?.index ?? null);
- if (X7 && X7.key === a) return YKe(e, X7);
+ if (X7 && X7.key === a) return lqe(e, X7);
X7 && x9();
let o = {
player: null,
@@ -80078,7 +80237,7 @@ function c9(e, t) {
Z7 = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
- let c = WD(s, {
+ let c = BD(s, {
kind: n,
item: r,
media: i,
@@ -80091,12 +80250,12 @@ function c9(e, t) {
});
return () => {
let e = !!o.player && X7?.player === o.player;
- Z7 === o && (Z7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), AD());
+ Z7 === o && (Z7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), ED());
};
}
-function YKe(e, t) {
+function lqe(e, t) {
let { player: n } = t;
- y9(t), X7 = null, b9(), n.el().classList.remove("vjs-peach-mini"), HD(e), e.append(n.el()), aD(n);
+ y9(t), X7 = null, b9(), n.el().classList.remove("vjs-peach-mini"), RD(e), e.append(n.el()), tD(n);
let r = {
player: n,
kind: t.kind,
@@ -80105,22 +80264,22 @@ function YKe(e, t) {
key: t.key
};
Z7 = r;
- let i = UD(n, e);
- return oD(n), () => {
- Z7 === r && (Z7 = null), i(), X7?.player !== n && (iD() === n && aD(null), SD(n), AD());
+ let i = zD(n, e);
+ return nD(n), () => {
+ Z7 === r && (Z7 = null), i(), X7?.player !== n && (eD() === n && tD(null), vD(n), ED());
};
}
var l9 = () => {
let e = Z7?.player;
return e && !e.isDisposed() ? e : null;
};
-function XKe(e) {
+function uqe(e) {
let t = e9;
e9 = !1, X7?.pending && x9();
let n = Z7, r = n?.player, i = Q7;
if (!n || !r || r.isDisposed() || !i || !$7) return;
let a = o9().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && tqe({
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && hqe({
player: r,
kind: n.kind,
item: n.item,
@@ -80128,7 +80287,7 @@ function XKe(e) {
key: n.key
}, i);
}
-function ZKe(e, t) {
+function dqe(e, t) {
if (e9 = !1, X7) {
if (X7.kind === e && X7.item.id === t) {
X7.pending = !0, b9();
@@ -80141,11 +80300,11 @@ function u9(e) {
$7 = e, $7 && _9();
}
var d9 = () => !!X7 && !X7.pending && !X7.player.isDisposed();
-function QKe() {
+function fqe() {
return d9() ? $7?.frame.querySelector("video") ?? null : null;
}
-function $Ke() {
- return r9() ? document.getElementById("stage")?.querySelector("video") ?? null : QKe();
+function pqe() {
+ return r9() ? document.getElementById("stage")?.querySelector("video") ?? null : fqe();
}
function f9(e) {
$7 && ($7.title.textContent = e.title || "", $7.sub.textContent = e.sub || "", $7.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
@@ -80194,7 +80353,7 @@ function v9(e) {
function y9(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function eqe() {
+function mqe() {
let e = $7?.root;
if (!e) return;
let t = e.hidden;
@@ -80215,7 +80374,7 @@ function b9() {
e.style.transform = "";
}
}
-function tqe(e, t) {
+function hqe(e, t) {
if (!$7) return;
let n = {
...e,
@@ -80223,13 +80382,13 @@ function tqe(e, t) {
off: [],
pending: !1
};
- X7 = n, t9++, e.player.el().classList.add("vjs-peach-mini"), $7.frame.prepend(e.player.el()), f9(t), v9(n), eqe(), oD(e.player);
+ X7 = n, t9++, e.player.el().classList.add("vjs-peach-mini"), $7.frame.prepend(e.player.el()), f9(t), v9(n), mqe(), nD(e.player);
}
function x9() {
let e = X7;
e && y9(e), X7 = null, t9++;
let t = e?.player ?? null;
- t && iD() === t && aD(null), SD(t), t && AD(), $7?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), nD(), b9();
+ t && eD() === t && tD(null), vD(t), t && ED(), $7?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), QE(), b9();
}
function S9() {
if (!d9() || !X7) return;
@@ -80243,7 +80402,7 @@ function C9() {
}
r9() && l9() && n9 && (e9 = !0, n9());
}
-function nqe() {
+function gqe() {
let e = X7?.player;
!e || e.isDisposed() || (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
@@ -80256,7 +80415,7 @@ function w9(e) {
function T9(e) {
return !(!d9() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || o9().sourceOffline(String(e.location ?? "")));
}
-async function rqe(e) {
+async function _qe(e) {
if (!d9() || !X7 || !$7) return;
let t = ++t9, n = await N(`/api/item?id=${e}`).catch(() => null);
if (t !== t9 || !d9() || !X7 || !$7 || !n || n.error) return;
@@ -80265,7 +80424,7 @@ async function rqe(e) {
return;
}
let r = X7;
- y9(r), iD() === r.player && aD(null), SD(r.player), AD(), $7.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ y9(r), eD() === r.player && tD(null), vD(r.player), ED(), $7.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", $7.frame.prepend(i);
let a = {
@@ -80274,14 +80433,14 @@ async function rqe(e) {
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- f9(a), WD(i, {
+ f9(a), BD(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
if (t !== t9) {
- r && iD() === r && aD(null), SD(r);
+ r && eD() === r && tD(null), vD(r);
return;
}
if (!r) {
@@ -80309,9 +80468,9 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
-}), iqe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, D9 = (e) => (t) => {
+}), vqe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, D9 = (e) => (t) => {
t.stopPropagation(), e();
-}, aqe = (0, B.memo)(function() {
+}, yqe = (0, B.memo)(function() {
let e = (0, B.useRef)(null), t = (0, B.useRef)(null), n = (0, B.useRef)(null), r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = (0, B.useRef)(null), l = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => (u9({
root: e.current,
@@ -80323,7 +80482,7 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => u9(null)), []), (0, B.useEffect)(() => sqe(e.current, t.current), []), /* @__PURE__ */ (0, H.jsx)("aside", {
+ }), () => u9(null)), []), (0, B.useEffect)(() => xqe(e.current, t.current), []), /* @__PURE__ */ (0, H.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -80373,8 +80532,8 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: D9(nqe),
- dangerouslySetInnerHTML: iqe
+ onClick: D9(gqe),
+ dangerouslySetInnerHTML: vqe
}),
/* @__PURE__ */ (0, H.jsx)("button", {
ref: o,
@@ -80413,7 +80572,7 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
})
});
});
-function oqe(e, t, n) {
+function bqe(e, t, n) {
let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {
left: r.left - t,
top: r.top - n
@@ -80435,7 +80594,7 @@ function oqe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function sqe(e, t) {
+function xqe(e, t) {
let n = null, r = (e) => {
if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {
n = {
@@ -80461,7 +80620,7 @@ function sqe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), oqe(e, i.dx, i.dy));
+ }, 0), bqe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -80481,21 +80640,21 @@ function L9() {
if (!O9) throw Error("舞台还没有接上宿主(configureStage)");
return O9;
}
-function cqe() {
+function Sqe() {
return (!k9 || !A9?.isConnected) && (k9?.unmount(), A9 = document.createElement("div"), A9.dataset.stageHost = "", document.body.append(A9), k9 = (0, Ot.createRoot)(A9)), k9;
}
function R9() {
- let e = cqe();
- (0, Dt.flushSync)(() => e.render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(lqe, { view: j9 }) })));
+ let e = Sqe();
+ (0, Dt.flushSync)(() => e.render(/* @__PURE__ */ (0, H.jsx)(RE, { children: /* @__PURE__ */ (0, H.jsx)(Cqe, { view: j9 }) })));
}
-function lqe({ view: e }) {
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [e ? /* @__PURE__ */ (0, H.jsx)(uqe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, H.jsx)(aqe, {})] });
+function Cqe({ view: e }) {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [e ? /* @__PURE__ */ (0, H.jsx)(wqe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, H.jsx)(yqe, {})] });
}
var z9 = () => /* @__PURE__ */ (0, H.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: XGe() }
+ dangerouslySetInnerHTML: { __html: uKe() }
});
function B9(e) {
let t = e.currentTarget;
@@ -80503,7 +80662,7 @@ function B9(e) {
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function uqe({ view: e }) {
+function wqe({ view: e }) {
let t = (0, B.useRef)(null);
(0, B.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
@@ -80511,7 +80670,7 @@ function uqe({ view: e }) {
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, H.jsx)(kKe, { ...r.props }) : /* @__PURE__ */ (0, H.jsx)(_Ke, { ...r.props });
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, H.jsx)(UKe, { ...r.props }) : /* @__PURE__ */ (0, H.jsx)(jKe, { ...r.props });
return /* @__PURE__ */ (0, H.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -80550,7 +80709,7 @@ function H9(e, t) {
let n = I9();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function dqe(e) {
+function Tqe(e) {
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
@@ -80612,7 +80771,7 @@ function dqe(e) {
}
};
}
-function fqe(e, t) {
+function Eqe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
@@ -80625,13 +80784,13 @@ function fqe(e, t) {
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-async function pqe(e) {
+async function Dqe(e) {
j9 && U9({ miniplayer: !1 });
let t = ++M9, n = new AbortController();
- N9 = n, P9 = !1, F9 = !1, ZKe(e.kind, e.id ?? NaN), j9 = {
+ N9 = n, P9 = !1, F9 = !1, dqe(e.kind, e.id ?? NaN), j9 = {
generation: t,
request: e,
- content: dqe(e),
+ content: Tqe(e),
phase: "skeleton"
}, R9();
let r = I9();
@@ -80639,7 +80798,7 @@ async function pqe(e) {
s(r), document.body.setAttribute("data-detail-open", ""), r.open || r.showModal();
let i = j9.content;
try {
- i.kind === "item" ? await ple(i.props, n.signal) : await eKe(i.props, n.signal);
+ i.kind === "item" ? await wle(i.props, n.signal) : await mKe(i.props, n.signal);
} catch {
if (n.signal.aborted) return;
}
@@ -80648,11 +80807,11 @@ async function pqe(e) {
j9 = {
...j9,
phase: a ? "content" : "reveal"
- }, R9(), a || fqe(r, t), v(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, R9(), a || Eqe(r, t), v(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let o = document.activeElement;
(o === r || !r.contains(o)) && r.querySelector("#closeStage")?.focus();
}
-function mqe() {
+function Oqe() {
let e = I9();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
@@ -80664,11 +80823,11 @@ function mqe() {
}));
}
function U9({ miniplayer: e = !0 } = {}) {
- if (M9++, N9?.abort(), N9 = null, XKe(e), !j9) return;
+ if (M9++, N9?.abort(), N9 = null, uqe(e), !j9) return;
let t = I9();
- t && De(t), nD(), t?.open && t.close(), j9 = null, P9 = !1, F9 = !1, R9(), s9(null), document.body.removeAttribute("data-detail-open");
+ t && De(t), QE(), t?.open && t.close(), j9 = null, P9 = !1, F9 = !1, R9(), s9(null), document.body.removeAttribute("data-detail-open");
}
-function hqe(e) {
+function kqe(e) {
!j9 || j9.content.kind !== "item" || (j9 = {
...j9,
content: {
@@ -80680,60 +80839,60 @@ function hqe(e) {
}
}, R9());
}
-function gqe() {
- let e = JKe(), t = e?.kind === "item" ? e.item : null, n = t ? me(t, L9().player.settings().javImage) : "";
+function Aqe() {
+ let e = cqe(), t = e?.kind === "item" ? e.item : null, n = t ? me(t, L9().player.settings().javImage) : "";
if (!n) return;
let r = l9();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var _qe = {
- open: pqe,
- update: hqe,
- exit: mqe,
+var jqe = {
+ open: Dqe,
+ update: kqe,
+ exit: Oqe,
dispose: U9,
requestClose: V9,
- repaintPoster: gqe,
+ repaintPoster: Aqe,
isOpen: () => !!j9,
- activeVideo: () => $Ke(),
+ activeVideo: () => pqe(),
toggleTheater: () => {
- j9 && xD(!L9().player.settings().theaterMode);
+ j9 && _D(!L9().player.settings().theaterMode);
},
toggleMiniplayer: () => C9(),
closeMiniplayer: () => x9(),
miniplayerActive: () => d9(),
miniplayerTakesCard: (e) => T9(e),
miniplayerPlay: (e) => {
- rqe(e);
+ _qe(e);
}
};
-function vqe(e) {
- return O9 = e, qKe(e, {
+function Mqe(e) {
+ return O9 = e, sqe(e, {
isOpen: () => !!j9,
requestClose: V9
- }), R9(), _qe;
+ }), R9(), jqe;
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function yqe(e) {
+function Nqe(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 bqe = (e) => {
+var Pqe = (e) => {
switch (e) {
- case "success": return Cqe;
- case "info": return Tqe;
- case "warning": return wqe;
- case "error": return Eqe;
+ case "success": return Lqe;
+ case "info": return zqe;
+ case "warning": return Rqe;
+ case "error": return Bqe;
default: return null;
}
-}, xqe = Array(12).fill(0), Sqe = ({ visible: e, className: t }) => /*#__PURE__*/ B.createElement("div", {
+}, Fqe = Array(12).fill(0), Iqe = ({ visible: e, className: t }) => /*#__PURE__*/ B.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ B.createElement("div", { className: "sonner-spinner" }, xqe.map((e, t) => /*#__PURE__*/ B.createElement("div", {
+}, /*#__PURE__*/ B.createElement("div", { className: "sonner-spinner" }, Fqe.map((e, t) => /*#__PURE__*/ B.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), Cqe = /*#__PURE__*/ B.createElement("svg", {
+})))), Lqe = /*#__PURE__*/ B.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -80744,7 +80903,7 @@ var bqe = (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"
-})), wqe = /*#__PURE__*/ B.createElement("svg", {
+})), Rqe = /*#__PURE__*/ B.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -80755,7 +80914,7 @@ var bqe = (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"
-})), Tqe = /*#__PURE__*/ B.createElement("svg", {
+})), zqe = /*#__PURE__*/ B.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -80766,7 +80925,7 @@ var bqe = (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"
-})), Eqe = /*#__PURE__*/ B.createElement("svg", {
+})), Bqe = /*#__PURE__*/ B.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -80777,7 +80936,7 @@ var bqe = (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"
-})), Dqe = /*#__PURE__*/ B.createElement("svg", {
+})), Vqe = /*#__PURE__*/ B.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -80798,7 +80957,7 @@ var bqe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), Oqe = () => {
+})), Hqe = () => {
let [e, t] = B.useState(document.hidden);
return B.useEffect(() => {
let e = () => {
@@ -80806,7 +80965,7 @@ var bqe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, kqe = 1, Aqe = 100, W9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : kqe++, G9 = new class {
+}, Uqe = 1, Wqe = 100, W9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Uqe++, G9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -80816,7 +80975,7 @@ var bqe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - Aqe;
+ let e = this.toasts.length - Wqe;
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 = W9(e), i = this.pendingDismissals.get(r);
@@ -80894,7 +81053,7 @@ var bqe = (e) => {
type: "default",
message: e
});
- else if (Mqe(e) && !e.ok) {
+ else if (Kqe(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !B.isValidElement(r) ? r : { message: r };
this.create({
@@ -80947,7 +81106,7 @@ var bqe = (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();
}
-}(), jqe = (e, t) => G9.message(e, t), Mqe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", K9 = Object.assign(jqe, {
+}(), Gqe = (e, t) => G9.message(e, t), Kqe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", K9 = Object.assign(Gqe, {
success: G9.success,
info: G9.info,
warning: G9.warning,
@@ -80961,20 +81120,20 @@ var bqe = (e) => {
getHistory: () => G9.toasts,
getToasts: () => G9.getActiveToasts()
});
-yqe("[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%)}");
+Nqe("[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 q9(e) {
return e.label !== void 0;
}
-var Nqe = 3, Pqe = "24px", Fqe = "16px", J9 = 4e3, Iqe = 356, Lqe = 14, Rqe = 45, zqe = 200;
+var qqe = 3, Jqe = "24px", Yqe = "16px", J9 = 4e3, Xqe = 356, Zqe = 14, Qqe = 45, $qe = 200;
function Y9(...e) {
return e.filter(Boolean).join(" ");
}
-function Bqe(e) {
+function eJe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var Vqe = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = B.useState(null), [O, k] = B.useState(null), [A, j] = B.useState(!1), [M, N] = B.useState(!1), [ee, te] = B.useState(!1), [P, F] = B.useState(!1), [ne, I] = B.useState(!1), [re, L] = B.useState(0), [ie, ae] = B.useState(0), oe = B.useRef(n.duration || y || J9), se = B.useRef(null), ce = B.useRef(null), le = c === 0, R = c + 1 <= o, ue = n.type, de = ue ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = B.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = B.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = B.useMemo(() => n.duration || y || J9, [n.duration, y]), ve = B.useRef(0), ye = B.useRef(0), be = B.useRef(0), xe = B.useRef(null), [Se, Ce] = b.split("-"), we = B.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = Oqe(), Ee = B.useMemo(() => e.swipeDirections ?? Bqe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = ue === "loading";
+var tJe = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = B.useState(null), [O, k] = B.useState(null), [A, j] = B.useState(!1), [M, N] = B.useState(!1), [ee, te] = B.useState(!1), [P, F] = B.useState(!1), [ne, I] = B.useState(!1), [re, L] = B.useState(0), [ie, ae] = B.useState(0), oe = B.useRef(n.duration || y || J9), se = B.useRef(null), ce = B.useRef(null), le = c === 0, R = c + 1 <= o, ue = n.type, de = ue ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = B.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = B.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = B.useMemo(() => n.duration || y || J9, [n.duration, y]), ve = B.useRef(0), ye = B.useRef(0), be = B.useRef(0), xe = B.useRef(null), [Se, Ce] = b.split("-"), we = B.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = Hqe(), Ee = B.useMemo(() => e.swipeDirections ?? eJe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = ue === "loading";
ye.current = B.useMemo(() => he * x + we, [he, we]), B.useEffect(() => {
oe.current = _e;
}, [_e]), B.useEffect(() => {
@@ -81015,7 +81174,7 @@ var Vqe = (e) => {
let ke = B.useCallback(() => {
N(!0), L(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, zqe);
+ }, $qe);
}, [
n,
d,
@@ -81048,12 +81207,12 @@ var Vqe = (e) => {
return w?.loading ? /*#__PURE__*/ B.createElement("div", {
className: Y9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": ue === "loading"
- }, w.loading) : /*#__PURE__*/ B.createElement(Sqe, {
+ }, w.loading) : /*#__PURE__*/ B.createElement(Iqe, {
className: Y9(C?.loader, n?.classNames?.loader),
visible: ue === "loading"
});
}
- let Ae = n.icon || w?.[ue] || bqe(ue);
+ let Ae = n.icon || w?.[ue] || Pqe(ue);
return /*#__PURE__*/ B.createElement("li", {
tabIndex: 0,
ref: ce,
@@ -81100,7 +81259,7 @@ var Vqe = (e) => {
if (P || !fe) return;
xe.current = null;
let e = Number(ce.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ce.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - se.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) >= Rqe || a > .11)) {
+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Qqe || a > .11)) {
L(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), F(!0);
return;
}
@@ -81141,7 +81300,7 @@ var Vqe = (e) => {
ke(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: Y9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? Dqe) : null, (ue || n.icon || n.promise) && n.icon !== null && (w?.[ue] !== null || n.icon) ? /*#__PURE__*/ B.createElement("div", {
+ }, w?.close ?? Vqe) : null, (ue || n.icon || n.promise) && n.icon !== null && (w?.[ue] !== null || n.icon) ? /*#__PURE__*/ B.createElement("div", {
"data-icon": "",
className: Y9(C?.icon, n?.classNames?.icon)
}, ue === "loading" ? n.icon || z() : n.promise ? z() : null, ue === "loading" ? null : Ae) : null, /*#__PURE__*/ B.createElement("div", {
@@ -81176,10 +81335,10 @@ function X9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function Hqe(e, t) {
+function nJe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Fqe : Pqe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Yqe : Jqe;
function o(e) {
[
"top",
@@ -81200,8 +81359,8 @@ function Hqe(e, t) {
}) : o(a);
}), n;
}
-var Uqe = /*#__PURE__*/ B.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Nqe, toastOptions: g, dir: _ = X9(), gap: v = Lqe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = B.useState([]), w = B.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = B.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = B.useState([]), [O, k] = B.useState(!1), [A, j] = B.useState(!1), [M, N] = B.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = B.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = B.useRef(null), F = B.useRef(!1), ne = B.useCallback((e) => {
+var rJe = /*#__PURE__*/ B.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = qqe, toastOptions: g, dir: _ = X9(), gap: v = Zqe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = B.useState([]), w = B.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = B.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = B.useState([]), [O, k] = B.useState(!1), [A, j] = B.useState(!1), [M, N] = B.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = B.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = B.useRef(null), F = B.useRef(!1), ne = B.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || G9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return B.useEffect(() => G9.subscribe((e) => {
@@ -81287,10 +81446,10 @@ var Uqe = /*#__PURE__*/ B.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${Iqe}px`,
+ "--width": `${Xqe}px`,
"--gap": `${v}px`,
...m,
- ...Hqe(l, u)
+ ...nJe(l, u)
},
onBlur: (e) => {
F.current && !e.currentTarget.contains(e.relatedTarget) && (F.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -81308,7 +81467,7 @@ var Uqe = /*#__PURE__*/ B.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ B.createElement(Vqe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ B.createElement(tJe, {
key: n.id,
icons: y,
index: i,
@@ -81342,8 +81501,8 @@ var Uqe = /*#__PURE__*/ B.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Q9 = !1, Wqe = (e, t) => {
- Q9 || (Q9 = !0, (0, Ot.createRoot)(e).render(/* @__PURE__ */ (0, H.jsx)(Uqe, {
+}), Q9 = !1, iJe = (e, t) => {
+ Q9 || (Q9 = !0, (0, Ot.createRoot)(e).render(/* @__PURE__ */ (0, H.jsx)(rJe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -81364,7 +81523,7 @@ var Uqe = /*#__PURE__*/ B.forwardRef(function(e, t) {
error: Z9(t.error, !1)
}
})));
-}, Gqe = (e, t) => {
+}, aJe = (e, t) => {
let n = t.alert ? K9.error : K9.success, r = t.action;
n(/* @__PURE__ */ (0, H.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -81381,30 +81540,30 @@ var Uqe = /*#__PURE__*/ B.forwardRef(function(e, t) {
//#region src/react/entry.tsx
function $9(e) {
return (t, n) => {
- let r = (0, Ot.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(e, { ...t }) }));
+ let r = (0, Ot.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, H.jsx)(RE, { children: /* @__PURE__ */ (0, H.jsx)(e, { ...t }) }));
return (0, Dt.flushSync)(() => i(n)), {
update: i,
unmount: () => r.unmount()
};
};
}
-var Kqe = {
+var oJe = {
"catalog-filter": {
prefetch: async () => {},
- mount: $9(nae)
+ mount: $9(cae)
},
"feed-new": {
- prefetch: Cae,
- mount: $9(Rae)
+ prefetch: kae,
+ mount: $9(Wae)
},
"library-processing": {
- prefetch: (e, t) => Ew(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, H.jsx)(Uoe, { ...e }) : /* @__PURE__ */ (0, H.jsx)(FT, { ...e }))
+ prefetch: (e, t) => bw(t),
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, H.jsx)(ese, { ...e }) : /* @__PURE__ */ (0, H.jsx)(jT, { ...e }))
},
search: {
prefetch: async () => {},
- mount: $9(hae)
+ mount: $9(xae)
}
};
//#endregion
-export { gce as configureBatchDock, vce as configureGlowPicker, rue as configureImmerse, fue as configureManageHeader, tGe as configureRouter, SGe as configureSettingsPanel, LGe as configureSidebar, vqe as configureStage, Wqe as mountToaster, Kqe as pages, RUe as prefetchManagedRoute, Gqe as showToast };
+export { Dce as configureBatchDock, kce as configureGlowPicker, mue as configureImmerse, Cue as configureManageHeader, hGe as configureRouter, IGe as configureSettingsPanel, ZGe as configureSidebar, Mqe as configureStage, iJe as mountToaster, oJe as pages, QUe as prefetchManagedRoute, aJe as showToast };