Skip to content

armgit / peach

Public Imported from GitHub
0

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

feat(web): 搜索推荐展示作品封面与作者头像

longmeidao22cccc506b99
diff --git a/README.md b/README.md
index a5b247363..725859b8f 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ https://github.com/user-attachments/assets/a5610874-e611-41bb-be22-7d99f0d64b62
## 能做什么
-- **搜索**:输入几个字,女优、番号和影片一起出来。
+- **搜索**:聚焦搜索框可按封面浏览作品、JAV、关注作品与订阅新作,按头像进入艺人和关注作者;可直接进入关注与新作订阅。输入几个字,女优、番号和影片一起出来。
- **我的收藏**:资料页名字旁的星星收藏常用人物、片商、厂牌、系列和标签,黄色实心表示已收藏。馆藏筛选栏的读数旁可打开「我的收藏」,按类型和名称查找,显示资料图、厂牌标识或代表作头像;窗口也可管理保存的筛选,打开已标记作品与稍后看清单。馆藏页可给当前筛选起个名字,随时打开或删除。
- **来源检查**:逐站选择直连或 Peach 代理,查看连接失败原因、耗时与冷却状态;公开 JSON 接口可在来源页配置、试查和启停,见[自定义来源](docs/CUSTOM_SOURCES.md)。复核来源图片点击后才加载,失败可重试。
- **外部播放器与 VR**:作品详情可生成限时网络播放链接,下载 M3U,或在 VLC(iPhone / iPad)、IINA(Mac)打开;使用方式见[外部播放器](docs/EXTERNAL_PLAYERS.md)。
diff --git a/docs/REUSE.md b/docs/REUSE.md
index 01dde2122..4314e65f6 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -74,6 +74,8 @@ JAV 作品详情与馆藏视频共用 `IdentityCell` 的头像、标识和首字
## 发现推荐缓存
+搜索推荐复用 `/api/items`、馆藏范围的 `/api/jav/discoveries`、`/api/follow`、`/api/follow/authors` 与 `/api/feeds/discoveries`,图片复用 `coverImage`、`feedNewCoverHtml`、`avatarInner` 和 `authorAvatarHtml`。JAV 保留 IDF/MMR 口味排序,关注署名沿用 `followIdentity` 的发布者判据。搜索框不启动库外资料补齐;详情与订阅分别沿用现有作品、作者、关注管理路由。无新增依赖、迁移或 ledger 写入。
+
发现推荐的浏览证据复用 `taste_history` 私有历史库、规范身份和原子 JSON 写入;按日取证与同地址身份解析独立缓存。缓存只保存实体计数,历史、别名、关注、标签决定和解析规则参与失效;观看反馈不重复解析历史,任务心跳不影响偏好版本。页面预取复用 TanStack Query 的 `ensureQueryData`,无新增依赖。
## 播放器清晰度
diff --git a/frontend/e2e/search.test.ts b/frontend/e2e/search.test.ts
index 6022160a8..dab353b39 100644
--- a/frontend/e2e/search.test.ts
+++ b/frontend/e2e/search.test.ts
@@ -83,6 +83,53 @@ describe('顶栏搜索', () => {
before(async () => { browser = await launch(); });
after(async () => { await browser?.close(); });
+ for (const viewport of VIEWPORTS) {
+ it(`${viewport.name} 空搜索显示作品封面、作者头像和新作订阅入口`, { timeout: 60_000 }, async () => {
+ const opened = await openSearch(browser, { viewport, history: ['最近搜索'] });
+ try {
+ const { page } = opened;
+ await page.route(/\/api\/jav\/discoveries\?/, route => route.fulfill({ json: { items: [
+ { id: 11, asset_id: 11, code: 'ABW-101', title: 'JAV 作品', is_jav: true, has_cover: true,
+ performer_refs: [{ id: 90001, name: '七海ひな', has_image: true }] },
+ ] } }));
+ await page.route(/\/api\/follow\?/, route => route.fulfill({ json: {
+ sources: [{ id: 1, author_key: 'name:作者', label: '作者', ref: '作者', provider: 'pixiv', official_avatar_url: '/poster?id=11' }],
+ groups: [{ primary: { id: 901, source_id: 1, title: '关注作品', thumb_url: '/poster?id=11' } }],
+ } }));
+ await page.route(/\/api\/follow\/authors\?/, route => route.fulfill({ json: {
+ items: [{ k: '作者', key: 'name:作者', entity_id: 90002 }],
+ } }));
+ await page.route(/\/api\/feeds\/discoveries\?/, route => route.fulfill({ json: { items: [
+ { id: 91, code: 'ABW-102', title: '订阅新作', has_cover: true },
+ ] } }));
+ if (viewport.mobile) await page.locator('#searchBtn').click();
+ await page.locator('#q').click();
+ await page.locator(`${MENU} [data-search-recommendations]`).waitFor();
+ assert.equal(await page.locator(`${MENU} [data-kind="author"] [data-search-face] img`).count(), 1);
+ for (const kind of ['asset', 'jav', 'post', 'release']) {
+ const cover = page.locator(`${MENU} [data-kind="${kind}"] [data-search-pic] img`).first();
+ assert.ok(await cover.count(), `${kind} 没有图片`);
+ const box = await cover.boundingBox();
+ assert.ok(box && box.width >= 80, `${kind} 没有以封面展示`);
+ }
+ const overflow = await page.locator(MENU).evaluate(el => ({
+ width: el.clientWidth, scrollWidth: el.scrollWidth, right: el.getBoundingClientRect().right,
+ viewport: innerWidth,
+ }));
+ assert.ok(overflow.scrollWidth <= overflow.width + 1);
+ assert.ok(overflow.right <= overflow.viewport + 1);
+ await page.screenshot({ path: `../build/agent-verification/browser/search-recommendations-${viewport.name}.png` });
+ const subscription = page.locator(`${MENU} [data-kind="performer"] h3 a`);
+ await subscription.focus();
+ await page.waitForTimeout(180);
+ assert.equal(await page.locator(MENU).isVisible(), true, '菜单内键盘焦点关闭了推荐');
+ await subscription.press('Enter');
+ await page.waitForURL('**/subscriptions?tab=feeds');
+ assert.ok(!new URL(page.url()).searchParams.has('q'));
+ } finally { await opened.close(); }
+ });
+ }
+
for (const viewport of VIEWPORTS) {
it(`单类视频预览可滚动,完整结果入口可由键盘提交(${viewport.name})`, { timeout: 60_000 }, async () => {
const opened = await openSearch(browser, { viewport });
diff --git a/frontend/src/application/search.js b/frontend/src/application/search.js
index f5ec43d40..da63bc589 100644
--- a/frontend/src/application/search.js
+++ b/frontend/src/application/search.js
@@ -8,7 +8,9 @@ import { followSelected, notifyShell, selectMode, selected, state } from './../s
import { navigationState } from './navigation.js';
import { openEntity } from './entity.js';
import { catalogSuggestions } from './../catalog-onboarding';
-import { $, api } from '../core';
+import { searchRecommendations } from '../react/search/recommendations';
+import { feedNewCoverHtml } from './feed.js';
+import { $, api, esc } from '../core';
import { dismissMenu, glideEase, presentMenu, wireHorizontalScroller } from '../ui-kit';
import { openManagedRoute } from './../history/managed';
import { applicationEffects } from './effects';
@@ -77,11 +79,15 @@ searchState.searchActions = {
},
openItem:id=>openItem(id),
openEntity:(kind,name)=>openEntity(kind,name),
+ openPath:path=>navigationState.route(path,false),
};
searchState.searchHelpers = {
pool:()=>catalogSuggestions(state,api),
+ recommendations:()=>searchRecommendations(api),
/* `.pic` 是卡片封面那一格(比例、底色、圆角与模糊垫底都认它),和里面那张图一起由壳给。 */
- coverHtml:card=>`<span class="pic">${searchCoverImage(card)}</span>`,
+ coverHtml:card=>`<span class="pic">${card?.thumb_url
+ ?`<img src="${esc(card.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">`
+ :card?.sourceWork?feedNewCoverHtml(card):searchCoverImage(card)}</span>`,
present:menu=>presentMenu(menu),
dismiss:menu=>dismissMenu(menu),
wireScroller:row=>wireHorizontalScroller(row),
@@ -123,6 +129,7 @@ applicationEffects.handler($('#searchBack'), 'onclick', ()=>{
});
applicationEffects.listen($('#q'), 'blur', ()=>applicationEffects.delay(()=>{
if(document.activeElement===$('#q'))return;
+ if($('#searchMenu').contains(document.activeElement))return;
if(!$('#q').value&&!$('#searchMenu').matches(':hover'))setNarrowSearchOpen(false);
hideSearchMenu();
},140));
diff --git a/frontend/src/react/search/recommendations.ts b/frontend/src/react/search/recommendations.ts
new file mode 100644
index 000000000..81a858e28
--- /dev/null
+++ b/frontend/src/react/search/recommendations.ts
@@ -0,0 +1,62 @@
+import { authorAvatarHtml, followIdentity, followTitle } from '../follow-feed/follow-marks';
+import type { FollowPage } from '../follow-feed/follow-feed';
+import type { Discovery } from '../jav/jav';
+import type { SuggestCard, SuggestGroup, SuggestItem } from './search';
+
+type Request = (url: string) => Promise<any>;
+
+/** 搜索入口复用馆藏、口味推荐、关注和新作的本机读接口。 */
+export async function searchRecommendations(request: Request): Promise<SuggestGroup[]> {
+ const results = await Promise.allSettled([
+ request('/api/items?sort=rand&limit=5'),
+ request('/api/jav/discoveries?scope=library&limit=5'),
+ request('/api/follow?status=new&limit=5'),
+ request('/api/feeds/discoveries?limit=5'),
+ request('/api/follow/authors?limit=3'),
+ ]);
+ const data = results.map(result => result.status === 'fulfilled' ? result.value : null);
+ const library: SuggestCard[] = (data[0]?.items || []).slice(0, 5);
+ const jav: Discovery[] = (data[1]?.items || []).slice(0, 5);
+ const follow: FollowPage | null = data[2];
+ const releases: Discovery[] = data[3]?.items || [];
+ const work = (card: SuggestCard, href?: string): SuggestItem => ({
+ value: String(card.code || card.display_title || card.title || card.name || '未命名作品'),
+ id: card.id, code: card.code, title: String(card.display_title || card.title || ''),
+ who: String(card.performers || card.creator || ''), card, href,
+ });
+ const posts: SuggestItem[] = [];
+ const context = { sources: follow?.sources || [], aliases: follow?.author_aliases || [], credentials: new Set<string>() };
+ for (const group of follow?.groups || []) {
+ const item = group.primary;
+ const source = context.sources.find(source => source.id === item.source_id);
+ const sources = source?.author_key ? context.sources.filter(row => row.author_key === source.author_key) : source ? [source] : [];
+ const identity = followIdentity(item, sources, context);
+ posts.push({ value: followTitle(item), id: item.id, who: identity.author,
+ href: `/posts/${item.id}`, card: { id: item.id, thumb_url: item.thumb_url },
+ });
+ }
+ const authors: SuggestItem[] = (data[4]?.items || []).map((row: { k: string; key: string; entity_id?: number }) => ({
+ value: row.k, href: row.entity_id ? `/creators/${row.entity_id}` : `/follow?author=${encodeURIComponent(row.key)}`,
+ avatarHtml: authorAvatarHtml(context.sources.filter(source => source.author_key === row.key), row.k),
+ subtitle: '关注中的作者',
+ }));
+ const people = new Map<string, SuggestItem>();
+ for (const card of jav) {
+ for (const ref of card.performer_refs || []) {
+ if (!ref.id || people.has(ref.name)) continue;
+ people.set(ref.name, { value: ref.name, entity_id: ref.id, has_image: ref.has_image,
+ href: `/performers/${ref.id}`,
+ image_version: ref.image_version, avatar_focus: ref.avatar_focus, rep: ref.has_avatar ? ref.rep : null,
+ works: [card], subtitle: '查看作品与订阅新作',
+ });
+ }
+ }
+ return [
+ { kind: 'performer', label: '艺人与新作', items: [...people.values()].slice(0, 3), href: '/subscriptions?tab=feeds', action: '订阅新作' },
+ { kind: 'author', label: '关注作者', items: authors, href: '/subscriptions?tab=add', action: '添加关注' },
+ { kind: 'asset', label: '作品推荐', items: library.map(card => work(card)), href: '/', action: '全部作品' },
+ { kind: 'jav', label: 'JAV 推荐', items: jav.map(card => work(card, `/assets/${card.asset_id || card.id}`)), href: '/jav?tab=discover', action: '发现 JAV' },
+ { kind: 'post', label: '关注作品', items: posts, href: '/follow', action: '全部关注作品' },
+ { kind: 'release', label: '订阅新作', items: releases.filter(card => card.code).map(card => work({ ...card, sourceWork: true }, `/works/${encodeURIComponent(card.code)}`)), href: '/subscriptions?tab=feeds', action: '管理订阅' },
+ ];
+}
diff --git a/frontend/src/react/search/search-page.tsx b/frontend/src/react/search/search-page.tsx
index d68a36fbc..6608ba122 100644
--- a/frontend/src/react/search/search-page.tsx
+++ b/frontend/src/react/search/search-page.tsx
@@ -23,6 +23,8 @@ interface Store {
history: string[];
pool: string[];
poolRequest: number;
+ recommendations: SuggestGroup[];
+ recommendationRequest: number;
/** 画的那一刻输入框里的词与洗好的推荐。 */
query: string;
picks: string[];
@@ -42,13 +44,14 @@ interface Store {
}
const emptyStore = (): Store => ({
- history: [], pool: [], poolRequest: 0, query: '', picks: [], suggestFor: '', groups: [], tabs: [],
+ history: [], pool: [], poolRequest: 0, recommendations: [], recommendationRequest: 0, query: '', picks: [], suggestFor: '', groups: [], tabs: [],
suggestRequest: 0, asked: '', timer: 0, kind: '', active: -1, reveal: false, rewind: false,
});
const modelOf = (s: Store): MenuModel => menuModel({
query: s.query, history: s.history, picks: s.picks, suggestFor: s.suggestFor, groups: s.groups, tabs: s.tabs,
kind: s.kind,
+ recommendations: s.recommendations,
});
const hasContent = (m: MenuModel) => !!(m.tabs || m.recent || m.left.length || m.right.length || m.empty);
@@ -90,6 +93,7 @@ export function SearchPage(props: SearchProps) {
input.removeEventListener('keydown', onKey);
input.removeEventListener('focus', onFocus);
clearTimeout(s.timer);
+ s.recommendationRequest++;
latest.current.expose(null);
};
}, [op, s]);
@@ -110,7 +114,12 @@ export function SearchPage(props: SearchProps) {
);
const section = (group: MenuSection) => (
<section key={group.kind ?? group.label} data-search-group="" data-kind={group.kind}>
- <h3>{group.label}</h3>
+ <h3>{group.label}{group.href ? (
+ <a href={group.href} onMouseDown={keep} onClick={event => {
+ if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;
+ event.preventDefault(); op.openPath(group.href!);
+ }}>{group.action || '查看全部'}</a>
+ ) : null}</h3>
{group.kind ? <div data-search-items="">{group.options.map(option)}</div> : group.options.map(option)}
{group.more ? option(group.more) : null}
</section>
@@ -122,10 +131,11 @@ export function SearchPage(props: SearchProps) {
</div>
) : null);
return (
- <div ref={root} data-search-root="" data-history-limit={limit}>
+ <div ref={root} data-search-root="" data-search-recommendations={!s.query && s.recommendations.length ? '' : undefined} data-history-limit={limit}>
{model.tabs ? <Tabs tabs={model.tabs} kind={s.kind} onPick={op.pickKind} wire={props.helpers.wireScroller} /> : null}
- {model.recent ? section(model.recent) : null}
+ {s.query && model.recent ? section(model.recent) : null}
{columns(model.left, model.right)}
+ {!s.query && model.recent ? section(model.recent) : null}
{model.empty ? <p data-search-empty="" role="status">没有找到</p> : null}
</div>
);
@@ -170,6 +180,18 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
// 推荐不可用时仍可直接输入搜索。
}
};
+ const loadRecommendations = async () => {
+ if (!props().helpers.recommendations) return;
+ const request = ++s.recommendationRequest;
+ try {
+ const groups = await props().helpers.recommendations!();
+ if (request !== s.recommendationRequest) return;
+ s.recommendations = groups;
+ if (focused() && !input().value.trim()) paint();
+ } catch {
+ // 推荐读取失败仍可搜索,保留手上的推荐。
+ }
+ };
/* 分组顺序和每组的名字都由 `/api/suggest` 给出,这里照抄。慢的旧响应不许盖掉新的:连敲两个字时
先发的那次完全可能后回来。 */
const loadSuggestions = async (query: string, kind = '') => {
@@ -192,6 +214,7 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
const isOpen = () => { const el = menu(); return !!el && !el.hidden };
const close = () => {
+ s.recommendationRequest++;
const el = menu();
if (el) props().helpers.dismiss(el);
s.active = -1;
@@ -257,6 +280,7 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
};
/** 选中一行,点它和回车落在同一处。作品开详情,有资料页的开资料页,其余按这个词搜。 */
const choose = (entry: SearchOption) => {
+ if (entry.type === 'suggest' && entry.item.href) { openPath(entry.item.href); return }
if (entry.type === 'more') { runSearch(false, true); input().blur(); return }
if (entry.type === 'suggest' && entry.kind === 'asset' && entry.item.id != null) {
input().blur();
@@ -267,6 +291,7 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
input().value = entry.value;
runSearch(false, true);
};
+ const openPath = (path: string) => { close(); input().blur(); props().actions.openPath?.(path) };
const pick = (entry: SearchOption) => { close(); choose(entry) };
const peek = (card: SuggestCard) => { close(); input().blur(); props().actions.openItem(card.id) };
const remove = async (value: string) => {
@@ -313,6 +338,7 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
refresh();
};
const focus = () => {
+ void loadRecommendations();
void Promise.all([loadHistory(), loadPool()]).then(() => {
if (!focused()) return;
// 带着 `?q=` 进来再点回输入框时,框里已经有词,补全该跟着这个词给。这两份数据回来之前
@@ -321,7 +347,7 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
if (input().value.trim() !== s.asked) refresh();
});
};
- return { input: onInput, key, focus, close, pick, peek, remove, pickKind };
+ return { input: onInput, key, focus, close, pick, peek, remove, pickKind, openPath };
}
function Tabs({ tabs, kind, onPick, wire }: {
@@ -384,29 +410,29 @@ function Row({ entry, active, helpers, onPick, onPeek, onRemove }: {
}
const { item, kind } = entry;
const opens = SUGGEST_PROFILE_KINDS.has(kind) ? kind : undefined;
- if (kind === 'asset') {
+ if (['asset', 'jav', 'post', 'release'].includes(kind)) {
/* 作品点开是详情,不是一个搜索词:整句标题填回搜索框,下一次搜索会因为其中任何一个字符对不上
而落空。 */
const byline = [item.who, item.code ? item.title : ''].filter(Boolean).join(' · ');
return (
- <div data-search-option="work" data-open-item={item.id} {...shared}>
+ <button type="button" data-search-option="work" data-open-item={kind === 'asset' ? item.id : undefined} {...shared} onMouseDown={keep}>
<Cover card={item.card} helpers={helpers} />
<span data-search-meta=""><span data-search-name=""><span>{item.value}</span></span><span data-search-sub="">{byline}</span></span>
- </div>
+ </button>
);
}
const matched = item.matched ? <span data-search-matched="">{item.matched}</span> : null;
- if (kind === 'performer' || kind === 'creator') {
+ if (kind === 'performer' || kind === 'creator' || kind === 'author') {
// 一行里摆得下几部近作就摆几部;窄下拉整排收起,数据照给。
const works = item.works ?? [];
- const sub = [`${(item.n ?? 0).toLocaleString()} 个视频`, item.agency].filter(Boolean).join(' · ');
+ const sub = item.subtitle || [`${(item.n ?? 0).toLocaleString()} 个视频`, item.agency].filter(Boolean).join(' · ');
return (
- <div data-search-option="person" data-open-entity={opens} {...shared}>
+ <div data-search-option="person" data-open-entity={opens} {...shared} onMouseDown={keep}>
<Face item={item} kind={kind} />
- <span data-search-meta="">
+ <button type="button" data-search-person="" data-search-meta="" aria-label={`查看 ${item.value}`}>
<span data-search-name=""><span>{item.value}</span>{matched}</span>
<span data-search-sub="">{sub}</span>
- </span>
+ </button>
{works.length ? (
<span data-search-peeks="">
{works.map((card) => (
@@ -438,6 +464,7 @@ function Cover({ card, helpers }: { card: SuggestCard | null | undefined; helper
/** 门面一律圆片,走索引页同一条兜底链:人是实体图 → 代表作头像,厂牌是标识,事务所是官网
* 站点圆标;都取不到就是首字母。一屏几十个,取派生件。 */
function Face({ item, kind }: { item: SuggestItem; kind: string }) {
+ if (item.avatarHtml) return <span data-search-face="" dangerouslySetInnerHTML={{ __html: item.avatarHtml }} />;
const ref = { id: item.entity_id as number | null | undefined, has_image: item.has_image as boolean | undefined,
image_version: item.image_version as string | undefined, avatar_focus: item.avatar_focus,
avatar_stand_in: item.avatar_stand_in as boolean | undefined };
diff --git a/frontend/src/react/search/search.css b/frontend/src/react/search/search.css
index 541cb34ca..a02790a7f 100644
--- a/frontend/src/react/search/search.css
+++ b/frontend/src/react/search/search.css
@@ -10,6 +10,7 @@
/* 两组之间一道细线,同一组的行紧挨着。 */
.peach-react [data-search-group] + [data-search-group],
.peach-react [data-search-group] + [data-search-results],
+.peach-react [data-search-results] + [data-search-group],
.peach-react [data-search-col] + [data-search-col] {
border-top: 1px solid var(--line-soft);
margin-top: 7px;
@@ -19,9 +20,16 @@
margin: 6px 10px;
color: var(--muted);
font-size: var(--fs-xs);
- font-weight: 700;
+ font-weight: 600;
letter-spacing: .14em;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 8px;
}
+.peach-react [data-search-group] > h3 > a { flex: none; font-weight: 400; letter-spacing: normal; }
+.peach-react [data-search-person] { padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
+.peach-react [data-search-person]:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 2px; }
/* 这个词一条补全都没有时的那一行,排在搜索记录下面,字色同组标题。 */
.peach-react [data-search-empty] { margin: 0; padding: 9px 10px; color: var(--muted); font-size: var(--fs-sm); }
@@ -146,6 +154,19 @@
.peach-react [data-search-pic] { --card-ratio: .75; display: block; flex: none; border-radius: var(--badge-radius); }
.peach-react [data-search-pic] > span > span { font-size: 10px; letter-spacing: 0; }
.peach-react [data-search-option="work"] > [data-search-pic] { width: 36px; }
+.peach-react [data-search-recommendations] [data-search-option="work"] {
+ flex-direction: column;
+ align-items: stretch;
+ gap: 6px;
+ padding: 6px;
+}
+.peach-react [data-search-recommendations] [data-search-option="work"] > [data-search-pic] { width: 100%; }
+.peach-react [data-search-recommendations] [data-search-col] > [data-search-group] [data-search-items]:has([data-search-option="work"]) {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(clamp(96px, calc(20% - 4px), 200px), 1fr));
+ gap: 4px;
+}
+.peach-react [data-search-option="work"]:focus-visible { outline: 2px solid var(--tungsten); outline-offset: -2px; }
/* 行里的 span 一律截断裁切,这一排要让出焦点环。 */
.peach-react [data-search-option] [data-search-peeks] {
display: none;
@@ -188,6 +209,10 @@
/* 右栏钉在顶上:左栏人名一长串往下翻时,视频那一格不跟着滚走。钉住要求右栏不拉伸,它自己只有内容
* 那么高,所以两栏的分隔线画在两栏之间的缝上,从顶到底,不论哪一栏更长。 */
@container searchmenu (min-width: 720px) {
+ .peach-react [data-search-recommendations] [data-search-results][data-split] {
+ grid-template-columns: minmax(0, .32fr) minmax(0, .68fr);
+ }
+ .peach-react [data-search-recommendations] [data-search-results][data-split]::before { left: calc(32% - 5px); }
.peach-react [data-search-results][data-split] {
position: relative;
display: grid;
diff --git a/frontend/src/react/search/search.ts b/frontend/src/react/search/search.ts
index 345585057..db0c80e23 100644
--- a/frontend/src/react/search/search.ts
+++ b/frontend/src/react/search/search.ts
@@ -29,6 +29,9 @@ export interface SuggestItem {
/** 人那一类:一行里摆得下几部近作就摆几部。 */
works?: SuggestCard[];
agency?: string | null;
+ href?: string;
+ avatarHtml?: string;
+ subtitle?: string;
[key: string]: unknown;
}
@@ -37,6 +40,8 @@ export interface SuggestGroup {
label: string;
total?: number;
items: SuggestItem[];
+ href?: string;
+ action?: string;
}
export interface SuggestTab {
@@ -56,12 +61,14 @@ export interface SearchActions {
search(query: string): void;
openItem(id: number): void;
openEntity(kind: string, name: string): void;
+ openPath?(path: string): void;
}
/** 仍由遗留层给的几样。 */
export interface SearchHelpers {
/** 空输入时的推荐词池:与当前目录同一组筛选,只留真搜得出东西的词(`catalogSuggestions`)。 */
pool(): Promise<string[]>;
+ recommendations?(): Promise<SuggestGroup[]>;
/** 小封面那一格(卡片的 `.pic`)连同里面那张图(`coverImage` 与 JAV 默认封面那套取景);两样都没有是「无预览」。 */
coverHtml(card: SuggestCard | null | undefined): string;
present(menu: HTMLElement): void;
@@ -100,7 +107,7 @@ export const SUGGEST_ONE_KIND = 20;
/** 有脸的那几类点开的是资料页;标签没有资料页,点它照旧是按这个词搜。 */
export const SUGGEST_PROFILE_KINDS = new Set(['performer', 'creator', 'studio', 'agency', 'series']);
/** 下拉栏按宽度分两栏:左栏是身份和词,右栏是作品封面格。 */
-export const SUGGEST_RIGHT_KINDS = new Set(['asset']);
+export const SUGGEST_RIGHT_KINDS = new Set(['asset', 'jav', 'post', 'release']);
/** 空输入时推荐几条。 */
export const PICKS = 5;
@@ -118,6 +125,8 @@ export interface MenuSection {
label: string;
options: SearchOption[];
more?: SearchOption;
+ href?: string;
+ action?: string;
}
export interface MenuModel {
@@ -143,11 +152,12 @@ export interface MenuInput {
groups: readonly SuggestGroup[];
tabs: readonly SuggestTab[];
kind: string;
+ recommendations?: readonly SuggestGroup[];
}
/** 从一刻的状态算出下拉栏里有什么,以及键盘上下时的次序。页签管整栏,所以排在最上面;选了一类
* 时搜索记录让位。 */
-export function menuModel({ query, history, picks, suggestFor, groups, tabs, kind }: MenuInput): MenuModel {
+export function menuModel({ query, history, picks, suggestFor, groups, tabs, kind, recommendations = [] }: MenuInput): MenuModel {
let index = 0;
const options: SearchOption[] = [];
const add = <T extends Omit<SearchOption, 'index'>>(option: T): SearchOption => {
@@ -158,6 +168,15 @@ export function menuModel({ query, history, picks, suggestFor, groups, tabs, kin
// 有输入时历史跟着筛:这一刻用户在找一个词,不是在回顾自己搜过什么。
const matching = history.filter((value) => !query || fold(value).includes(fold(query)));
if (!query) {
+ if (recommendations.length) {
+ const sections = recommendations.map(group => ({ ...group,
+ options: group.items.map(item => add({ type: 'suggest', value: item.value, kind: group.kind, item })),
+ }));
+ const recent = matching.length ? { label: '搜索记录', options: matching.map(value => add({ type: 'history', value })) } : null;
+ return { tabs: null, recent,
+ left: sections.filter(group => !SUGGEST_RIGHT_KINDS.has(group.kind)),
+ right: sections.filter(group => SUGGEST_RIGHT_KINDS.has(group.kind)), empty: false, options };
+ }
const recent = matching.length ? { label: '搜索记录', options: matching.map((value) => add({ type: 'history', value })) } : null;
const suggested = picks.length ? { label: '推荐', options: picks.map((value) => add({ type: 'pick', value })) } : null;
return { tabs: null, recent: null, left: recent ? [recent] : [], right: suggested ? [suggested] : [], empty: false, options };
diff --git a/frontend/test/react/search-recommendations.test.ts b/frontend/test/react/search-recommendations.test.ts
new file mode 100644
index 000000000..f53ccfc91
--- /dev/null
+++ b/frontend/test/react/search-recommendations.test.ts
@@ -0,0 +1,43 @@
+import { describe, expect, it, vi } from 'vitest';
+import { searchRecommendations } from '../../src/react/search/recommendations';
+
+describe('搜索图片推荐', () => {
+ it('不同作品来源保留各自详情地址,关注头像和署名取实际发布者', async () => {
+ const source = { id: 8, author_key: 'name:作者', label: '作者', ref: '作者', provider: 'pixiv',
+ entity_id: 20, entity_name: '作者', official_avatar_url: '/avatar-fixture' };
+ const request = vi.fn(async (url: string) => {
+ if (url.startsWith('/api/items')) return { items: [{ id: 11, name: '本地作品' }] };
+ if (url.startsWith('/api/jav/')) return { items: [{ id: 12, asset_id: 12, code: 'ABW-101',
+ performer_refs: [{ id: 15, name: '女优', has_image: true }] }] };
+ if (url.startsWith('/api/feeds/')) return { items: [{ id: 12, code: 'ABW-102', cover_url: '/release-cover' }] };
+ if (url.startsWith('/api/follow/authors')) return { items: [{ k: '作者', key: source.author_key, entity_id: 20 }] };
+ return { sources: [source], groups: [{ primary: { id: 12, source_id: 8, title: '关注作品', thumb_url: '/post-cover' } }] };
+ });
+ const groups = await searchRecommendations(request);
+ const entry = (kind: string) => groups.find(group => group.kind === kind)!.items[0]!;
+ expect(entry('asset').id).toBe(11);
+ expect(entry('jav').href).toBe('/assets/12');
+ expect(entry('release').href).toBe('/works/ABW-102');
+ expect(entry('release').card?.sourceWork).toBe(true);
+ expect(entry('post').href).toBe('/posts/12');
+ expect(entry('post').who).toBe('作者');
+ expect(entry('post').card?.thumb_url).toBe('/post-cover');
+ expect(entry('author').href).toBe('/creators/20');
+ expect(entry('author').avatarHtml).toContain('/avatar-fixture');
+ expect(entry('performer').entity_id).toBe(15);
+ expect(request.mock.calls.every(([url]) => !url.includes('scope=external'))).toBe(true);
+ });
+
+ it('一类读取失败不会丢失其他推荐,无实体的作者进入自己的关注筛选', async () => {
+ const groups = await searchRecommendations(async url => {
+ if (url.startsWith('/api/jav/')) throw new Error('离线');
+ if (url.startsWith('/api/follow/authors')) return { items: [{ k: '作者', key: 'name:作者' }] };
+ return { items: [{ id: 11, name: '本地作品' }] };
+ });
+ expect(groups.find(group => group.kind === 'asset')!.items).toHaveLength(1);
+ expect(groups.find(group => group.kind === 'jav')!.items).toEqual([]);
+ expect(groups.find(group => group.kind === 'author')!.items[0]!.href).toBe('/follow?author=name%3A%E4%BD%9C%E8%80%85');
+ expect(groups.find(group => group.kind === 'release')!.items).toEqual([]);
+ expect(groups.find(group => group.kind === 'performer')!.action).toBe('订阅新作');
+ });
+});
diff --git a/frontend/test/react/search.test.tsx b/frontend/test/react/search.test.tsx
index 62d193788..d7465602c 100644
--- a/frontend/test/react/search.test.tsx
+++ b/frontend/test/react/search.test.tsx
@@ -6,7 +6,7 @@ import { describe, expect, it, vi, type Mock } from 'vitest';
import { SearchPage } from '../../src/react/search/search-page';
import {
- PICKS, SUGGEST_DEBOUNCE, menuModel, shufflePicks, type SearchApi, type SearchProps, type SuggestResponse,
+ PICKS, SUGGEST_DEBOUNCE, menuModel, shufflePicks, type SearchApi, type SearchProps, type SuggestResponse, type SuggestGroup,
} from '../../src/react/search/search';
import { mount, pending, settle } from './render';
@@ -68,7 +68,7 @@ describe('下拉栏里摆什么', () => {
interface Stage {
input: HTMLInputElement;
menu: HTMLElement;
- actions: { [K in keyof SearchProps['actions']]: Mock<SearchProps['actions'][K]> };
+ actions: { [K in keyof SearchProps['actions']]: Mock<NonNullable<SearchProps['actions'][K]>> };
posts: unknown[];
api: SearchApi | null;
key(key: string): Promise<void>;
@@ -77,6 +77,7 @@ interface Stage {
/** 壳那一侧:一个静态输入框、一块带 `data-search-menu` 的面,岛挂在面里。 */
async function stage({ pool = ['剧情'], loadPool = async () => pool,
+ recommendations = undefined as (() => Promise<SuggestGroup[]>) | undefined,
suggest = async (q: string): Promise<SuggestResponse> => ({ q, groups: [] }) } = {}): Promise<Stage> {
const posts: unknown[] = [];
vi.stubGlobal('fetch', vi.fn(async (url: string, init?: RequestInit) => {
@@ -96,6 +97,7 @@ async function stage({ pool = ['剧情'], loadPool = async () => pool,
search: vi.fn<SearchProps['actions']['search']>(),
openItem: vi.fn<SearchProps['actions']['openItem']>(),
openEntity: vi.fn<SearchProps['actions']['openEntity']>(),
+ openPath: vi.fn<NonNullable<SearchProps['actions']['openPath']>>(),
};
const out: Stage = {
input, menu, actions, posts, api: null,
@@ -108,7 +110,7 @@ async function stage({ pool = ['剧情'], loadPool = async () => pool,
}),
};
const helpers: SearchProps['helpers'] = {
- pool: loadPool, coverHtml: () => '',
+ pool: loadPool, recommendations, coverHtml: card => `<span class="pic"><img src="/cover?code=${card?.code || ''}" alt=""></span>`,
present: (el) => { el.hidden = false }, dismiss: (el) => { el.hidden = true },
wireScroller: () => {}, typed: () => {}, composing: () => {}, clearField: (el) => { el.value = '' },
};
@@ -121,6 +123,33 @@ async function stage({ pool = ['剧情'], loadPool = async () => pool,
const debounce = () => act(async () => { vi.advanceTimersByTime(SUGGEST_DEBOUNCE) });
describe('输入框上的时序', () => {
+ it('空搜索推荐显示封面,键盘选择新作打开作品详情', async () => {
+ const s = await stage({ recommendations: async () => [{ kind: 'release', label: '订阅新作',
+ items: [{ value: 'ABW-101', href: '/works/ABW-101', card: { id: 88, code: 'ABW-101' } }],
+ href: '/subscriptions?tab=feeds', action: '管理订阅',
+ }] });
+ await act(async () => s.input.focus());
+ await settle();
+ expect(s.menu.querySelector('[data-search-option="work"] img')).not.toBeNull();
+ expect(s.menu.querySelector('h3 a')?.getAttribute('href')).toBe('/subscriptions?tab=feeds');
+ await s.key('ArrowDown');
+ await s.key('Enter');
+ expect(s.actions.openPath).toHaveBeenCalledWith('/works/ABW-101');
+ expect(s.actions.openItem).not.toHaveBeenCalled();
+ expect(s.actions.search).not.toHaveBeenCalled();
+ });
+
+ it('关闭菜单后到达的图片推荐不会再打开菜单', async () => {
+ const answer = pending<SuggestGroup[]>();
+ const s = await stage({ recommendations: () => answer.answer });
+ await act(async () => s.input.focus());
+ await settle();
+ await act(async () => s.api?.close());
+ await answer.release([{ kind: 'asset', label: '作品推荐', items: [{ value: '作品', id: 11 }] }]);
+ await settle();
+ expect(s.menu.hidden).toBe(true);
+ });
+
it('单类视频预览请求二十条,完整结果入口用当前搜索词', async () => {
vi.useFakeTimers();
const s = await stage({ suggest: async (q) => ({ q, groups: [{ ...asset, total: 53 }] }) });
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 50530c453..f46ba2bf7 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.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)))){:root,:host{--edge-pull:0px}*,: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-200:oklch(89.9% .061 343.231);--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;--container-4xl:56rem;--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;--tracking-normal:0em;--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;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) 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-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--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-2{z-index:2}.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-6{margin-top:calc(var(--spacing) * 6)}.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-2{margin-left:calc(var(--spacing) * -2)}.-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}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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-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-5{height:calc(var(--spacing) * 5)}.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-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.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-\[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-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.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-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.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-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.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-pulse{animation:var(--animate-pulse)}.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-around{justify-content:space-around}.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-1{column-gap:var(--spacing)}.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-\(--tag-radius\){border-radius:var(--tag-radius)}.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-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)}}.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-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.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-blue-300{background-color:var(--color-blue-300)}.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-lime-200{background-color:var(--color-lime-200)}.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-pink-200{background-color:var(--color-pink-200)}.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-6{padding-block:calc(var(--spacing) * 6)}.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}.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-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--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}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.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-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.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)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.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-blue-900{color:var(--color-blue-900)}.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-lime-700{color:var(--color-lime-700)}.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-pink-500{color:var(--color-pink-500)}.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)}.lowercase{text-transform:lowercase}.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-\[width\,height\,font-size\]{transition-property:width,height,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\: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-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.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\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.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\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.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)}.max-sm\: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))}.max-sm\: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))}}@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{flex-direction:row}.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\:hidden{display:none}.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\:w-60{width:calc(var(--spacing) * 60)}}.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)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>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(min(100%, 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:16px;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;-webkit-user-select:none;user-select:none}.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-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.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;min-height:calc(var(--card-meta-block) + 16px);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]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration]){opacity:0}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@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;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.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 :is([data-previewing],[data-media-card]:has(:focus-visible)) [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]:is(:hover,:has(:focus-visible)) [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]:is(:hover,:has(:focus-visible)) [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 :is(button,a)[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]>*+:not(:has(img)){margin-left:-8px}.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 :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;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-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.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-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.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=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.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]{flex:1 1 0}.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-text]>[data-media-tags]{margin-top:6px}.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-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.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-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.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]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;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-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.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] 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=classification]{white-space:nowrap;flex:none}.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{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;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.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);overflow-wrap:anywhere;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]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;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;overflow:hidden}.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]>:where(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-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.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 [data-entity-filter-glass] [data-entity-readout]{flex:none}.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 24px;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]),.peach-react [data-catalog-tags]>[data-skeleton=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-summary]{flex:none;align-items:center;gap:12px;display:flex}@media (width<=760px){.peach-react [data-catalog-frame]>[data-filter-row=bottom]{flex-wrap:wrap}.peach-react [data-catalog-frame] [data-entity-sorts]{width:100%;margin-left:0}.peach-react [data-catalog-summary]{max-width:100%}.peach-react [data-catalog-summary] [data-catalog-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}}.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~=ui-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-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.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=more]{justify-content:space-between;margin-top:7px}.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;font-size:10px}.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);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.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([data-follow-authors],[data-follow-works])>:is(button,a){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;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[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 [data-follow-works]>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(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.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]:has(>[data-media-card]){row-gap:0}.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-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.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;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.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 .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.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{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.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]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.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;transition:opacity .15s;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-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.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]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;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-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.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-sources] [data-follow-seealso]{border-radius:var(--control-radius);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);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.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);overflow-wrap:anywhere;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-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.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-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [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]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.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-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.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;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;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-want][aria-pressed=true] svg{fill:currentColor}.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)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.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-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [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-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [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-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [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:top;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 button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[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 :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.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;max-width:100%;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]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.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:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.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-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.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;white-space:nowrap;-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 (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@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-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[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{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[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}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@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";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-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[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-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[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"}[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-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[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);overflow-wrap:anywhere;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-detail-continuation]>[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"}[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-detail-continuation]>[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:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[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}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@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);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-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~=ui-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~=ui-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~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-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~=ui-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~=ui-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~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-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~=ui-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~=ui-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}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[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~=ui-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}[data-settings-panel] [data-settings-service]{z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@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{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[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}}: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 [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{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}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em: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 skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@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%)}}.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-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.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]>*+:not(:has(img)){margin-left:-8px}.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-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)}}@keyframes pulse{50%{opacity:.5}}[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:0;margin-bottom:24px;display:block}[data-manage-menu]{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{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;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]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;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:0;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}}.peach-react :is([data-namepick-toggle],[data-favorite]){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 :is([data-namepick-toggle],[data-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-trigger]{white-space:nowrap;flex:0 0 104px;width:104px}.peach-react [data-shortcuts-entry]{flex:0 0 104px;width:104px;height:32px;display:inline-flex;position:relative}.peach-react [data-shortcuts-glass]{z-index:1;border-radius:var(--control-radius);height:32px;color:var(--glass-text);font:var(--board-body);cursor:pointer;background:0 0;border:0;padding:0 12px;position:relative}.peach-react [data-shortcuts-glass]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-shortcuts-panel]{height:614px;max-height:calc(100dvh - 32px)}.peach-react [data-shortcuts-body]{flex:1;min-width:0;min-height:0;display:flex}.peach-react [data-shortcuts-categories]{border-right:1px solid var(--color-separator-border);background:var(--color-background-secondary-default);flex-direction:column;flex:0 0 240px;gap:4px;padding:10px;display:flex;overflow-y:auto}.peach-react [data-shortcuts-categories]>button{border-radius:var(--control-radius);color:var(--color-text-secondary);font:var(--board-body);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-shortcuts-categories]>button:hover{color:var(--color-text-primary)}.peach-react [data-shortcuts-categories]>button[aria-pressed=true]{background:var(--color-background-secondary-hover);color:var(--color-text-primary)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-content]{flex:1}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{flex:none;display:inline-flex;position:relative}.peach-react [data-shortcuts-avatar]>svg{color:var(--color-foreground-icon-secondary);position:absolute;top:8px;left:8px}@media (width<=760px){.peach-react [data-shortcuts-body]{flex-direction:column}.peach-react [data-shortcuts-categories]{border-right:0;border-bottom:1px solid var(--color-separator-border);flex-direction:row;flex:none;overflow-x:auto}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-trigger]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew){visibility:hidden;pointer-events:none}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);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;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]: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}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-follow-image-dots]{z-index:4;justify-content:center;align-items:center;gap:var(--media-dot-gap);max-width:calc(100% - var(--media-dot-room));padding:8px var(--media-dot-padding);border-radius:var(--pill-radius);background:#00000080;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel] [data-follow-image-count]{z-index:4;border-radius:var(--pill-radius);color:#fff;font:500 var(--fs-xs) / 16px var(--board-font);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;background:#00000080;padding:4px 11px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] :is([data-follow-image-dots],[data-follow-image-count]){width:fit-content;margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-follow-image-dots]{bottom:12px}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,: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-200:oklch(89.9% .061 343.231);--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;--container-4xl:56rem;--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;--tracking-normal:0em;--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;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) 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-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--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-2{z-index:2}.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-6{margin-top:calc(var(--spacing) * 6)}.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-2{margin-left:calc(var(--spacing) * -2)}.-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}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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-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-5{height:calc(var(--spacing) * 5)}.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-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.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-\[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-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.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-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.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-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.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-pulse{animation:var(--animate-pulse)}.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-around{justify-content:space-around}.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-1{column-gap:var(--spacing)}.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-\(--tag-radius\){border-radius:var(--tag-radius)}.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-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)}}.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-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.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-blue-300{background-color:var(--color-blue-300)}.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-lime-200{background-color:var(--color-lime-200)}.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-pink-200{background-color:var(--color-pink-200)}.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-6{padding-block:calc(var(--spacing) * 6)}.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}.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-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--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}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.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-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.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)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.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-blue-900{color:var(--color-blue-900)}.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-lime-700{color:var(--color-lime-700)}.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-pink-500{color:var(--color-pink-500)}.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)}.lowercase{text-transform:lowercase}.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-\[width\,height\,font-size\]{transition-property:width,height,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\: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-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.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\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.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\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.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)}.max-sm\: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))}.max-sm\: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))}}@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{flex-direction:row}.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\:hidden{display:none}.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\:w-60{width:calc(var(--spacing) * 60)}}.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)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>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(min(100%, 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:16px;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;-webkit-user-select:none;user-select:none}.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-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.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;min-height:calc(var(--card-meta-block) + 16px);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]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration]){opacity:0}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@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;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.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 :is([data-previewing],[data-media-card]:has(:focus-visible)) [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]:is(:hover,:has(:focus-visible)) [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]:is(:hover,:has(:focus-visible)) [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 :is(button,a)[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]>*+:not(:has(img)){margin-left:-8px}.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 :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;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-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.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-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.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=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.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]{flex:1 1 0}.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-text]>[data-media-tags]{margin-top:6px}.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-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.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-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.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]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;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-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.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] 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=classification]{white-space:nowrap;flex:none}.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{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;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.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);overflow-wrap:anywhere;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]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;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;overflow:hidden}.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]>:where(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-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.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 [data-entity-filter-glass] [data-entity-readout]{flex:none}.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 24px;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]),.peach-react [data-catalog-tags]>[data-skeleton=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-summary]{flex:none;align-items:center;gap:12px;display:flex}@media (width<=760px){.peach-react [data-catalog-frame]>[data-filter-row=bottom]{flex-wrap:wrap}.peach-react [data-catalog-frame] [data-entity-sorts]{width:100%;margin-left:0}.peach-react [data-catalog-summary]{max-width:100%}.peach-react [data-catalog-summary] [data-catalog-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}}.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~=ui-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-results]+[data-search-group],.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;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.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=more]{justify-content:space-between;margin-top:7px}.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;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.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-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% - 5px)}.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);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.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([data-follow-authors],[data-follow-works])>:is(button,a){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;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[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 [data-follow-works]>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(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.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]:has(>[data-media-card]){row-gap:0}.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-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.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;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.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 .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.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{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.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]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.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;transition:opacity .15s;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-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.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]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;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-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.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-sources] [data-follow-seealso]{border-radius:var(--control-radius);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);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.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);overflow-wrap:anywhere;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-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.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-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [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]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.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-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.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;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;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-want][aria-pressed=true] svg{fill:currentColor}.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)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.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-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [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-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [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-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [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:top;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 button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[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 :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.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;max-width:100%;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]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.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:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.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-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.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;white-space:nowrap;-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 (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@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-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[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{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[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}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@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";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-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[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-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[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"}[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-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[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);overflow-wrap:anywhere;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-detail-continuation]>[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"}[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-detail-continuation]>[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:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[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}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@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);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-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~=ui-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~=ui-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~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-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~=ui-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~=ui-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~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-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~=ui-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~=ui-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}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[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~=ui-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}[data-settings-panel] [data-settings-service]{z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@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{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[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}}: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 [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{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}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em: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 skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@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%)}}.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-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.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]>*+:not(:has(img)){margin-left:-8px}.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-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)}}@keyframes pulse{50%{opacity:.5}}[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:0;margin-bottom:24px;display:block}[data-manage-menu]{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{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;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]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;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:0;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}}.peach-react :is([data-namepick-toggle],[data-favorite]){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 :is([data-namepick-toggle],[data-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-trigger]{white-space:nowrap;flex:0 0 104px;width:104px}.peach-react [data-shortcuts-entry]{flex:0 0 104px;width:104px;height:32px;display:inline-flex;position:relative}.peach-react [data-shortcuts-glass]{z-index:1;border-radius:var(--control-radius);height:32px;color:var(--glass-text);font:var(--board-body);cursor:pointer;background:0 0;border:0;padding:0 12px;position:relative}.peach-react [data-shortcuts-glass]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-shortcuts-panel]{height:614px;max-height:calc(100dvh - 32px)}.peach-react [data-shortcuts-body]{flex:1;min-width:0;min-height:0;display:flex}.peach-react [data-shortcuts-categories]{border-right:1px solid var(--color-separator-border);background:var(--color-background-secondary-default);flex-direction:column;flex:0 0 240px;gap:4px;padding:10px;display:flex;overflow-y:auto}.peach-react [data-shortcuts-categories]>button{border-radius:var(--control-radius);color:var(--color-text-secondary);font:var(--board-body);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-shortcuts-categories]>button:hover{color:var(--color-text-primary)}.peach-react [data-shortcuts-categories]>button[aria-pressed=true]{background:var(--color-background-secondary-hover);color:var(--color-text-primary)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-content]{flex:1}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{flex:none;display:inline-flex;position:relative}.peach-react [data-shortcuts-avatar]>svg{color:var(--color-foreground-icon-secondary);position:absolute;top:8px;left:8px}@media (width<=760px){.peach-react [data-shortcuts-body]{flex-direction:column}.peach-react [data-shortcuts-categories]{border-right:0;border-bottom:1px solid var(--color-separator-border);flex-direction:row;flex:none;overflow-x:auto}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-trigger]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew){visibility:hidden;pointer-events:none}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);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;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]: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}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-follow-image-dots]{z-index:4;justify-content:center;align-items:center;gap:var(--media-dot-gap);max-width:calc(100% - var(--media-dot-room));padding:8px var(--media-dot-padding);border-radius:var(--pill-radius);background:#00000080;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel] [data-follow-image-count]{z-index:4;border-radius:var(--pill-radius);color:#fff;font:500 var(--fs-xs) / 16px var(--board-font);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;background:#00000080;padding:4px 11px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] :is([data-follow-image-dots],[data-follow-image-count]){width:fit-content;margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-follow-image-dots]{bottom:12px}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 83a21a480..90dd92f16 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -29105,33 +29105,33 @@ function ple(e) {
}
//#endregion
//#region src/player/registry.ts
-var mle = null, wE = () => mle;
-function TE(e) {
- mle = e;
-}
+var wE = null, TE = () => wE;
function EE(e) {
+ wE = e;
+}
+function DE(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
//#endregion
//#region src/player/stats.ts
-function hle(e) {
+function mle(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 gle(e) {
+function hle(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 _le = 3e3;
-function vle(e, t) {
+var gle = 3e3;
+function _le(e, t) {
let n = Number(e) || 0, r = qt(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function yle(e) {
+function vle(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -29146,10 +29146,10 @@ function yle(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = gle(e), s = e.currentTime || 0;
+ let a = performance.now(), o = hle(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 > _le * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > gle * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -29158,56 +29158,56 @@ function yle(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > _le;) t.shift();
+ }); t.length > 2 && a - t[0].at > gle;) 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 DE = 24;
-function OE(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > DE && e.splice(0, e.length - DE);
+var OE = 24;
+function kE(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > OE && e.splice(0, e.length - OE);
}
-var kE = "peach-player-panel";
-function AE(e, t, n, r) {
- let i = [...Array(Math.max(0, DE - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var AE = "peach-player-panel";
+function jE(e, t, n, r) {
+ let i = [...Array(Math.max(0, OE - 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="${z(r)}">${o}</span>`;
}
-function ble() {
+function yle() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function xle(e, t = "") {
+function ble(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 Sle(e, t = "") {
- let n = xle(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 xle(e, t = "") {
+ let n = ble(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 Cle(e, t, n = "", r = null) {
+function Sle(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 : Sle(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : xle(t, n);
}
-function jE(e) {
+function ME(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 wle(e, t) {
- return e > 0 ? jE(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : jE(0);
+function Cle(e, t) {
+ return e > 0 ? ME(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : ME(0);
}
//#endregion
//#region src/player/controls.ts
-function ME(e, t, n = "") {
+function NE(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));
@@ -29218,26 +29218,26 @@ function ME(e, t, n = "") {
};
return o(), o;
}
-function Tle(e, t) {
+function wle(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
-function Ele(e, t = !0) {
+function Tle(e, t = !0) {
let n = yE(), 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 Dle = /* @__PURE__ */ new WeakMap();
-function Ole(e) {
+var Ele = /* @__PURE__ */ new WeakMap();
+function Dle(e) {
if (!e) return;
let t = yE().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Dle.get(e)?.(t ? "默认视图" : "影院模式");
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Ele.get(e)?.(t ? "默认视图" : "影院模式");
}
-function kle(e, t = !0) {
+function Ole(e, t = !0) {
let n = yE(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), Ole(i?.querySelector("[data-player-theater]")), EE(wE());
+ i?.toggleAttribute("data-theater", r.theaterMode), Dle(i?.querySelector("[data-player-theater]")), DE(TE());
}
-function Ale(e) {
+function kle(e) {
let t = yE().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
@@ -29272,7 +29272,7 @@ function Ale(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function jle(e, t, n = 0, r = null) {
+function Ale(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");
@@ -29282,7 +29282,7 @@ function jle(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]");
- ME(s, "设置");
+ NE(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;
@@ -29322,11 +29322,11 @@ function jle(e, t, n = 0, r = null) {
active: n
};
}, g = () => l.getAttribute("aria-hidden") !== "true", _ = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(kE, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(AE, { detail: "settings" }));
}, v = () => _(!1), y = (e) => {
e.detail !== "settings" && v();
};
- document.addEventListener(kE, y);
+ document.addEventListener(AE, 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;
@@ -29346,7 +29346,7 @@ function jle(e, t, n = 0, r = null) {
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${R("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${R("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${z(n.label)}</b>${R("player-menu-next")}</button></div>`, t);
S(i, "[data-player-ambient]").onclick = () => {
- Ele(!yE().settings().ambientMode), w();
+ Tle(!yE().settings().ambientMode), w();
}, S(i, "[data-player-speed]").onclick = () => O(), S(i, "[data-player-quality-view]").onclick = () => A();
}, T = .05, E = [
1,
@@ -29422,22 +29422,22 @@ function jle(e, t, n = 0, r = null) {
"removequalitylevel",
"change"
], j), e.on("dispose", () => {
- document.removeEventListener("pointerdown", M), document.removeEventListener(kE, y), b && clearTimeout(b);
- }), h(), Mle(e, a), Nle(e), (e) => {
+ document.removeEventListener("pointerdown", M), document.removeEventListener(AE, y), b && clearTimeout(b);
+ }), h(), jle(e, a), Mle(e), (e) => {
d = e?.length ? e : null, j();
};
}
-function Mle(e, t) {
+function jle(e, t) {
let n = e.getChild("controlBar")?.el();
if (!n || n.querySelector("[data-player-theater]")) return;
let r = yE().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${R(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- Dle.set(a, ME(a, "影院模式", "T")), Ole(a), a.onclick = (e) => {
- e.stopPropagation(), kle(!yE().settings().theaterMode);
+ Ele.set(a, NE(a, "影院模式", "T")), Dle(a), a.onclick = (e) => {
+ e.stopPropagation(), Ole(!yE().settings().theaterMode);
};
}
-function Nle(e) {
+function Mle(e) {
let t = e.getChild("controlBar")?.el();
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -29449,7 +29449,7 @@ function Nle(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 = ME(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 = NE(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 ? "播放" : "暂停");
};
@@ -29460,7 +29460,7 @@ function Nle(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 = ME(p, "静音", "M"), g = () => {
+ let h = NE(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 ? "取消静音" : "静音");
};
@@ -29486,7 +29486,7 @@ function Nle(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 = ME(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = NE(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = Yt(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : Yt(t)} / ${Yt(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Yt(n)};点击显示已播放时间` : `已播放 ${Yt(t)},总时长 ${Yt(n)};点击显示剩余时间`);
};
@@ -29499,11 +29499,11 @@ function Nle(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 = ME(E, "画中画");
+ let D = NE(E, "画中画");
e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));
- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = ME(O, "全屏", "F"), j = () => {
+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = NE(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 ? "退出全屏" : "全屏"), EE(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), DE(e);
};
e.on([
"fullscreenchange",
@@ -29523,7 +29523,7 @@ function Nle(e) {
});
let P = document.createElement("div");
P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(P);
- let ee = P.querySelector("button"), F = ME(ee, "展开控件"), te = (t) => {
+ let ee = P.querySelector("button"), F = NE(ee, "展开控件"), te = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), ee.setAttribute("aria-expanded", String(t)), F(t ? "收起控件" : "展开控件");
};
ee.onclick = (t) => {
@@ -29535,7 +29535,7 @@ function Nle(e) {
}, ne = new ResizeObserver(I);
ne.observe(e.el()), e.on("dispose", () => ne.disconnect()), te(!1), I();
}
-function Ple(e, t, n = {}) {
+function Nle(e, t, n = {}) {
let r = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");
if (!r || r.querySelector("[data-player-seek-preview]")) return;
let i = !!t && n.thumbnail !== !1, a = document.createElement("div");
@@ -29569,7 +29569,7 @@ function Ple(e, t, n = {}) {
r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);
});
}
-function Fle(e, t) {
+function Ple(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => qt(e.duration()) || qt(t.duration) || 0, i = (t) => {
@@ -29616,11 +29616,11 @@ function Fle(e, t) {
} catch {}
});
}
-function Ile(e) {
+function Fle(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 Lle(e, t) {
+function Ile(e, t) {
Et(`/api/assets/${t}/subtitles`).then((t) => {
e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -29635,35 +29635,35 @@ function Lle(e, t) {
}
//#endregion
//#region src/player/progress.ts
-var Rle = "peach.playback-position.v1", NE = /* @__PURE__ */ new WeakMap();
-function PE(e) {
- NE.get(e)?.(), NE.delete(e);
+var Lle = "peach.playback-position.v1", PE = /* @__PURE__ */ new WeakMap();
+function FE(e) {
+ PE.get(e)?.(), PE.delete(e);
}
-function zle(e, t, n = null) {
+function Rle(e, t, n = null) {
let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;
return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;
}
-function Ble(e) {
+function zle(e) {
try {
- let t = localStorage.getItem(`${Rle}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
+ let t = localStorage.getItem(`${Lle}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
return Number.isFinite(n) && n >= 0 ? n : null;
} catch {
return null;
}
}
-function Vle(e, t) {
- let n = Ble(e);
+function Ble(e, t) {
+ let n = zle(e);
if (n !== null) return n;
let r = Number(t.leave_ratio);
return r > 0 && r < 1 ? r * qt(t.duration) : 0;
}
-function Hle(e, t) {
- PE(t);
+function Vle(e, t) {
+ FE(t);
let n = t.readyState >= 1, r = () => {
if (!n || !Number.isFinite(t.currentTime)) return;
let r = t.ended ? 0 : Math.max(0, t.currentTime);
try {
- localStorage.setItem(`${Rle}:${e}`, String(r));
+ localStorage.setItem(`${Lle}:${e}`, String(r));
} catch {}
}, i = () => {
n = !0;
@@ -29677,7 +29677,7 @@ function Hle(e, t) {
"pause",
"ended"
]) t.addEventListener(e, r);
- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), NE.set(t, () => {
+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), PE.set(t, () => {
r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);
for (let e of [
"timeupdate",
@@ -29690,19 +29690,19 @@ function Hle(e, t) {
}
//#endregion
//#region src/player/telemetry.ts
-var FE = /* @__PURE__ */ new WeakMap();
-function IE(e) {
- FE.get(e)?.(), FE.delete(e);
+var IE = /* @__PURE__ */ new WeakMap();
+function LE(e) {
+ IE.get(e)?.(), IE.delete(e);
}
-function Ule(e, t, n, r) {
+function Hle(e, t, n, r) {
let i = () => t(!1), a = () => {
n(), t(!1);
};
- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), FE.set(e, () => {
+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), IE.set(e, () => {
n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);
});
}
-function Wle(e, t, n = {}) {
+function Ule(e, t, n = {}) {
if (!t) return;
let r = 0, i = 0, a = 0, o = null, s = (e) => e ? document.querySelector(e) : null, c = () => {
let r = qt(e.duration) || qt(t.duration);
@@ -29743,11 +29743,11 @@ function Wle(e, t, n = {}) {
u(), l(!1);
}, t.onended = () => {
u(), l(!0), n.onEnded?.();
- }, Ule(t, l, u, () => {
+ }, Hle(t, l, u, () => {
a++;
}), c();
}
-function Gle(e, t) {
+function Wle(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = qt(e.duration) || qt(t.duration);
(r || n) && (Et("/api/follow/activity", {
@@ -29778,40 +29778,40 @@ function Gle(e, t) {
s(), o(!1);
}, t.onended = () => {
s(), o(!0);
- }, Ule(t, o, s, () => {});
+ }, Hle(t, o, s, () => {});
}
//#endregion
//#region src/player/dispose.ts
-function LE(e) {
+function RE(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
e.pause();
} catch {}
- t && (PE(t), IE(t));
+ t && (FE(t), LE(t));
try {
e.dispose();
} catch {}
}
//#endregion
//#region src/player/stream.ts
-function Kle() {
+function Gle() {
return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
}
-function RE(e, t) {
+function zE(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function qle(e) {
+function Kle(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function Jle(e, t) {
- let n = qle(e);
+async function qle(e, t) {
+ let n = Kle(e);
if (n) return n;
try {
let n = await Et(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -29820,9 +29820,9 @@ async function Jle(e, t) {
type: n.mime_type || "application/vnd.apple.mpegurl"
};
} catch {}
- return RE(e, t);
+ return zE(e, t);
}
-function zE(e) {
+function BE(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -29831,21 +29831,21 @@ function zE(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var BE = "";
-function Yle() {
- return BE;
+var VE = "";
+function Jle() {
+ return VE;
}
-function Xle() {
- return BE ||= Kle(), BE;
+function Yle() {
+ return VE ||= Gle(), VE;
}
-var Zle = (e) => RE(e, Xle()), Qle = (e) => Jle(e, Xle());
-function VE() {
- let e = BE;
- e && (BE = "", zE(e));
+var Xle = (e) => zE(e, Yle()), Zle = (e) => qle(e, Yle());
+function HE() {
+ let e = VE;
+ e && (VE = "", BE(e));
}
//#endregion
//#region src/player/videojs.ts
-var HE = "/vendor/videojs/8.24.1/", $le = `${HE}video-js.min.css`, eue = (e) => new Promise((t, n) => {
+var UE = "/vendor/videojs/8.24.1/", Qle = `${UE}video-js.min.css`, $le = (e) => new Promise((t, n) => {
let r = document.head.querySelector(`script[src="${e}"]`);
if (r?.dataset.loaded) {
t();
@@ -29857,7 +29857,7 @@ var HE = "/vendor/videojs/8.24.1/", $le = `${HE}video-js.min.css`, eue = (e) =>
}, { once: !0 }), i.addEventListener("error", () => {
i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));
}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));
-}), tue = (e) => new Promise((t) => {
+}), eue = (e) => new Promise((t) => {
let n = document.head.querySelector(`link[rel="stylesheet"][href="${e}"]`);
if (n?.sheet) {
t();
@@ -29867,20 +29867,20 @@ var HE = "/vendor/videojs/8.24.1/", $le = `${HE}video-js.min.css`, eue = (e) =>
r.addEventListener("load", () => t(), { once: !0 }), r.addEventListener("error", () => {
r.remove(), t();
}, { once: !0 }), n || (r.rel = "stylesheet", r.href = e, document.head.insertBefore(r, document.head.querySelector("link[rel=\"stylesheet\"]")));
-}), nue = () => globalThis.videojs, UE = null;
-function WE() {
- let e = nue();
- return e ? Promise.resolve(e) : (UE ??= Promise.all([tue($le), eue(`${HE}video.min.js`).then(() => eue(`${HE}lang/zh-CN.js`))]).then(() => {
- let e = nue();
+}), tue = () => globalThis.videojs, WE = null;
+function GE() {
+ let e = tue();
+ return e ? Promise.resolve(e) : (WE ??= Promise.all([eue(Qle), $le(`${UE}video.min.js`).then(() => $le(`${UE}lang/zh-CN.js`))]).then(() => {
+ let e = tue();
if (!e) throw Error("videojs unavailable");
return e;
}).catch((e) => {
- throw UE = null, e;
- }), UE);
+ throw WE = null, e;
+ }), WE);
}
//#endregion
//#region src/player/immerse-player.ts
-var rue = {
+var nue = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -29892,37 +29892,37 @@ var rue = {
errorDisplay: !1,
textTrackSettings: !1
};
-function iue(e, t) {
+function rue(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([Jle(n, r), WE().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([qle(n, r), GE().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = RE(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = zE(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, rue);
+ let t = s(e, nue);
i = t, l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- Wle(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ Ule(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, zE(r), i ? LE(i) : (e.pause(), IE(e), e.removeAttribute("src"), e.load()));
+ a || (a = !0, BE(r), i ? RE(i) : (e.pause(), LE(e), e.removeAttribute("src"), e.load()));
};
}
//#endregion
//#region src/player/detail-player.ts
-var aue = /* @__PURE__ */ new WeakMap(), GE = null, KE = null, qE = null;
-function oue() {
- GE &&= (clearInterval(GE), null), KE &&= (clearInterval(KE), null), qE &&= (clearTimeout(qE), null);
+var iue = /* @__PURE__ */ new WeakMap(), KE = null, qE = null, JE = null;
+function aue() {
+ KE &&= (clearInterval(KE), null), qE &&= (clearInterval(qE), null), JE &&= (clearTimeout(JE), null);
}
-async function sue(e, t, n, r = {}) {
- let i = wE();
+async function oue(e, t, n, r = {}) {
+ let i = TE();
if (i && !i.isDisposed()) return i;
let a = yE(), o = r.resume ?? null;
o?.autoplay && (n = !0);
- let s = () => r.source ? Promise.resolve(r.source) : Qle(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : Zle(e), c;
try {
- c = await WE();
+ c = await GE();
} catch {
return t.controls = !0, s().then((e) => {
t.addEventListener("loadedmetadata", () => {
@@ -29948,7 +29948,7 @@ async function sue(e, t, n, r = {}) {
} }
}
});
- TE(l), l.peachItem = e, ple(l), l.on("loadedmetadata", () => {
+ EE(l), l.peachItem = e, ple(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}`);
});
@@ -29956,7 +29956,7 @@ async function sue(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = yle(vle(f, e.duration)), m = 0, h = !1, g = () => wE() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = vle(_le(f, e.duration)), m = 0, h = !1, g = () => TE() === 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(() => {
@@ -29967,15 +29967,15 @@ async function sue(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- aue.set(l, y), y.updateStats = () => {
+ iue.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 = Yle(), h = s ? xle(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 = Jle(), h = s ? ble(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 = Cle(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 = Sle(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 = hle(t);
- OE(d.speed, x), OE(d.activity, C), OE(d.buffer, w);
+ let w = mle(t);
+ kE(d.speed, x), kE(d.activity, C), kE(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 ? [
"网络活动",
`${_ ? Xt(_) : "—"} · ${h.length} 请求`,
@@ -29993,17 +29993,17 @@ async function sue(e, t, n, r = {}) {
[
"连接速度",
D,
- AE(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ jE(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- AE(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ jE(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- AE(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ jE(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${Yt(t.currentTime)} / ${Yt(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -30019,15 +30019,15 @@ async function sue(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = Cle(l, e.id, Yle(), r ? null : p), a = r ? jE(i) : wle(i, hle(t));
+ let i = Sle(l, e.id, Jle(), r ? null : p), a = r ? ME(i) : Cle(i, mle(t));
n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- e && e.isConnected && (e.hidden = !1, S(), KE && clearInterval(KE), KE = setInterval(S, 500));
+ e && e.isConnected && (e.hidden = !1, S(), qE && clearInterval(qE), qE = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (qE && clearTimeout(qE), qE = setTimeout(() => {
- e.hidden = !0, KE &&= (clearInterval(KE), null);
+ e && (JE && clearTimeout(JE), JE = setTimeout(() => {
+ e.hidden = !0, qE &&= (clearInterval(qE), null);
}, 1400));
};
return l.on([
@@ -30038,7 +30038,7 @@ async function sue(e, t, n, r = {}) {
], C), l.on(["canplay", "playing"], () => {
S(), w();
}), l.on("error", () => {
- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Zle(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Xle(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
t[String(e.location)] !== !1 || l.isDisposed() || l.error({
code: 2,
message: `脱盘模式 · ${a.offlineReason(String(e.location))}`
@@ -30046,13 +30046,13 @@ async function sue(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = jle(l, t, e.height, r.qualities ?? null);
+ let n = Ale(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 = vle(r, e.duration));
- }).catch(() => {}), Ple(l, e, { thumbnail: !r.source }), Fle(l, e), Ile(l), r.source || Lle(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = _le(r, e.duration));
+ }).catch(() => {}), Nle(l, e, { thumbnail: !r.source }), Ple(l, e), Fle(l), r.source || Ile(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {
if (l.isDisposed()) return;
@@ -30061,14 +30061,14 @@ async function sue(e, t, n, r = {}) {
}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var cue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function lue(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", cue), e.querySelector(":scope > #playerStatsBtn")) return;
+var sue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function cue(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", sue), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = ble(), e.insertBefore(n.content, t);
+ n.innerHTML = yle(), e.insertBefore(n.content, t);
}
-function uue(e, t) {
- let n = aue.get(e);
+function lue(e, t) {
+ let n = iue.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -30080,27 +30080,27 @@ function uue(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), GE &&= (clearInterval(GE), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), KE &&= (clearInterval(KE), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(kE, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), GE && clearInterval(GE), GE = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(AE, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), KE && clearInterval(KE), KE = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(kE, t), s = () => document.removeEventListener(kE, t);
+ document.addEventListener(AE, t), s = () => document.removeEventListener(AE, t);
}
- let c = e.el().querySelector("video"), l = c ? Ale(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, oue()));
+ let c = e.el().querySelector("video"), l = c ? kle(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, aue()));
};
return e.one("dispose", d), d;
}
-function JE(e, t) {
- if (t.kind === "immerse") return iue(e, t);
+function YE(e, t) {
+ if (t.kind === "immerse") return rue(e, t);
let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = yE(), c = t.chrome === !1 ? null : e.parentElement;
- c && lue(c, e);
- let l = zle(n, r, i?.index ?? null), u = { resume: t.resume ?? {
- time: Vle(l, r),
+ c && cue(c, e);
+ let l = Rle(n, r, i?.index ?? null), u = { resume: t.resume ?? {
+ time: Ble(l, r),
autoplay: !1
} };
if (n === "follow") u = {
@@ -30119,37 +30119,37 @@ function JE(e, t) {
t && (e.poster = t);
}
let d = null, f = !1, p = () => {}, m = e, h = () => {
- p(), !(d && a?.(d)) && (PE(m), d ? (wE() === d && (TE(null), oue()), LE(d)) : IE(m));
+ p(), !(d && a?.(d)) && (FE(m), d ? (TE() === d && (EE(null), aue()), RE(d)) : LE(m));
};
- return sue(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Hle(l, m), n === "follow" ? Gle(r, m) : (m.addEventListener("play", () => {
+ return oue(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Vle(l, m), n === "follow" ? Wle(r, m) : (m.addEventListener("play", () => {
Et("/api/play", {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), Wle(r, m, {
+ }, { once: !0 }), Ule(r, m, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
- })), t ? (c && (p = uue(t, c)), o?.(t)) : o?.(null));
+ })), t ? (c && (p = lue(t, c)), o?.(t)) : o?.(null));
}), () => {
f = !0, h();
};
}
//#endregion
//#region src/player/playback.ts
-function YE(e) {
+function XE(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function due(e, t) {
+function uue(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/player/preview-player.ts
-function fue(e, t, n) {
+function due(e, t, n) {
let r = !1, i = null;
- return WE().then((a) => {
+ return GE().then((a) => {
if (r) return;
i = a(e, {
controls: !0,
@@ -30174,30 +30174,30 @@ function fue(e, t, n) {
o.on("error", () => {
r || n();
}), o.ready(() => {
- r || o.isDisposed() || (jle(o, e), Ple(o, null, { thumbnail: !1 }), Ile(o));
+ r || o.isDisposed() || (Ale(o, e), Nle(o, null, { thumbnail: !1 }), Fle(o));
}), o.src(t);
}).catch(() => {
r || n();
}), () => {
- r = !0, LE(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ r = !0, RE(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
};
}
-function XE(e, t) {
+function ZE(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var pue = (e, t) => [
+var fue = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], mue = (e, t) => [
+], pue = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function hue(e, t, n, r, i) {
+async function mue(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 V(`/api/items?${a}`, i), s = {
@@ -30207,22 +30207,22 @@ async function hue(e, t, n, r, i) {
};
return !t && !s.items.length && !r && (s.libraryEmpty = (await V("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var gue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, _ue = (e, t) => {
+var hue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, gue = (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 vue(e) {
- let t = XE(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function _ue(e) {
+ let t = ZE(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: pue(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => hue(t, e, n, r, i),
+ queryKey: fue(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => mue(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: gue(n)
+ getNextPageParam: hue(n)
};
}
-function yue(e) {
+function vue(e) {
return {
- queryKey: mue(e.entityKey || "", e.revision || 0),
+ queryKey: pue(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -30237,12 +30237,12 @@ function yue(e) {
};
},
initialPageParam: 0,
- getNextPageParam: _ue
+ getNextPageParam: gue
};
}
-async function bue(e, t) {
+async function yue(e, t) {
if (e.mode !== "catalog" || e.wall) return;
- let n = vue(e);
+ let n = _ue(e);
await U.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -30251,11 +30251,11 @@ async function bue(e, t) {
})
});
}
-function xue(e) {
+function bue(e) {
let t = JSON.stringify(e);
return U.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;
}
-function Sue(e, t, n) {
+function xue(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -30270,24 +30270,24 @@ function Sue(e, t, n) {
return !0;
}) : [...e];
}
-var ZE = (e, t) => !!e && !!qi(e, t);
-function Cue(e, t) {
- let n = (e) => ZE(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) => ZE(e, t)) || e[e.length - 1];
+var QE = (e, t) => !!e && !!qi(e, t);
+function Sue(e, t) {
+ let n = (e) => QE(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) => QE(e, t)) || e[e.length - 1];
}
-function wue(e, { collapse: t, mix: n, javImage: r }) {
+function Cue(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 = Sue(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = xue(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 = Cue(e, r);
+ let t = Sue(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -30300,16 +30300,16 @@ function wue(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Tue(e, t, n) {
+function wue(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 Eue(e, t) {
+function Tue(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 Due(e, t) {
+function Eue(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -30322,10 +30322,10 @@ function Due(e, t) {
strip: null
}), r;
}
-function QE(e, t) {
- Oue((t) => t.id === e, t);
+function $E(e, t) {
+ Due((t) => t.id === e, t);
}
-function Oue(e, t) {
+function Due(e, t) {
U.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -30342,31 +30342,31 @@ function Oue(e, t) {
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var $E = (e) => ["item", e], eD = (e) => [
+var eD = (e) => ["item", e], tD = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], kue = (e, t) => [
+], Oue = (e, t) => [
"item-related",
e,
t
-], Aue = (e) => `/api/item?id=${e}`, jue = (e, t) => `/api/related?id=${e}&limit=${t}`, tD = "/api/playlist", Mue = "/api/feedback", nD = "/api/item-tag", Nue = "/api/watch-later", Pue = "/api/quality-goal", Fue = "/api/preference", rD = class extends Error {};
-async function iD(e, t) {
- let n = await V(Aue(e), t);
- if (n.error) throw new rD(n.error);
+], kue = (e) => `/api/item?id=${e}`, Aue = (e, t) => `/api/related?id=${e}&limit=${t}`, nD = "/api/playlist", jue = "/api/feedback", rD = "/api/item-tag", Mue = "/api/watch-later", Nue = "/api/quality-goal", Pue = "/api/preference", iD = class extends Error {};
+async function aD(e, t) {
+ let n = await V(kue(e), t);
+ if (n.error) throw new iD(n.error);
return n;
}
-async function aD(e, t, n) {
+async function oD(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([iD(r, n), t.mixRelated(r)]);
- return U.setQueryData($E(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([aD(r, n), t.mixRelated(r)]);
+ return U.setQueryData(eD(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${va(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return Iue(await V(`${tD}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return Fue(await V(`${nD}?id=${e.playlistId}`, n));
let r = await V(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -30377,19 +30377,19 @@ async function aD(e, t, n) {
versionCount: e.kind === "editions" ? r.count : void 0
};
}
-var Iue = (e) => ({
+var Fue = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), Lue = (e) => e.disposal === "vanished";
-function oD(e, t) {
+}), Iue = (e) => e.disposal === "vanished";
+function sD(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !Lue(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !Iue(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 Rue(e, t) {
+function Lue(e, t) {
if (t?.kind !== "parts" && t?.kind !== "editions") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -30397,20 +30397,20 @@ function Rue(e, t) {
part_label: n
};
}
-function zue(e, t) {
+function Rue(e, t) {
if (!e || e.kind !== "parts" && e.kind !== "editions") return null;
let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];
return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;
}
-async function Bue(e, t) {
+async function zue(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = eD(n);
+ let o = tD(n);
try {
let r = n.fresh ? void 0 : U.getQueryData(o);
a = !r && n.kind === "mix", i = r || await U.fetchQuery({
queryKey: o,
- queryFn: () => aD(n, e.helpers, t),
+ queryFn: () => oD(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -30422,20 +30422,20 @@ async function Bue(e, t) {
return;
}
}
- let o = i ? oD(i, e.id) : e.id;
+ let o = i ? sD(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 ? U.getQueryData($E(o)) : void 0;
+ let s, c = a && o === i?.seedId ? U.getQueryData(eD(o)) : void 0;
try {
s = c || await U.fetchQuery({
- queryKey: $E(o),
- queryFn: () => iD(o, t),
+ queryKey: eD(o),
+ queryFn: () => aD(o, t),
staleTime: 0
});
} catch (e) {
- if (e instanceof rD) {
+ if (e instanceof iD) {
r.redirect({ kind: "gone" });
return;
}
@@ -30446,7 +30446,7 @@ async function Bue(e, t) {
id: Number(s.follow_item_id)
});
}
-function Vue(e) {
+function Bue(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = Ut(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -30468,42 +30468,42 @@ function Vue(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-var Hue = (e) => Math.min(Math.max(e || 0, 0), 100), sD = (e) => Math.round(Hue(e) / 20), Uue = (e) => {
- let t = sD(e);
+var Vue = (e) => Math.min(Math.max(e || 0, 0), 100), cD = (e) => Math.round(Vue(e) / 20), Hue = (e) => {
+ let t = cD(e);
return t ? `${t} 星` : "未评分";
-}, Wue = (e, t) => {
+}, Uue = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function Gue(e, t) {
+function Wue(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = Ut(t.tagLabel(e.k)), i = n.get(r);
(!i || Ut(e.k) === r && Ut(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var cD = (e, t) => (e.tags || []).some((e) => Ut(e.k) === Ut(t)), Kue = (e, t) => ({
+var lD = (e, t) => (e.tags || []).some((e) => Ut(e.k) === Ut(t)), Gue = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => Ut(e.k) !== Ut(t))
-}), que = (e, t) => cD(e, t.k) ? e : {
+}), Kue = (e, t) => lD(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, Jue = "peach.recentTags";
-function Yue() {
+}, que = "peach.recentTags";
+function Jue() {
try {
- let e = JSON.parse(localStorage.getItem(Jue) || "[]");
+ let e = JSON.parse(localStorage.getItem(que) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function Xue(e) {
+function Yue(e) {
try {
- let t = Yue().filter((t) => Ut(t) !== Ut(e));
- localStorage.setItem(Jue, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = Jue().filter((t) => Ut(t) !== Ut(e));
+ localStorage.setItem(que, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function Zue(e, t, n) {
+function Xue(e, t, n) {
let r = Ut(e), i = new Map(t.map((e) => [Ut(e.k), e])), a = t.filter((e) => !r || Ut(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Ut(e)) || {
k: e,
n: 0
@@ -30514,73 +30514,73 @@ function Zue(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var Que = {
+var Zue = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, $ue = {
+}, Que = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function ede(e) {
+function $ue(e) {
let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: $ue[e.kind],
+ title: Que[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var lD = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, tde = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(lD(e.part_label))}</small>` : "";
-function nde(e, t, n, r) {
+var uD = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, ede = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(uD(e.part_label))}</small>` : "";
+function tde(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var rde = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function ide(e, t) {
+var nde = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function rde(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function ade(e) {
+function ide(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 ode(e, t) {
+function ade(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 sde = (e, t, n) => [
+var ode = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function cde(e) {
+function sde(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 lde = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
-function ude(e, t = Math.random) {
+var cde = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
+function lde(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 dde(e, t) {
- return ude(((await V(`/api/items?${e}`)).items || []).filter((e) => lde(e, t)));
+async function ude(e, t) {
+ return lde(((await V(`/api/items?${e}`)).items || []).filter((e) => cde(e, t)));
}
-var fde = (e) => U.ensureQueryData({
- queryKey: $E(e),
- queryFn: ({ signal: t }) => iD(e, t)
+var dde = (e) => U.ensureQueryData({
+ queryKey: eD(e),
+ queryFn: ({ signal: t }) => aD(e, t)
});
-function pde(e, t) {
+function fde(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function mde(e) {
+function pde(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,
@@ -30589,306 +30589,306 @@ function mde(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function hde(e, t, n) {
+function mde(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 gde(e, t) {
+function hde(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 _de = 15e3, vde = {
+var gde = 15e3, _de = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, uD = null, dD = null, fD = vde, pD = /* @__PURE__ */ new Set(), mD = 0, yde = 0, hD = 0, bde = "", gD = [], _D = 0, vD = !1, yD = !1, bD = null, xD = /* @__PURE__ */ new Set(), SD = "", CD = null, wD = 0, TD = null, ED = !1;
-function DD() {
- if (!uD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return uD;
+}, dD = null, fD = null, pD = _de, mD = /* @__PURE__ */ new Set(), hD = 0, vde = 0, gD = 0, yde = "", _D = [], vD = 0, yD = !1, bD = !1, xD = null, SD = /* @__PURE__ */ new Set(), CD = "", wD = null, TD = 0, ED = null, DD = !1;
+function OD() {
+ if (!dD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return dD;
}
-function xde(e) {
- return pD.add(e), () => {
- pD.delete(e);
+function bde(e) {
+ return mD.add(e), () => {
+ mD.delete(e);
};
}
-function Sde() {
- for (let e of [...pD]) e();
+function xde() {
+ for (let e of [...mD]) e();
}
-function OD() {
- (0, pt.flushSync)(Sde);
+function kD() {
+ (0, pt.flushSync)(xde);
}
-function Cde() {
- let e = CD ? Sle(CD.id) : 0;
- return e ? `${SD} · ${jE(e)}` : SD;
+function Sde() {
+ let e = wD ? xle(wD.id) : 0;
+ return e ? `${CD} · ${ME(e)}` : CD;
}
-function kD(e, t = null) {
- clearInterval(wD), wD = 0, e === null ? (fD = {
- ...fD,
+function AD(e, t = null) {
+ clearInterval(TD), TD = 0, e === null ? (pD = {
+ ...pD,
loading: null
- }, OD()) : (SD = e, CD = t, fD = {
- ...fD,
- loading: Cde()
- }, OD(), wD = window.setInterval(() => {
- CD = gD[_D] ?? null, fD = {
- ...fD,
- loading: Cde()
- }, OD();
+ }, kD()) : (CD = e, wD = t, pD = {
+ ...pD,
+ loading: Sde()
+ }, kD(), TD = window.setInterval(() => {
+ wD = _D[vD] ?? null, pD = {
+ ...pD,
+ loading: Sde()
+ }, kD();
}, 500));
}
-function wde(e) {
+function Cde(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), dD.track.append(t);
- let r = Kle(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), fD.track.append(t);
+ let r = Gle(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => zE(r),
+ release: () => BE(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return xD.add(a), a;
+ return SD.add(a), a;
}
-function Tde(e, t) {
+function wde(e, t) {
return new Promise((n) => {
- e.release = JE(e.video, {
+ e.release = YE(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- fD.open && MD(1);
+ pD.open && ND(1);
}
}), e.gone.then(n);
});
}
-function AD(e) {
- e && !e.disposed && (e.disposed = !0, xD.delete(e), e.leave(), e.release(), e.el.remove(), bD === e && (bD = null));
+function jD(e) {
+ e && !e.disposed && (e.disposed = !0, SD.delete(e), e.leave(), e.release(), e.el.remove(), xD === e && (xD = null));
}
-var Ede = [
+var Tde = [
"loadeddata",
"canplay",
"error"
];
-function Dde(e) {
+function Ede(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), Ede.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), Tde.forEach((e) => t.removeEventListener(e, i)), n());
};
- Ede.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, _de);
+ Tde.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, gde);
e.gone.then(i);
});
}
-function jD(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = hde(e.videoWidth, e.videoHeight, n);
+function MD(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = mde(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var Ode = () => dD?.track.querySelectorAll("video").forEach(jD);
-function kde(e) {
- delete e.dataset.fit, e.readyState >= 1 ? jD(e) : e.addEventListener("loadedmetadata", () => jD(e), { once: !0 });
+var Dde = () => fD?.track.querySelectorAll("video").forEach(MD);
+function Ode(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? MD(e) : e.addEventListener("loadedmetadata", () => MD(e), { once: !0 });
}
-function Ade(e) {
- fD = {
- ...fD,
+function kde(e) {
+ pD = {
+ ...pD,
wide: e
- }, OD(), Ode();
+ }, kD(), Dde();
}
-var jde = () => {
- let e = bde;
+var Ade = () => {
+ let e = yde;
return U.fetchQuery({
- queryKey: sde(e, yde, hD),
- queryFn: () => dde(e, DD().sourceOffline),
+ queryKey: ode(e, vde, gD),
+ queryFn: () => ude(e, OD().sourceOffline),
staleTime: Infinity
});
};
-function Mde(e, t) {
+function jde(e, t) {
let n = () => qt(e.duration) || qt(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && dD && (dD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), TD = {
+ t && fD && (fD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), ED = {
video: e,
duration: n
};
}
-async function Nde(e = 0) {
- let t = gD[_D];
- if (!t || vD) return;
- let n = mD;
- DD().route(t.id), vD = !0, kD(e ? "切换中…" : "加载中…", t);
+async function Mde(e = 0) {
+ let t = _D[vD];
+ if (!t || yD) return;
+ let n = hD;
+ OD().route(t.id), yD = !0, AD(e ? "切换中…" : "加载中…", t);
let r = null;
try {
- if (await fde(t.id).catch((e) => {
- if (!(e instanceof rD)) throw e;
- }), n !== mD) return;
- let i = bD, a = !!(e && i);
- a || AD(i);
- let o = wde(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, kde(o.video), await Tde(o, t), await Dde(o), o.disposed || (Ade(gde(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await dde(t.id).catch((e) => {
+ if (!(e instanceof iD)) throw e;
+ }), n !== hD) return;
+ let i = xD, a = !!(e && i);
+ a || jD(i);
+ let o = Cde(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, Ode(o.video), await wde(o, t), await Ede(o), o.disposed || (kde(hde(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)), AD(i), o.el.style.transform = ""), o.disposed)) return;
- bD = o, r = null, o.video.play()?.catch(() => {}), fD = {
- ...fD,
+ })), await new Promise((e) => setTimeout(e, 210)), jD(i), o.el.style.transform = ""), o.disposed)) return;
+ xD = o, r = null, o.video.play()?.catch(() => {}), pD = {
+ ...pD,
idle: !1,
shown: {
item: t,
- index: _D,
- length: gD.length
+ index: vD,
+ length: _D.length
}
- }, Mde(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), kD(null);
+ }, jde(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), AD(null);
} catch {
- AD(r), n === mD && kD(null);
+ jD(r), n === hD && AD(null);
} finally {
- n === mD && (vD = !1);
+ n === hD && (yD = !1);
}
}
-async function MD(e) {
- if (vD || !fD.open) return;
- let t = mD;
- if (_D += e, kD("切换中…", gD[_D] ?? null), _D >= gD.length - 3 && !yD) {
- yD = !0;
+async function ND(e) {
+ if (yD || !pD.open) return;
+ let t = hD;
+ if (vD += e, AD("切换中…", _D[vD] ?? null), vD >= _D.length - 3 && !bD) {
+ bD = !0;
try {
- hD += 1;
- let e = await jde();
- t === mD && (gD = pde(gD, e));
+ gD += 1;
+ let e = await Ade();
+ t === hD && (_D = fde(_D, e));
} catch {} finally {
- yD = !1;
+ bD = !1;
}
}
- t === mD && (_D >= gD.length && (_D = 0), _D < 0 && (_D = gD.length - 1), await Nde(e));
+ t === hD && (vD >= _D.length && (vD = 0), vD < 0 && (vD = _D.length - 1), await Mde(e));
}
-async function Pde(e) {
- let t = ++mD;
- Fde(), yde += 1, hD = 0, bde = cde(DD().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), fD = {
- ...fD,
+async function Nde(e) {
+ let t = ++hD;
+ Pde(), vde += 1, gD = 0, yde = sde(OD().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), pD = {
+ ...pD,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), kD("加载内容…");
+ }, document.body.setAttribute("data-immerse-open", ""), AD("加载内容…");
try {
- let n = await jde();
+ let n = await Ade();
if (e && !n.some((t) => t.id === e)) {
- let t = await fde(e).catch((e) => {
- if (e instanceof rD) return null;
+ let t = await dde(e).catch((e) => {
+ if (e instanceof iD) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== mD) return;
- if (gD = n, !gD.length) {
- ND(), DD().warn("当前筛选下没有可直接播放的内容");
+ if (t !== hD) return;
+ if (_D = n, !_D.length) {
+ PD(), OD().warn("当前筛选下没有可直接播放的内容");
return;
}
- _D = Math.max(0, gD.findIndex((t) => t.id === e)), await Nde();
+ vD = Math.max(0, _D.findIndex((t) => t.id === e)), await Mde();
} catch {
- if (t !== mD) return;
- kD(null), ND();
+ if (t !== hD) return;
+ AD(null), PD();
}
}
-function Fde() {
- clearInterval(wD), wD = 0, LD(), ID = null, TD = null, ED = !1, [...xD].forEach(AD), vD = !1;
+function Pde() {
+ clearInterval(TD), TD = 0, RD(), LD = null, ED = null, DD = !1, [...SD].forEach(jD), yD = !1;
}
-function ND() {
- fD.open && (mD++, Fde(), fD = vde, document.body.removeAttribute("data-immerse-open"), OD(), DD().closed());
+function PD() {
+ pD.open && (hD++, Pde(), pD = _de, document.body.removeAttribute("data-immerse-open"), kD(), OD().closed());
}
-var PD = 0, FD = null, Ide = 0, ID = null, Lde = 0;
-function LD() {
- clearTimeout(PD), PD = 0, FD = null;
+var FD = 0, ID = null, Fde = 0, LD = null, Ide = 0;
+function RD() {
+ clearTimeout(FD), FD = 0, ID = null;
}
-function Rde(e) {
- let t = bD?.video;
+function Lde(e) {
+ let t = xD?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- FD && FD.side === n && r - FD.at <= 280 ? (LD(), due(t, DD().seekSeconds() * n)) : (PD && (clearTimeout(PD), PD = 0, YE(t)), FD = {
+ ID && ID.side === n && r - ID.at <= 280 ? (RD(), uue(t, OD().seekSeconds() * n)) : (FD && (clearTimeout(FD), FD = 0, XE(t)), ID = {
side: n,
at: r
- }, PD = window.setTimeout(() => {
- PD = 0, FD = null, fD.open && YE(bD?.video);
+ }, FD = window.setTimeout(() => {
+ FD = 0, ID = null, pD.open && XE(xD?.video);
}, 280));
}
-function zde() {
- Date.now() < Ide || YE(bD?.video);
+function Rde() {
+ Date.now() < Fde || XE(xD?.video);
}
-var RD = (e) => dD?.bar.toggleAttribute("data-scrubbing", e);
-function zD(e) {
- dD && (dD.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var zD = (e) => fD?.bar.toggleAttribute("data-scrubbing", e);
+function BD(e) {
+ fD && (fD.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function Bde(e) {
+function zde(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- ID = null;
+ LD = null;
return;
}
- let n = bD?.video;
- ID = {
+ let n = xD?.video;
+ LD = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function Vde(e) {
- if (!ID || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - ID.x, n = e.touches[0].clientY - ID.y;
- if (!ID.axis) {
+function Bde(e) {
+ if (!LD || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - LD.x, n = e.touches[0].clientY - LD.y;
+ if (!LD.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- ID.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", ID.axis === "x" && RD(!0);
+ LD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", LD.axis === "x" && zD(!0);
}
- if (ID.axis !== "x") return;
- let r = bD?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), ID.to = Math.min(i, Math.max(0, ID.from + t / window.innerWidth * i)), zD(ID.to / i));
+ if (LD.axis !== "x") return;
+ let r = xD?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), LD.to = Math.min(i, Math.max(0, LD.from + t / window.innerWidth * i)), BD(LD.to / i));
}
-function Hde(e) {
- if (!ID) return;
- let t = ID;
- if (ID = null, Ide = Date.now() + 700, RD(!1), t.axis === "x") {
- let e = bD?.video;
+function Vde(e) {
+ if (!LD) return;
+ let t = LD;
+ if (LD = null, Fde = Date.now() + 700, zD(!1), t.axis === "x") {
+ let e = xD?.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;
- Math.abs(i) > 60 ? (LD(), MD(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Rde(n.clientX));
+ Math.abs(i) > 60 ? (RD(), ND(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Lde(n.clientX));
}
-function Ude() {
- ID = null, RD(!1);
+function Hde() {
+ LD = null, zD(!1);
}
-function Wde(e) {
+function Ude(e) {
let t = Date.now();
- t - Lde < 260 || (Lde = t, MD(e.deltaY > 0 ? 1 : -1));
+ t - Ide < 260 || (Ide = t, ND(e.deltaY > 0 ? 1 : -1));
}
-function BD(e) {
- let t = dD.bar.getBoundingClientRect();
+function VD(e) {
+ let t = fD.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
+function Wde(e) {
+ ED?.duration() && (DD = !0, zD(!0), e.currentTarget.setPointerCapture(e.pointerId), BD(VD(e)), e.preventDefault());
+}
function Gde(e) {
- TD?.duration() && (ED = !0, RD(!0), e.currentTarget.setPointerCapture(e.pointerId), zD(BD(e)), e.preventDefault());
+ DD && BD(VD(e));
}
function Kde(e) {
- ED && zD(BD(e));
-}
-function qde(e) {
- if (!ED) return;
- ED = !1, RD(!1);
- let t = TD?.duration();
- TD && t && (TD.video.currentTime = t * BD(e));
+ if (!DD) return;
+ DD = !1, zD(!1);
+ let t = ED?.duration();
+ ED && t && (ED.video.currentTime = t * VD(e));
}
-function Jde() {
- ED = !1, RD(!1);
+function qde() {
+ DD = !1, zD(!1);
}
-async function VD(e, t) {
- let n = await H(Mue, {
+async function HD(e, t) {
+ let n = await H(jue, {
id: e,
kind: t
- }), r = U.getQueryData($E(e));
- if (!r) return QE(e, {
+ }), r = U.getQueryData(eD(e));
+ if (!r) return $E(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -30897,7 +30897,7 @@ async function VD(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return U.setQueryData($E(e), i), QE(e, {
+ return U.setQueryData(eD(e), i), $E(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -30905,7 +30905,7 @@ async function VD(e, t) {
o_count: i.o_count
}), n;
}
-var Yde = [
+var Jde = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -30922,31 +30922,31 @@ var Yde = [
label: "记一次高潮"
}
];
-function Xde(e) {
+function Yde(e) {
return ut({
- queryKey: $E(e ?? 0),
- queryFn: ({ signal: t }) => iD(e, t),
+ queryKey: eD(e ?? 0),
+ queryFn: ({ signal: t }) => aD(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function Zde({ kind: e, glyph: t, label: n, id: r }) {
- let i = Xde(r), a = dt({
+function Xde({ kind: e, glyph: t, label: n, id: r }) {
+ let i = Yde(r), a = dt({
mutationFn: async (t) => {
- let n = U.getQueryData($E(t))?.feedback || null;
+ let n = U.getQueryData(eD(t))?.feedback || null;
return {
- result: await VD(t, e),
+ result: await HD(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- DD().toast(ode(e, t), { undo: async () => {
- e === "o" ? await VD(r, "o-undo") : (t.feedback && await VD(r, t.feedback), n && await VD(r, n));
+ OD().toast(ade(e, t), { undo: async () => {
+ e === "o" ? await HD(r, "o-undo") : (t.feedback && await HD(r, t.feedback), n && await HD(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- MD(1);
+ ND(1);
}, 260);
},
- onError: (e) => DD().failure("更新反馈", e)
+ onError: (e) => OD().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-immerse-action": "",
@@ -30977,11 +30977,11 @@ function Zde({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function Qde({ shown: e }) {
- let t = e?.item ?? null, n = Xde(t?.id ?? null), r = n ? mde(n) : null, i = DD(), a = (e) => {
- e.preventDefault(), n && (ND(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function Zde({ shown: e }) {
+ let t = e?.item ?? null, n = Yde(t?.id ?? null), r = n ? pde(n) : null, i = OD(), a = (e) => {
+ e.preventDefault(), n && (PD(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (ND(), i.openItem(t.id));
+ t && (PD(), i.openItem(t.id));
}, s = r ? aa(r.name, r.ref, Ui(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-immerse-ui": "",
@@ -31010,18 +31010,18 @@ function Qde({ shown: e }) {
})]
});
}
-var $de = { __html: eo("媒体加载中") };
-function efe({ view: e }) {
+var Qde = { __html: eo("媒体加载中") };
+function $de({ 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 dD = {
+ return fD = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", Bde, { passive: !0 }), e.addEventListener("touchmove", Vde, { passive: !1 }), e.addEventListener("touchend", Hde, { passive: !1 }), e.addEventListener("touchcancel", Ude, { passive: !0 }), e.addEventListener("wheel", Wde, { passive: !0 }), () => {
- e.removeEventListener("touchstart", Bde), e.removeEventListener("touchmove", Vde), e.removeEventListener("touchend", Hde), e.removeEventListener("touchcancel", Ude), e.removeEventListener("wheel", Wde), dD = null;
+ }, e.addEventListener("touchstart", zde, { passive: !0 }), e.addEventListener("touchmove", Bde, { passive: !1 }), e.addEventListener("touchend", Vde, { passive: !1 }), e.addEventListener("touchcancel", Hde, { passive: !0 }), e.addEventListener("wheel", Ude, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", zde), e.removeEventListener("touchmove", Bde), e.removeEventListener("touchend", Vde), e.removeEventListener("touchcancel", Hde), e.removeEventListener("wheel", Ude), fD = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -31038,10 +31038,10 @@ function efe({ view: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: zde
+ onClick: Rde
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-immerse-actions": "",
- children: Yde.map((e) => /* @__PURE__ */ (0, x.jsx)(Zde, {
+ children: Jde.map((e) => /* @__PURE__ */ (0, x.jsx)(Xde, {
...e,
id: a
}, e.kind))
@@ -31054,7 +31054,7 @@ function efe({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: $de
+ dangerouslySetInnerHTML: Qde
}), /* @__PURE__ */ (0, x.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -31062,7 +31062,7 @@ function efe({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: ND,
+ onClick: PD,
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })
@@ -31071,97 +31071,97 @@ function efe({ view: e }) {
/* @__PURE__ */ (0, x.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: Gde,
- onPointerMove: Kde,
- onPointerUp: qde,
- onPointerCancel: Jde,
+ onPointerDown: Wde,
+ onPointerMove: Gde,
+ onPointerUp: Kde,
+ onPointerCancel: qde,
children: /* @__PURE__ */ (0, x.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, x.jsx)(Qde, { shown: e.shown })
+ /* @__PURE__ */ (0, x.jsx)(Zde, { shown: e.shown })
]
});
}
-var tfe = {
- open: Pde,
- close: ND,
- isOpen: () => fD.open,
- activeVideo: () => fD.open ? bD?.video ?? null : null
+var efe = {
+ open: Nde,
+ close: PD,
+ isOpen: () => pD.open,
+ activeVideo: () => pD.open ? xD?.video ?? null : null
};
-function nfe(e) {
- if (!fD.open) return;
+function tfe(e) {
+ if (!pD.open) return;
let t = e.target;
- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && MD(1), e.key === "ArrowUp" && MD(-1)));
+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && ND(1), e.key === "ArrowUp" && ND(-1)));
}
-function rfe(e) {
- let t = !uD;
- return uD = e, t && (document.addEventListener("keydown", nfe), addEventListener("resize", () => {
- fD.open && Ode();
+function nfe(e) {
+ let t = !dD;
+ return dD = e, t && (document.addEventListener("keydown", tfe), addEventListener("resize", () => {
+ pD.open && Dde();
}), addEventListener("pagehide", () => {
- xD.forEach((e) => zE(e.session));
- })), tfe;
+ SD.forEach((e) => BE(e.session));
+ })), efe;
}
-function ife() {
- let e = (0, b.useSyncExternalStore)(xde, () => fD);
- return uD ? /* @__PURE__ */ (0, x.jsx)(efe, { view: e }) : null;
+function rfe() {
+ let e = (0, b.useSyncExternalStore)(bde, () => pD);
+ return dD ? /* @__PURE__ */ (0, x.jsx)($de, { view: e }) : null;
}
//#endregion
//#region src/manage-header.ts
-var afe = {
+var ife = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/sources": "来源和凭证"
-}, ofe = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
-function sfe(e) {
- let t = afe[e.path] ? "cleanup" : e.section;
+}, afe = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
+function ofe(e) {
+ let t = ife[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var cfe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
-function HD(e) {
+var sfe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+function UD(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = afe[e.path] ?? "";
+ let n = ife[e.path] ?? "";
return {
title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],
- pressed: sfe(e),
+ pressed: ofe(e),
crumb: n,
- compact: ofe.has(e.path) || e.section === "configuration",
+ compact: afe.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: cfe(e.trash),
+ text: sfe(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var UD = (e) => e.replace(/[&<>"']/g, (e) => ({
+var WD = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), lfe = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${UD(e)}"/></svg>`, ufe = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
-function dfe(e) {
- let t = HD(e);
+})[e]), cfe = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${WD(e)}"/></svg>`, lfe = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+function ufe(e) {
+ let t = UD(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
- return `<button type="button" data-manage="${UD(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${lfe(r)}<span>${UD(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${lfe("chevron-right")}</li><li aria-current="true"><span>${UD(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? ufe : `<span data-lede-text="">${UD(t.lede.text)}</span>${t.lede.total ? ffe : ""}`}</p>`;
- return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${UD(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;
+ return `<button type="button" data-manage="${WD(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${cfe(r)}<span>${WD(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${cfe("chevron-right")}</li><li aria-current="true"><span>${WD(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? lfe : `<span data-lede-text="">${WD(t.lede.text)}</span>${t.lede.total ? dfe : ""}`}</p>`;
+ return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${WD(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;
}
-var ffe = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var dfe = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
//#endregion
//#region src/react/settings-panel/icon.tsx
-function WD({ name: e }) {
+function GD({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function pfe({ name: e }) {
+function ffe({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -31170,52 +31170,52 @@ function pfe({ name: e }) {
}
//#endregion
//#region src/react/manage-header/manage-header-island.tsx
-var GD = null, KD = null, qD = /* @__PURE__ */ new Set();
-function mfe(e) {
- return qD.add(e), () => {
- qD.delete(e);
+var KD = null, qD = null, JD = /* @__PURE__ */ new Set();
+function pfe(e) {
+ return JD.add(e), () => {
+ JD.delete(e);
};
}
-function hfe() {
- for (let e of [...qD]) e();
+function mfe() {
+ for (let e of [...JD]) e();
}
-var gfe = { render(e) {
- KD = e, (0, pt.flushSync)(hfe);
+var hfe = { render(e) {
+ qD = e, (0, pt.flushSync)(mfe);
} };
-function _fe(e) {
- return GD = e, KD = null, gfe;
+function gfe(e) {
+ return KD = e, qD = null, hfe;
}
-function vfe() {
- let e = (0, b.useSyncExternalStore)(mfe, () => KD);
- return GD && e ? /* @__PURE__ */ (0, x.jsx)(yfe, {
- host: GD,
+function _fe() {
+ let e = (0, b.useSyncExternalStore)(pfe, () => qD);
+ return KD && e ? /* @__PURE__ */ (0, x.jsx)(vfe, {
+ host: KD,
props: e
}) : null;
}
-function yfe({ host: e, props: t }) {
- let n = HD(t);
+function vfe({ host: e, props: t }) {
+ let n = UD(t);
return n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("h2", {
"data-manage-title": "",
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.crumb ? /* @__PURE__ */ (0, x.jsx)(xfe, {
+ n.crumb ? /* @__PURE__ */ (0, x.jsx)(bfe, {
host: e,
label: n.crumb
}) : null,
- /* @__PURE__ */ (0, x.jsx)(bfe, {
+ /* @__PURE__ */ (0, x.jsx)(yfe, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(Sfe, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(xfe, {
host: e,
lede: n.lede
})
] }) : null;
}
-function bfe({ host: e, pressed: t, menu: n }) {
+function yfe({ host: e, pressed: t, menu: n }) {
let r = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");
@@ -31236,13 +31236,13 @@ function bfe({ host: e, pressed: t, menu: n }) {
"aria-pressed": a,
"aria-current": a ? "page" : void 0,
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, x.jsx)(WD, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, x.jsx)(GD, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]
}, n);
})
})
});
}
-function xfe({ host: e, label: t }) {
+function bfe({ host: e, label: t }) {
return /* @__PURE__ */ (0, x.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "Breadcrumb",
@@ -31252,20 +31252,20 @@ function xfe({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {
+ }), /* @__PURE__ */ (0, x.jsx)(GD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, x.jsx)("span", { children: t })
})] })
});
}
-function Sfe({ host: e, lede: t }) {
+function xfe({ host: e, lede: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: ufe }
- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Cfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: lfe }
+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Sfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -31275,7 +31275,7 @@ function Sfe({ host: e, lede: t }) {
}) : null] })
});
}
-function Cfe({ text: e }) {
+function Sfe({ text: e }) {
let t = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
so(t.current, e);
@@ -31286,20 +31286,20 @@ function Cfe({ text: e }) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/url.js
-var wfe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, Tfe = /^[\\/]{2}/;
-function Efe(e, t) {
+var Cfe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, wfe = /^[\\/]{2}/;
+function Tfe(e, t) {
return t + e.replace(/\\/g, "/");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/history.js
-var Dfe = "popstate";
-function Ofe(e) {
+var Efe = "popstate";
+function Dfe(e) {
return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;
}
-function kfe(e = {}) {
+function Ofe(e = {}) {
function t(e, t) {
let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;
- return XD("", {
+ return ZD("", {
pathname: r,
search: i,
hash: a
@@ -31310,14 +31310,14 @@ function kfe(e = {}) {
} : void 0);
}
function n(e, t) {
- return typeof t == "string" ? t : ZD(t);
+ return typeof t == "string" ? t : QD(t);
}
- return Mfe(t, n, null, e);
+ return jfe(t, n, null, e);
}
-function JD(e, t) {
+function YD(e, t) {
if (e === !1 || e == null) throw Error(t);
}
-function YD(e, t) {
+function XD(e, t) {
if (!e) {
typeof console < "u" && console.warn(t);
try {
@@ -31325,10 +31325,10 @@ function YD(e, t) {
} catch {}
}
}
-function Afe() {
+function kfe() {
return Math.random().toString(36).substring(2, 10);
}
-function jfe(e, t) {
+function Afe(e, t) {
return {
usr: e.state,
key: e.key,
@@ -31340,21 +31340,21 @@ function jfe(e, t) {
} : void 0
};
}
-function XD(e, t, n = null, r, i) {
+function ZD(e, t, n = null, r, i) {
return {
pathname: typeof e == "string" ? e : e.pathname,
search: "",
hash: "",
- ...typeof t == "string" ? QD(t) : t,
+ ...typeof t == "string" ? $D(t) : t,
state: n,
- key: t && t.key || r || Afe(),
+ key: t && t.key || r || kfe(),
mask: i
};
}
-function ZD({ pathname: e = "/", search: t = "", hash: n = "" }) {
+function QD({ 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 QD(e) {
+function $D(e) {
let t = {};
if (e) {
let n = e.indexOf("#");
@@ -31364,7 +31364,7 @@ function QD(e) {
}
return t;
}
-function Mfe(e, t, n, r = {}) {
+function jfe(e, t, n, r = {}) {
let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();
l ?? (l = 0, o.replaceState({
...o.state,
@@ -31384,9 +31384,9 @@ function Mfe(e, t, n, r = {}) {
}
function f(e, t) {
s = "PUSH";
- let r = Ofe(e) ? e : XD(h.location, e, t);
+ let r = Dfe(e) ? e : ZD(h.location, e, t);
n && n(r, e), l = u() + 1;
- let d = jfe(r, l), f = h.createHref(r.mask || r);
+ let d = Afe(r, l), f = h.createHref(r.mask || r);
try {
o.pushState(d, "", f);
} catch (e) {
@@ -31401,9 +31401,9 @@ function Mfe(e, t, n, r = {}) {
}
function p(e, t) {
s = "REPLACE";
- let r = Ofe(e) ? e : XD(h.location, e, t);
+ let r = Dfe(e) ? e : ZD(h.location, e, t);
n && n(r, e), l = u();
- let i = jfe(r, l), d = h.createHref(r.mask || r);
+ let i = Afe(r, l), d = h.createHref(r.mask || r);
o.replaceState(i, "", d), a && c && c({
action: s,
location: h.location,
@@ -31411,7 +31411,7 @@ function Mfe(e, t, n, r = {}) {
});
}
function m(e) {
- return Nfe(i, e);
+ return Mfe(i, e);
}
let h = {
get action() {
@@ -31422,8 +31422,8 @@ function Mfe(e, t, n, r = {}) {
},
listen(e) {
if (c) throw Error("A history only accepts one active listener");
- return i.addEventListener(Dfe, d), c = e, () => {
- i.removeEventListener(Dfe, d), c = null;
+ return i.addEventListener(Efe, d), c = e, () => {
+ i.removeEventListener(Efe, d), c = null;
};
},
createHref(e) {
@@ -31446,29 +31446,29 @@ function Mfe(e, t, n, r = {}) {
};
return h;
}
-function Nfe(e, t, n = !1) {
+function Mfe(e, t, n = !1) {
let r = "http://localhost";
- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), JD(r, "No window.location.(origin|href) available to create URL");
- let i = typeof t == "string" ? t : ZD(t);
- return i = i.replace(/ $/, "%20"), !n && Tfe.test(i) && (i = r + i), new URL(i, r);
+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), YD(r, "No window.location.(origin|href) available to create URL");
+ let i = typeof t == "string" ? t : QD(t);
+ return i = i.replace(/ $/, "%20"), !n && wfe.test(i) && (i = r + i), new URL(i, r);
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/utils.js
-function Pfe(e, t, n = "/") {
- return Ffe(e, t, n, !1);
+function Nfe(e, t, n = "/") {
+ return Pfe(e, t, n, !1);
}
-function Ffe(e, t, n, r, i) {
- let a = eO((typeof t == "string" ? QD(t) : t).pathname || "/", n);
+function Pfe(e, t, n, r, i) {
+ let a = tO((typeof t == "string" ? $D(t) : t).pathname || "/", n);
if (a == null) return null;
- let o = i ?? Ife(e), s = null, c = epe(a);
- for (let e = 0; s == null && e < o.length; ++e) s = Zfe(o[e], c, r);
+ let o = i ?? Ffe(e), s = null, c = $fe(a);
+ for (let e = 0; s == null && e < o.length; ++e) s = Xfe(o[e], c, r);
return s;
}
-function Ife(e) {
- let t = Lfe(e);
- return zfe(t), t;
+function Ffe(e) {
+ let t = Ife(e);
+ return Rfe(t), t;
}
-function Lfe(e, t = [], n = [], r = "", i = !1) {
+function Ife(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
let c = {
relativePath: s === void 0 ? e.path || "" : s,
@@ -31478,14 +31478,14 @@ function Lfe(e, t = [], n = [], r = "", i = !1) {
};
if (c.relativePath.startsWith("/")) {
if (!c.relativePath.startsWith(r) && o) return;
- JD(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
+ YD(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
}
- let l = nO([r, c.relativePath]), u = n.concat(c);
- e.children && e.children.length > 0 && (JD(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), Lfe(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
+ let l = rO([r, c.relativePath]), u = n.concat(c);
+ e.children && e.children.length > 0 && (YD(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), Ife(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
path: l,
- score: Yfe(l, e.index),
+ score: Jfe(l, e.index),
routesMeta: u.map((e, t) => {
- let [n, r] = $fe(e.relativePath, e.caseSensitive, t === u.length - 1);
+ let [n, r] = Qfe(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
...e,
matcher: n,
@@ -31496,68 +31496,68 @@ function Lfe(e, t = [], n = [], r = "", i = !1) {
};
return e.forEach((e, t) => {
if (e.path === "" || !e.path?.includes("?")) a(e, t);
- else for (let n of Rfe(e.path)) a(e, t, !0, n);
+ else for (let n of Lfe(e.path)) a(e, t, !0, n);
}), t;
}
-function Rfe(e) {
+function Lfe(e) {
let t = e.split("/");
if (t.length === 0) return [];
let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");
if (r.length === 0) return i ? [a, ""] : [a];
- let o = Rfe(r.join("/")), s = [];
+ let o = Lfe(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 zfe(e) {
- e.sort((e, t) => e.score === t.score ? Xfe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
+function Rfe(e) {
+ e.sort((e, t) => e.score === t.score ? Yfe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var Bfe = /^:[\w-]+$/, Vfe = /^:[\w-]+/, Hfe = 3.5, Ufe = 3, Wfe = 2, Gfe = 1, Kfe = 10, qfe = -2, Jfe = (e) => e === "*";
-function Yfe(e, t) {
+var zfe = /^:[\w-]+$/, Bfe = /^:[\w-]+/, Vfe = 3.5, Hfe = 3, Ufe = 2, Wfe = 1, Gfe = 10, Kfe = -2, qfe = (e) => e === "*";
+function Jfe(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(Jfe) && (r += qfe), t && (r += Wfe), n.filter((e) => !Jfe(e)).reduce((e, t) => e + (Bfe.test(t) ? Ufe : Vfe.test(t) ? Hfe : t === "" ? Gfe : Kfe), r);
+ return n.some(qfe) && (r += Kfe), t && (r += Ufe), n.filter((e) => !qfe(e)).reduce((e, t) => e + (zfe.test(t) ? Hfe : Bfe.test(t) ? Vfe : t === "" ? Wfe : Gfe), r);
}
-function Xfe(e, t) {
+function Yfe(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 Zfe(e, t, n = !1) {
+function Xfe(e, t, n = !1) {
let { routesMeta: r } = e, i = {}, a = "/", o = [];
for (let e = 0; e < r.length; ++e) {
let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: c
- }, d = s.matcher && s.compiledParams ? Qfe(u, l, s.matcher, s.compiledParams) : $D(u, l), f = s.route;
- if (!d && c && n && !r[r.length - 1].route.index && (d = $D({
+ }, d = s.matcher && s.compiledParams ? Zfe(u, l, s.matcher, s.compiledParams) : eO(u, l), f = s.route;
+ if (!d && c && n && !r[r.length - 1].route.index && (d = eO({
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: !1
}, l)), !d) return null;
Object.assign(i, d.params), o.push({
params: i,
- pathname: nO([a, d.pathname]),
- pathnameBase: spe(nO([a, d.pathnameBase])),
+ pathname: rO([a, d.pathname]),
+ pathnameBase: ope(rO([a, d.pathnameBase])),
route: f
- }), d.pathnameBase !== "/" && (a = nO([a, d.pathnameBase]));
+ }), d.pathnameBase !== "/" && (a = rO([a, d.pathnameBase]));
}
return o;
}
-function $D(e, t) {
+function eO(e, t) {
typeof e == "string" && (e = {
path: e,
caseSensitive: !1,
end: !0
});
- let [n, r] = $fe(e.path, e.caseSensitive, e.end);
- return Qfe(e, t, n, r);
+ let [n, r] = Qfe(e.path, e.caseSensitive, e.end);
+ return Zfe(e, t, n, r);
}
-function Qfe(e, t, n, r) {
+function Zfe(e, t, n, r) {
let i = t.match(n);
if (!i) return null;
- let a = i[0], o = rO(a, 1), s = i.slice(1);
+ let a = i[0], o = iO(a, 1), s = i.slice(1);
return {
params: r.reduce((e, { paramName: t, isOptional: n }, r) => {
if (t === "*") {
let e = s[r] || "";
- o = rO(a.slice(0, a.length - e.length), 1);
+ o = iO(a.slice(0, a.length - e.length), 1);
}
let i = s[r];
return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;
@@ -31567,8 +31567,8 @@ function Qfe(e, t, n, r) {
pattern: e
};
}
-function $fe(e, t = !1, n = !0) {
- YD(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
+function Qfe(e, t = !1, n = !0) {
+ XD(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {
if (r.push({
paramName: t,
@@ -31581,46 +31581,46 @@ function $fe(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 epe(e) {
+function $fe(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
- return YD(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
+ return XD(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
}
}
-function eO(e, t) {
+function tO(e, t) {
if (t === "/") return e;
if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;
let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);
return r && r !== "/" ? null : e.slice(n) || "/";
}
-function tpe(e, t = "/") {
- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? QD(e) : e, a;
- return n ? (n = ope(n), a = n.startsWith("/") || n.startsWith("\\") ? npe(n.substring(1), "/") : npe(n, t)) : a = t, {
+function epe(e, t = "/") {
+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? $D(e) : e, a;
+ return n ? (n = ape(n), a = n.startsWith("/") || n.startsWith("\\") ? tpe(n.substring(1), "/") : tpe(n, t)) : a = t, {
pathname: a,
- search: cpe(r),
- hash: lpe(i)
+ search: spe(r),
+ hash: cpe(i)
};
}
-function npe(e, t) {
- let n = rO(t).split("/");
+function tpe(e, t) {
+ let n = iO(t).split("/");
return e.split("/").forEach((e) => {
e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);
}), n.length > 1 ? n.join("/") : "/";
}
-function tO(e, t, n, r) {
+function nO(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 rpe(e) {
+function npe(e) {
return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
}
-function ipe(e) {
- let t = rpe(e);
+function rpe(e) {
+ let t = npe(e);
return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
}
-function ape(e, t, n, r = !1) {
+function ipe(e, t, n, r = !1) {
let i;
- typeof e == "string" ? i = QD(e) : (i = { ...e }, JD(!i.pathname || !i.pathname.includes("?"), tO("?", "pathname", "search", i)), JD(!i.pathname || !i.pathname.includes("#"), tO("#", "pathname", "hash", i)), JD(!i.search || !i.search.includes("#"), tO("#", "search", "hash", i)));
+ typeof e == "string" ? i = $D(e) : (i = { ...e }, YD(!i.pathname || !i.pathname.includes("?"), nO("?", "pathname", "search", i)), YD(!i.pathname || !i.pathname.includes("#"), nO("#", "pathname", "hash", i)), YD(!i.search || !i.search.includes("#"), nO("#", "search", "hash", i)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
if (o == null) s = n;
else {
@@ -31632,16 +31632,16 @@ function ape(e, t, n, r = !1) {
}
s = e >= 0 ? t[e] : "/";
}
- let c = tpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
+ let c = epe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;
}
-var ope = (e) => e.replace(/[\\/]{2,}/g, "/"), nO = (e) => ope(e.join("/"));
-function rO(e, t = 0) {
+var ape = (e) => e.replace(/[\\/]{2,}/g, "/"), rO = (e) => ape(e.join("/"));
+function iO(e, t = 0) {
let n = e.length;
for (; n > t && e.charCodeAt(n - 1) === 47;) n--;
return n === e.length ? e : e.slice(0, n);
}
-var spe = (e) => rO(e).replace(/^\/*/, "/"), cpe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, lpe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, upe = class {
+var ope = (e) => iO(e).replace(/^\/*/, "/"), spe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, cpe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, lpe = class {
status;
statusText;
data;
@@ -31651,26 +31651,26 @@ var spe = (e) => rO(e).replace(/^\/*/, "/"), cpe = (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 dpe(e) {
+function upe(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
-function fpe(e) {
- return nO(e.map((e) => e.route.path).filter(Boolean)) || "/";
+function dpe(e) {
+ return rO(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
-var ppe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
-function mpe(e, t) {
+var fpe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
+function ppe(e, t) {
let n = e;
- if (typeof n != "string" || !wfe.test(n)) return {
+ if (typeof n != "string" || !Cfe.test(n)) return {
absoluteURL: void 0,
isExternal: !1,
to: n
};
let r = n, i = !1;
- if (ppe) try {
- let e = new URL(window.location.href), r = Tfe.test(n) ? new URL(Efe(n, e.protocol)) : new URL(n), a = eO(r.pathname, t);
+ if (fpe) try {
+ let e = new URL(window.location.href), r = wfe.test(n) ? new URL(Tfe(n, e.protocol)) : new URL(n), a = tO(r.pathname, t);
r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;
} catch {
- YD(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
+ XD(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
}
return {
absoluteURL: r,
@@ -31680,45 +31680,45 @@ function mpe(e, t) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/navigation.js
-var hpe = new URL("http://localhost");
-function gpe(e) {
+var mpe = new URL("http://localhost");
+function hpe(e) {
if (e.createURL) return e.createURL("/");
try {
- return new URL(e.createHref("/"), hpe);
+ return new URL(e.createHref("/"), mpe);
} catch {
- return hpe;
+ return mpe;
}
}
-function iO(e, t) {
+function aO(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
-function _pe(e, t) {
+function gpe(e, t) {
if (e.startsWith("//")) return !0;
let n = t.protocol.toLowerCase();
return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;
}
-function vpe(e, t, n, r) {
+function _pe(e, t, n, r) {
let i = null;
try {
i = e == null ? null : new URL(e, n);
} catch {}
- let a = new URL(t, n), o = i != null && !iO(i, n), s = !iO(a, n);
+ let a = new URL(t, n), o = i != null && !aO(i, n), s = !aO(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !_pe(e, i) || !iO(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !gpe(e, i) || !aO(i, a))) throw Error("External navigation is not allowed");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/router.js
-var ype = [
+var vpe = [
"POST",
"PUT",
"PATCH",
"DELETE"
];
+new Set(vpe);
+var ype = ["GET", ...vpe];
new Set(ype);
-var bpe = ["GET", ...ype];
-new Set(bpe);
-var xpe = [
+var bpe = [
"about:",
"blob:",
"chrome:",
@@ -31730,85 +31730,85 @@ var xpe = [
"filesystem:",
"javascript:"
];
-function Spe(e) {
+function xpe(e) {
try {
- return xpe.includes(new URL(e).protocol);
+ return bpe.includes(new URL(e).protocol);
} catch {
return !1;
}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/context.js
-var aO = b.createContext(null);
-aO.displayName = "DataRouter";
+var oO = b.createContext(null);
+oO.displayName = "DataRouter";
+var Spe = b.createContext(null);
+Spe.displayName = "DataRouterState";
var Cpe = b.createContext(null);
-Cpe.displayName = "DataRouterState";
+Cpe.displayName = "DataRouterData";
var wpe = b.createContext(null);
-wpe.displayName = "DataRouterData";
-var Tpe = b.createContext(null);
-Tpe.displayName = "DataRouterNavigation";
-var Epe = b.createContext(!1), Dpe = b.createContext({ isTransitioning: !1 });
-Dpe.displayName = "ViewTransition";
+wpe.displayName = "DataRouterNavigation";
+var Tpe = b.createContext(!1), Epe = b.createContext({ isTransitioning: !1 });
+Epe.displayName = "ViewTransition";
+var Dpe = b.createContext(null);
+Dpe.displayName = "Fetchers";
var Ope = b.createContext(null);
-Ope.displayName = "Fetchers";
-var kpe = b.createContext(null);
-kpe.displayName = "Await";
-var oO = b.createContext(null);
-oO.displayName = "Navigation";
+Ope.displayName = "Await";
var sO = b.createContext(null);
-sO.displayName = "Location";
-var cO = b.createContext({
+sO.displayName = "Navigation";
+var cO = b.createContext(null);
+cO.displayName = "Location";
+var lO = b.createContext({
outlet: null,
matches: [],
isDataRoute: !1
});
-cO.displayName = "Route";
-var lO = b.createContext(!1);
-lO.displayName = "IsDataRoute";
-var uO = b.createContext(void 0);
-uO.displayName = "RouteId";
-var dO = b.createContext(null);
-dO.displayName = "RouteError";
+lO.displayName = "Route";
+var uO = b.createContext(!1);
+uO.displayName = "IsDataRoute";
+var dO = b.createContext(void 0);
+dO.displayName = "RouteId";
+var fO = b.createContext(null);
+fO.displayName = "RouteError";
//#endregion
//#region node_modules/react-router/dist/production/lib/errors.js
-var Ape = "REACT_ROUTER_ERROR", jpe = "REDIRECT", Mpe = "ROUTE_ERROR_RESPONSE";
-function Npe(e) {
- if (e.startsWith(`${Ape}:${jpe}:{`)) try {
+var kpe = "REACT_ROUTER_ERROR", Ape = "REDIRECT", jpe = "ROUTE_ERROR_RESPONSE";
+function Mpe(e) {
+ if (e.startsWith(`${kpe}:${Ape}:{`)) 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 Ppe(e) {
- if (e.startsWith(`${Ape}:${Mpe}:{`)) try {
+function Npe(e) {
+ if (e.startsWith(`${kpe}:${jpe}:{`)) try {
let t = JSON.parse(e.slice(40));
- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new upe(t.status, t.statusText, t.data);
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new lpe(t.status, t.statusText, t.data);
} catch {}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/hooks.js
-function fO() {
- return b.useContext(sO) != null;
-}
function pO() {
- return JD(fO(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(sO).location;
+ return b.useContext(cO) != null;
}
-var Fpe = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
-function Ipe() {
- return b.useContext(lO) ? Zpe() : Lpe();
+function mO() {
+ return YD(pO(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(cO).location;
+}
+var Ppe = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
+function Fpe() {
+ return b.useContext(uO) ? Xpe() : Ipe();
}
-function Lpe() {
- JD(fO(), "useNavigate() may be used only in the context of a <Router> component.");
- let e = b.useContext(aO), { basename: t, navigator: n } = b.useContext(oO), { matches: r } = b.useContext(cO), { pathname: i } = pO(), a = JSON.stringify(ipe(r)), o = b.useRef(!1);
+function Ipe() {
+ YD(pO(), "useNavigate() may be used only in the context of a <Router> component.");
+ let e = b.useContext(oO), { basename: t, navigator: n } = b.useContext(sO), { matches: r } = b.useContext(lO), { pathname: i } = mO(), a = JSON.stringify(rpe(r)), o = b.useRef(!1);
return b.useLayoutEffect(() => {
o.current = !0;
}), b.useCallback((r, s = {}) => {
- if (YD(o.current, Fpe), !o.current) return;
+ if (XD(o.current, Ppe), !o.current) return;
if (typeof r == "number") {
n.go(r);
return;
}
- let c = ape(r, JSON.parse(a), i, s.relative === "path");
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : nO([t, c.pathname])), vpe(typeof r == "string" ? r : ZD(r), n.createHref(c), gpe(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
+ let c = ipe(r, JSON.parse(a), i, s.relative === "path");
+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : rO([t, c.pathname])), _pe(typeof r == "string" ? r : QD(r), n.createHref(c), hpe(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
n,
@@ -31818,19 +31818,19 @@ function Lpe() {
]);
}
b.createContext(null);
-function Rpe(e, t) {
- return zpe(e, t);
+function Lpe(e, t) {
+ return Rpe(e, t);
}
-function zpe(e, t, n) {
- JD(fO(), "useRoutes() may be used only in the context of a <Router> component.");
- let { navigator: r } = b.useContext(oO), { matches: i } = b.useContext(cO), a = i[i.length - 1], o = a ? a.params : {};
+function Rpe(e, t, n) {
+ YD(pO(), "useRoutes() may be used only in the context of a <Router> component.");
+ let { navigator: r } = b.useContext(sO), { matches: i } = b.useContext(lO), a = i[i.length - 1], o = a ? a.params : {};
a && a.pathname;
let s = a ? a.pathnameBase : "/";
a && a.route;
- let c = pO(), l;
+ let c = mO(), l;
if (t) {
- let e = typeof t == "string" ? QD(t) : t;
- JD(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
+ let e = typeof t == "string" ? $D(t) : t;
+ YD(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
} else l = c;
let u = l.pathname || "/", d = u;
if (s !== "/") {
@@ -31838,13 +31838,13 @@ function zpe(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) : Pfe(e, { pathname: d });
- let p = Gpe(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) : Nfe(e, { pathname: d });
+ let p = Wpe(f && f.map((e) => Object.assign({}, e, {
params: Object.assign({}, o, e.params),
- pathname: nO([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
- pathnameBase: e.pathnameBase === "/" ? s : nO([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
+ pathname: rO([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
+ pathnameBase: e.pathnameBase === "/" ? s : rO([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
})), i, n);
- return t && p ? /* @__PURE__ */ b.createElement(sO.Provider, { value: {
+ return t && p ? /* @__PURE__ */ b.createElement(cO.Provider, { value: {
location: {
pathname: "/",
search: "",
@@ -31857,14 +31857,14 @@ function zpe(e, t, n) {
navigationType: "POP"
} }, p) : p;
}
-function Bpe() {
- let e = Xpe(), t = dpe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+function zpe() {
+ let e = Ype(), t = upe(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 Vpe = /* @__PURE__ */ b.createElement(Bpe, null), Hpe = class extends b.Component {
+var Bpe = /* @__PURE__ */ b.createElement(zpe, null), Vpe = class extends b.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -31872,7 +31872,7 @@ var Vpe = /* @__PURE__ */ b.createElement(Bpe, null), Hpe = class extends b.Comp
error: e.error
};
}
- static contextType = Epe;
+ static contextType = Tpe;
static getDerivedStateFromError(e) {
return { error: e };
}
@@ -31893,30 +31893,30 @@ var Vpe = /* @__PURE__ */ b.createElement(Bpe, null), Hpe = 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 = Ppe(e.digest);
+ let t = Npe(e.digest);
t && (e = t);
}
- let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(cO.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(lO.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(uO.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(dO.Provider, {
+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(lO.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(uO.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(dO.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(fO.Provider, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ b.createElement(Upe, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ b.createElement(Hpe, { error: e }, t) : t;
}
-}, mO = /* @__PURE__ */ new WeakMap();
-function Upe({ children: e, error: t }) {
- let { basename: n, navigator: r } = b.useContext(oO);
+}, hO = /* @__PURE__ */ new WeakMap();
+function Hpe({ children: e, error: t }) {
+ let { basename: n, navigator: r } = b.useContext(sO);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
- let e = Npe(t.digest);
+ let e = Mpe(t.digest);
if (e) {
- let i = mO.get(t);
+ let i = hO.get(t);
if (i) throw i;
- let a = mpe(e.location, n), o = a.absoluteURL || a.to;
- if (vpe(e.location, o, gpe(r), "allow-explicit"), Spe(o)) throw Error("Invalid redirect location");
- if (ppe && !mO.get(t)) {
+ let a = ppe(e.location, n), o = a.absoluteURL || a.to;
+ if (_pe(e.location, o, hpe(r), "allow-explicit"), xpe(o)) throw Error("Invalid redirect location");
+ if (fpe && !hO.get(t)) {
if (a.isExternal || e.reloadDocument) window.location.href = o;
else {
let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));
- throw mO.set(t, n), n;
+ throw hO.set(t, n), n;
}
}
return /* @__PURE__ */ b.createElement("meta", {
@@ -31927,11 +31927,11 @@ function Upe({ children: e, error: t }) {
}
return e;
}
-function Wpe({ routeContext: e, match: t, children: n }) {
- let r = b.useContext(aO);
- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(cO.Provider, { value: e }, /* @__PURE__ */ b.createElement(lO.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(uO.Provider, { value: t.route.id }, n)));
+function Upe({ routeContext: e, match: t, children: n }) {
+ let r = b.useContext(oO);
+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(lO.Provider, { value: e }, /* @__PURE__ */ b.createElement(uO.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(dO.Provider, { value: t.route.id }, n)));
}
-function Gpe(e, t = [], n) {
+function Wpe(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -31942,7 +31942,7 @@ function Gpe(e, t = [], n) {
let i = e, a = r?.errors;
if (a != null) {
let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);
- JD(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
+ YD(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
}
let o = !1, s = -1;
if (n && r) {
@@ -31962,16 +31962,16 @@ function Gpe(e, t = [], n) {
c(e, {
location: r.location,
params: r.matches?.[0]?.params ?? {},
- pattern: fpe(r.matches),
+ pattern: dpe(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 || Vpe, o && (s < 0 && c === 0 ? ($pe("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 || Bpe, o && (s < 0 && c === 0 ? (Qpe("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(Wpe, {
+ 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(Upe, {
match: n,
routeContext: {
outlet: e,
@@ -31981,7 +31981,7 @@ function Gpe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(Hpe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(Vpe, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -31996,44 +31996,44 @@ function Gpe(e, t = [], n) {
}) : h();
}, null);
}
-function Kpe(e) {
+function Gpe(e) {
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
+function Kpe(e) {
+ let t = b.useContext(oO);
+ return YD(t, Gpe(e)), t;
+}
function qpe(e) {
- let t = b.useContext(aO);
- return JD(t, Kpe(e)), t;
+ let t = b.useContext(Cpe);
+ return YD(t, Gpe(e)), t;
}
function Jpe(e) {
- let t = b.useContext(wpe);
- return JD(t, Kpe(e)), t;
-}
-function Ype(e) {
- let t = b.useContext(uO);
- return JD(t, `${e} can only be used on routes that contain a unique "id"`), t;
+ let t = b.useContext(dO);
+ return YD(t, `${e} can only be used on routes that contain a unique "id"`), t;
}
-function Xpe() {
- let e = b.useContext(dO), t = Jpe("useRouteError"), n = Ype("useRouteError");
+function Ype() {
+ let e = b.useContext(fO), t = qpe("useRouteError"), n = Jpe("useRouteError");
return e === void 0 ? t.errors?.[n] : e;
}
-function Zpe() {
- let { router: e } = qpe("useNavigate"), t = Ype("useNavigate"), n = b.useRef(!1);
+function Xpe() {
+ let { router: e } = Kpe("useNavigate"), t = Jpe("useNavigate"), n = b.useRef(!1);
return b.useLayoutEffect(() => {
n.current = !0;
}), b.useCallback(async (r, i = {}) => {
- YD(n.current, Fpe), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
+ XD(n.current, Ppe), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
fromRouteId: t,
...i
}));
}, [e, t]);
}
-var Qpe = {};
-function $pe(e, t, n) {
- !t && !Qpe[e] && (Qpe[e] = !0, YD(!1, n));
+var Zpe = {};
+function Qpe(e, t, n) {
+ !t && !Zpe[e] && (Zpe[e] = !0, XD(!1, n));
}
-b.memo(eme);
-function eme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
- let a = b.useContext(aO);
- return JD(a, "You must render this element inside a <DataRouterContext.Provider> element"), zpe(e, void 0, {
+b.memo($pe);
+function $pe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+ let a = b.useContext(oO);
+ return YD(a, "You must render this element inside a <DataRouterContext.Provider> element"), Rpe(e, void 0, {
router: a.router,
manifest: t,
state: n,
@@ -32041,11 +32041,11 @@ function eme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
onError: i
});
}
-function hO(e) {
- JD(!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 gO(e) {
+ YD(!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 tme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
- JD(!fO(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
+function eme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+ YD(!pO(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
let s = e.replace(/^\/*/, "/"), c = b.useMemo(() => ({
basename: s,
navigator: i,
@@ -32058,9 +32058,9 @@ function tme({ basename: e = "/", children: t = null, location: n, navigationTyp
a,
o
]);
- typeof n == "string" && (n = QD(n));
+ typeof n == "string" && (n = $D(n));
let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = b.useMemo(() => {
- let e = eO(l, s);
+ let e = tO(l, s);
return e == null ? null : {
location: {
pathname: e,
@@ -32082,27 +32082,27 @@ function tme({ basename: e = "/", children: t = null, location: n, navigationTyp
r,
m
]);
- return YD(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ b.createElement(oO.Provider, { value: c }, /* @__PURE__ */ b.createElement(sO.Provider, {
+ return XD(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ b.createElement(sO.Provider, { value: c }, /* @__PURE__ */ b.createElement(cO.Provider, {
children: t,
value: h
}));
}
-function gO({ children: e, location: t }) {
- return Rpe(_O(e), t);
+function _O({ children: e, location: t }) {
+ return Lpe(vO(e), t);
}
b.Component;
-function _O(e, t = []) {
+function vO(e, t = []) {
let n = [];
return b.Children.forEach(e, (e, r) => {
if (!b.isValidElement(e)) return;
let i = [...t, r];
if (e.type === b.Fragment) {
- n.push.apply(n, _O(e.props.children, i));
+ n.push.apply(n, vO(e.props.children, i));
return;
}
- JD(e.type === hO, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
+ YD(e.type === gO, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
let a = e.props;
- JD(!a.index || !a.children, "An index route cannot have child routes.");
+ YD(!a.index || !a.children, "An index route cannot have child routes.");
let o = {
id: a.id || i.join("-"),
caseSensitive: a.caseSensitive,
@@ -32121,55 +32121,55 @@ function _O(e, t = []) {
handle: a.handle,
lazy: a.lazy
};
- a.children && (o.children = _O(a.children, i)), n.push(o);
+ a.children && (o.children = vO(a.children, i)), n.push(o);
}), n;
}
//#endregion
//#region src/history/settings-route.ts
-var vO = {
+var yO = {
appearance: "外观与导航",
playback: "浏览与播放",
jav: "JAV 与新作",
search: "搜索与推荐",
content: "内容显示"
-}, yO = {
+}, bO = {
library: "媒体库与入库",
subscriptions: "来源与订阅",
downloads: "下载渠道",
network: "网络与访问",
maintenance: "应用与维护"
};
-function nme(e) {
- return yO[e.split("/")[2]] || yO.library;
+function tme(e) {
+ return bO[e.split("/")[2]] || bO.library;
}
-var bO = ["/settings", ...Object.keys(vO).map((e) => `/settings/${e}`)], xO = (e) => bO.includes(e);
-function rme(e) {
- return vO[e.split("/")[2]] || vO.appearance;
+var xO = ["/settings", ...Object.keys(yO).map((e) => `/settings/${e}`)], SO = (e) => xO.includes(e);
+function nme(e) {
+ return yO[e.split("/")[2]] || yO.appearance;
}
-function SO(e) {
+function CO(e) {
return `/settings/${Object.entries({
- ...vO,
- ...yO
+ ...yO,
+ ...bO
}).find(([, t]) => t === e)?.[0] || "appearance"}`;
}
-var CO = (e) => {
+var wO = (e) => {
let t = e?.settingsBackground;
return t && typeof t.pathname == "string" ? t : null;
-}, wO = [
+}, TO = [
"/assets/:id",
"/posts/:id",
"/works/:code"
-], ime = [
+], rme = [
"mix",
"parts",
"editions",
"playlist"
];
-function ame(e, t = "") {
+function ime(e, t = "") {
let n = new URL(e, "https://peach.invalid");
e = n.pathname, t ||= n.search;
- for (let n of wO) {
- let r = $D(n, e);
+ for (let n of TO) {
+ let r = eO(n, e);
if (!r) continue;
if (n === "/works/:code") {
let e = r.params.code || "";
@@ -32186,7 +32186,7 @@ function ame(e, t = "") {
let a = Number(i[0]);
if (!Number.isSafeInteger(a) || a <= 0) return null;
if (n === "/assets/:id") {
- let e = new URLSearchParams(t), r = ime.filter((t) => e.has(t));
+ let e = new URLSearchParams(t), r = rme.filter((t) => e.has(t));
if (r.length === 1) {
let t = r[0], i = e.get(t), o = Number(i);
if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {
@@ -32210,42 +32210,42 @@ function ame(e, t = "") {
}
return null;
}
-var ome = (e, t = "") => ame(e, t)?.target ?? null, TO = (e) => xO(e.split(/[?#]/)[0]) || wO.some((t) => $D(t, e.split(/[?#]/)[0]) !== null);
-function EO(e) {
+var ame = (e, t = "") => ime(e, t)?.target ?? null, EO = (e) => SO(e.split(/[?#]/)[0]) || TO.some((t) => eO(t, e.split(/[?#]/)[0]) !== null);
+function DO(e) {
let t = e?.backgroundLocation;
return typeof t?.pathname == "string" ? {
pathname: t.pathname,
search: typeof t.search == "string" ? t.search : ""
} : null;
}
-var DO = null, OO = null;
-function kO() {
+var OO = null, kO = null;
+function AO() {
let { pathname: e, search: t } = window.location;
- TO(e) || (DO = {
+ EO(e) || (OO = {
pathname: e,
search: t
});
}
-function AO() {
- DO = null, OO = null;
+function jO() {
+ OO = null, kO = null;
}
-function sme(e) {
- let t = EO(e);
- t && (DO = t, OO = t.pathname + t.search);
+function ome(e) {
+ let t = DO(e);
+ t && (OO = t, kO = t.pathname + t.search);
}
-function jO() {
- let e = OO;
- return OO = null, e;
+function MO() {
+ let e = kO;
+ return kO = null, e;
}
-function MO(e) {
- return DO ? {
- backgroundLocation: { ...DO },
+function NO(e) {
+ return OO ? {
+ backgroundLocation: { ...OO },
overlay: e
} : void 0;
}
//#endregion
//#region src/history/canonical-path.ts
-function NO(e) {
+function PO(e) {
let t = new URL(e, "https://peach.invalid");
for (let [e, n] of [
[/^\/item\/(\d+)$/, "/assets/"],
@@ -32268,16 +32268,16 @@ function NO(e) {
}
//#endregion
//#region src/history/route-meta.ts
-var PO = {
+var FO = {
"/settings": {
title: "设置",
refresh: "skip"
},
- ...Object.fromEntries(Object.entries(vO).map(([e, t]) => [`/settings/${e}`, {
+ ...Object.fromEntries(Object.entries(yO).map(([e, t]) => [`/settings/${e}`, {
title: t,
refresh: "skip"
}])),
- ...Object.fromEntries(Object.entries(yO).map(([e, t]) => [`/settings/${e}`, {
+ ...Object.fromEntries(Object.entries(bO).map(([e, t]) => [`/settings/${e}`, {
title: t,
section: "configuration",
refresh: "reopen"
@@ -32413,13 +32413,13 @@ var PO = {
title: "播放墙"
}
};
-function FO(e) {
- if (Object.hasOwn(PO, e)) return PO[e];
- let t = ame(e);
- if (t) return PO[t.path];
+function IO(e) {
+ if (Object.hasOwn(FO, e)) return FO[e];
+ let t = ime(e);
+ if (t) return FO[t.path];
let [n, ...r] = e.split("/").filter(Boolean);
if (!n) return null;
- if (!r.length) return Object.hasOwn(PO, `/${n}`) ? PO[`/${n}`] : null;
+ if (!r.length) return Object.hasOwn(FO, `/${n}`) ? FO[`/${n}`] : null;
let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? bt({
performers: "performer",
studios: "studio",
@@ -32428,126 +32428,126 @@ function FO(e) {
series: "series",
tags: "tag"
}[n] || "", Number(r[0])) : r.join("/");
- return Object.hasOwn(PO, i) ? {
- ...PO[i],
+ return Object.hasOwn(FO, i) ? {
+ ...FO[i],
title: a || "资料"
} : null;
}
//#endregion
//#region src/history/managed.ts
-var cme = () => {}, lme = new Promise((e) => {
- cme = e;
+var sme = () => {}, cme = new Promise((e) => {
+ sme = e;
});
-lme.catch(() => {});
-var ume = null, IO = /* @__PURE__ */ new Map(), LO = /* @__PURE__ */ new Map(), dme = 0, RO = /* @__PURE__ */ new Set();
-function fme(e) {
- cme(e);
-}
-function zO(e) {
- return IO.get(e) ?? null;
+cme.catch(() => {});
+var lme = null, LO = /* @__PURE__ */ new Map(), RO = /* @__PURE__ */ new Map(), ume = 0, zO = /* @__PURE__ */ new Set();
+function dme(e) {
+ sme(e);
}
function BO(e) {
- return !!e && (IO.has(e) || LO.has(e));
+ return LO.get(e) ?? null;
}
-var VO = () => [...IO.values()];
-function pme(e) {
- return RO.add(e), () => {
- RO.delete(e);
+function VO(e) {
+ return !!e && (LO.has(e) || RO.has(e));
+}
+var HO = () => [...LO.values()];
+function fme(e) {
+ return zO.add(e), () => {
+ zO.delete(e);
};
}
-function HO(e) {
- let t = VO();
- for (let n of [...RO]) n(t, e);
+function UO(e) {
+ let t = HO();
+ for (let n of [...zO]) n(t, e);
}
-async function UO(e, t, n) {
+async function WO(e, t, n) {
let { container: r } = n;
- if (GO(r), !n.isCurrent()) return !1;
- dme += 1;
+ if (KO(r), !n.isCurrent()) return !1;
+ ume += 1;
let i = {
- revision: dme,
+ revision: ume,
controller: new AbortController()
};
- LO.set(r, i);
- let a = ume;
- ume = null, a?.();
- let o = await lme;
- if (LO.get(r) !== i) return !1;
+ RO.set(r, i);
+ let a = lme;
+ lme = null, a?.();
+ let o = await cme;
+ if (RO.get(r) !== i) return !1;
try {
await o(e, t, i.controller.signal);
} catch {
if (i.controller.signal.aborted) return !1;
}
- if (LO.get(r) !== i || (LO.delete(r), !n.isCurrent())) return !1;
- let s = n.place ? n.place(r) : mme(r);
- return IO.set(r, {
+ if (RO.get(r) !== i || (RO.delete(r), !n.isCurrent())) return !1;
+ let s = n.place ? n.place(r) : pme(r);
+ return LO.set(r, {
path: e,
props: t,
revision: i.revision,
container: r,
host: s,
resident: !!n.resident
- }), HO(!0), !0;
+ }), UO(!0), !0;
}
-function mme(e) {
+function pme(e) {
let t = e.ownerDocument.createElement("div");
return t.className = "peach-react", e.textContent = "", e.append(t), t;
}
-function WO(e, t) {
- let n = e ? IO.get(e) : void 0;
- n && (IO.set(n.container, {
+function GO(e, t) {
+ let n = e ? LO.get(e) : void 0;
+ n && (LO.set(n.container, {
...n,
props: {
...n.props,
...t
}
- }), HO(!1));
+ }), UO(!1));
}
-function GO(e, ...t) {
+function KO(e, ...t) {
let n = [];
for (let r of /* @__PURE__ */ new Set([e, ...t])) {
- let e = LO.get(r);
- e && (e.controller.abort(), LO.delete(r));
- let t = IO.get(r);
- t && (IO.delete(r), n.push(t));
+ let e = RO.get(r);
+ e && (e.controller.abort(), RO.delete(r));
+ let t = LO.get(r);
+ t && (LO.delete(r), n.push(t));
}
if (n.length) {
- HO(!0);
+ UO(!0);
for (let e of n) e.resident || e.host.remove();
}
}
-function hme() {
- let [e, ...t] = /* @__PURE__ */ new Set([...IO.keys(), ...LO.keys()]);
- e && GO(e, ...t);
+function mme() {
+ let [e, ...t] = /* @__PURE__ */ new Set([...LO.keys(), ...RO.keys()]);
+ e && KO(e, ...t);
}
-function gme(e, t) {
- let n = IO.get(e);
- n?.revision === t && (IO.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
- HO(!1);
+function hme(e, t) {
+ let n = LO.get(e);
+ n?.revision === t && (LO.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
+ UO(!1);
}));
}
//#endregion
//#region src/history/index.ts
-var KO = kfe({ v5Compat: !0 }), qO = 0, JO = 0, YO = {
- action: KO.action,
- location: KO.location,
- seq: qO,
- openEpoch: JO,
+var qO = Ofe({ v5Compat: !0 }), JO = 0, YO = 0, XO = {
+ action: qO.action,
+ location: qO.location,
+ seq: JO,
+ openEpoch: YO,
claimed: !0
-}, XO = /* @__PURE__ */ new Set(), ZO = !1, QO = !0;
-KO.listen(({ action: e, location: t }) => {
- let n = t.pathname + t.search + t.hash, r = NO(n);
- r !== n && (window.history.replaceState(window.history.state, "", r), t = KO.location), qO += 1, ZO || (JO += 1), e !== "REPLACE" && (QO = !1), YO = {
+}, ZO = /* @__PURE__ */ new Set(), QO = !1, $O = !0;
+qO.listen(({ action: e, location: t }) => {
+ let n = t.pathname + t.search + t.hash, r = PO(n);
+ r !== n && (window.history.replaceState(window.history.state, "", r), t = qO.location), JO += 1, QO || (YO += 1), e !== "REPLACE" && ($O = !1), XO = {
action: e,
location: t,
- seq: qO,
- openEpoch: JO,
- claimed: ZO
+ seq: JO,
+ openEpoch: YO,
+ claimed: QO
};
- for (let e of [...XO]) e(YO);
+ for (let e of [...ZO]) e(XO);
});
-function _me(e) {
- if (typeof e == "string") return NO(new URL(e, window.location.href).href);
- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = NO(t.href);
+function gme(e) {
+ if (typeof e == "string") return PO(new URL(e, window.location.href).href);
+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = PO(t.href);
if (n === t.pathname + t.search + t.hash) return e;
let r = new URL(n, window.location.origin);
return {
@@ -32557,55 +32557,55 @@ function _me(e) {
hash: r.hash
};
}
-var $O = {
+var ek = {
get navigation() {
- return YO;
+ return XO;
},
listen(e) {
- return XO.add(e), () => {
- XO.delete(e);
+ return ZO.add(e), () => {
+ ZO.delete(e);
};
},
- createHref: (e) => KO.createHref(e),
- createURL: (e) => KO.createURL(e),
- encodeLocation: (e) => KO.encodeLocation(e),
- go: (e) => KO.go(e),
- push: (e, t) => KO.push(_me(e), t),
- replace: (e, t) => KO.replace(_me(e), t)
+ createHref: (e) => qO.createHref(e),
+ createURL: (e) => qO.createURL(e),
+ encodeLocation: (e) => qO.encodeLocation(e),
+ go: (e) => qO.go(e),
+ push: (e, t) => qO.push(gme(e), t),
+ replace: (e, t) => qO.replace(gme(e), t)
};
-function ek(e, { replace: t = !1, state: n } = {}) {
- let r = new URL(e, window.location.href), i = NO(`${r.pathname}${r.search}${r.hash}`);
- ZO = !0;
+function tk(e, { replace: t = !1, state: n } = {}) {
+ let r = new URL(e, window.location.href), i = PO(`${r.pathname}${r.search}${r.hash}`);
+ QO = !0;
try {
- t ? KO.replace(i, n) : KO.push(i, n);
+ t ? qO.replace(i, n) : qO.push(i, n);
} finally {
- ZO = !1;
+ QO = !1;
}
}
-var tk = () => QO;
-function nk() {
- if (xO(YO.location.pathname)) {
- let e = QO ? null : CO(YO.location.state);
- return e ? EO(e.state) || e : null;
+var nk = () => $O;
+function rk() {
+ if (SO(XO.location.pathname)) {
+ let e = $O ? null : wO(XO.location.state);
+ return e ? DO(e.state) || e : null;
}
- return QO ? null : EO(YO.location.state);
+ return $O ? null : DO(XO.location.state);
}
//#endregion
//#region src/core/jav-title.ts
-var vme = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, yme = (e, t = e?.name) => {
+var _me = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, vme = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(vme, "") : n;
-}, bme = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), xme = (e) => {
+ return e?.is_jav ? n.replace(_me, "") : n;
+}, yme = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), bme = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(bme) || t[0] || "";
+ return t.find(yme) || t[0] || "";
};
-function Sme(e, t = e?.name) {
- let n = yme(e, t), r = String(e?.code || "").trim().toUpperCase();
+function xme(e, t = e?.name) {
+ let n = vme(e, t), r = String(e?.code || "").trim().toUpperCase();
if (!e?.is_jav || !r) return {
code: "",
title: n
};
- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = xme(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = bme(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
"中字",
"无码",
"无码破解"
@@ -32616,23 +32616,23 @@ function Sme(e, t = e?.name) {
badges: f
};
}
-var rk = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = Sme(e, t);
+var ik = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = xme(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function ik(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = Sme(e, t);
+function ak(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = xme(e, t);
if (!n) return z(r);
let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${z(e)}</small>`).join("");
return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${z(r)}</span>` : ""}`;
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+var Sme = ({ 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,
@@ -32640,7 +32640,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), wme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Cme = ({ 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,
@@ -32648,7 +32648,7 @@ var Cme = ({ 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" })), ak = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), ok = ({ 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,
@@ -32656,7 +32656,7 @@ var Cme = ({ 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" })), ok = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), sk = ({ 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,
@@ -32664,7 +32664,7 @@ var Cme = ({ 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" })), sk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), ck = ({ 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,
@@ -32672,7 +32672,7 @@ var Cme = ({ 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" })), Tme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), wme = ({ 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,
@@ -32680,7 +32680,7 @@ var Cme = ({ 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" })), Eme = ({ 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" })), Tme = ({ 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,
@@ -32688,7 +32688,7 @@ var Cme = ({ 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" })), Dme = ({ 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" })), Eme = ({ 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,
@@ -32696,7 +32696,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Ome = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Dme = ({ 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,
@@ -32704,7 +32704,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), kme = ({ 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" })), Ome = ({ 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,
@@ -32712,7 +32712,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Ame = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), kme = ({ 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,
@@ -32720,7 +32720,7 @@ var Cme = ({ 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" })), jme = ({ 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" })), Ame = ({ 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,
@@ -32728,7 +32728,7 @@ var Cme = ({ 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" })), ck = ({ 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" })), lk = ({ 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,
@@ -32736,7 +32736,7 @@ var Cme = ({ 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" })), Mme = ({ 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" })), jme = ({ 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,
@@ -32744,7 +32744,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), lk = ({ 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" })), uk = ({ 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,
@@ -32752,7 +32752,7 @@ var Cme = ({ 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" })), uk = ({ 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" })), dk = ({ 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,
@@ -32760,7 +32760,7 @@ var Cme = ({ 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" })), dk = ({ 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" })), fk = ({ 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,
@@ -32768,7 +32768,7 @@ var Cme = ({ 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" })), Nme = ({ 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" })), Mme = ({ 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,
@@ -32776,7 +32776,7 @@ var Cme = ({ 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" })), fk = ({ 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" })), pk = ({ 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,
@@ -32784,7 +32784,7 @@ var Cme = ({ 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" })), Pme = ({ 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" })), Nme = ({ 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,
@@ -32792,7 +32792,7 @@ var Cme = ({ 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" })), Fme = ({ 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" })), Pme = ({ 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,
@@ -32800,7 +32800,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Ime = ({ 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" })), Fme = ({ 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,
@@ -32808,7 +32808,7 @@ var Cme = ({ 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 15H13V17H8V15Z" })), Lme = ({ 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" })), Ime = ({ 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,
@@ -32816,7 +32816,7 @@ var Cme = ({ 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" })), Rme = ({ 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" })), Lme = ({ 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,
@@ -32824,7 +32824,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), zme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Rme = ({ 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,
@@ -32832,7 +32832,7 @@ var Cme = ({ 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" })), pk = ({ 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" })), mk = ({ 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,
@@ -32840,7 +32840,7 @@ var Cme = ({ 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" })), mk = ({ 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" })), hk = ({ 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,
@@ -32848,7 +32848,7 @@ var Cme = ({ 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" })), Bme = ({ 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" })), zme = ({ 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,
@@ -32856,7 +32856,7 @@ var Cme = ({ 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" })), Vme = ({ 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" })), Bme = ({ 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,
@@ -32864,7 +32864,7 @@ var Cme = ({ 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" })), Hme = ({ 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" })), Vme = ({ 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,
@@ -32872,7 +32872,7 @@ var Cme = ({ 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" })), Ume = ({ 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" })), Hme = ({ 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,
@@ -32880,7 +32880,7 @@ var Cme = ({ 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" })), Wme = ({ 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" })), Ume = ({ 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,
@@ -32888,7 +32888,7 @@ var Cme = ({ 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" })), Gme = ({ 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" })), Wme = ({ 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,
@@ -32896,7 +32896,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Kme = ({ 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" })), Gme = ({ 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,
@@ -32904,7 +32904,7 @@ var Cme = ({ 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" })), hk = ({ 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" })), gk = ({ 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,
@@ -32912,7 +32912,7 @@ var Cme = ({ 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" })), gk = ({ 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" })), _k = ({ 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,
@@ -32920,7 +32920,7 @@ var Cme = ({ 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" })), qme = ({ 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" })), Kme = ({ 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,
@@ -32928,7 +32928,7 @@ var Cme = ({ 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" })), _k = ({ 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" })), vk = ({ 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,
@@ -32936,7 +32936,7 @@ var Cme = ({ 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" })), Jme = ({ 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" })), qme = ({ 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,
@@ -32944,7 +32944,7 @@ var Cme = ({ 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" })), Yme = ({ 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" })), Jme = ({ 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,
@@ -32952,7 +32952,7 @@ var Cme = ({ 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" })), Xme = ({ 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" })), Yme = ({ 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,
@@ -32960,7 +32960,7 @@ var Cme = ({ 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" })), Zme = ({ 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" })), Xme = ({ 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,
@@ -32968,7 +32968,7 @@ var Cme = ({ 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" })), Qme = ({ 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" })), Zme = ({ 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,
@@ -32976,7 +32976,7 @@ var Cme = ({ 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" })), $me = ({ 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" })), Qme = ({ 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,
@@ -32984,7 +32984,7 @@ var Cme = ({ 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" })), ehe = ({ 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" })), $me = ({ 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,
@@ -32992,7 +32992,7 @@ var Cme = ({ 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" })), the = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), ehe = ({ 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,
@@ -33000,88 +33000,88 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), nhe = (e, t) => {
+}, b.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), the = (e, t) => {
let n = Array(e.length + t.length);
for (let t = 0; t < e.length; t++) n[t] = e[t];
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
return n;
-}, rhe = (e, t) => ({
+}, nhe = (e, t) => ({
classGroupId: e,
validator: t
-}), ihe = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), rhe = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), vk = "-", ahe = [], ohe = "arbitrary..", she = (e) => {
- let t = uhe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), yk = "-", ihe = [], ahe = "arbitrary..", ohe = (e) => {
+ let t = lhe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return lhe(e);
- let n = e.split(vk);
- return che(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return che(e);
+ let n = e.split(yk);
+ return she(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? nhe(i, t) : t : i || ahe;
+ return t ? i ? the(i, t) : t : i || ihe;
}
- return n[e] || ahe;
+ return n[e] || ihe;
}
};
-}, che = (e, t, n) => {
+}, she = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = che(e, t + 1, i);
+ let n = she(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(vk) : e.slice(t).join(vk), s = a.length;
+ let o = t === 0 ? e.join(yk) : e.slice(t).join(yk), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, lhe = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, che = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
- return r ? ohe + r : void 0;
-})(), uhe = (e) => {
+ return r ? ahe + r : void 0;
+})(), lhe = (e) => {
let { theme: t, classGroups: n } = e;
- return dhe(n, t);
-}, dhe = (e, t) => {
- let n = ihe();
+ return uhe(n, t);
+}, uhe = (e, t) => {
+ let n = rhe();
for (let r in e) {
let i = e[r];
- yk(i, n, r, t);
+ bk(i, n, r, t);
}
return n;
-}, yk = (e, t, n, r) => {
+}, bk = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- fhe(i, t, n, r);
+ dhe(i, t, n, r);
}
-}, fhe = (e, t, n, r) => {
- typeof e == "string" ? phe(e, t, n) : typeof e == "function" ? mhe(e, t, n, r) : hhe(e, t, n, r);
-}, phe = (e, t, n) => {
- let r = e === "" ? t : ghe(t, e);
+}, dhe = (e, t, n, r) => {
+ typeof e == "string" ? fhe(e, t, n) : typeof e == "function" ? phe(e, t, n, r) : mhe(e, t, n, r);
+}, fhe = (e, t, n) => {
+ let r = e === "" ? t : hhe(t, e);
r.classGroupId = n;
+}, phe = (e, t, n, r) => {
+ ghe(e) ? bk(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(nhe(n, e)));
}, mhe = (e, t, n, r) => {
- _he(e) ? yk(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(rhe(n, e)));
-}, hhe = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- yk(o, ghe(t, a), n, r);
+ bk(o, hhe(t, a), n, r);
}
-}, ghe = (e, t) => {
- let n = e, r = t.split(vk), i = r.length;
+}, hhe = (e, t) => {
+ let n = e, r = t.split(yk), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = ihe(), n.nextPart.set(t, i)), n = i;
+ i || (i = rhe(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, _he = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, vhe = (e) => {
+}, ghe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, _he = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -33099,19 +33099,19 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
e in n ? n[e] = t : i(e, t);
}
};
-}, bk = "!", yhe = ":", bhe = [], xhe = (e, t, n, r, i) => ({
+}, xk = "!", vhe = ":", yhe = [], bhe = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), She = (e) => {
+}), xhe = (e) => {
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
for (let s = 0; s < o; s++) {
let o = e[s];
if (n === 0 && r === 0) {
- if (o === yhe) {
+ if (o === vhe) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -33123,13 +33123,13 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(bk) ? (c = s.slice(0, -1), l = !0) : s.startsWith(bk) && (c = s.slice(1), l = !0);
+ s.endsWith(xk) ? (c = s.slice(0, -1), l = !0) : s.startsWith(xk) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return xhe(t, l, c, u);
+ return bhe(t, l, c, u);
};
if (t) {
- let e = t + yhe, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : xhe(bhe, !1, t, void 0, !0);
+ let e = t + vhe, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : bhe(yhe, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -33139,7 +33139,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
});
}
return r;
-}, Che = (e) => {
+}, She = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -33151,18 +33151,18 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, whe = (e) => ({
- cache: vhe(e.cacheSize),
- parseClassName: She(e),
- sortModifiers: Che(e),
- postfixLookupClassGroupIds: The(e),
- ...she(e)
-}), The = (e) => {
+}, Che = (e) => ({
+ cache: _he(e.cacheSize),
+ parseClassName: xhe(e),
+ sortModifiers: She(e),
+ postfixLookupClassGroupIds: whe(e),
+ ...ohe(e)
+}), whe = (e) => {
let t = Object.create(null), n = e.postfixLookupClassGroups;
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
return t;
-}, Ehe = /\s+/, Dhe = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Ehe), l = "";
+}, The = /\s+/, Ehe = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(The), l = "";
for (let e = c.length - 1; e >= 0; --e) {
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
if (u) {
@@ -33182,7 +33182,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + bk : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + xk : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -33193,34 +33193,34 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, Ohe = (...e) => {
+}, Dhe = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = khe(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = Ohe(n)) && (i && (i += " "), i += r);
return i;
-}, khe = (e) => {
+}, Ohe = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = khe(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = Ohe(e[r])) && (n && (n += " "), n += t);
return n;
-}, Ahe = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = whe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, khe = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = Che(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
let t = r(e);
if (t) return t;
- let a = Dhe(e, n);
+ let a = Ehe(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(Ohe(...e));
-}, jhe = [], xk = (e) => {
- let t = (t) => t[e] || jhe;
+ return a = o, (...e) => a(Dhe(...e));
+}, Ahe = [], Sk = (e) => {
+ let t = (t) => t[e] || Ahe;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, Mhe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Nhe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Phe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Fhe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ihe = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Lhe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Rhe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zhe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Sk = (e) => Phe.test(e), Ck = (e) => !!e && !Number.isNaN(Number(e)), wk = (e) => !!e && Number.isInteger(Number(e)), Tk = (e) => e.endsWith("%") && Ck(e.slice(0, -1)), Ek = (e) => Fhe.test(e), Bhe = () => !0, Vhe = (e) => Ihe.test(e) && !Lhe.test(e), Dk = () => !1, Hhe = (e) => Rhe.test(e), Uhe = (e) => zhe.test(e), Whe = (e) => !Ok(e) && !jk(e), Ghe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Khe = (e) => Pk(e, age, Dk), Ok = (e) => Mhe.test(e), kk = (e) => Pk(e, oge, Vhe), qhe = (e) => Pk(e, sge, Ck), Jhe = (e) => Pk(e, lge, Bhe), Yhe = (e) => Pk(e, cge, Dk), Xhe = (e) => Pk(e, rge, Dk), Zhe = (e) => Pk(e, ige, Uhe), Ak = (e) => Pk(e, uge, Hhe), jk = (e) => Nhe.test(e), Mk = (e) => Fk(e, oge), Qhe = (e) => Fk(e, cge), $he = (e) => Fk(e, rge), ege = (e) => Fk(e, age), tge = (e) => Fk(e, ige), Nk = (e) => Fk(e, uge, !0), nge = (e) => Fk(e, lge, !0), Pk = (e, t, n) => {
- let r = Mhe.exec(e);
+}, jhe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Mhe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Nhe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Phe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Fhe = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ihe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Lhe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Rhe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ck = (e) => Nhe.test(e), wk = (e) => !!e && !Number.isNaN(Number(e)), Tk = (e) => !!e && Number.isInteger(Number(e)), Ek = (e) => e.endsWith("%") && wk(e.slice(0, -1)), Dk = (e) => Phe.test(e), zhe = () => !0, Bhe = (e) => Fhe.test(e) && !Ihe.test(e), Ok = () => !1, Vhe = (e) => Lhe.test(e), Hhe = (e) => Rhe.test(e), Uhe = (e) => !kk(e) && !Mk(e), Whe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Ghe = (e) => Fk(e, ige, Ok), kk = (e) => jhe.test(e), Ak = (e) => Fk(e, age, Bhe), Khe = (e) => Fk(e, oge, wk), qhe = (e) => Fk(e, cge, zhe), Jhe = (e) => Fk(e, sge, Ok), Yhe = (e) => Fk(e, nge, Ok), Xhe = (e) => Fk(e, rge, Hhe), jk = (e) => Fk(e, lge, Vhe), Mk = (e) => Mhe.test(e), Nk = (e) => Ik(e, age), Zhe = (e) => Ik(e, sge), Qhe = (e) => Ik(e, nge), $he = (e) => Ik(e, ige), ege = (e) => Ik(e, rge), Pk = (e) => Ik(e, lge, !0), tge = (e) => Ik(e, cge, !0), Fk = (e, t, n) => {
+ let r = jhe.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, Fk = (e, t, n = !1) => {
- let r = Nhe.exec(e);
+}, Ik = (e, t, n = !1) => {
+ let r = Mhe.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, rge = (e) => e === "position" || e === "percentage", ige = (e) => e === "image" || e === "url", age = (e) => e === "length" || e === "size" || e === "bg-size", oge = (e) => e === "length", sge = (e) => e === "number", cge = (e) => e === "family-name", lge = (e) => e === "number" || e === "weight", uge = (e) => e === "shadow", dge = () => {
- let e = xk("color"), t = xk("font"), n = xk("text"), r = xk("font-weight"), i = xk("tracking"), a = xk("leading"), o = xk("breakpoint"), s = xk("container"), c = xk("spacing"), l = xk("radius"), u = xk("shadow"), d = xk("inset-shadow"), f = xk("text-shadow"), p = xk("drop-shadow"), m = xk("blur"), h = xk("perspective"), g = xk("aspect"), _ = xk("ease"), v = xk("animate"), y = () => [
+}, nge = (e) => e === "position" || e === "percentage", rge = (e) => e === "image" || e === "url", ige = (e) => e === "length" || e === "size" || e === "bg-size", age = (e) => e === "length", oge = (e) => e === "number", sge = (e) => e === "family-name", cge = (e) => e === "number" || e === "weight", lge = (e) => e === "shadow", uge = () => {
+ let e = Sk("color"), t = Sk("font"), n = Sk("text"), r = Sk("font-weight"), i = Sk("tracking"), a = Sk("leading"), o = Sk("breakpoint"), s = Sk("container"), c = Sk("spacing"), l = Sk("radius"), u = Sk("shadow"), d = Sk("inset-shadow"), f = Sk("text-shadow"), p = Sk("drop-shadow"), m = Sk("blur"), h = Sk("perspective"), g = Sk("aspect"), _ = Sk("ease"), v = Sk("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -33245,8 +33245,8 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"left-bottom"
], x = () => [
...b(),
- jk,
- Ok
+ Mk,
+ kk
], S = () => [
"auto",
"hidden",
@@ -33258,43 +33258,43 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"contain",
"none"
], w = () => [
- jk,
- Ok,
+ Mk,
+ kk,
c
], T = () => [
- Sk,
+ Ck,
"full",
"auto",
...w()
], E = () => [
- wk,
+ Tk,
"none",
"subgrid",
- jk,
- Ok
+ Mk,
+ kk
], D = () => [
"auto",
{ span: [
"full",
- wk,
- jk,
- Ok
+ Tk,
+ Mk,
+ kk
] },
- wk,
- jk,
- Ok
+ Tk,
+ Mk,
+ kk
], O = () => [
- wk,
+ Tk,
"auto",
- jk,
- Ok
+ Mk,
+ kk
], k = () => [
"auto",
"min",
"max",
"fr",
- jk,
- Ok
+ Mk,
+ kk
], A = () => [
"start",
"end",
@@ -33314,7 +33314,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- Sk,
+ Ck,
"auto",
"full",
"dvw",
@@ -33329,7 +33329,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
...w()
], P = () => [
s,
- Sk,
+ Ck,
"screen",
"full",
"dvw",
@@ -33340,7 +33340,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"fit",
...w()
], ee = () => [
- Sk,
+ Ck,
"screen",
"full",
"lh",
@@ -33353,13 +33353,13 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
...w()
], F = () => [
e,
- jk,
- Ok
+ Mk,
+ kk
], te = () => [
...b(),
- $he,
- Xhe,
- { position: [jk, Ok] }
+ Qhe,
+ Yhe,
+ { position: [Mk, kk] }
], I = () => ["no-repeat", { repeat: [
"",
"x",
@@ -33370,25 +33370,25 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"auto",
"cover",
"contain",
- ege,
- Khe,
- { size: [jk, Ok] }
+ $he,
+ Ghe,
+ { size: [Mk, kk] }
], re = () => [
- Tk,
- Mk,
- kk
+ Ek,
+ Nk,
+ Ak
], ie = () => [
"",
"none",
"full",
l,
- jk,
- Ok
- ], ae = () => [
- "",
- Ck,
Mk,
kk
+ ], ae = () => [
+ "",
+ wk,
+ Nk,
+ Ak
], oe = () => [
"solid",
"dashed",
@@ -33412,32 +33412,32 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"color",
"luminosity"
], ce = () => [
- Ck,
- Tk,
- $he,
- Xhe
+ wk,
+ Ek,
+ Qhe,
+ Yhe
], le = () => [
"",
"none",
m,
- jk,
- Ok
+ Mk,
+ kk
], ue = () => [
"none",
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
], de = () => [
"none",
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
], fe = () => [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
], pe = () => [
- Sk,
+ Ck,
"full",
...w()
];
@@ -33451,17 +33451,17 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"bounce"
],
aspect: ["video"],
- blur: [Ek],
- breakpoint: [Ek],
- color: [Bhe],
- container: [Ek],
- "drop-shadow": [Ek],
+ blur: [Dk],
+ breakpoint: [Dk],
+ color: [zhe],
+ container: [Dk],
+ "drop-shadow": [Dk],
ease: [
"in",
"out",
"in-out"
],
- font: [Whe],
+ font: [Uhe],
"font-weight": [
"thin",
"extralight",
@@ -33473,7 +33473,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"extrabold",
"black"
],
- "inset-shadow": [Ek],
+ "inset-shadow": [Dk],
leading: [
"none",
"tight",
@@ -33490,11 +33490,11 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"distant",
"none"
],
- radius: [Ek],
- shadow: [Ek],
- spacing: ["px", Ck],
- text: [Ek],
- "text-shadow": [Ek],
+ radius: [Dk],
+ shadow: [Dk],
+ spacing: ["px", wk],
+ text: [Dk],
+ "text-shadow": [Dk],
tracking: [
"tighter",
"tight",
@@ -33508,9 +33508,9 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
aspect: [{ aspect: [
"auto",
"square",
- Sk,
- Ok,
- jk,
+ Ck,
+ kk,
+ Mk,
g
] }],
container: ["container"],
@@ -33518,15 +33518,15 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"",
"normal",
"size",
- jk,
- Ok
+ Mk,
+ kk
] }],
- "container-named": [Ghe],
+ "container-named": [Whe],
columns: [{ columns: [
- Ck,
+ wk,
"auto",
- Ok,
- jk,
+ kk,
+ Mk,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -33623,13 +33623,13 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"collapse"
],
z: [{ z: [
- wk,
+ Tk,
"auto",
- jk,
- Ok
+ Mk,
+ kk
] }],
basis: [{ basis: [
- Sk,
+ Ck,
"full",
"auto",
s,
@@ -33647,32 +33647,32 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"wrap-reverse"
] }],
flex: [{ flex: [
+ wk,
Ck,
- Sk,
"auto",
"initial",
"none",
- Ok
+ kk
] }],
grow: [{ grow: [
"",
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
shrink: [{ shrink: [
"",
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
order: [{ order: [
- wk,
+ Tk,
"first",
"last",
"none",
- jk,
- Ok
+ Mk,
+ kk
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -33779,15 +33779,15 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"font-size": [{ text: [
"base",
n,
- Mk,
- kk
+ Nk,
+ Ak
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- nge,
- Jhe
+ tge,
+ qhe
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -33799,15 +33799,15 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"expanded",
"extra-expanded",
"ultra-expanded",
- Tk,
- Ok
+ Ek,
+ kk
] }],
"font-family": [{ font: [
- Qhe,
- Yhe,
+ Zhe,
+ Jhe,
t
] }],
- "font-features": [{ "font-features": [Ok] }],
+ "font-features": [{ "font-features": [kk] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -33816,14 +33816,14 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- jk,
- Ok
+ Mk,
+ kk
] }],
"line-clamp": [{ "line-clamp": [
- Ck,
+ wk,
"none",
- jk,
- qhe
+ Mk,
+ Khe
] }],
leading: [{ leading: [
"none",
@@ -33832,16 +33832,16 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
"list-image": [{ "list-image": [
"none",
- jk,
- Ok
+ Mk,
+ kk
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- jk,
- Ok
+ Mk,
+ kk
] }],
"text-alignment": [{ text: [
"left",
@@ -33861,18 +33861,18 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
],
"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- Ck,
+ wk,
"from-font",
"auto",
- jk,
- kk
+ Mk,
+ Ak
] }],
"text-decoration-color": [{ decoration: F() }],
"underline-offset": [{ "underline-offset": [
- Ck,
+ wk,
"auto",
- jk,
- Ok
+ Mk,
+ kk
] }],
"text-transform": [
"uppercase",
@@ -33893,9 +33893,9 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- wk,
- jk,
- Ok
+ Tk,
+ Mk,
+ kk
] }],
"vertical-align": [{ align: [
"baseline",
@@ -33906,8 +33906,8 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"text-bottom",
"sub",
"super",
- jk,
- Ok
+ Mk,
+ kk
] }],
whitespace: [{ whitespace: [
"normal",
@@ -33935,8 +33935,8 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
content: [{ content: [
"none",
- jk,
- Ok
+ Mk,
+ kk
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -33971,24 +33971,24 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"l",
"tl"
] },
- wk,
- jk,
- Ok
+ Tk,
+ Mk,
+ kk
],
radial: [
"",
- jk,
- Ok
+ Mk,
+ kk
],
conic: [
"",
- wk,
- jk,
- Ok
+ Tk,
+ Mk,
+ kk
]
},
- tge,
- Zhe
+ ege,
+ Xhe
] }],
"bg-color": [{ bg: F() }],
"gradient-from-pos": [{ from: re() }],
@@ -34055,15 +34055,15 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"outline-w": [{ outline: [
"",
- Ck,
- Mk,
- kk
+ wk,
+ Nk,
+ Ak
] }],
"outline-color": [{ outline: F() }],
shadow: [{ shadow: [
@@ -34071,35 +34071,35 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"inner",
"none",
u,
- Nk,
- Ak
+ Pk,
+ jk
] }],
"shadow-color": [{ shadow: F() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- Nk,
- Ak
+ Pk,
+ jk
] }],
"inset-shadow-color": [{ "inset-shadow": F() }],
"ring-w": [{ ring: ae() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: F() }],
- "ring-offset-w": [{ "ring-offset": [Ck, kk] }],
+ "ring-offset-w": [{ "ring-offset": [wk, Ak] }],
"ring-offset-color": [{ "ring-offset": F() }],
"inset-ring-w": [{ "inset-ring": ae() }],
"inset-ring-color": [{ "inset-ring": F() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- Nk,
- Ak
+ Pk,
+ jk
] }],
"text-shadow-color": [{ "text-shadow": F() }],
opacity: [{ opacity: [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"mix-blend": [{ "mix-blend": [
...se(),
@@ -34121,7 +34121,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [Ck] }],
+ "mask-image-linear-pos": [{ "mask-linear": [wk] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": ce() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": ce() }],
"mask-image-linear-from-color": [{ "mask-linear-from": F() }],
@@ -34150,7 +34150,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"mask-image-y-to-pos": [{ "mask-y-to": ce() }],
"mask-image-y-from-color": [{ "mask-y-from": F() }],
"mask-image-y-to-color": [{ "mask-y-to": F() }],
- "mask-image-radial": [{ "mask-radial": [jk, Ok] }],
+ "mask-image-radial": [{ "mask-radial": [Mk, kk] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],
"mask-image-radial-from-color": [{ "mask-radial-from": F() }],
@@ -34161,7 +34161,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [Ck] }],
+ "mask-image-conic-pos": [{ "mask-conic": [wk] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": ce() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": ce() }],
"mask-image-conic-from-color": [{ "mask-conic-from": F() }],
@@ -34185,111 +34185,111 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- jk,
- Ok
+ Mk,
+ kk
] }],
filter: [{ filter: [
"",
"none",
- jk,
- Ok
+ Mk,
+ kk
] }],
blur: [{ blur: le() }],
brightness: [{ brightness: [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
contrast: [{ contrast: [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- Nk,
- Ak
+ Pk,
+ jk
] }],
"drop-shadow-color": [{ "drop-shadow": F() }],
grayscale: [{ grayscale: [
"",
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"hue-rotate": [{ "hue-rotate": [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
invert: [{ invert: [
"",
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
saturate: [{ saturate: [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
sepia: [{ sepia: [
"",
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- jk,
- Ok
+ Mk,
+ kk
] }],
"backdrop-blur": [{ "backdrop-blur": le() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -34305,39 +34305,39 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"shadow",
"transform",
"none",
- jk,
- Ok
+ Mk,
+ kk
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- Ck,
+ wk,
"initial",
- jk,
- Ok
+ Mk,
+ kk
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- jk,
- Ok
+ Mk,
+ kk
] }],
delay: [{ delay: [
- Ck,
- jk,
- Ok
+ wk,
+ Mk,
+ kk
] }],
animate: [{ animate: [
"none",
v,
- jk,
- Ok
+ Mk,
+ kk
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- jk,
- Ok
+ Mk,
+ kk
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: ue() }],
@@ -34353,8 +34353,8 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"skew-x": [{ "skew-x": fe() }],
"skew-y": [{ "skew-y": fe() }],
transform: [{ transform: [
- jk,
- Ok,
+ Mk,
+ kk,
"",
"none",
"gpu",
@@ -34368,9 +34368,9 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"translate-z": [{ "translate-z": pe() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- wk,
- jk,
- Ok
+ Tk,
+ Mk,
+ kk
] }],
accent: [{ accent: F() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -34420,8 +34420,8 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"nwse-resize",
"zoom-in",
"zoom-out",
- jk,
- Ok
+ Mk,
+ kk
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -34507,15 +34507,15 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"scroll",
"contents",
"transform",
- jk,
- Ok
+ Mk,
+ kk
] }],
fill: [{ fill: ["none", ...F()] }],
"stroke-w": [{ stroke: [
- Ck,
- Mk,
- kk,
- qhe
+ wk,
+ Nk,
+ Ak,
+ Khe
] }],
stroke: [{ stroke: ["none", ...F()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -34773,16 +34773,16 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"selection"
]
};
-}, fge = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Ik(e, "cacheSize", t), Ik(e, "prefix", n), Ik(e, "experimentalParseClassName", r), Lk(e.theme, a.theme), Lk(e.classGroups, a.classGroups), Lk(e.conflictingClassGroups, a.conflictingClassGroups), Lk(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Ik(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Ik(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Rk(e.theme, i.theme), Rk(e.classGroups, i.classGroups), Rk(e.conflictingClassGroups, i.conflictingClassGroups), Rk(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), zk(e, i, "postfixLookupClassGroups"), zk(e, i, "orderSensitiveModifiers"), e), Ik = (e, t, n) => {
+}, dge = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Lk(e, "cacheSize", t), Lk(e, "prefix", n), Lk(e, "experimentalParseClassName", r), Rk(e.theme, a.theme), Rk(e.classGroups, a.classGroups), Rk(e.conflictingClassGroups, a.conflictingClassGroups), Rk(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Lk(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Lk(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), zk(e.theme, i.theme), zk(e.classGroups, i.classGroups), zk(e.conflictingClassGroups, i.conflictingClassGroups), zk(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Bk(e, i, "postfixLookupClassGroups"), Bk(e, i, "orderSensitiveModifiers"), e), Lk = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, Lk = (e, t) => {
- if (t) for (let n in t) Ik(e, n, t[n]);
}, Rk = (e, t) => {
- if (t) for (let n in t) zk(e, t, n);
-}, zk = (e, t, n) => {
+ if (t) for (let n in t) Lk(e, n, t[n]);
+}, zk = (e, t) => {
+ if (t) for (let n in t) Bk(e, t, n);
+}, Bk = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, pge = (e, ...t) => typeof e == "function" ? Ahe(dge, e, ...t) : Ahe(() => fge(dge(), e), ...t), mge = [
+}, fge = (e, ...t) => typeof e == "function" ? khe(uge, e, ...t) : khe(() => dge(uge(), e), ...t), pge = [
"large-title",
"display-1",
"display-2",
@@ -34796,18 +34796,18 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"body-2",
"caption-1",
"caption-2"
-], hge = [
+], mge = [
"regular",
"medium",
"semibold",
"bold"
-], Bk = pge({ extend: { classGroups: { "font-size": [{ text: mge.flatMap((e) => hge.map((t) => `${e}-${t}`)) }] } } });
-function Vk(e) {
+], Vk = fge({ extend: { classGroups: { "font-size": [{ text: pge.flatMap((e) => mge.map((t) => `${e}-${t}`)) }] } } });
+function Hk(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var Hk = Vk({
+var Uk = Hk({
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",
@@ -34826,16 +34826,16 @@ var Hk = Vk({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function Uk({ 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, x.jsx)("span", {
ref: r,
- className: Bk(Hk.base, Hk.variant[e], Hk.color[t], n),
+ className: Vk(Uk.base, Uk.variant[e], Uk.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var Wk = Vk({
+var Gk = Hk({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -34894,40 +34894,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, x.jsxs)("button", {
ref: c,
type: s,
- className: Bk(Wk.base, Wk.size[t], Wk.variant[e], n && Wk.iconOnlySize[t], o),
+ className: Vk(Gk.base, Gk.size[t], Gk.variant[e], n && Gk.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: Wk.icon[t],
+ className: Gk.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: Wk.label[t],
+ className: Gk.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {
- className: Wk.icon[t],
+ className: Gk.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function Gk({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function Kk({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, x.jsxs)("a", {
ref: s,
- className: Bk(Wk.base, Wk.size[t], Wk.variant[e], n && Wk.iconOnlySize[t], o),
+ className: Vk(Gk.base, Gk.size[t], Gk.variant[e], n && Gk.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: Wk.icon[t],
+ className: Gk.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: Wk.label[t],
+ className: Gk.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {
- className: Wk.icon[t],
+ className: Gk.icon[t],
"aria-hidden": !0
}) : null
]
@@ -34935,47 +34935,47 @@ function Gk({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/react/components/card.tsx
-var gge = "min-w-0", _ge = {
+var hge = "min-w-0", gge = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, vge = {
+}, _ge = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, yge = {
+}, vge = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, bge = {
+}, yge = {
none: "",
default: "p-5"
-}, xge = "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", Sge = "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 Kk(e = {}) {
+}, bge = "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", xge = "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 qk(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 [
- gge,
- _ge[t],
- vge[s],
- bge[n],
- a ? yge[a] : "",
- r ? xge : "",
- i ? Sge : "",
+ hge,
+ gge[t],
+ _ge[s],
+ yge[n],
+ a ? vge[a] : "",
+ r ? bge : "",
+ i ? xge : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Cge = {
+var Sge = {
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 qk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function Jk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${Cge[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${Sge[i]}`,
children: [
a ? /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
@@ -35005,7 +35005,7 @@ function qk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function Jk({ label: e, inline: t = !1 }) {
+function Yk({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex shrink-0 items-center gap-1",
@@ -35074,7 +35074,7 @@ function K({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function Yk({ children: e }) {
+function Xk({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -35082,21 +35082,21 @@ function Yk({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var Xk = 100, wge = .4;
-function Zk({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * Xk;
+var Zk = 100, Cge = .4;
+function Qk({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * Zk;
return /* @__PURE__ */ (0, x.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": i,
"aria-valuenow": a(t),
- viewBox: `0 0 ${Xk} 1`,
+ viewBox: `0 0 ${Zk} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, x.jsx)("rect", {
- width: Xk,
+ width: Zk,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -35107,7 +35107,7 @@ function Zk({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, x.jsx)("rect", {
x: o(e),
- width: wge,
+ width: Cge,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -35124,7 +35124,7 @@ function q(e) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function Qk(e = "") {
+function $k(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) {
@@ -35150,21 +35150,21 @@ function Qk(e = "") {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function Tge({ className: e, children: t }) {
+function wge({ className: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: Bk("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: Vk("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function Ege({ className: e, children: t }) {
+function Tge({ className: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
- className: Bk("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: Vk("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function $k({ label: e, description: t, children: n }) {
+function eA({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Bk("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
+ className: Vk("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, x.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, x.jsx)("p", {
@@ -35179,7 +35179,7 @@ function $k({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var eA = Vk({
+var tA = Hk({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -35203,15 +35203,15 @@ var eA = Vk({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function tA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = Bk(eA.base, eA.size[t], eA.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+function nA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = Vk(tA.base, tA.size[t], tA.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
n ? /* @__PURE__ */ (0, x.jsx)(n, {
- className: eA.icon[t],
+ className: tA.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, x.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: eA.icon[t],
+ className: tA.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -35238,7 +35238,7 @@ function tA({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/settings/section.tsx
-function nA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
+function rA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
let o = t ? /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex items-center gap-1.5",
children: [t, e]
@@ -35246,12 +35246,12 @@ function nA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(Ege, { children: o })
+ children: /* @__PURE__ */ (0, x.jsx)(Tge, { children: o })
}), /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex min-w-0 max-w-full",
children: r
})]
- }) : /* @__PURE__ */ (0, x.jsx)(Ege, { children: o }), /* @__PURE__ */ (0, x.jsx)(Tge, { children: a })] });
+ }) : /* @__PURE__ */ (0, x.jsx)(Tge, { children: o }), /* @__PURE__ */ (0, x.jsx)(wge, { children: a })] });
return i ? /* @__PURE__ */ (0, x.jsx)("form", {
id: n,
"aria-label": e,
@@ -35266,13 +35266,13 @@ function nA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
children: s
});
}
-function rA({ children: e }) {
+function iA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function iA({ divided: e = !1, children: t }) {
+function aA({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -35281,7 +35281,7 @@ function iA({ divided: e = !1, children: t }) {
children: t
});
}
-function aA({ status: e, children: t }) {
+function oA({ status: e, children: t }) {
return /* @__PURE__ */ (0, x.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, x.jsx)("div", {
@@ -35290,34 +35290,34 @@ function aA({ status: e, children: t }) {
}) : null, t]
});
}
-function oA({ role: e, children: t }) {
+function sA({ role: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function sA({ children: e }) {
+function cA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function cA({ children: e }) {
+function lA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function lA({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, x.jsx)(tA, {
+function uA({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(nA, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: fk,
+ trailingIcon: pk,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -35325,13 +35325,13 @@ function lA({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function uA({ children: e }) {
+function dA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function dA({ term: e, children: t }) {
+function fA({ term: e, children: t }) {
return /* @__PURE__ */ (0, x.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, x.jsx)("dt", {
@@ -35343,7 +35343,7 @@ function dA({ term: e, children: t }) {
})]
});
}
-function fA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {
+function pA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {
let a = (0, b.useId)(), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(!1), [l, u] = (0, b.useState)(t);
return /* @__PURE__ */ (0, x.jsxs)("details", {
ref: (e) => {
@@ -35357,12 +35357,12 @@ function fA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, on
},
className: `${r ? "w-full" : "w-fit"} flex 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: [
- r ? null : /* @__PURE__ */ (0, x.jsx)(sk, {
+ r ? null : /* @__PURE__ */ (0, x.jsx)(ck, {
"aria-hidden": !0,
className: l ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}),
e,
- r ? /* @__PURE__ */ (0, x.jsx)(sk, {
+ r ? /* @__PURE__ */ (0, x.jsx)(ck, {
"aria-hidden": !0,
className: l ? "ml-auto size-4 shrink-0 -rotate-90 transition-transform" : "ml-auto size-4 shrink-0 rotate-90 transition-transform"
}) : null
@@ -35378,7 +35378,7 @@ function fA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, on
})]
});
}
-function Dge({ name: e }) {
+function Ege({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -35387,22 +35387,22 @@ function Dge({ name: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function pA({ mark: e }) {
+function mA({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, x.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, x.jsx)(Dge, { name: e });
+ }) : /* @__PURE__ */ (0, x.jsx)(Ege, { name: e });
}
//#endregion
//#region src/react/activity/tasks.ts
-var mA = "/api/tasks", hA = ["tasks"], Oge = (e, t) => V(`${mA}?${new URLSearchParams({
+var hA = "/api/tasks", gA = ["tasks"], Dge = (e, t) => V(`${hA}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function gA(...e) {
+function _A(...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) => {
@@ -35410,26 +35410,26 @@ function gA(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var kge = 2e3, Age = 1e4, jge = (e) => e?.running.length ? kge : Age, _A = (e) => V(mA, e);
-async function Mge(e) {
+var Oge = 2e3, kge = 1e4, Age = (e) => e?.running.length ? Oge : kge, vA = (e) => V(hA, e);
+async function jge(e) {
await U.fetchQuery({
- queryKey: hA,
- queryFn: () => _A(e)
+ queryKey: gA,
+ queryFn: () => vA(e)
});
}
-var vA = {
+var yA = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Nge = {
+}, Mge = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, Pge = (e) => Nge[e] || e, Fge = {
+}, Nge = (e) => Mge[e] || e, Pge = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -35459,7 +35459,7 @@ var vA = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function Ige(e) {
+function Fge(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -35468,7 +35468,7 @@ function Ige(e) {
}
return t;
}
-function Lge(e, t) {
+function Ige(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -35490,12 +35490,12 @@ function Lge(e, t) {
}
return n;
}
-var Rge = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), yA = (e) => e.status === "pending" || e.status === "running";
-function zge(e) {
+var Lge = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), bA = (e) => e.status === "pending" || e.status === "running";
+function Rge(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, SA(e.error) || wA(e.result_summary) || (yA(e) && i > 0 ? `${xA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, CA(e.error) || TA(e.result_summary) || (bA(e) && i > 0 ? `${SA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function bA(e) {
+function xA(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -35504,15 +35504,15 @@ function bA(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function xA(e, t) {
+function SA(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function SA(e) {
+function CA(e) {
let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);
return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";
}
-function CA(e) {
+function wA(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -35522,7 +35522,7 @@ function CA(e) {
minute: "2-digit"
});
}
-var Bge = /* @__PURE__ */ new Set([
+var zge = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -35531,46 +35531,46 @@ var Bge = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function wA(e) {
- return Object.entries(e || {}).filter(([e, t]) => !Bge.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Fge[e] || e} ${typeof t == "number" ? t.toLocaleString() : t}`).join(" · ");
+function TA(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !zge.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Pge[e] || e} ${typeof t == "number" ? t.toLocaleString() : t}`).join(" · ");
}
//#endregion
//#region src/react/components/source-label.tsx
-function Vge({ className: e }) {
+function Bge({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya[115] })
+ children: /* @__PURE__ */ (0, x.jsx)(mA, { mark: Ya[115] })
});
}
-function Hge({ className: e }) {
+function Vge({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya.pikpak })
+ children: /* @__PURE__ */ (0, x.jsx)(mA, { mark: Ya.pikpak })
});
}
-var TA = {
- 115: Vge,
- pikpak: Hge
+var EA = {
+ 115: Bge,
+ pikpak: Vge
};
-function EA({ source: e, label: t }) {
+function DA({ source: e, label: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
+ children: [/* @__PURE__ */ (0, x.jsx)(mA, { mark: Ya[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
});
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var DA = "/api/downloads", OA = ["downloads"], Uge = "/api/downloads/cancel", Wge = "/api/downloads/postprocess", kA = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Gge = {
+var OA = "/api/downloads", kA = ["downloads"], Hge = "/api/downloads/cancel", Uge = "/api/downloads/postprocess", AA = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Wge = {
ingested: "lime",
failed: "rose",
cancelled: "yellow",
stalled: "yellow"
-}, Kge = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, AA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
-function qge() {
+}, Gge = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, jA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
+function Kge() {
let e = (0, b.useId)(), t = ut({
- queryKey: OA,
- queryFn: ({ signal: e }) => V(`${DA}?limit=50`, e),
- refetchInterval: (e) => kA(e.state.data)
+ queryKey: kA,
+ queryFn: ({ signal: e }) => V(`${OA}?limit=50`, e),
+ refetchInterval: (e) => AA(e.state.data)
}), n = t.data;
return !n?.tasks.length && !t.error ? null : /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-labelledby": e,
@@ -35588,7 +35588,7 @@ function qge() {
n?.tasks.length ? /* @__PURE__ */ (0, x.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: n.tasks.map((e) => /* @__PURE__ */ (0, x.jsx)(Jge, {
+ children: n.tasks.map((e) => /* @__PURE__ */ (0, x.jsx)(qge, {
task: e,
writable: n.available
}, e.id))
@@ -35596,15 +35596,15 @@ function qge() {
]
});
}
-function Jge({ task: e, writable: t }) {
- let n = C(), r = Qk(), [i, a] = (0, b.useState)(!1), o = AA(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [
+function qge({ task: e, writable: t }) {
+ let n = C(), r = $k(), [i, a] = (0, b.useState)(!1), o = jA(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [
e.code,
e.target,
- CA(e.submitted_at)
+ wA(e.submitted_at)
].filter(Boolean).join(" · "), l = () => {
- n.invalidateQueries({ queryKey: OA });
+ n.invalidateQueries({ queryKey: kA });
}, u = () => {
- r.run("cancel", (t) => H(Uge, { id: e.id }, "POST", t), l);
+ r.run("cancel", (t) => H(Hge, { id: e.id }, "POST", t), l);
}, d = () => {
let t = {
magnet: e.source_uri,
@@ -35614,16 +35614,16 @@ function Jge({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => H(DA, t, "POST", e), l);
+ r.run("resubmit", (e) => H(OA, t, "POST", e), l);
}, f = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, p = () => {
- r.run("postprocess", (t) => H(Wge, { id: e.id }, "POST", t), l);
+ r.run("postprocess", (t) => H(Uge, { id: e.id }, "POST", t), l);
};
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: Kk({
+ className: qk({
padding: "none",
bordered: "line",
className: s ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -35636,13 +35636,13 @@ function Jge({ task: e, writable: t }) {
children: [
/* @__PURE__ */ (0, x.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
- children: Kge(e)
+ children: Gge(e)
}),
- /* @__PURE__ */ (0, x.jsx)(Uk, {
- color: Gge[e.state] ?? "neutral",
+ /* @__PURE__ */ (0, x.jsx)(Wk, {
+ color: Wge[e.state] ?? "neutral",
children: e.state_label
}),
- e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+ e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(Wk, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : "yellow",
children: e.postprocess_label
}) : null
@@ -35650,7 +35650,7 @@ function Jge({ task: e, writable: t }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, x.jsx)(EA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(DA, {
source: e.provider,
label: e.provider_label
}), /* @__PURE__ */ (0, x.jsx)("span", {
@@ -35658,7 +35658,7 @@ function Jge({ task: e, writable: t }) {
children: c
})]
}),
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(Zk, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(Qk, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -35667,7 +35667,7 @@ function Jge({ 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, x.jsx)(sA, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: r.error }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2 pt-1",
children: [
@@ -35712,8 +35712,8 @@ function Jge({ task: e, writable: t }) {
}
//#endregion
//#region src/react/activity/error-excerpt.tsx
-function jA({ text: e, className: t = "" }) {
- let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = SA(a);
+function MA({ text: e, className: t = "" }) {
+ let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = CA(a);
if (!o) return null;
let s = o !== a;
return /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -35739,23 +35739,23 @@ function jA({ text: e, className: t = "" }) {
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var Yge = {
+var Jge = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function MA({ status: e }) {
- return /* @__PURE__ */ (0, x.jsx)(Uk, {
- color: Yge[e] ?? "neutral",
- children: Pge(e)
+function NA({ status: e }) {
+ return /* @__PURE__ */ (0, x.jsx)(Wk, {
+ color: Jge[e] ?? "neutral",
+ children: Nge(e)
});
}
-function Xge({ rows: e }) {
+function Yge({ rows: e }) {
return /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = zge(e);
+ let t = Rge(e);
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -35765,7 +35765,7 @@ function Xge({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, x.jsx)(MA, { status: e.status }),
+ /* @__PURE__ */ (0, x.jsx)(NA, { status: e.status }),
t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -35775,12 +35775,12 @@ function Xge({ rows: e }) {
})
});
}
-function NA({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function PA({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: Kk({
+ className: qk({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -35794,7 +35794,7 @@ function NA({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, x.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, x.jsx)(MA, { status: e.status })]
+ }), /* @__PURE__ */ (0, x.jsx)(NA, { status: e.status })]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -35805,15 +35805,15 @@ function NA({ run: e, meta: t, children: n, footer: r, followups: i }) {
}),
i?.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "border-t border-separator-border px-5 py-2.5",
- children: /* @__PURE__ */ (0, x.jsx)(fA, {
+ children: /* @__PURE__ */ (0, x.jsx)(pA, {
summary: `任务明细 · ${i.length} 项`,
- defaultOpen: i.some((e) => yA(e) || e.status === "failed"),
- children: /* @__PURE__ */ (0, x.jsx)(Xge, { rows: i })
+ defaultOpen: i.some((e) => bA(e) || e.status === "failed"),
+ children: /* @__PURE__ */ (0, x.jsx)(Yge, { rows: i })
})
}) : null,
r ? /* @__PURE__ */ (0, x.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, x.jsx)(jA, {
+ children: /* @__PURE__ */ (0, x.jsx)(MA, {
text: r,
className: "text-caption-1-regular text-text-secondary"
})
@@ -35821,15 +35821,15 @@ function NA({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function Zge({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = bA(e.elapsed_seconds), o = [vA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, x.jsx)(NA, {
+function Xge({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = xA(e.elapsed_seconds), o = [yA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, x.jsx)(PA, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(Zk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Qk, {
label: i,
value: Math.min(r, n),
max: n
@@ -35838,24 +35838,24 @@ function Zge({ run: e, followups: t }) {
children: [
i,
" · ",
- xA(r, n),
+ SA(r, n),
" 项"
]
})]
- }) : /* @__PURE__ */ (0, x.jsx)(Jk, { label: i })
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, { label: i })
});
}
-function PA({ run: e, followups: t, runs: n }) {
- let r = wA(e.result_summary), i = bA(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- vA[e.trigger] || e.trigger,
+function FA({ run: e, followups: t, runs: n }) {
+ let r = TA(e.result_summary), i = xA(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ yA[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${CA(a.finished_at)} – ${CA(e.finished_at)}`
+ `${wA(a.finished_at)} – ${wA(e.finished_at)}`
] : [
- vA[e.trigger] || e.trigger,
- CA(e.finished_at),
+ yA[e.trigger] || e.trigger,
+ wA(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, x.jsx)(NA, {
+ return /* @__PURE__ */ (0, x.jsx)(PA, {
run: e,
meta: o,
footer: e.error,
@@ -35866,7 +35866,7 @@ function PA({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function FA({ title: e, children: t }) {
+function IA({ title: e, children: t }) {
let n = (0, b.useId)();
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-labelledby": n,
@@ -35878,41 +35878,41 @@ function FA({ title: e, children: t }) {
}), t]
});
}
-function IA({ live: e = !1, children: t }) {
+function LA({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function Qge() {
+function Zge() {
let e = ut({
- queryKey: hA,
- queryFn: ({ signal: e }) => _A(e),
- refetchInterval: (e) => jge(e.state.data)
+ queryKey: gA,
+ queryFn: ({ signal: e }) => vA(e),
+ refetchInterval: (e) => Age(e.state.data)
}), t = e.data, n = t?.finished, [r, i] = (0, b.useState)([]), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(n);
- n !== s && (c(n), r.length && s && i(gA(r, s)));
+ n !== s && (c(n), r.length && s && i(_A(r, s)));
let l = dt({
- mutationFn: ({ oldest: e }) => Oge(e),
+ mutationFn: ({ oldest: e }) => Dge(e),
onSuccess: (e, { shown: t }) => {
- i((n) => gA(n, t, e.finished || [])), o(!!e.finished_has_more);
+ i((n) => _A(n, t, e.finished || [])), o(!!e.finished_has_more);
}
}), u = e.error ? B(e.error) : "";
- if (!t) return /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!t) return /* @__PURE__ */ (0, x.jsx)(Xk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: u || "读取任务中心失败"
}) });
- let d = gA(t.finished || [], r), f = [
+ let d = _A(t.finished || [], r), f = [
...t.running || [],
...t.skipped || [],
...d
- ], p = Ige(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {
+ ], p = Fge(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {
!l.isPending && _ && l.mutate({
oldest: _,
shown: d
});
- }, S = g.filter((e) => p.get(e.id)?.some(yA)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = Lge(T, (e) => Rge(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;
- return /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
+ }, S = g.filter((e) => p.get(e.id)?.some(bA)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = Ige(T, (e) => Lge(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;
+ return /* @__PURE__ */ (0, x.jsxs)(Xk, { children: [
u ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: u
@@ -35921,20 +35921,20 @@ function Qge() {
tone: "warning",
children: t.message || "账本上还没有任务中心的表"
}) : null,
- D ? /* @__PURE__ */ (0, x.jsx)(qk, {
+ D ? /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: mk,
+ icon: hk,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(FA, {
+ /* @__PURE__ */ (0, x.jsx)(IA, {
title: "正在进行",
- children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(IA, {
+ children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(LA, {
live: !0,
- children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(Zge, {
+ children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(Xge, {
run: e,
followups: p.get(e.id)
- }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(PA, {
+ }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(FA, {
run: e,
followups: p.get(e.id)
}, e.id))]
@@ -35943,17 +35943,17 @@ function Qge() {
children: "没有任务在跑。"
})
}),
- w.length ? /* @__PURE__ */ (0, x.jsx)(FA, {
+ w.length ? /* @__PURE__ */ (0, x.jsx)(IA, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, x.jsx)(IA, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(PA, {
+ children: /* @__PURE__ */ (0, x.jsx)(LA, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(FA, {
run: e,
followups: p.get(e.id)
}, e.id)) })
}) : null,
- T.length || v ? /* @__PURE__ */ (0, x.jsxs)(FA, {
+ T.length || v ? /* @__PURE__ */ (0, x.jsxs)(IA, {
title: "最近完成",
children: [
- T.length ? /* @__PURE__ */ (0, x.jsx)(IA, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(PA, {
+ T.length ? /* @__PURE__ */ (0, x.jsx)(LA, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(FA, {
run: e,
runs: t,
followups: p.get(e.id)
@@ -35965,7 +35965,7 @@ function Qge() {
v ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: ak,
+ leadingIcon: ok,
className: "self-start",
...q(l.isPending),
onClick: y,
@@ -35974,12 +35974,12 @@ function Qge() {
]
}) : null
] }),
- /* @__PURE__ */ (0, x.jsx)(qge, {})
+ /* @__PURE__ */ (0, x.jsx)(Kge, {})
] });
}
//#endregion
//#region src/react/components/use-stuck.ts
-function LA(e) {
+function RA(e) {
(0, b.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -35997,9 +35997,9 @@ function LA(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function $ge({ title: e, children: t }) {
+function Qge({ title: e, children: t }) {
let n = (0, b.useRef)(null);
- return LA(n), /* @__PURE__ */ (0, x.jsxs)("div", {
+ return RA(n), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -36012,52 +36012,52 @@ function $ge({ title: e, children: t }) {
}), t]
});
}
-function RA({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function zA({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
let d = (0, b.useRef)(null);
- return LA(d), /* @__PURE__ */ (0, x.jsxs)("div", {
+ return RA(d), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: Bk("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: Vk("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
n === null ? null : /* @__PURE__ */ (0, x.jsx)("div", {
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: Bk("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: Vk("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
children: n
}),
/* @__PURE__ */ (0, x.jsx)("div", {
ref: u,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: Bk("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: Vk("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
-var e_e = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function zA({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var $ge = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
+function BA({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: Bk(e_e, r),
+ className: Vk($ge, r),
onClick: n,
children: e
});
}
-var t_e = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function BA({ children: e, onPress: t, busy: n = !1 }) {
+var e_e = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function VA({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: t_e,
+ className: e_e,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -36068,13 +36068,13 @@ function BA({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-var VA = (e, t) => [
+var HA = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function HA(e, t, n) {
+function UA(e, t, n) {
if (!t.contains(e)) return null;
let r = 0, i = 0;
for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;
@@ -36098,17 +36098,17 @@ function HA(e, t, n) {
h: e.offsetHeight
};
}
-function UA(e, t, n, r, { axis: i = "x" } = {}) {
+function WA(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, b.useRef)(null), o = (0, b.useCallback)((r, o) => {
let s = e.current, c = t.current, l = s?.parentElement;
if (!s) return;
- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? HA(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? UA(u, l, i) : null;
if (!d || !d.w || !d.h) {
s.getAnimations().forEach((e) => e.cancel()), s.hidden = !0, a.current = null;
return;
}
let f = s.hidden ? null : a.current;
- s.hidden = !1, a.current = d, !(o && f && VA(f, d)) && Ko(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && HA(f, d)) && Ko(s, o ? f : null, d, i);
}, [
e,
t,
@@ -36129,8 +36129,8 @@ function UA(e, t, n, r, { axis: i = "x" } = {}) {
passive: !0
}), addEventListener("resize", c, { passive: !0 });
let l = new ResizeObserver(() => {
- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? HA(o, r, i) : null, l = a.current;
- (!s || !l || !VA(s, l)) && c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? UA(o, r, i) : null, l = a.current;
+ (!s || !l || !HA(s, l)) && c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -36162,12 +36162,12 @@ function UA(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var WA = Symbol("default");
-function GA({ values: e, children: t }) {
+var GA = Symbol("default");
+function KA({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ b.createElement(n.Provider, { value: r }, t);
return t;
}
-function KA(e) {
+function qA(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, b.useMemo)(() => {
let e, l, u;
@@ -36201,11 +36201,11 @@ function KA(e) {
c
]);
}
-function qA(e, t) {
+function JA(e, t) {
let n = (0, b.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || WA;
+ let e = t || GA;
if (!n.slots[e]) {
let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";
throw Error(`${r} Valid slot names are ${e}.`);
@@ -36214,8 +36214,8 @@ function qA(e, t) {
}
return n;
}
-function JA(e, t, n) {
- let { ref: r, ...i } = qA(n, e.slot) || {}, a = kv((0, b.useMemo)(() => Cv(t, r), [t, r])), o = Tv(i, e);
+function YA(e, t, n) {
+ let { ref: r, ...i } = JA(n, e.slot) || {}, a = kv((0, b.useMemo)(() => Cv(t, r), [t, r])), o = Tv(i, e);
return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {
let n = typeof i.style == "function" ? i.style(t) : i.style, r = {
...t.defaultStyle,
@@ -36233,7 +36233,7 @@ function JA(e, t, n) {
...e.style
}), [o, a];
}
-function YA(e = !0) {
+function XA(e = !0) {
let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(!1), i = (0, b.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -36241,12 +36241,12 @@ function YA(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function XA(e) {
+function ZA(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function n_e(e, t, n) {
+function t_e(e, t, n) {
let { render: r, ...i } = t, a = (0, b.useRef)(null), o = (0, b.useMemo)(() => Cv(n, a), [n, a]);
B_(() => {}, [e, r]);
let s = {
@@ -36255,19 +36255,19 @@ function n_e(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ b.createElement(e, s);
}
-var ZA = {}, QA = new Proxy({}, { get(e, t) {
+var QA = {}, $A = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = ZA[t];
- return n || (n = /*#__PURE__*/ (0, b.forwardRef)(n_e.bind(null, t)), ZA[t] = n), n;
-} }), $A = /*#__PURE__*/ (0, b.createContext)(null), ej = /*#__PURE__*/ (0, b.createContext)(null), tj = /*#__PURE__*/ (0, b.createContext)(null), nj = {
+ let n = QA[t];
+ return n || (n = /*#__PURE__*/ (0, b.forwardRef)(t_e.bind(null, t)), QA[t] = n), n;
+} }), ej = /*#__PURE__*/ (0, b.createContext)(null), tj = /*#__PURE__*/ (0, b.createContext)(null), nj = /*#__PURE__*/ (0, b.createContext)(null), rj = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return rj(e, null, t);
+ return ij(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return rj(e, t, n);
+ return ij(e, t, n);
}
};
-function rj(e, t, n) {
+function ij(e, t, n) {
return C_({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -36278,11 +36278,11 @@ function rj(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, r_e(e, t, n));
+ }), r, n_e(e, t, n));
}
});
}
-function r_e(e, t, n) {
+function n_e(e, t, n) {
let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);
for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);
let o = t.nextKey == null ? null : e.getItem(t.nextKey);
@@ -36301,24 +36301,24 @@ function r_e(e, t, n) {
}
return s;
}
-var ij = /*#__PURE__*/ (0, b.createContext)(nj);
-function aj(e) {
+var aj = /*#__PURE__*/ (0, b.createContext)(rj);
+function oj(e) {
return (0, b.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var oj = /*#__PURE__*/ (0, b.createContext)({}), i_e = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, oj);
- let { elementType: n = "label", ...r } = e, i = QA[n];
+var sj = /*#__PURE__*/ (0, b.createContext)({}), r_e = /*#__PURE__*/ Pv(function(e, t) {
+ [e, t] = YA(e, t, sj);
+ let { elementType: n = "label", ...r } = e, i = $A[n];
return /*#__PURE__*/ b.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), a_e = /*#__PURE__*/ (0, b.createContext)(null), sj = /*#__PURE__*/ (0, b.createContext)({}), cj = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, sj);
+}), i_e = /*#__PURE__*/ (0, b.createContext)(null), cj = /*#__PURE__*/ (0, b.createContext)({}), lj = /*#__PURE__*/ Pv(function(e, t) {
+ [e, t] = YA(e, t, cj);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = goe(e, t);
- i = s_e(i, r);
+ i = o_e(i, r);
let { focusProps: o, isFocused: s, isFocusVisible: c } = eS(e), { hoverProps: l, isHovered: u } = iS({
...e,
isDisabled: e.isDisabled || r
@@ -36329,7 +36329,7 @@ var oj = /*#__PURE__*/ (0, b.createContext)({}), i_e = /*#__PURE__*/ Pv(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = KA({
+ }, f = qA({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -36346,7 +36346,7 @@ var oj = /*#__PURE__*/ (0, b.createContext)({}), i_e = /*#__PURE__*/ Pv(function
p
]);
let _ = Sy(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ b.createElement(QA.button, {
+ return delete _.onClick, /*#__PURE__*/ b.createElement($A.button, {
...Tv(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -36360,62 +36360,62 @@ var oj = /*#__PURE__*/ (0, b.createContext)({}), i_e = /*#__PURE__*/ Pv(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ b.createElement(a_e.Provider, { value: { id: m } }, f.children));
-}), o_e = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function s_e(e, t) {
+ }, /*#__PURE__*/ b.createElement(i_e.Provider, { value: { id: m } }, f.children));
+}), a_e = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function o_e(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !o_e.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !a_e.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Heading.mjs
-var lj = /*#__PURE__*/ (0, b.createContext)({}), uj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, lj);
- let { children: n, level: r = 3, className: i, ...a } = e, o = QA[`h${r}`];
+var uj = /*#__PURE__*/ (0, b.createContext)({}), dj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = YA(e, t, uj);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = $A[`h${r}`];
return /*#__PURE__*/ b.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), dj = /*#__PURE__*/ (0, b.createContext)({}), c_e = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, dj);
- let { elementType: n = "span", ...r } = e, i = QA[n];
+}), fj = /*#__PURE__*/ (0, b.createContext)({}), s_e = /*#__PURE__*/ Pv(function(e, t) {
+ [e, t] = YA(e, t, fj);
+ let { elementType: n = "span", ...r } = e, i = $A[n];
return /*#__PURE__*/ b.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), fj = /*#__PURE__*/ (0, b.createContext)(null), pj = /*#__PURE__*/ (0, b.createContext)(null), mj = /*#__PURE__*/ (0, b.createContext)(null), hj = /*#__PURE__*/ (0, b.createContext)(null), l_e = /*#__PURE__*/ (0, b.createContext)(null), gj = /*#__PURE__*/ (0, b.createContext)(null);
-function u_e(e, t) {
- let { validationBehavior: n } = qA(pj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(l_e), a = kv((0, b.useMemo)(() => Cv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...XA(e),
+}), pj = /*#__PURE__*/ (0, b.createContext)(null), mj = /*#__PURE__*/ (0, b.createContext)(null), hj = /*#__PURE__*/ (0, b.createContext)(null), gj = /*#__PURE__*/ (0, b.createContext)(null), c_e = /*#__PURE__*/ (0, b.createContext)(null), _j = /*#__PURE__*/ (0, b.createContext)(null);
+function l_e(e, t) {
+ let { validationBehavior: n } = JA(mj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(c_e), a = kv((0, b.useMemo)(() => Cv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...ZA(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
return [i ? zoe(o, i, a) : kb(o, Pb(e), a), a];
}
-var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+var u_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = JA(r, t, mj);
- let [i, a] = u_e(e, n);
- return /*#__PURE__*/ b.createElement(gj.Provider, { value: {
+ [e, t] = YA(r, t, hj);
+ let [i, a] = l_e(e, n);
+ return /*#__PURE__*/ b.createElement(_j.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ b.createElement(f_e, {
+ } }, /*#__PURE__*/ b.createElement(d_e, {
...e,
ref: t
}));
-}), f_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, b.useContext)(gj), { isFocused: p, isFocusVisible: m, focusProps: h } = eS(), g = a || o, { hoverProps: _, isHovered: v } = iS({
+}), d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, b.useContext)(_j), { isFocused: p, isFocusVisible: m, focusProps: h } = eS(), g = a || o, { hoverProps: _, isHovered: v } = iS({
...e,
isDisabled: g
- }), y = KA({
+ }), y = qA({
...e,
defaultClassName: u,
values: {
@@ -36431,7 +36431,7 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
isRequired: f || !1
}
}), x = Sy(e, { global: !0 });
- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(QA.label, {
+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement($A.label, {
...Tv(x, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -36449,8 +36449,8 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
...Tv(r, h),
ref: l
})), y.children);
-}), _j = /*#__PURE__*/ (0, b.createContext)({}), p_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, _j);
+}), vj = /*#__PURE__*/ (0, b.createContext)({}), f_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = YA(e, t, vj);
let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;
n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";
let { hoverProps: l, isHovered: u } = iS({
@@ -36458,7 +36458,7 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = eS({ within: !0 }), m = KA({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = eS({ within: !0 }), m = qA({
...e,
values: {
isHovered: u,
@@ -36469,7 +36469,7 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ b.createElement(QA.div, {
+ return /*#__PURE__*/ b.createElement($A.div, {
...Tv(c, p, l),
...m,
ref: t,
@@ -36482,18 +36482,18 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), vj = /*#__PURE__*/ (0, b.createContext)({}), m_e = (e) => {
+}), yj = /*#__PURE__*/ (0, b.createContext)({}), p_e = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, h_e = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, vj);
+}, m_e = /*#__PURE__*/ Pv(function(e, t) {
+ [e, t] = YA(e, t, yj);
let { hoverProps: n, isHovered: r } = iS({
...e,
isDisabled: e.disabled
}), { isFocused: i, isFocusVisible: a, focusProps: o } = eS({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = KA({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = qA({
...e,
values: {
isHovered: r,
@@ -36504,8 +36504,8 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ b.createElement(QA.input, {
- ...Tv(m_e(e), o, n),
+ return /*#__PURE__*/ b.createElement($A.input, {
+ ...Tv(p_e(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -36514,8 +36514,8 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), yj = {};
-yj = {
+}), bj = {};
+bj = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -36523,8 +36523,8 @@ yj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var bj = {};
-bj = {
+var xj = {};
+xj = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -36532,8 +36532,8 @@ bj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var xj = {};
-xj = {
+var Sj = {};
+Sj = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -36541,8 +36541,8 @@ xj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var Sj = {};
-Sj = {
+var Cj = {};
+Cj = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -36550,8 +36550,8 @@ Sj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var Cj = {};
-Cj = {
+var wj = {};
+wj = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -36559,8 +36559,8 @@ Cj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var wj = {};
-wj = {
+var Tj = {};
+Tj = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -36568,8 +36568,8 @@ wj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var Tj = {};
-Tj = {
+var Ej = {};
+Ej = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -36577,8 +36577,8 @@ Tj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var Ej = {};
-Ej = {
+var Dj = {};
+Dj = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -36586,8 +36586,8 @@ Ej = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var Dj = {};
-Dj = {
+var Oj = {};
+Oj = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -36595,8 +36595,8 @@ Dj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var Oj = {};
-Oj = {
+var kj = {};
+kj = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -36604,8 +36604,8 @@ Oj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var kj = {};
-kj = {
+var Aj = {};
+Aj = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -36613,8 +36613,8 @@ kj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var Aj = {};
-Aj = {
+var jj = {};
+jj = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -36622,8 +36622,8 @@ Aj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var jj = {};
-jj = {
+var Mj = {};
+Mj = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -36631,8 +36631,8 @@ jj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var Mj = {};
-Mj = {
+var Nj = {};
+Nj = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -36640,8 +36640,8 @@ Mj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var Nj = {};
-Nj = {
+var Pj = {};
+Pj = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -36649,8 +36649,8 @@ Nj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var Pj = {};
-Pj = {
+var Fj = {};
+Fj = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -36658,8 +36658,8 @@ Pj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var Fj = {};
-Fj = {
+var Ij = {};
+Ij = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -36667,8 +36667,8 @@ Fj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var Ij = {};
-Ij = {
+var Lj = {};
+Lj = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -36676,8 +36676,8 @@ Ij = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var Lj = {};
-Lj = {
+var Rj = {};
+Rj = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -36685,8 +36685,8 @@ Lj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var Rj = {};
-Rj = {
+var zj = {};
+zj = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -36694,8 +36694,8 @@ Rj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var zj = {};
-zj = {
+var Bj = {};
+Bj = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -36703,8 +36703,8 @@ zj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var Bj = {};
-Bj = {
+var Vj = {};
+Vj = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -36712,8 +36712,8 @@ Bj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var Vj = {};
-Vj = {
+var Hj = {};
+Hj = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -36721,8 +36721,8 @@ Vj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var Hj = {};
-Hj = {
+var Uj = {};
+Uj = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -36730,8 +36730,8 @@ Hj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var Uj = {};
-Uj = {
+var Wj = {};
+Wj = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -36739,8 +36739,8 @@ Uj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var Wj = {};
-Wj = {
+var Gj = {};
+Gj = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -36748,8 +36748,8 @@ Wj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var Gj = {};
-Gj = {
+var Kj = {};
+Kj = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -36757,8 +36757,8 @@ Gj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var Kj = {};
-Kj = {
+var qj = {};
+qj = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -36766,8 +36766,8 @@ Kj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var qj = {};
-qj = {
+var Jj = {};
+Jj = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -36775,8 +36775,8 @@ qj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var Jj = {};
-Jj = {
+var Yj = {};
+Yj = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -36784,8 +36784,8 @@ Jj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var Yj = {};
-Yj = {
+var Xj = {};
+Xj = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -36793,8 +36793,8 @@ Yj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var Xj = {};
-Xj = {
+var Zj = {};
+Zj = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -36802,8 +36802,8 @@ Xj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var Zj = {};
-Zj = {
+var Qj = {};
+Qj = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -36811,8 +36811,8 @@ Zj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var Qj = {};
-Qj = {
+var $j = {};
+$j = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -36820,52 +36820,52 @@ Qj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var $j = {};
-$j = {
- "ar-AE": yj,
- "bg-BG": bj,
- "cs-CZ": xj,
- "da-DK": Sj,
- "de-DE": Cj,
- "el-GR": wj,
- "en-US": Tj,
- "es-ES": Ej,
- "et-EE": Dj,
- "fi-FI": Oj,
- "fr-FR": kj,
- "he-IL": Aj,
- "hr-HR": jj,
- "hu-HU": Mj,
- "it-IT": Nj,
- "ja-JP": Pj,
- "ko-KR": Fj,
- "lt-LT": Ij,
- "lv-LV": Lj,
- "nb-NO": Rj,
- "nl-NL": zj,
- "pl-PL": Bj,
- "pt-BR": Vj,
- "pt-PT": Hj,
- "ro-RO": Uj,
- "ru-RU": Wj,
- "sk-SK": Gj,
- "sl-SI": Kj,
- "sr-SP": qj,
- "sv-SE": Jj,
- "tr-TR": Yj,
- "uk-UA": Xj,
- "zh-CN": Zj,
- "zh-TW": Qj
+var eM = {};
+eM = {
+ "ar-AE": bj,
+ "bg-BG": xj,
+ "cs-CZ": Sj,
+ "da-DK": Cj,
+ "de-DE": wj,
+ "el-GR": Tj,
+ "en-US": Ej,
+ "es-ES": Dj,
+ "et-EE": Oj,
+ "fi-FI": kj,
+ "fr-FR": Aj,
+ "he-IL": jj,
+ "hr-HR": Mj,
+ "hu-HU": Nj,
+ "it-IT": Pj,
+ "ja-JP": Fj,
+ "ko-KR": Ij,
+ "lt-LT": Lj,
+ "lv-LV": Rj,
+ "nb-NO": zj,
+ "nl-NL": Bj,
+ "pl-PL": Vj,
+ "pt-BR": Hj,
+ "pt-PT": Uj,
+ "ro-RO": Wj,
+ "ru-RU": Gj,
+ "sk-SK": Kj,
+ "sl-SI": qj,
+ "sr-SP": Jj,
+ "sv-SE": Yj,
+ "tr-TR": Xj,
+ "uk-UA": Zj,
+ "zh-CN": Qj,
+ "zh-TW": $j
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var eM = /*#__PURE__*/ (0, b.createContext)({}), tM = /*#__PURE__*/ (0, b.createContext)(null), g_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { render: n } = (0, b.useContext)(tM);
+var tM = /*#__PURE__*/ (0, b.createContext)({}), nM = /*#__PURE__*/ (0, b.createContext)(null), h_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { render: n } = (0, b.useContext)(nM);
return /*#__PURE__*/ b.createElement(b.Fragment, null, n(e, t));
});
-function nM(e, t) {
+function rM(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, b.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ b.createElement(g_e, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ b.createElement(h_e, { target: e });
}, [
t?.target,
r,
@@ -36873,7 +36873,7 @@ function nM(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function rM(e, t, n) {
+function iM(e, t, n) {
let r = e.focusedKey, i = null;
if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {
let e = n.collection.getKeyAfter(i), t = null;
@@ -36895,14 +36895,14 @@ function rM(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var iM = /*#__PURE__*/ (0, b.createContext)({}), __e = /*#__PURE__*/ (0, b.createContext)(null);
-function aM(e) {
+var aM = /*#__PURE__*/ (0, b.createContext)({}), g_e = /*#__PURE__*/ (0, b.createContext)(null);
+function oM(e) {
let t = (0, b.useRef)({});
- return /*#__PURE__*/ b.createElement(__e.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ b.createElement(g_e.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var oM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), sM = /*#__PURE__*/ (0, b.createContext)({}), v_e = /*#__PURE__*/ Hv(class extends y_ {
+var sM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), cM = /*#__PURE__*/ (0, b.createContext)({}), __e = /*#__PURE__*/ Hv(class extends y_ {
static {
this.type = "separator";
}
@@ -36915,10 +36915,10 @@ var oM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), sM = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = JA(e, t, sM);
+ [e, t] = YA(e, t, cM);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = QA[c], { separatorProps: u } = Gse({
+ let l = $A[c], { separatorProps: u } = Gse({
...s,
elementType: n,
orientation: r
@@ -36934,13 +36934,13 @@ var oM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), sM = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function cM(e) {
+function lM(e) {
let t = b.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
//#endregion
//#region node_modules/react-stately/dist/private/list/ListCollection.mjs
-var lM = class {
+var uM = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -36984,20 +36984,20 @@ var lM = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, uM = class e extends Set {
+}, dM = class e extends Set {
constructor(t, n, r) {
super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
}
};
//#endregion
//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function y_e(e, t) {
+function v_e(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function dM(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, b.useRef)(!1), [, s] = (0, b.useState)(!1), c = (0, b.useRef)(null), l = (0, b.useRef)(null), [, u] = (0, b.useState)(null), [d, f] = Nb((0, b.useMemo)(() => fM(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => fM(e.defaultSelectedKeys, new uM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, b.useState)(i);
+function fM(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, b.useRef)(!1), [, s] = (0, b.useState)(!1), c = (0, b.useRef)(null), l = (0, b.useRef)(null), [, u] = (0, b.useState)(null), [d, f] = Nb((0, b.useMemo)(() => pM(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => pM(e.defaultSelectedKeys, new dM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, b.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, b.useRef)(i);
return (0, b.useEffect)(() => {
@@ -37024,18 +37024,18 @@ function dM(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !y_e(e, d)) && f(e);
+ (r || !v_e(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function fM(e, t) {
- return e ? e === "all" ? "all" : new uM(e) : t;
+function pM(e, t) {
+ return e ? e === "all" ? "all" : new dM(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var pM = class e {
+var mM = class e {
constructor(e, t, n) {
this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;
}
@@ -37118,10 +37118,10 @@ var pM = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new uM([t], t, t);
+ if (this.state.selectedKeys === "all") n = new dM([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new uM(e, r, t);
+ n = new dM(e, r, t);
for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);
for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);
}
@@ -37155,19 +37155,19 @@ var pM = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new uM(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new dM(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);
}
replaceSelection(e) {
if (this.selectionMode === "none") return;
let t = this.getKey(e);
if (t == null) return;
- let n = this.canSelectItem(t) ? new uM([t], t, t) : new uM();
+ let n = this.canSelectItem(t) ? new dM([t], t, t) : new dM();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new uM();
+ let t = new dM();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -37190,7 +37190,7 @@ var pM = class e {
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
}
clearSelection() {
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new uM());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new dM());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -37231,9 +37231,9 @@ var pM = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, b_e = class {
+}, y_e = class {
build(e, t) {
- return this.context = t, mM(() => this.iterateCollection(e));
+ return this.context = t, hM(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -37315,10 +37315,10 @@ var pM = class e {
...a,
key: l,
index: s,
- wrapper: x_e(e.wrapper, a.wrapper)
+ wrapper: b_e(e.wrapper, a.wrapper)
}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];
for (let t of u) {
- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${hM(t.type)}> in <${hM(r?.type ?? "unknown parent type")}>. Only <${hM(e.type)}> is supported.`);
+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${gM(t.type)}> in <${gM(r?.type ?? "unknown parent type")}>. Only <${gM(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -37340,7 +37340,7 @@ var pM = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: mM(function* () {
+ childNodes: hM(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -37359,7 +37359,7 @@ var pM = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function mM(e) {
+function hM(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -37367,18 +37367,18 @@ function mM(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function x_e(e, t) {
+function b_e(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function hM(e) {
+function gM(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function gM(e, t, n) {
- let r = (0, b.useMemo)(() => new b_e(), []), { children: i, items: a, collection: o } = e;
+function _M(e, t, n) {
+ let r = (0, b.useMemo)(() => new y_e(), []), { children: i, items: a, collection: o } = e;
return (0, b.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -37393,27 +37393,27 @@ function gM(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function _M(e) {
- let { filter: t, layoutDelegate: n } = e, r = dM(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = gM(e, (0, b.useCallback)((e) => t ? new lM(t(e)) : new lM(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new pM(a, r, { layoutDelegate: n }), [
+function vM(e) {
+ let { filter: t, layoutDelegate: n } = e, r = fM(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = _M(e, (0, b.useCallback)((e) => t ? new uM(t(e)) : new uM(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new mM(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return vM(a, o), {
+ return yM(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function S_e(e, t) {
+function x_e(e, t) {
let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return vM(n, r), {
+ return yM(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function vM(e, t) {
+function yM(e, t) {
let n = (0, b.useRef)(null);
(0, b.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -37441,7 +37441,7 @@ function vM(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function yM(e, t) {
+function bM(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, b.useRef)(null), s = oy((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -37465,42 +37465,42 @@ function yM(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var bM = /*#__PURE__*/ (0, b.createContext)(null), xM = /*#__PURE__*/ (0, b.createContext)(null), C_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, bM);
- let n = (0, b.useContext)(xM);
- return n ? /*#__PURE__*/ b.createElement(SM, {
+var xM = /*#__PURE__*/ (0, b.createContext)(null), SM = /*#__PURE__*/ (0, b.createContext)(null), S_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = YA(e, t, xM);
+ let n = (0, b.useContext)(SM);
+ return n ? /*#__PURE__*/ b.createElement(CM, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ b.createElement(zv, { content: /*#__PURE__*/ b.createElement(Kv, e) }, (n) => /*#__PURE__*/ b.createElement(w_e, {
+ }) : /*#__PURE__*/ b.createElement(zv, { content: /*#__PURE__*/ b.createElement(Kv, e) }, (n) => /*#__PURE__*/ b.createElement(C_e, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function w_e({ props: e, listBoxRef: t, collection: n }) {
+function C_e({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, b.useContext)(ij), i = _M({
+ let { layoutDelegate: r } = (0, b.useContext)(aj), i = vM({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ b.createElement(SM, {
+ return /*#__PURE__*/ b.createElement(CM, {
state: i,
props: e,
listBoxRef: t
});
}
-function SM({ state: e, props: t, listBoxRef: n }) {
- [t, n] = JA(t, n, $A);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = S_e(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = my(), { disabledBehavior: p, disabledKeys: m } = l, h = qx({
+function CM({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = YA(t, n, ej);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = x_e(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = my(), { disabledBehavior: p, disabledKeys: m } = l, h = qx({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(ij), x = (0, b.useMemo)(() => t.keyboardDelegate || new Yb({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(aj), x = (0, b.useMemo)(() => t.keyboardDelegate || new Yb({
collection: c,
collator: h,
ref: n,
@@ -37561,7 +37561,7 @@ function SM({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, P = KA({
+ }, P = qA({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -37572,7 +37572,7 @@ function SM({ state: e, props: t, listBoxRef: n }) {
style: { display: "contents" }
}, t.renderEmptyState(N)));
let F = Sy(t, { global: !0 });
- return /*#__PURE__*/ b.createElement(Gy, null, /*#__PURE__*/ b.createElement(QA.div, {
+ return /*#__PURE__*/ b.createElement(Gy, null, /*#__PURE__*/ b.createElement($A.div, {
...Tv(F, P, S, k, T?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -37583,52 +37583,52 @@ function SM({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": j || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [bM, t],
- [xM, s],
- [eM, {
+ }, /*#__PURE__*/ b.createElement(KA, { values: [
+ [xM, t],
+ [SM, s],
+ [tM, {
dragAndDropHooks: r,
dragState: C,
dropState: w
}],
- [sM, { elementType: "div" }],
- [tM, { render: D_e }],
- [tj, {
+ [cM, { elementType: "div" }],
+ [nM, { render: E_e }],
+ [nj, {
name: "ListBoxSection",
- render: T_e
+ render: w_e
}]
- ] }, /*#__PURE__*/ b.createElement(aM, null, /*#__PURE__*/ b.createElement(y, {
+ ] }, /*#__PURE__*/ b.createElement(oM, null, /*#__PURE__*/ b.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: rM(l, r, w),
- renderDropIndicator: nM(r, w)
+ persistedKeys: iM(l, r, w),
+ renderDropIndicator: rM(r, w)
}))), ee, D));
}
-function T_e(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, b.useContext)(xM), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(eM), { CollectionBranch: s } = (0, b.useContext)(ij), [c, l] = YA(), { headingProps: u, groupProps: d } = fse({
+function w_e(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, b.useContext)(SM), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(tM), { CollectionBranch: s } = (0, b.useContext)(aj), [c, l] = XA(), { headingProps: u, groupProps: d } = fse({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = KA({
+ }), f = qA({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
}), p = Sy(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ b.createElement(QA.section, {
+ return delete p.id, /*#__PURE__*/ b.createElement($A.section, {
...Tv(p, f, d),
ref: t
- }, /*#__PURE__*/ b.createElement(iM.Provider, { value: {
+ }, /*#__PURE__*/ b.createElement(aM.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ b.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: nM(a, o)
+ renderDropIndicator: rM(a, o)
})));
}
-var E_e = /*#__PURE__*/ Hv(oie, function(e, t, n) {
- let r = kv(t), i = (0, b.useContext)(xM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(eM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = pse({
+var T_e = /*#__PURE__*/ Hv(oie, function(e, t, n) {
+ let r = kv(t), i = (0, b.useContext)(SM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(tM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = pse({
key: n.key,
"aria-label": e?.["aria-label"]
}, i, r), { hoverProps: p, isHovered: m } = iS({
@@ -37647,7 +37647,7 @@ var E_e = /*#__PURE__*/ Hv(oie, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), x = KA({
+ let y = o && o.isDragging(n.key), x = qA({
...e,
id: void 0,
children: e.children,
@@ -37665,7 +37665,7 @@ var E_e = /*#__PURE__*/ Hv(oie, function(e, t, n) {
(0, b.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let S = e.href ? QA.a : QA.div, C = Sy(e, { global: !0 });
+ let S = e.href ? $A.a : $A.div, C = Sy(e, { global: !0 });
return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ b.createElement(S, {
...Tv(C, x, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -37679,29 +37679,29 @@ var E_e = /*#__PURE__*/ Hv(oie, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ b.createElement(GA, { values: [[dj, { slots: {
- [WA]: u,
+ }, /*#__PURE__*/ b.createElement(KA, { values: [[fj, { slots: {
+ [GA]: u,
label: u,
description: d
- } }], [oM, { isSelected: f.isSelected }]] }, x.children));
+ } }], [sM, { isSelected: f.isSelected }]] }, x.children));
});
-function D_e(e, t) {
+function E_e(e, t) {
t = kv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(eM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ b.createElement(k_e, {
+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(tM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ b.createElement(O_e, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function O_e(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = KA({
+function D_e(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = qA({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(QA.div, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($A.div, {
...n,
...a,
role: "option",
@@ -37709,10 +37709,10 @@ function O_e(e, t) {
"data-drop-target": r || void 0
}));
}
-var k_e = /*#__PURE__*/ (0, b.forwardRef)(O_e);
+var O_e = /*#__PURE__*/ (0, b.forwardRef)(D_e);
Hv(x_, function(e, t, n) {
- let r = (0, b.useContext)(xM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
- yM((0, b.useMemo)(() => ({
+ let r = (0, b.useContext)(SM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
+ bM((0, b.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -37722,7 +37722,7 @@ Hv(x_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = KA({
+ let l = qA({
...s,
id: void 0,
children: n.rendered,
@@ -37735,7 +37735,7 @@ Hv(x_, function(e, t, n) {
width: 0,
height: 0
},
- inert: cM(!0)
+ inert: lM(!0)
}, /*#__PURE__*/ b.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -37744,7 +37744,7 @@ Hv(x_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(QA.div, {
+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($A.div, {
...Tv(Sy(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
@@ -37753,10 +37753,10 @@ Hv(x_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var A_e = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });
+var k_e = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function CM(e) {
+function wM(e) {
let [t, n] = Nb(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, b.useState)(null);
return {
isOpen: t,
@@ -37776,15 +37776,15 @@ function CM(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function wM(e, t = !0, n) {
+function TM(e, t = !0, n) {
let [r, i] = (0, b.useState)(!0), a = r && t;
return B_(() => {
if (!t && e.current) return _v(A_(e.current, "opacity", "0"), A_(e.current, "clip", "rect(0 0 0 0)"), A_(e.current, "clip-path", "inset(50%)"), A_(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
}, [e, t]), B_(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), EM(e, a, n, (0, b.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), DM(e, a, n, (0, b.useCallback)(() => i(!1), [])), a;
}
-function TM(e, t, n) {
+function EM(e, t, n) {
let [r, i] = (0, b.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -37794,11 +37794,11 @@ function TM(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return EM(e, a, n, (0, b.useCallback)(() => {
+ return DM(e, a, n, (0, b.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function EM(e, t, n, r) {
+function DM(e, t, n, r) {
let i = (0, b.useRef)(null), a = oy(n);
B_(() => {
if (t && e.current && i.current !== t) {
@@ -37826,9 +37826,9 @@ function EM(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var DM = /*#__PURE__*/ (0, b.createContext)(null), OM = /*#__PURE__*/ (0, b.createContext)(null), kM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, DM);
- let n = (0, b.useContext)(BM), r = CM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = TM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Fv(), { direction: c } = my();
+var OM = /*#__PURE__*/ (0, b.createContext)(null), kM = /*#__PURE__*/ (0, b.createContext)(null), AM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = YA(e, t, OM);
+ let n = (0, b.useContext)(VM), r = wM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = EM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Fv(), { direction: c } = my();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -37839,7 +37839,7 @@ var DM = /*#__PURE__*/ (0, b.createContext)(null), OM = /*#__PURE__*/ (0, b.crea
defaultChildren: null
})), /*#__PURE__*/ b.createElement(b.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ b.createElement(j_e, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ b.createElement(A_e, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -37848,13 +37848,13 @@ var DM = /*#__PURE__*/ (0, b.createContext)(null), OM = /*#__PURE__*/ (0, b.crea
dir: c
});
});
-function j_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useContext)(OM), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, b.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = zse({
+function A_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useContext)(kM), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, b.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = zse({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = wM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = KA({
+ }, e), g = i.popoverRef, _ = TM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = qA({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -37875,7 +37875,7 @@ function j_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let w = (0, b.useMemo)(() => {
let e = y.children;
- for (let t of [DM, ...r ?? []]) e = /*#__PURE__*/ b.createElement(t.Provider, { value: null }, e);
+ for (let t of [OM, ...r ?? []]) e = /*#__PURE__*/ b.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [T, E] = (0, b.useState)(null), D = (0, b.useCallback)(() => {
i.triggerRef.current && E(i.triggerRef.current.getBoundingClientRect().width + "px");
@@ -37891,7 +37891,7 @@ function j_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-width": y.style?.["--trigger-width"] || T
};
B_(() => LC(() => u(!0)), []);
- let k = /*#__PURE__*/ b.createElement(QA.div, {
+ let k = /*#__PURE__*/ b.createElement($A.div, {
...Tv(Sy(i, { global: !0 }), d),
...y,
id: S ? i.id : void 0,
@@ -37907,7 +37907,7 @@ function j_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ b.createElement(AC, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(A_e.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ b.createElement(AC, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(k_e.Provider, { value: {
...p,
placement: m,
ref: a
@@ -37932,15 +37932,15 @@ function j_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ b.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ b.createElement(OM.Provider, { value: o }, k)));
+ }, /*#__PURE__*/ b.createElement(kM.Provider, { value: o }, k)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var M_e = /*#__PURE__*/ (0, b.createContext)({});
+var j_e = /*#__PURE__*/ (0, b.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function AM(e) {
- let t = CM(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {
+function jM(e) {
+ let t = wM(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -37966,7 +37966,7 @@ function AM(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var N_e = class {
+var M_e = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -38010,8 +38010,8 @@ var N_e = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function P_e(e) {
- let { onExpandedChange: t } = e, [n, r] = Nb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = dM(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = gM(e, (0, b.useCallback)((e) => new N_e(e, { expandedKeys: n }), [n]), null);
+function N_e(e) {
+ let { onExpandedChange: t } = e, [n, r] = Nb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = fM(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = _M(e, (0, b.useCallback)((e) => new M_e(e, { expandedKeys: n }), [n]), null);
return (0, b.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -38019,32 +38019,32 @@ function P_e(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(F_e(n, e));
+ r(P_e(n, e));
},
setExpandedKeys: r,
- selectionManager: new pM(o, i)
+ selectionManager: new mM(o, i)
};
}
-function F_e(e, t) {
+function P_e(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var jM = /*#__PURE__*/ (0, b.createContext)(null), MM = /*#__PURE__*/ (0, b.createContext)(null), NM = /*#__PURE__*/ (0, b.createContext)(null), PM = /*#__PURE__*/ (0, b.createContext)(null);
-function I_e(e) {
- let t = AM(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = Nx({
+var MM = /*#__PURE__*/ (0, b.createContext)(null), NM = /*#__PURE__*/ (0, b.createContext)(null), PM = /*#__PURE__*/ (0, b.createContext)(null), FM = /*#__PURE__*/ (0, b.createContext)(null);
+function F_e(e) {
+ let t = jM(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = Nx({
...e,
type: "menu"
}, t, n), a = (0, b.useRef)(null);
- return Fv() ? null : /*#__PURE__*/ b.createElement(GA, { values: [
- [jM, {
+ return Fv() ? null : /*#__PURE__*/ b.createElement(KA, { values: [
+ [MM, {
...i,
ref: a
}],
- [BM, t],
- [NM, t],
- [DM, {
+ [VM, t],
+ [PM, t],
+ [OM, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -38058,7 +38058,7 @@ function I_e(e) {
isPressed: t.isOpen
}, e.children));
}
-var L_e = /*#__PURE__*/ (0, b.createContext)(null);
+var I_e = /*#__PURE__*/ (0, b.createContext)(null);
(class extends y_ {
static {
this.type = "submenutrigger";
@@ -38072,24 +38072,24 @@ var L_e = /*#__PURE__*/ (0, b.createContext)(null);
return null;
}
});
-var R_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return [e, t] = JA(e, t, jM), /*#__PURE__*/ b.createElement(zv, { content: /*#__PURE__*/ b.createElement(Kv, e) }, (n) => /*#__PURE__*/ b.createElement(z_e, {
+var L_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ return [e, t] = YA(e, t, MM), /*#__PURE__*/ b.createElement(zv, { content: /*#__PURE__*/ b.createElement(Kv, e) }, (n) => /*#__PURE__*/ b.createElement(R_e, {
props: e,
collection: n,
menuRef: t
}));
});
-function z_e({ props: e, collection: t, menuRef: n }) {
- [e, n] = JA(e, n, $A);
- let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = P_e({
+function R_e({ props: e, collection: t, menuRef: n }) {
+ [e, n] = YA(e, n, ej);
+ let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = N_e({
...e,
collection: a,
children: void 0
- }), s = (0, b.useContext)(NM), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(ij), { menuProps: u } = mse({
+ }), s = (0, b.useContext)(PM), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(aj), { menuProps: u } = mse({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = KA({
+ }, o, n), d = qA({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -38100,35 +38100,35 @@ function z_e({ props: e, collection: t, menuRef: n }) {
style: { display: "contents" }
}, e.renderEmptyState()));
let p = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(Gy, null, /*#__PURE__*/ b.createElement(QA.div, {
+ return /*#__PURE__*/ b.createElement(Gy, null, /*#__PURE__*/ b.createElement($A.div, {
...Tv(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [MM, o],
- [sM, { elementType: "div" }],
- [tj, {
+ }, /*#__PURE__*/ b.createElement(KA, { values: [
+ [NM, o],
+ [cM, { elementType: "div" }],
+ [nj, {
name: "MenuSection",
- render: FM
+ render: IM
}],
- [L_e, {
+ [I_e, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [LM, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [$A, null],
+ [RM, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
[ej, null],
- [PM, o.selectionManager],
- [NM, s ?? AM({})]
- ] }, /*#__PURE__*/ b.createElement(aM, null, /*#__PURE__*/ b.createElement(l, {
+ [tj, null],
+ [FM, o.selectionManager],
+ [PM, s ?? jM({})]
+ ] }, /*#__PURE__*/ b.createElement(oM, null, /*#__PURE__*/ b.createElement(l, {
collection: o.collection,
- persistedKeys: aj(o.selectionManager.focusedKey),
+ persistedKeys: oj(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var B_e = class extends pM {
+var z_e = class extends mM {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -38148,11 +38148,11 @@ var B_e = class extends pM {
return this.parent.childFocusStrategy;
}
};
-function FM(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, b.useContext)(MM), { CollectionBranch: a } = (0, b.useContext)(ij), [o, s] = YA(), { headingProps: c, groupProps: l } = gse({
+function IM(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, b.useContext)(NM), { CollectionBranch: a } = (0, b.useContext)(aj), [o, s] = XA(), { headingProps: c, groupProps: l } = gse({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = KA({
+ }), u = qA({
...e,
id: void 0,
children: void 0,
@@ -38160,31 +38160,31 @@ function FM(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, b.useContext)(PM), f = dM(e), p = e.selectionMode == null ? d : new B_e(d, f), m = qA(LM)?.shouldCloseOnSelect, h = Sy(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ b.createElement(QA.section, {
+ }), d = (0, b.useContext)(FM), f = fM(e), p = e.selectionMode == null ? d : new z_e(d, f), m = JA(RM)?.shouldCloseOnSelect, h = Sy(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ b.createElement($A.section, {
...Tv(h, u, l),
ref: t
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [iM, {
+ }, /*#__PURE__*/ b.createElement(KA, { values: [
+ [aM, {
...c,
ref: o
}],
- [PM, p],
- [LM, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [FM, p],
+ [RM, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ b.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var IM = /*#__PURE__*/ Uv(sie, FM), LM = /*#__PURE__*/ (0, b.createContext)(null), RM = /*#__PURE__*/ Hv(oie, function(e, t, n) {
- [e, t] = JA(e, t, LM);
- let r = qA(LM)?.id, i = (0, b.useContext)(MM), a = kv(t), o = (0, b.useContext)(PM), { isVirtualized: s } = (0, b.useContext)(ij), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = hse({
+var LM = /*#__PURE__*/ Uv(sie, IM), RM = /*#__PURE__*/ (0, b.createContext)(null), zM = /*#__PURE__*/ Hv(oie, function(e, t, n) {
+ [e, t] = YA(e, t, RM);
+ let r = JA(RM)?.id, i = (0, b.useContext)(NM), a = kv(t), o = (0, b.useContext)(FM), { isVirtualized: s } = (0, b.useContext)(aj), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = hse({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = iS({ isDisabled: f.isDisabled }), h = KA({
+ }, i, a), { hoverProps: p, isHovered: m } = iS({ isDisabled: f.isDisabled }), h = qA({
...e,
id: void 0,
children: n.rendered,
@@ -38198,7 +38198,7 @@ var IM = /*#__PURE__*/ Uv(sie, FM), LM = /*#__PURE__*/ (0, b.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? QA.a : QA.div, _ = Sy(e, { global: !0 });
+ }), g = e.href ? $A.a : $A.div, _ = Sy(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(g, {
...Tv(_, h, c, p),
ref: a,
@@ -38211,19 +38211,19 @@ var IM = /*#__PURE__*/ Uv(sie, FM), LM = /*#__PURE__*/ (0, b.createContext)(null
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [dj, { slots: {
- [WA]: l,
+ }, /*#__PURE__*/ b.createElement(KA, { values: [
+ [fj, { slots: {
+ [GA]: l,
label: l,
description: u
} }],
- [M_e, d],
- [oM, { isSelected: f.isSelected }]
+ [j_e, d],
+ [sM, { isSelected: f.isSelected }]
] }, h.children));
});
Hv(x_, function(e, t, n) {
- let r = (0, b.useContext)(MM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
- yM((0, b.useMemo)(() => ({
+ let r = (0, b.useContext)(NM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
+ bM((0, b.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -38233,7 +38233,7 @@ Hv(x_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = KA({
+ let l = qA({
...s,
id: void 0,
children: n.rendered,
@@ -38246,7 +38246,7 @@ Hv(x_, function(e, t, n) {
width: 0,
height: 0
},
- inert: cM(!0)
+ inert: lM(!0)
}, /*#__PURE__*/ b.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -38255,7 +38255,7 @@ Hv(x_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(QA.div, {
+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($A.div, {
...Tv(Sy(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
@@ -38264,82 +38264,82 @@ Hv(x_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var zM = /*#__PURE__*/ (0, b.createContext)(null), BM = /*#__PURE__*/ (0, b.createContext)(null), VM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+var BM = /*#__PURE__*/ (0, b.createContext)(null), VM = /*#__PURE__*/ (0, b.createContext)(null), HM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = JA(e, t, zM);
+ [e, t] = YA(e, t, BM);
let { dialogProps: r, titleProps: i, contentProps: a } = ese({
...e,
"aria-labelledby": n
- }, t), o = (0, b.useContext)(BM);
+ }, t), o = (0, b.useContext)(VM);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = KA({
+ let s = qA({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
}), c = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(QA.section, {
+ return /*#__PURE__*/ b.createElement($A.section, {
...Tv(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [lj, { slots: {
- [WA]: {},
+ }, /*#__PURE__*/ b.createElement(KA, { values: [
+ [uj, { slots: {
+ [GA]: {},
title: {
...i,
level: 2
}
} }],
- [dj, { slots: {
- [WA]: {},
+ [fj, { slots: {
+ [GA]: {},
description: a
} }],
- [sj, { slots: {
- [WA]: {},
+ [cj, { slots: {
+ [GA]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), HM = typeof document < "u" && window.visualViewport;
-function V_e() {
+}), UM = typeof document < "u" && window.visualViewport;
+function B_e() {
let e = ev(), t = (0, b.useRef)(null), [n, r] = (0, b.useState)(() => e ? {
width: 0,
height: 0
- } : UM());
+ } : WM());
return (0, b.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- HM && HM.scale > 1 || e(UM());
+ UM && UM.scale > 1 || e(WM());
}, i = (n) => {
- HM && HM.scale > 1 || ry(P_(n)) && (t.current = LC((t) => {
+ UM && UM.scale > 1 || ry(P_(n)) && (t.current = LC((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(UM()), q_() && J_() && window.addEventListener("blur", i, !0), HM ? HM.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), q_() && J_() && window.removeEventListener("blur", i, !0), HM ? HM.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(WM()), q_() && J_() && window.addEventListener("blur", i, !0), UM ? UM.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), q_() && J_() && window.removeEventListener("blur", i, !0), UM ? UM.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function UM() {
+function WM() {
return {
- width: HM ? Math.min(HM.width * HM.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: HM ? HM.height * HM.scale : document.documentElement.clientHeight
+ width: UM ? Math.min(UM.width * UM.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: UM ? UM.height * UM.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var H_e = /*#__PURE__*/ (0, b.createContext)(null), WM = /*#__PURE__*/ (0, b.createContext)(null), U_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- if ((0, b.useContext)(WM)) return /*#__PURE__*/ b.createElement(KM, {
+var V_e = /*#__PURE__*/ (0, b.createContext)(null), GM = /*#__PURE__*/ (0, b.createContext)(null), H_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ if ((0, b.useContext)(GM)) return /*#__PURE__*/ b.createElement(qM, {
...e,
modalRef: t
}, e.children);
let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;
- return /*#__PURE__*/ b.createElement(GM, {
+ return /*#__PURE__*/ b.createElement(KM, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -38349,15 +38349,15 @@ var H_e = /*#__PURE__*/ (0, b.createContext)(null), WM = /*#__PURE__*/ (0, b.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ b.createElement(KM, {
+ }, /*#__PURE__*/ b.createElement(qM, {
...f,
modalRef: t
}, s));
});
-function W_e(e, t) {
- [e, t] = JA(e, t, H_e);
- let n = (0, b.useContext)(BM), r = CM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = kv(t), o = (0, b.useRef)(null), s = TM(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = TM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = ev();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ b.createElement(G_e, {
+function U_e(e, t) {
+ [e, t] = YA(e, t, V_e);
+ let n = (0, b.useContext)(VM), r = wM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = kv(t), o = (0, b.useRef)(null), s = EM(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = EM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = ev();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ b.createElement(W_e, {
...e,
state: i,
isExiting: u,
@@ -38366,12 +38366,12 @@ function W_e(e, t) {
onExitRef: c
});
}
-var GM = /*#__PURE__*/ (0, b.forwardRef)(W_e);
-function G_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, b.useState)(!1), s = wM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Dse({
+var KM = /*#__PURE__*/ (0, b.forwardRef)(U_e);
+function W_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, b.useState)(!1), s = TM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Dse({
...n,
isEntering: c
- }, i, r), d = (0, b.useContext)(zM), f = t ? K_e(d, { isEntering: c }) : d, p = KA({
+ }, i, r), d = (0, b.useContext)(BM), f = t ? G_e(d, { isEntering: c }) : d, p = qA({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -38379,7 +38379,7 @@ function G_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = V_e(), h, g;
+ }), m = B_e(), h, g;
if (typeof document < "u") {
let e = ub(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
h = e.scrollWidth - t, g = e.scrollHeight - n;
@@ -38394,15 +38394,15 @@ function G_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
return B_(() => LC(() => o(!0)), []), /*#__PURE__*/ b.createElement(Qx, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ b.createElement(QA.div, {
+ }, /*#__PURE__*/ b.createElement($A.div, {
...Tv(Sy(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [WM, {
+ }, /*#__PURE__*/ b.createElement(KA, { values: [
+ [GM, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -38410,11 +38410,11 @@ function G_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [BM, i],
- [zM, f]
+ [VM, i],
+ [BM, f]
] }, p.children)));
}
-function K_e(e, t) {
+function G_e(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -38431,8 +38431,8 @@ function K_e(e, t) {
...t
};
}
-function KM(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(WM), s = (0, b.useContext)(BM), c = kv((0, b.useMemo)(() => Cv(e.modalRef, n), [e.modalRef, n])), l = wM(c, o, e.onEnter), u = KA({
+function qM(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(GM), s = (0, b.useContext)(VM), c = kv((0, b.useMemo)(() => Cv(e.modalRef, n), [e.modalRef, n])), l = TM(c, o, e.onEnter), u = qA({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -38443,7 +38443,7 @@ function KM(e) {
});
return B_(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ b.createElement(QA.div, {
+ }), /*#__PURE__*/ b.createElement($A.div, {
...Tv(Sy(e, { global: !0 }), t),
...u,
ref: c,
@@ -38453,9 +38453,9 @@ function KM(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var q_e = Math.round(Math.random() * 1e10), J_e = 0;
-function Y_e(e) {
- let t = (0, b.useMemo)(() => e.name || `radio-group-${q_e}-${++J_e}`, [e.name]), [n, r] = Nb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = wb({
+var K_e = Math.round(Math.random() * 1e10), q_e = 0;
+function J_e(e) {
+ let t = (0, b.useMemo)(() => e.name || `radio-group-${K_e}-${++q_e}`, [e.name]), [n, r] = Nb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = wb({
...e,
value: n
}), c = (t) => {
@@ -38478,16 +38478,16 @@ function Y_e(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var X_e = /*#__PURE__*/ (0, b.createContext)(null), Z_e = /*#__PURE__*/ (0, b.createContext)(null), qM = /*#__PURE__*/ (0, b.createContext)(null), JM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, X_e);
- let { validationBehavior: n } = qA(pj) || {}, r = e.validationBehavior ?? n ?? "native", i = Y_e({
+var Y_e = /*#__PURE__*/ (0, b.createContext)(null), X_e = /*#__PURE__*/ (0, b.createContext)(null), JM = /*#__PURE__*/ (0, b.createContext)(null), YM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = YA(e, t, Y_e);
+ let { validationBehavior: n } = JA(mj) || {}, r = e.validationBehavior ?? n ?? "native", i = J_e({
...e,
validationBehavior: r
- }), [a, o] = YA(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Vse({
+ }), [a, o] = XA(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Vse({
...e,
label: o,
validationBehavior: r
- }, i), f = KA({
+ }, i), f = qA({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -38499,7 +38499,7 @@ var X_e = /*#__PURE__*/ (0, b.createContext)(null), Z_e = /*#__PURE__*/ (0, b.cr
},
defaultClassName: "react-aria-RadioGroup"
}), p = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(QA.div, {
+ return /*#__PURE__*/ b.createElement($A.div, {
...Tv(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -38508,39 +38508,39 @@ var X_e = /*#__PURE__*/ (0, b.createContext)(null), Z_e = /*#__PURE__*/ (0, b.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [qM, i],
- [oj, {
+ }, /*#__PURE__*/ b.createElement(KA, { values: [
+ [JM, i],
+ [sj, {
...c,
ref: a,
elementType: "span"
}],
- [dj, { slots: {
+ [fj, { slots: {
description: l,
errorMessage: u
} }],
- [fj, d]
- ] }, /*#__PURE__*/ b.createElement(aM, null, f.children)));
-}), YM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [pj, d]
+ ] }, /*#__PURE__*/ b.createElement(oM, null, f.children)));
+}), XM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = JA(r, t, Z_e);
- let i = b.useContext(qM), a = kv((0, b.useMemo)(() => Cv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Bse({
- ...XA(e),
+ [e, t] = YA(r, t, X_e);
+ let i = b.useContext(JM), a = kv((0, b.useMemo)(() => Cv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Bse({
+ ...ZA(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ b.createElement(XM.Provider, { value: {
+ return /*#__PURE__*/ b.createElement(ZM.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ b.createElement(Q_e, {
+ } }, /*#__PURE__*/ b.createElement(Z_e, {
...e,
ref: t
}));
-}), XM = /*#__PURE__*/ (0, b.createContext)(null), Q_e = /*#__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)(XM), l = b.useContext(qM), { isFocused: u, isFocusVisible: d, focusProps: f } = eS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = iS({
+}), ZM = /*#__PURE__*/ (0, b.createContext)(null), Z_e = /*#__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)(ZM), l = b.useContext(JM), { isFocused: u, isFocusVisible: d, focusProps: f } = eS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = iS({
...e,
isDisabled: p
- }), g = KA({
+ }), g = qA({
...e,
defaultClassName: s,
values: {
@@ -38555,7 +38555,7 @@ var X_e = /*#__PURE__*/ (0, b.createContext)(null), Z_e = /*#__PURE__*/ (0, b.cr
isRequired: l.isRequired
}
}), _ = Sy(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(QA.label, {
+ return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement($A.label, {
...Tv(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -38574,8 +38574,8 @@ var X_e = /*#__PURE__*/ (0, b.createContext)(null), Z_e = /*#__PURE__*/ (0, b.cr
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function $_e(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = CM(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function Q_e(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = wM(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
@@ -38591,12 +38591,12 @@ function $_e(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = _M({
+ }, d = vM({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, b.useMemo)(() => eve(l), [l]),
+ selectedKeys: (0, b.useMemo)(() => $_e(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -38633,16 +38633,16 @@ function $_e(e) {
setFocused: g
};
}
-function eve(e) {
+function $_e(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 tve(e) {
+function eve(e) {
return e && e.__esModule ? e.default : e;
}
-var ZM = /*#__PURE__*/ (0, b.createContext)(null), QM = /*#__PURE__*/ (0, b.createContext)(null), nve = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, ZM);
+var QM = /*#__PURE__*/ (0, b.createContext)(null), $M = /*#__PURE__*/ (0, b.createContext)(null), tve = /*#__PURE__*/ Pv(function(e, t) {
+ [e, t] = YA(e, t, QM);
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,
@@ -38657,24 +38657,24 @@ var ZM = /*#__PURE__*/ (0, b.createContext)(null), QM = /*#__PURE__*/ (0, b.crea
i,
a
]);
- return /*#__PURE__*/ b.createElement(zv, { content: o }, (n) => /*#__PURE__*/ b.createElement(ive, {
+ return /*#__PURE__*/ b.createElement(zv, { content: o }, (n) => /*#__PURE__*/ b.createElement(rve, {
props: e,
collection: n,
selectRef: t
}));
-}), rve = [
- oj,
+}), nve = [
sj,
- dj
+ cj,
+ fj
];
-function ive({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = qA(pj) || {}, i = e.validationBehavior ?? r ?? "native", a = $_e({
+function rve({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = JA(mj) || {}, i = e.validationBehavior ?? r ?? "native", a = Q_e({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = eS({ within: !0 }), c = (0, b.useRef)(null), [l, u] = YA(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Hse({
- ...XA(e),
+ }), { isFocusVisible: o, focusProps: s } = eS({ within: !0 }), c = (0, b.useRef)(null), [l, u] = XA(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Hse({
+ ...ZA(e),
label: u,
validationBehavior: i
}, a, c), y = (0, b.useMemo)(() => ({
@@ -38691,48 +38691,48 @@ function ive({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), x = KA({
+ ]), x = qA({
...e,
values: y,
defaultClassName: "react-aria-Select"
}), S = Sy(e, { global: !0 });
delete S.id;
let C = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(GA, { values: [
- [ZM, e],
- [QM, a],
- [$M, p],
- [oj, {
+ return /*#__PURE__*/ b.createElement(KA, { values: [
+ [QM, e],
+ [$M, a],
+ [eN, p],
+ [sj, {
...d,
ref: l,
elementType: "span"
}],
- [sj, {
+ [cj, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [BM, a],
- [DM, {
+ [VM, a],
+ [OM, {
trigger: "Select",
triggerRef: c,
scrollRef: C,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: rve
+ clearContexts: nve
}],
- [bM, {
+ [xM, {
...m,
ref: C
}],
- [xM, a],
- [dj, { slots: {
+ [SM, a],
+ [fj, { slots: {
description: h,
errorMessage: g
} }],
- [fj, v]
- ] }, /*#__PURE__*/ b.createElement(QA.div, {
+ [pj, v]
+ ] }, /*#__PURE__*/ b.createElement($A.div, {
...Tv(S, x, s),
ref: t,
slot: e.slot || void 0,
@@ -38747,9 +38747,9 @@ function ive({ props: e, selectRef: t, collection: n }) {
autoComplete: e.autoComplete
})));
}
-for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, $M);
- let n = (0, b.useContext)(QM), { placeholder: r } = qA(ZM), i = n.selectedItems.map((e) => {
+for (var eN = /*#__PURE__*/ (0, b.createContext)(null), ive = /*#__PURE__*/ Pv(function(e, t) {
+ [e, t] = YA(e, t, eN);
+ let n = (0, b.useContext)($M), { placeholder: r } = JA(QM), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -38776,7 +38776,7 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
a,
o,
i
- ]), u = by(tve($j), "react-aria-components"), d = KA({
+ ]), u = by(eve(eM), "react-aria-components"), d = qA({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -38788,32 +38788,32 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
state: n
}
}), f = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(QA.span, {
+ return /*#__PURE__*/ b.createElement($A.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ b.createElement(dj.Provider, { value: void 0 }, d.children));
-}), ove = /*#__PURE__*/ (0, b.createContext)(null), eN = /*#__PURE__*/ (0, b.createContext)(null), sve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ b.createElement(fj.Provider, { value: void 0 }, d.children));
+}), ave = /*#__PURE__*/ (0, b.createContext)(null), tN = /*#__PURE__*/ (0, b.createContext)(null), ove = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = JA(r, t, ove);
+ [e, t] = YA(r, t, ave);
let i = kv((0, b.useMemo)(() => Cv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Pb(e), o = Kse({
- ...XA(e),
+ ...ZA(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ b.createElement(GA, { values: [[eN, a], [tN, {
+ return /*#__PURE__*/ b.createElement(KA, { values: [[tN, a], [nN, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ b.createElement(cve, {
+ }]] }, /*#__PURE__*/ b.createElement(sve, {
...e,
ref: t
}));
-}), tN = /*#__PURE__*/ (0, b.createContext)(null), cve = /*#__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)(tN), { isFocused: f, isFocusVisible: p, focusProps: m } = eS(), h = a || o, g = (0, b.useContext)(eN), { hoverProps: _, isHovered: v } = iS({
+}), nN = /*#__PURE__*/ (0, b.createContext)(null), sve = /*#__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)(nN), { isFocused: f, isFocusVisible: p, focusProps: m } = eS(), h = a || o, g = (0, b.useContext)(tN), { hoverProps: _, isHovered: v } = iS({
...e,
isDisabled: h
- }), y = KA({
+ }), y = qA({
...e,
defaultClassName: u,
values: {
@@ -38829,7 +38829,7 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
state: g
}
}), x = Sy(e, { global: !0 });
- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(QA.label, {
+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement($A.label, {
...Tv(x, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -38846,7 +38846,7 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
...Tv(r, m),
ref: l
})), y.children);
-}), nN = 10, rN = 5, lve = class {
+}), rN = 10, iN = 5, cve = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -38856,7 +38856,7 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
}
resolveDropTarget(e, t, n, r) {
let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;
- if (Math.abs(a) > rN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > nN && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > iN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > rN && (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);
@@ -38935,11 +38935,11 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > rN && i) {
+ if (Math.abs(r - c.lastSwitchY) > iN && 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 > nN && a) {
+ if (l > rN && 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;
}
@@ -38954,7 +38954,7 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
boundaryContext: null
};
}
-}, uve = class {
+}, lve = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -39024,8 +39024,8 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, iN = "row-header-column-" + Math.random().toString(36).slice(2), aN = "row-header-column-" + Math.random().toString(36).slice(2); iN === aN;) aN = "row-header-column-" + Math.random().toString(36).slice(2);
-function oN(e, t) {
+}, aN = "row-header-column-" + Math.random().toString(36).slice(2), oN = "row-header-column-" + Math.random().toString(36).slice(2); aN === oN;) oN = "row-header-column-" + Math.random().toString(36).slice(2);
+function sN(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -39109,13 +39109,13 @@ function oN(e, t) {
textValue: ""
}));
}
-var dve = class extends uve {
+var uve = class extends lve {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: iN,
+ key: aN,
value: null,
textValue: "",
level: 0,
@@ -39130,7 +39130,7 @@ var dve = class extends uve {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: aN,
+ key: oN,
value: null,
textValue: "",
level: 0,
@@ -39157,7 +39157,7 @@ var dve = class extends uve {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = oN(s, a);
+ let l = sN(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -39218,8 +39218,8 @@ var dve = class extends uve {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function fve(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || dM(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function dve(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || fM(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
@@ -39230,7 +39230,7 @@ function fve(e) {
}
a(e, r);
};
- let o = (0, b.useMemo)(() => new pM(t, r), [t, r]), s = (0, b.useRef)(null);
+ let o = (0, b.useMemo)(() => new mM(t, r), [t, r]), s = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {
let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;
@@ -39269,11 +39269,11 @@ function fve(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var pve = {
+var fve = {
ascending: "descending",
descending: "ascending"
};
-function mve(e) {
+function pve(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,
@@ -39284,7 +39284,7 @@ function mve(e) {
i,
r,
a
- ]), c = gM(e, (0, b.useCallback)((e) => new dve(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = fve({
+ ]), c = _M(e, (0, b.useCallback)((e) => new uve(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = dve({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -39300,7 +39300,7 @@ function mve(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? pve[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? fve[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -39313,7 +39313,7 @@ function mve(e) {
treeColumn: o
};
}
-function hve(e, t) {
+function mve(e, t) {
let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -39323,7 +39323,7 @@ function hve(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var gve = class extends cie {
+var hve = class extends cie {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -39338,7 +39338,7 @@ var gve = class extends cie {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new pN(-2);
+ return new mN(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -39364,7 +39364,7 @@ var gve = class extends cie {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = oN(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 = sN(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;
@@ -39445,11 +39445,11 @@ var gve = class extends cie {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new uN(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new dN(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, _ve = /*#__PURE__*/ (0, b.createContext)(null), vve = /*#__PURE__*/ (0, b.createContext)(null), sN = /*#__PURE__*/ (0, b.createContext)(null), cN = /*#__PURE__*/ (0, b.createContext)(null), yve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, vve);
- let n = dM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({
+}, gve = /*#__PURE__*/ (0, b.createContext)(null), _ve = /*#__PURE__*/ (0, b.createContext)(null), cN = /*#__PURE__*/ (0, b.createContext)(null), lN = /*#__PURE__*/ (0, b.createContext)(null), vve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = YA(e, t, _ve);
+ let n = fM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -39459,26 +39459,26 @@ var gve = class extends cie {
i,
a,
o
- ]), c = /*#__PURE__*/ b.createElement(Sve.Provider, { value: s }, /*#__PURE__*/ b.createElement(Kv, e));
+ ]), c = /*#__PURE__*/ b.createElement(xve.Provider, { value: s }, /*#__PURE__*/ b.createElement(Kv, e));
return /*#__PURE__*/ b.createElement(zv, {
content: c,
- createCollection: () => new gve()
- }, (r) => /*#__PURE__*/ b.createElement(xve, {
+ createCollection: () => new hve()
+ }, (r) => /*#__PURE__*/ b.createElement(bve, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), bve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}), yve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(aj);
+ return n ? /*#__PURE__*/ b.createElement($A.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.table, {
+ }) : /*#__PURE__*/ b.createElement($A.table, {
...e,
ref: t
});
-}), lN = {
+}), uN = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -39488,26 +39488,26 @@ var gve = class extends cie {
rtl: "ArrowRight"
}
};
-function xve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = JA(e, t, $A);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(_ve);
+function bve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = YA(e, t, ej);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(gve);
t = kv((0, b.useMemo)(() => Cv(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = Nb(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 = mve({
+ let d = pve({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = hve(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(ij), { dragAndDropHooks: _ } = e, { gridProps: v } = Qse({
+ }), f = mve(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(aj), { dragAndDropHooks: _ } = e, { gridProps: v } = Qse({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, x = !!_?.useDraggableCollectionState, S = !!_?.useDroppableCollectionState;
(0, b.useRef)(x), (0, b.useRef)(S), (0, b.useEffect)(() => {}, [x, S]);
- let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = my(), [A] = (0, b.useState)(() => new lve());
+ let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = my(), [A] = (0, b.useState)(() => new cve());
if (x && _) {
C = _.useDraggableCollectionState({
collection: f.collection,
@@ -39542,12 +39542,12 @@ function xve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = w?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === lN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === lN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === uN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === uN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, w, t), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: j, isFocused: M, isFocusVisible: N } = eS(), P = KA({
+ let { focusProps: j, isFocused: M, isFocusVisible: N } = eS(), P = qA({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -39564,18 +39564,18 @@ function xve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
width: "min-content"
}));
let I = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(GA, { values: [
- [sN, f],
- [cN, te],
- [eM, {
+ return /*#__PURE__*/ b.createElement(KA, { values: [
+ [cN, f],
+ [lN, te],
+ [tM, {
dragAndDropHooks: _,
dragState: C,
dropState: w
}],
- [tM, { render: Mve }],
- [$A, null],
- [ej, null]
- ] }, /*#__PURE__*/ b.createElement(Gy, null, /*#__PURE__*/ b.createElement(bve, {
+ [nM, { render: jve }],
+ [ej, null],
+ [tj, null]
+ ] }, /*#__PURE__*/ b.createElement(Gy, null, /*#__PURE__*/ b.createElement(yve, {
...Tv(I, P, v, j, T?.collectionProps),
style: F,
ref: t,
@@ -39585,31 +39585,31 @@ function xve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": E || void 0,
"data-focused": M || void 0,
"data-focus-visible": N || void 0
- }, /*#__PURE__*/ b.createElement(aM, null, /*#__PURE__*/ b.createElement(g, {
+ }, /*#__PURE__*/ b.createElement(oM, null, /*#__PURE__*/ b.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: rM(y, _, w)
+ persistedKeys: iM(y, _, w)
})))), D);
}
-var Sve = /*#__PURE__*/ (0, b.createContext)(null), uN = class extends y_ {
+var xve = /*#__PURE__*/ (0, b.createContext)(null), dN = class extends y_ {
static {
this.type = "tableheader";
}
-}, Cve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}, Sve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(aj);
+ return n ? /*#__PURE__*/ b.createElement($A.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.thead, {
+ }) : /*#__PURE__*/ b.createElement($A.thead, {
...e,
ref: t
});
-}), dN = /*#__PURE__*/ Uv(uN, (e, t) => {
- let n = (0, b.useContext)(sN).collection, r = C_({
+}), fN = /*#__PURE__*/ Uv(dN, (e, t) => {
+ let n = (0, b.useContext)(cN).collection, r = C_({
items: n.headerRows,
children: (0, b.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ b.createElement(Tve, { item: e });
+ case "headerrow": return /*#__PURE__*/ b.createElement(wve, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
@@ -39617,13 +39617,13 @@ var Sve = /*#__PURE__*/ (0, b.createContext)(null), uN = class extends y_ {
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = KA({
+ }), s = qA({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ b.createElement(Cve, {
+ return /*#__PURE__*/ b.createElement(Sve, {
...Tv(Sy(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -39632,8 +39632,8 @@ var Sve = /*#__PURE__*/ (0, b.createContext)(null), uN = class extends y_ {
}, (e) => /*#__PURE__*/ b.createElement(Kv, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), wve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
+}, e.children)), Cve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(aj);
return n ? /*#__PURE__*/ b.createElement("div", {
...e,
ref: t
@@ -39642,41 +39642,41 @@ var Sve = /*#__PURE__*/ (0, b.createContext)(null), uN = class extends y_ {
ref: t
});
});
-function Tve({ item: e }) {
- let t = (0, b.useRef)(null), n = (0, b.useContext)(sN), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(ij), { rowProps: a } = nce({
+function wve({ item: e }) {
+ let t = (0, b.useRef)(null), n = (0, b.useContext)(cN), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(aj), { rowProps: a } = nce({
node: e,
isVirtualized: r
}, n, t), { checkboxProps: o } = lce(n);
- return /*#__PURE__*/ b.createElement(wve, {
+ return /*#__PURE__*/ b.createElement(Cve, {
...a,
ref: t
- }, /*#__PURE__*/ b.createElement(GA, { values: [[mj, { slots: { selection: o } }], [hj, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {
+ }, /*#__PURE__*/ b.createElement(KA, { values: [[hj, { slots: { selection: o } }], [gj, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Eve = class extends y_ {
+var Tve = class extends y_ {
static {
this.type = "column";
}
-}, Dve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}, Eve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(aj);
+ return n ? /*#__PURE__*/ b.createElement($A.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.th, {
+ }) : /*#__PURE__*/ b.createElement($A.th, {
...e,
ref: t
});
-}), fN = /*#__PURE__*/ Hv(Eve, (e, t, n) => {
- let r = kv(t), i = (0, b.useContext)(sN), { isVirtualized: a } = (0, b.useContext)(ij), { columnHeaderProps: o, isPressed: s } = tce({
+}), pN = /*#__PURE__*/ Hv(Tve, (e, t, n) => {
+ let r = kv(t), i = (0, b.useContext)(cN), { isVirtualized: a } = (0, b.useContext)(aj), { columnHeaderProps: o, isPressed: s } = tce({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = eS(), d = (0, b.useContext)(cN), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = eS(), d = (0, b.useContext)(lN), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = iS({ isDisabled: !e.allowsSorting }), h = KA({
+ let { hoverProps: p, isHovered: m } = iS({ isDisabled: !e.allowsSorting }), h = qA({
...e,
id: void 0,
children: n.rendered,
@@ -39703,7 +39703,7 @@ var Eve = class extends y_ {
width: d.getColumnWidth(n.key)
});
let _ = Sy(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ b.createElement(Dve, {
+ return delete _.id, /*#__PURE__*/ b.createElement(Eve, {
...Tv(_, o, u, p),
...h,
style: g,
@@ -39715,28 +39715,28 @@ var Eve = class extends y_ {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [[Ove, {
+ }, /*#__PURE__*/ b.createElement(KA, { values: [[Dve, {
column: n,
triggerRef: r
- }], [ij, nj]] }, h.children));
-}), Ove = /*#__PURE__*/ (0, b.createContext)(null), pN = class extends b_ {
+ }], [aj, rj]] }, h.children));
+}), Dve = /*#__PURE__*/ (0, b.createContext)(null), mN = class extends b_ {
static {
this.type = "tablebody";
}
-}, kve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}, Ove = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(aj);
+ return n ? /*#__PURE__*/ b.createElement($A.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.tbody, {
+ }) : /*#__PURE__*/ b.createElement($A.tbody, {
...e,
ref: t
});
-}), mN = /*#__PURE__*/ Uv(pN, (e, t, n) => {
- let r = (0, b.useContext)(sN), { isVirtualized: i } = (0, b.useContext)(ij), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(ij), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(eM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), hN = /*#__PURE__*/ Uv(mN, (e, t, n) => {
+ let r = (0, b.useContext)(cN), { isVirtualized: i } = (0, b.useContext)(aj), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(aj), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(tM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = KA({
+ }, p = qA({
...e,
id: void 0,
children: void 0,
@@ -39745,25 +39745,25 @@ var Eve = class extends y_ {
}), m, h = a.columnCount;
if (d && e.renderEmptyState && r) {
let t = {}, n = {}, r = {};
- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement(gN, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement(_N, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ b.createElement(vN, {
+ }, /*#__PURE__*/ b.createElement(yN, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
let { rowGroupProps: g } = Qw(), _ = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(kve, {
+ return /*#__PURE__*/ b.createElement(Ove, {
...Tv(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ b.createElement(Lve, null), /*#__PURE__*/ b.createElement(o, {
+ }, l && /*#__PURE__*/ b.createElement(Ive, null), /*#__PURE__*/ b.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: nM(s, c)
+ renderDropIndicator: rM(s, c)
}), m);
});
(class extends b_ {
@@ -39771,7 +39771,7 @@ var Eve = class extends y_ {
this.type = "tablefooter";
}
});
-var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Ave = class extends y_ {
+var gN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), kve = class extends y_ {
static {
this.type = "item";
}
@@ -39783,17 +39783,17 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
}
return null;
}
-}, gN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}, _N = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(aj);
+ return n ? /*#__PURE__*/ b.createElement($A.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.tr, {
+ }) : /*#__PURE__*/ b.createElement($A.tr, {
...e,
ref: t
});
-}), _N = /*#__PURE__*/ Uv(Ave, (e, t, n) => {
- let r = kv(t), i = (0, b.useContext)(sN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(eM), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(ij), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ace({
+}), vN = /*#__PURE__*/ Uv(kve, (e, t, n) => {
+ let r = kv(t), i = (0, b.useContext)(cN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(tM), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(aj), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ace({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
@@ -39817,7 +39817,7 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
(0, b.useEffect)(() => {
o && D.current;
}, []);
- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = KA({
+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = qA({
...A,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -39839,10 +39839,10 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
level: n.level + 1
}
}), P = Sy(e, { global: !0 });
- return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(gN, {
+ return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(_N, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ b.createElement(vN, {
+ }, /*#__PURE__*/ b.createElement(yN, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -39851,7 +39851,7 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
...E,
...w.dropIndicatorProps,
ref: T
- }))), /*#__PURE__*/ b.createElement(gN, {
+ }))), /*#__PURE__*/ b.createElement(_N, {
...Tv(P, N, d, g, y, C?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -39867,17 +39867,17 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
"data-expanded": M || void 0,
"data-has-child-items": j || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [mj, { slots: {
- [WA]: {},
+ }, /*#__PURE__*/ b.createElement(KA, { values: [
+ [hj, { slots: {
+ [GA]: {},
selection: S
} }],
- [hj, { slots: {
- [WA]: {},
+ [gj, { slots: {
+ [GA]: {},
selection: S
} }],
- [sj, { slots: {
- [WA]: {},
+ [cj, { slots: {
+ [GA]: {},
chevron: f,
drag: {
...C?.dragButtonProps,
@@ -39885,8 +39885,8 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
style: { pointerEvents: "none" }
}
} }],
- [oM, { isSelected: p.isSelected }],
- [hN, { isFocusVisibleWithinRow: _ }]
+ [sM, { isSelected: p.isSelected }],
+ [gN, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ b.createElement(l, {
collection: i.collection,
parent: n
@@ -39899,21 +39899,21 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
items: e.columns,
idScope: e.id
}, e.children);
-}), jve = class extends y_ {
+}), Ave = class extends y_ {
static {
this.type = "cell";
}
-}, vN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}, yN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(aj);
+ return n ? /*#__PURE__*/ b.createElement($A.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.td, {
+ }) : /*#__PURE__*/ b.createElement($A.td, {
...e,
ref: t
});
-}), yN = /*#__PURE__*/ Hv(jve, (e, t, n) => {
- let r = kv(t), i = (0, b.useContext)(sN), { dragState: a } = (0, b.useContext)(eM), { isVirtualized: o } = (0, b.useContext)(ij);
+}), bN = /*#__PURE__*/ Hv(Ave, (e, t, n) => {
+ let r = kv(t), i = (0, b.useContext)(cN), { dragState: a } = (0, b.useContext)(tM), { isVirtualized: o } = (0, b.useContext)(aj);
n.column = i.collection.columns[n.index];
let { gridCellProps: s, isPressed: c } = $se({
node: n,
@@ -39921,7 +39921,7 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = eS(), { hoverProps: f, isHovered: p } = iS({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(hN), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), x = i.selectionManager.isDisabled(n.parentKey), S = KA({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = eS(), { hoverProps: f, isHovered: p } = iS({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(gN), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), x = i.selectionManager.isDisabled(n.parentKey), S = qA({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -39941,7 +39941,7 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
isTreeColumn: n.column.key === i.treeColumn
}
}), C = Sy(e, { global: !0 });
- return delete C.id, /*#__PURE__*/ b.createElement(vN, {
+ return delete C.id, /*#__PURE__*/ b.createElement(yN, {
...Tv(C, S, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -39955,14 +39955,14 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": x || void 0
- }, /*#__PURE__*/ b.createElement(ij.Provider, { value: nj }, S.children));
+ }, /*#__PURE__*/ b.createElement(aj.Provider, { value: rj }, S.children));
});
-function Mve(e, t) {
+function jve(e, t) {
t = kv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(eM), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(tM), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ b.createElement(Ive, {
+ return /*#__PURE__*/ b.createElement(Fve, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -39971,40 +39971,40 @@ function Mve(e, t) {
ref: t
});
}
-var Nve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+var Mve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(aj);
+ return n ? /*#__PURE__*/ b.createElement($A.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.tr, {
+ }) : /*#__PURE__*/ b.createElement($A.tr, {
...e,
ref: t
});
-}), Pve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}), Nve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(aj);
+ return n ? /*#__PURE__*/ b.createElement($A.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.td, {
+ }) : /*#__PURE__*/ b.createElement($A.td, {
...e,
ref: t
});
});
-function Fve(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(sN), { visuallyHiddenProps: c } = Lb(), l = KA({
+function Pve(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(cN), { visuallyHiddenProps: c } = Lb(), l = qA({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ b.createElement(Nve, {
+ return /*#__PURE__*/ b.createElement(Mve, {
...Sy(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ b.createElement(Pve, {
+ }, /*#__PURE__*/ b.createElement(Nve, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -40015,14 +40015,14 @@ function Fve(e, t) {
ref: i
}), l.children));
}
-var Ive = /*#__PURE__*/ (0, b.forwardRef)(Fve);
-function Lve() {
- let e = (0, b.useContext)(sN), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(eM), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Lb();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(gN, {
+var Fve = /*#__PURE__*/ (0, b.forwardRef)(Pve);
+function Ive() {
+ let e = (0, b.useContext)(cN), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(tM), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Lb();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(_N, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ b.createElement(vN, {
+ }, /*#__PURE__*/ b.createElement(yN, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -40034,8 +40034,8 @@ function Lve() {
})));
}
Hv(x_, function(e, t, n) {
- let r = (0, b.useContext)(sN), { isVirtualized: i } = (0, b.useContext)(ij), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
- yM((0, b.useMemo)(() => ({
+ let r = (0, b.useContext)(cN), { isVirtualized: i } = (0, b.useContext)(aj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
+ bM((0, b.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -40045,7 +40045,7 @@ Hv(x_, function(e, t, n) {
s,
r?.collection
]), u);
- let d = KA({
+ let d = qA({
...c,
id: void 0,
children: n.rendered,
@@ -40053,10 +40053,10 @@ Hv(x_, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(gN, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(_N, {
style: { height: 0 },
- inert: cM(!0)
- }, /*#__PURE__*/ b.createElement(vN, { style: {
+ inert: lM(!0)
+ }, /*#__PURE__*/ b.createElement(yN, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ b.createElement("div", {
@@ -40067,14 +40067,14 @@ Hv(x_, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ b.createElement(gN, {
+ }))), a && d.children && /*#__PURE__*/ b.createElement(_N, {
...Tv(Sy(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ b.createElement(vN, {
+ }, /*#__PURE__*/ b.createElement(yN, {
role: "rowheader",
...p,
style: m
@@ -40082,8 +40082,8 @@ Hv(x_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function Rve(e) {
- let [t, n] = Nb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = _M({
+function Lve(e) {
+ let [t, n] = Nb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = vM({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -40106,24 +40106,24 @@ function Rve(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function zve(e) {
- let t = Rve({
+function Rve(e) {
+ let t = Lve({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? bN(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? xN(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, b.useRef)(i);
return (0, b.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = bN(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = xN(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
}), {
...t,
isDisabled: e.isDisabled || !1
};
}
-function bN(e, t) {
+function xN(e, t) {
let n = null;
if (e) {
for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);
@@ -40133,20 +40133,20 @@ function bN(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var xN = /*#__PURE__*/ (0, b.createContext)(null), SN = /*#__PURE__*/ (0, b.createContext)(null), CN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, xN);
+var SN = /*#__PURE__*/ (0, b.createContext)(null), CN = /*#__PURE__*/ (0, b.createContext)(null), wN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = YA(e, t, SN);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, b.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ b.createElement(zv, { content: n }, (n) => /*#__PURE__*/ b.createElement(Bve, {
+ }) : n, [n, r]), /*#__PURE__*/ b.createElement(zv, { content: n }, (n) => /*#__PURE__*/ b.createElement(zve, {
props: e,
collection: n,
tabsRef: t
}));
});
-function Bve({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = zve({
+function zve({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = Rve({
...e,
collection: n,
children: void 0
@@ -40158,12 +40158,12 @@ function Bve({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = KA({
+ ]), l = qA({
...e,
defaultClassName: "react-aria-Tabs",
values: c
}), u = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(QA.div, {
+ return /*#__PURE__*/ b.createElement($A.div, {
...Tv(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -40171,20 +40171,20 @@ function Bve({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [[xN, e], [SN, i]] }, l.children));
+ }, /*#__PURE__*/ b.createElement(KA, { values: [[SN, e], [CN, i]] }, l.children));
}
-var wN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return (0, b.useContext)(SN) ? /*#__PURE__*/ b.createElement(Vve, {
+var TN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ return (0, b.useContext)(CN) ? /*#__PURE__*/ b.createElement(Bve, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ b.createElement(Kv, e);
});
-function Vve({ props: e, forwardedRef: t }) {
- let n = (0, b.useContext)(SN), { CollectionRoot: r } = (0, b.useContext)(ij), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = qA(xN), o = kv(t), { tabListProps: s } = fce({
+function Bve({ props: e, forwardedRef: t }) {
+ let n = (0, b.useContext)(CN), { CollectionRoot: r } = (0, b.useContext)(aj), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = JA(SN), o = kv(t), { tabListProps: s } = fce({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = KA({
+ }, n, o), c = qA({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -40193,21 +40193,21 @@ function Vve({ props: e, forwardedRef: t }) {
state: n
}
}), l = Sy(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ b.createElement(QA.div, {
+ return delete l.id, /*#__PURE__*/ b.createElement($A.div, {
...Tv(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ b.createElement(aM, null, /*#__PURE__*/ b.createElement(r, {
+ }, /*#__PURE__*/ b.createElement(oM, null, /*#__PURE__*/ b.createElement(r, {
collection: n.collection,
- persistedKeys: aj(n.selectionManager.focusedKey)
+ persistedKeys: oj(n.selectionManager.focusedKey)
})));
}
-var TN = /*#__PURE__*/ Hv(class extends y_ {
+var EN = /*#__PURE__*/ Hv(class extends y_ {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, b.useContext)(SN), i = kv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = uce({
+ let r = (0, b.useContext)(CN), i = kv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = uce({
key: n.key,
...e
}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = eS(), { hoverProps: f, isHovered: p } = iS({
@@ -40215,7 +40215,7 @@ var TN = /*#__PURE__*/ Hv(class extends y_ {
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = KA({
+ }), m = qA({
...e,
id: void 0,
children: n.rendered,
@@ -40228,7 +40228,7 @@ var TN = /*#__PURE__*/ Hv(class extends y_ {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? QA.a : QA.div, g = Sy(e, { global: !0 });
+ }), h = n.props.href ? $A.a : $A.div, g = Sy(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ b.createElement(h, {
...Tv(g, m, a, l, f),
ref: i,
@@ -40238,26 +40238,26 @@ var TN = /*#__PURE__*/ Hv(class extends y_ {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ b.createElement(oM.Provider, { value: { isSelected: o } }, m.children));
-}), EN = /*#__PURE__*/ Pv(function(e, t) {
- let n = (0, b.useContext)(SN), r = kv(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ b.createElement(sM.Provider, { value: { isSelected: o } }, m.children));
+}), DN = /*#__PURE__*/ Pv(function(e, t) {
+ let n = (0, b.useContext)(CN), r = kv(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = TM(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(Hve, {
+ let s = EM(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(Vve, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function Hve(e) {
- let t = (0, b.useContext)(SN), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = pce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = eS(), d = t.selectedKey === e.id, f = wM(r) && !i, p = KA({
+function Vve(e) {
+ let t = (0, b.useContext)(CN), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = pce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = eS(), d = t.selectedKey === e.id, f = TM(r) && !i, p = qA({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: cM(!d),
+ isInert: lM(!d),
isEntering: f,
isExiting: a,
state: t
@@ -40265,31 +40265,31 @@ function Hve(e) {
}), m = Sy(o, { global: !0 });
delete m.id;
let h = d ? Tv(m, s, c, p) : Tv(m, p);
- return /*#__PURE__*/ b.createElement(QA.div, {
+ return /*#__PURE__*/ b.createElement($A.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: cM(!d || e.inert),
+ inert: lM(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [[xN, null], [SN, null]] }, /*#__PURE__*/ b.createElement(ij.Provider, { value: nj }, p.children)));
+ }, /*#__PURE__*/ b.createElement(KA, { values: [[SN, null], [CN, null]] }, /*#__PURE__*/ b.createElement(aj.Provider, { value: rj }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var Uve = /*#__PURE__*/ (0, b.createContext)({}), Wve = /*#__PURE__*/ (0, b.createContext)(null), Gve = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, Wve);
- let { validationBehavior: n } = qA(pj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);
- [e, i] = JA(e, i, ej);
- let [a, o] = YA(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Boe({
- ...XA(e),
+var Hve = /*#__PURE__*/ (0, b.createContext)({}), Uve = /*#__PURE__*/ (0, b.createContext)(null), Wve = /*#__PURE__*/ Pv(function(e, t) {
+ [e, t] = YA(e, t, Uve);
+ let { validationBehavior: n } = JA(mj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);
+ [e, i] = YA(e, i, tj);
+ let [a, o] = XA(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Boe({
+ ...ZA(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, b.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = KA({
+ }, [i]), h = qA({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -40299,7 +40299,7 @@ var Uve = /*#__PURE__*/ (0, b.createContext)({}), Wve = /*#__PURE__*/ (0, b.crea
},
defaultClassName: "react-aria-TextField"
}), g = Sy(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ b.createElement(QA.div, {
+ return delete g.id, /*#__PURE__*/ b.createElement($A.div, {
...g,
...h,
ref: t,
@@ -40308,38 +40308,38 @@ var Uve = /*#__PURE__*/ (0, b.createContext)({}), Wve = /*#__PURE__*/ (0, b.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [oj, {
+ }, /*#__PURE__*/ b.createElement(KA, { values: [
+ [sj, {
...l,
ref: a
}],
- [vj, {
+ [yj, {
...u,
ref: m
}],
- [Uve, {
+ [Hve, {
...u,
ref: m
}],
- [_j, {
+ [vj, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [dj, { slots: {
+ [fj, { slots: {
description: d,
errorMessage: f
} }],
- [fj, p]
+ [pj, p]
] }, h.children));
});
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function Kve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsxs)(i_e, {
+function Gve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsxs)(r_e, {
"data-label": "true",
...a,
- className: Bk("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: Vk("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, x.jsx)("span", {
@@ -40347,7 +40347,7 @@ function Kve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, x.jsx)(Vme, {
+ n && /* @__PURE__ */ (0, x.jsx)(Bme, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -40356,33 +40356,33 @@ function Kve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function qve({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, x.jsx)(c_e, {
+function Kve({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, x.jsx)(s_e, {
slot: e ? "errorMessage" : "description",
...n,
- className: Bk("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: Vk("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var DN = (0, b.createContext)({});
-function ON({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(DN.Provider, {
+var ON = (0, b.createContext)({});
+function kN({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsx)(ON.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, x.jsx)(Gve, {
+ children: /* @__PURE__ */ (0, x.jsx)(Wve, {
...a,
"data-input-size": e,
- className: Bk("group flex h-max w-full flex-col items-start gap-1", r),
+ className: Vk("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-ON.displayName = "TextField";
-var kN = Vk({
+kN.displayName = "TextField";
+var AN = Hk({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -40411,44 +40411,44 @@ var kN = Vk({
].join(" "),
icon: "size-5 shrink-0"
});
-function AN({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, b.useContext)(DN), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, x.jsx)(p_e, {
+function jN({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, b.useContext)(ON), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, x.jsx)(f_e, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => Bk(kN.field, d ? kN.fieldWithAddonSize[u] : kN.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 }) => Vk(AN.field, d ? AN.fieldWithAddonSize[u] : AN.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, x.jsxs)("div", {
- className: kN.content,
+ className: AN.content,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
- className: kN.leftSection,
+ className: AN.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, x.jsx)(t, {
- className: kN.icon,
+ className: AN.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, x.jsx)(h_e, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(m_e, {
ref: o,
...c,
- className: Bk(kN.input, l.inputClassName, a)
+ className: Vk(AN.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, x.jsx)(n, {
- className: kN.icon,
+ className: AN.icon,
"aria-hidden": !0
}) : null]
})
});
}
-AN.displayName = "InputBase";
-function jN({ 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, x.jsx)(ON, {
+jN.displayName = "InputBase";
+function MN({ 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, x.jsx)(kN, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- e && /* @__PURE__ */ (0, x.jsx)(Kve, {
+ e && /* @__PURE__ */ (0, x.jsx)(Gve, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, x.jsx)(AN, {
+ /* @__PURE__ */ (0, x.jsx)(jN, {
ref: c,
groupRef: l,
placeholder: r,
@@ -40457,17 +40457,17 @@ function jN({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, x.jsx)(qve, {
+ t && /* @__PURE__ */ (0, x.jsx)(Kve, {
isInvalid: d,
children: t
})
] })
});
}
-jN.displayName = "Input";
+MN.displayName = "Input";
//#endregion
//#region src/react/boardui/components/base/avatar/avatar.tsx
-var MN = Vk({
+var NN = Hk({
base: "inline-flex shrink-0 select-none items-center justify-center overflow-hidden rounded-full text-center align-middle transition-[width,height,font-size] duration-200 ease",
size: {
xs: "size-5 text-[10px] leading-[15px] font-semibold",
@@ -40482,10 +40482,10 @@ var MN = Vk({
pink: "bg-pink-200 text-pink-500"
}
});
-function Jve({ size: e = "md", color: t = "neutral", src: n, alt: r, initials: i, className: a, ref: o, ...s }) {
+function qve({ size: e = "md", color: t = "neutral", src: n, alt: r, initials: i, className: a, ref: o, ...s }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
ref: o,
- className: Bk(MN.base, MN.size[e], MN.color[t], a),
+ className: Vk(NN.base, NN.size[e], NN.color[t], a),
...s,
children: n ? /* @__PURE__ */ (0, x.jsx)("img", {
src: n,
@@ -40498,25 +40498,25 @@ function Jve({ size: e = "md", color: t = "neutral", src: n, alt: r, initials: i
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var Yve = {
+var Jve = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal",
collections: "max-w-4xl"
};
-function NN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function PN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = aae();
- return /* @__PURE__ */ (0, x.jsx)(GM, {
+ return /* @__PURE__ */ (0, x.jsx)(KM, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
"data-modal-motion": "",
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, x.jsx)(U_e, {
+ children: /* @__PURE__ */ (0, x.jsx)(H_e, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${Yve[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, x.jsx)(VM, {
+ className: `flex max-h-full w-full ${Jve[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, x.jsx)(HM, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -40524,7 +40524,7 @@ function NN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function PN({ children: e }) {
+function FN({ children: e }) {
return /* @__PURE__ */ (0, x.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",
@@ -40533,11 +40533,11 @@ function PN({ children: e }) {
}
//#endregion
//#region src/react/components/sprite-glyph.tsx
-var Xve = { "text-aa": 1.435 }, FN = /* @__PURE__ */ new Map();
-function IN(e) {
- let t = FN.get(e);
+var Yve = { "text-aa": 1.435 }, IN = /* @__PURE__ */ new Map();
+function LN(e) {
+ let t = IN.get(e);
if (t) return t;
- let n = Xve[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+ let n = Yve[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -40551,57 +40551,57 @@ function IN(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, FN.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, IN.set(e, r), r;
}
//#endregion
//#region src/react/library-shortcuts/library-shortcuts.ts
-var LN = ["library-shortcuts"], RN = "/api/library-shortcuts";
-function zN(e = !0) {
+var RN = ["library-shortcuts"], zN = "/api/library-shortcuts";
+function BN(e = !0) {
return ut({
- queryKey: LN,
- queryFn: ({ signal: e }) => V(RN, e),
+ queryKey: RN,
+ queryFn: ({ signal: e }) => V(zN, e),
enabled: e,
refetchOnMount: e ? "always" : !1
});
}
-function BN() {
+function VN() {
return dt({
- mutationKey: LN,
- mutationFn: (e) => H(RN, e),
+ mutationKey: RN,
+ mutationFn: (e) => H(zN, e),
onSuccess: (e) => {
- U.setQueryData(LN, e);
+ U.setQueryData(RN, e);
}
});
}
-function VN(e, t) {
+function HN(e, t) {
return e.some((e) => t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name);
}
-function Zve(e) {
+function Xve(e) {
return Ft(e.kind, e.name, e.entity_id);
}
//#endregion
//#region src/react/library-shortcuts/shortcut-controls.tsx
-var HN = IN("star"), UN = {
+var UN = LN("star"), WN = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
series: "系列",
agency: "事务所",
tag: "标签"
-}, WN = {
- all: IN("star"),
- performer: IN("user-round"),
- creator: IN("user-round"),
- studio: IN("clapperboard"),
- series: IN("film"),
- agency: IN("briefcase"),
- tag: IN("tags")
+}, GN = {
+ all: LN("star"),
+ performer: LN("user-round"),
+ creator: LN("user-round"),
+ studio: LN("clapperboard"),
+ series: LN("film"),
+ agency: LN("briefcase"),
+ tag: LN("tags")
};
-function GN({ item: e }) {
- return /* @__PURE__ */ (0, x.jsx)(Qve, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
+function KN({ item: e }) {
+ return /* @__PURE__ */ (0, x.jsx)(Zve, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
}
-function Qve({ item: e }) {
- let t = zN(!1), n = (0, b.useRef)(t.data), r = BN(), i = t.data && t.data !== n.current ? VN(t.data.favorites || [], e) : e.favorite ?? (t.data ? VN(t.data.favorites || [], e) : !1);
+function Zve({ item: e }) {
+ let t = BN(!1), n = (0, b.useRef)(t.data), r = VN(), i = t.data && t.data !== n.current ? HN(t.data.favorites || [], e) : e.favorite ?? (t.data ? HN(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
children: [
@@ -40622,7 +40622,7 @@ function Qve({ item: e }) {
children: r.isPending ? /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: eo("") }
- }) : /* @__PURE__ */ (0, x.jsx)(HN, {})
+ }) : /* @__PURE__ */ (0, x.jsx)(UN, {})
}),
r.isError ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -40637,8 +40637,8 @@ function Qve({ item: e }) {
]
});
}
-function KN({ currentHref: e, kind: t, glass: n = !1 }) {
- let [r, i] = (0, b.useState)(!1), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = UA(a, o, "[data-shortcuts-trigger]", r);
+function qN({ currentHref: e, kind: t, glass: n = !1 }) {
+ let [r, i] = (0, b.useState)(!1), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = WA(a, o, "[data-shortcuts-trigger]", r);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n ? /* @__PURE__ */ (0, x.jsxs)("span", {
ref: o,
"data-shortcuts-entry": "",
@@ -40663,20 +40663,20 @@ function KN({ currentHref: e, kind: t, glass: n = !1 }) {
"data-shortcuts-trigger": "",
onClick: () => i(!0),
children: "我的收藏"
- }), /* @__PURE__ */ (0, x.jsx)(NN, {
+ }), /* @__PURE__ */ (0, x.jsx)(PN, {
isOpen: r,
onOpenChange: i,
width: "collections",
label: "我的收藏",
- children: r ? /* @__PURE__ */ (0, x.jsx)($ve, {
+ children: r ? /* @__PURE__ */ (0, x.jsx)(Qve, {
currentHref: e,
kind: t,
close: () => i(!1)
}) : null
})] });
}
-function $ve({ currentHref: e, kind: t, close: n }) {
- let r = zN(), i = BN(), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(t || "all"), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = (t) => {
+function Qve({ currentHref: e, kind: t, close: n }) {
+ let r = BN(), i = VN(), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(t || "all"), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = (t) => {
t.preventDefault(), e && a.trim() && !i.isPending && i.mutate({
action: "save_filter",
name: a.trim(),
@@ -40704,8 +40704,8 @@ function $ve({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, x.jsx)("aside", {
"data-shortcuts-categories": "",
"aria-label": "收藏类型",
- children: [["all", "全部"], ...Object.entries(UN)].map(([e, t]) => {
- let n = WN[e] || HN, r = (m?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
+ children: [["all", "全部"], ...Object.entries(WN)].map(([e, t]) => {
+ let n = GN[e] || UN, r = (m?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"aria-label": t,
@@ -40731,13 +40731,13 @@ function $ve({ currentHref: e, kind: t, close: n }) {
/* @__PURE__ */ (0, x.jsxs)("nav", {
"aria-label": "收藏作品清单",
className: "flex flex-wrap gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Gk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "secondary",
size: "small",
href: "/flagged",
onClick: n,
children: "已标记"
- }), /* @__PURE__ */ (0, x.jsx)(Gk, {
+ }), /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "secondary",
size: "small",
href: "/watch-later",
@@ -40768,16 +40768,16 @@ function $ve({ currentHref: e, kind: t, close: n }) {
className: "text-body-medium text-text-primary",
children: "实体收藏"
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
"aria-label": "搜索收藏",
placeholder: "搜索收藏",
- leadingIcon: IN("search"),
+ leadingIcon: LN("search"),
value: l,
onChange: u
}),
- h.length ? null : /* @__PURE__ */ (0, x.jsx)(qk, {
+ h.length ? null : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: HN,
+ icon: UN,
title: l ? "没有匹配的收藏" : m.favorites.length ? "还没有此类收藏" : "还没有收藏",
children: l ? "试试其他名称。" : "在资料页或标签页收藏常用内容。"
}),
@@ -40787,18 +40787,18 @@ function $ve({ currentHref: e, kind: t, close: n }) {
"data-shortcuts-row": "",
className: "flex min-w-0 items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, x.jsxs)("a", {
- href: Zve(e),
+ href: Xve(e),
"aria-label": e.name,
onClick: n,
className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, x.jsx)(eye, { item: e }, e.image_url), /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)($ve, { item: e }, e.image_url), /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "truncate",
children: e.name
}), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
- children: UN[e.kind]
+ children: WN[e.kind]
})]
})]
}), /* @__PURE__ */ (0, x.jsx)(G, {
@@ -40821,9 +40821,9 @@ function $ve({ currentHref: e, kind: t, close: n }) {
className: "text-body-medium text-text-primary",
children: "保存的筛选"
}),
- m.filters.length ? null : /* @__PURE__ */ (0, x.jsx)(qk, {
+ m.filters.length ? null : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: IN("list-filter"),
+ icon: LN("list-filter"),
title: "还没有保存的筛选",
children: "在馆藏页保存当前条件,随时打开。"
}),
@@ -40854,7 +40854,7 @@ function $ve({ currentHref: e, kind: t, close: n }) {
className: "flex flex-col gap-3",
"aria-label": "保存当前筛选",
children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "筛选名称",
value: a,
onChange: o,
@@ -40879,13 +40879,13 @@ function $ve({ currentHref: e, kind: t, close: n }) {
})]
});
}
-function eye({ item: e }) {
- let [t, n] = (0, b.useState)(!1), r = WN[e.kind] || HN, i = t ? void 0 : e.image_url;
+function $ve({ item: e }) {
+ let [t, n] = (0, b.useState)(!1), r = GN[e.kind] || UN, i = t ? void 0 : e.image_url;
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-shortcuts-avatar": "",
title: e.image_label || e.name,
onErrorCapture: () => n(!0),
- children: [/* @__PURE__ */ (0, x.jsx)(Jve, {
+ children: [/* @__PURE__ */ (0, x.jsx)(qve, {
size: "lg",
src: i,
alt: ""
@@ -40897,7 +40897,7 @@ function eye({ item: e }) {
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var tye = {
+var eye = {
selection: {
type: hd,
duration: .16,
@@ -40909,7 +40909,7 @@ var tye = {
bounce: 0
}
};
-function qN(e) {
+function JN(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!t) return;
@@ -40930,7 +40930,7 @@ function qN(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 = aie(n, { transform: [r, E] }, tye[e]);
+ l = aie(n, { transform: [r, E] }, eye[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -40967,120 +40967,120 @@ function qN(e) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function JN(e) {
- let t = qN("selection");
- return /* @__PURE__ */ (0, x.jsx)(wN, {
+function YN(e) {
+ let t = JN("selection");
+ return /* @__PURE__ */ (0, x.jsx)(TN, {
...e,
ref: t
});
}
-function YN(e) {
- let t = qN("selection");
- return /* @__PURE__ */ (0, x.jsx)(JM, {
+function XN(e) {
+ let t = JN("selection");
+ return /* @__PURE__ */ (0, x.jsx)(YM, {
...e,
ref: t
});
}
-var XN = "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", ZN = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 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", nye = "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", QN = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", $N = "relative 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)", eP = (e) => typeof e == "string" ? e : "", tP = (e) => e.aliases;
-function nP(e, t = "") {
+var ZN = "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", QN = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 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", tye = "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", $N = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", eP = "relative 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)", tP = (e) => typeof e == "string" ? e : "", nP = (e) => e.aliases;
+function rP(e, t = "") {
let n = Vr(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function rP(e, t = "") {
+function iP(e, t = "") {
let n = z(nr(t || e)), r = Vr(e);
return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;
}
-var iP = (e) => eP(e.title).trim() || "未命名内容", aP = (e, t) => tr(e, tP(t));
-function oP(e) {
+var aP = (e) => tP(e.title).trim() || "未命名内容", oP = (e, t) => tr(e, nP(t));
+function sP(e) {
let t = e.filter((e) => e.entity_id && e.entity_name);
if (new Set(t.map((e) => e.entity_id)).size !== 1) return "";
- let n = t[0], r = eP(n.entity_name);
+ let n = t[0], r = tP(n.entity_name);
return yt("creator", r, n.entity_id), r;
}
-function sP(e, t) {
+function cP(e, t) {
let { src: n, fallback: r } = rr(e), i = nr(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${z(i)}</span>`;
let a = r ? ` data-fallbacks="${z(r)}"` : "";
return `<img class="favatar" src="${z(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${z(i)}" data-drop-class="favatar none">`;
}
-function cP(e, t, n) {
- let r = tP(n), i = e.credit, a = i?.poster;
+function lP(e, t, n) {
+ let r = nP(n), i = e.credit, a = i?.poster;
if (!a) {
let n = tr(t, r);
return {
- author: n || eP(e.author) || eP(e.source_label) || "创作者未取得",
- avatar: sP(t, n),
+ author: n || tP(e.author) || tP(e.source_label) || "创作者未取得",
+ avatar: cP(t, n),
credited: "",
- entityName: oP(t)
+ entityName: sP(t)
};
}
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 && tr(c, r) || a;
return {
author: l,
- avatar: sP(c, l),
+ avatar: cP(c, l),
credited: i.credited || "",
- entityName: oP(c)
+ entityName: sP(c)
};
}
-function lP(e, t = e.primary) {
+function uP(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 = eP(e.primary.version);
+ let i = tP(e.primary.version);
i && n.push(r("version", z(i)));
- let a = eP(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = tP(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function uP(e, t = e.primary) {
+function dP(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]) => nP(e, t) || `<span>${z(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => rP(e, t) || `<span>${z(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${z([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;
}
-function dP(e, t) {
- let n = eP(e.media_error);
+function fP(e, t) {
+ let n = tP(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var rye = 864e5, iye = (e, t) => {
+var nye = 864e5, rye = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > rye;
+ return Number.isFinite(n) && n - t > nye;
};
-function fP(e, t) {
- let n = eP(e.published_at);
+function pP(e, t) {
+ let n = tP(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = Sn(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: iye(n, t) ? " · 晚于现在" : ""
+ suffix: rye(n, t) ? " · 晚于现在" : ""
};
}
-function pP(e, t = Date.now()) {
- let n = fP(e, t);
+function mP(e, t = Date.now()) {
+ let n = pP(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function aye(e, t = Date.now()) {
- let n = fP(e, t);
+function iye(e, t = Date.now()) {
+ let n = pP(e, t);
if (!n) return "时间未取得";
if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;
let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);
return `${n.prefix}${r}${n.suffix}`;
}
-var mP = /* @__PURE__ */ new Set(), hP = [], gP = null;
-function _P() {
- if (gP = null, !hP.length) return;
- let e = hP.splice(0, 200);
+var hP = /* @__PURE__ */ new Set(), gP = [], _P = null;
+function vP() {
+ if (_P = null, !gP.length) return;
+ let e = gP.splice(0, 200);
Et("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), hP.length && (gP = setTimeout(_P, 800));
+ }).catch(() => {}), gP.length && (_P = setTimeout(vP, 800));
}
-function oye(e, t, n, r) {
+function aye(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- mP.has(i) || (mP.add(i), hP.push(t === null ? {
+ hP.has(i) || (hP.add(i), gP.push(t === null ? {
item: e,
width: n,
height: r
@@ -41089,26 +41089,26 @@ function oye(e, t, n, r) {
width: n,
height: r,
media: t
- }), gP ||= setTimeout(_P, 800));
+ }), _P ||= setTimeout(vP, 800));
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var sye = (e) => e === "videos", vP = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var oye = (e) => e === "videos", yP = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function cye(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = sye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+function sye(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = oye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
k: e,
label: t
- })) : i, m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = UA(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = UA(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, b.useRef)(null), E = (0, b.useRef)(null), D = u?.mediaCounts ? u : null, O = UA(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
+ })) : i, m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = WA(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = WA(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, b.useRef)(null), E = (0, b.useRef)(null), D = u?.mediaCounts ? u : null, O = WA(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
return (0, b.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(S.current);
- }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(yP, {
+ }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(bP, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, x.jsx)(RA, {
+ }), /* @__PURE__ */ (0, x.jsx)(zA, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -41137,19 +41137,19 @@ function cye(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(fye, {
+ n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(dye, {
keys: n,
view: t,
row: _,
glide: w,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, x.jsx)(vP, {}) : null] }) : null,
- D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(uye, {
+ }), d ? /* @__PURE__ */ (0, x.jsx)(yP, {}) : null] }) : null,
+ D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(lye, {
head: D,
row: E,
glide: O,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, x.jsx)(vP, {})] }) : null,
+ }), /* @__PURE__ */ (0, x.jsx)(yP, {})] }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -41170,11 +41170,11 @@ function cye(e) {
f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));
},
children: e.label
- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(vP, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(yP, {}) : null]
}), /* @__PURE__ */ (0, x.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(zA, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(BA, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -41183,17 +41183,17 @@ function cye(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(dye, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(uye, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, x.jsx)(pye, { ...e })
+ bottom: /* @__PURE__ */ (0, x.jsx)(fye, { ...e })
})] });
}
-var lye = [[
+var cye = [[
"videos",
"视频",
"play",
@@ -41204,7 +41204,7 @@ var lye = [[
"pics",
"image"
]];
-function uye({ head: e, row: t, glide: n, onMedia: r }) {
+function lye({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
ref: t,
role: "group",
@@ -41212,7 +41212,7 @@ function uye({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: lye.map(([t, i, a, o]) => {
+ children: cye.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -41230,7 +41230,7 @@ function uye({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function dye({ head: e, actions: t }) {
+function uye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -41240,10 +41240,10 @@ function dye({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: nP(n) }
+ dangerouslySetInnerHTML: { __html: rP(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(vP, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(zA, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(yP, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(BA, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -41256,7 +41256,7 @@ function dye({ head: e, actions: t }) {
}, e.k))
] });
}
-function fye({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function dye({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -41304,7 +41304,7 @@ function fye({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function yP({ items: e, hidden: t, actions: n }) {
+function bP({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -41324,7 +41324,7 @@ function yP({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function pye(e) {
+function fye(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, x.jsxs)("button", {
@@ -41336,26 +41336,26 @@ function pye(e) {
dangerouslySetInnerHTML: { __html: R("chevron-left") }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(mye, {
+ /* @__PURE__ */ (0, x.jsx)(pye, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(hye, {
+ t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(mye, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(_ye, {
+ t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(gye, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(gye, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(hye, {
head: e.online,
actions: o
}) : null
] });
}
-function mye({ text: e, busy: t }) {
+function pye({ text: e, busy: t }) {
return /* @__PURE__ */ (0, x.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, x.jsx)("span", {
@@ -41365,22 +41365,22 @@ function mye({ text: e, busy: t }) {
}) : e
});
}
-function bP({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, x.jsx)(JM, {
+function xP({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, x.jsx)(YM, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: QN,
+ className: $N,
children: r.map(([e, t, n]) => {
- let r = IN(n);
- return /* @__PURE__ */ (0, x.jsx)(YM, {
+ let r = LN(n);
+ return /* @__PURE__ */ (0, x.jsx)(XM, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: $N,
+ className: eP,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -41390,7 +41390,7 @@ function bP({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function xP({ onPress: e, busy: t = !1 }) {
+function SP({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -41404,27 +41404,27 @@ function xP({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? eo("正在换一批") : R("shuffle") }
});
}
-function hye({ head: e, actions: t }) {
+function mye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(xP, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, x.jsx)(bP, {
+ /* @__PURE__ */ (0, x.jsx)(SP, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, x.jsx)(xP, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, x.jsx)(SP, {
+ /* @__PURE__ */ (0, x.jsx)(CP, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function SP({ sorts: e, onSort: t }) {
+function CP({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: e.map((e) => {
- let n = IN(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = LN(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -41436,12 +41436,12 @@ function SP({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function gye({ head: e, actions: t }) {
+function hye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(xP, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(bP, {
+ /* @__PURE__ */ (0, x.jsx)(SP, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(xP, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -41461,27 +41461,27 @@ function gye({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: R("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, x.jsx)(SP, {
+ /* @__PURE__ */ (0, x.jsx)(CP, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function _ye({ head: e, actions: t, helpers: n }) {
+function gye({ 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, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, x.jsx)(xP, {
+ e.shuffle ? /* @__PURE__ */ (0, x.jsx)(SP, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, x.jsx)(bP, {
+ /* @__PURE__ */ (0, x.jsx)(xP, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -41497,34 +41497,34 @@ function _ye({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var CP = "";
-function vye(e) {
- let t = !e.tiers, n = Tye(e.comboHost);
+var wP = "";
+function _ye(e) {
+ let t = !e.tiers, n = wye(e.comboHost);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(yP, {
+ n ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(bP, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, x.jsx)(xye, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(yye, { ...e })
+ /* @__PURE__ */ (0, x.jsx)(bye, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(vye, { ...e })
]
});
}
-function yye(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 = UA(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function vye(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 = WA(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 = TP(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = EP(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, b.useLayoutEffect)(() => {
fo(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, x.jsx)(RA, {
+ }, [u]), /* @__PURE__ */ (0, x.jsx)(zA, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -41567,17 +41567,17 @@ function yye(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(wP, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(bye, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(TP, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(yye, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(Cye, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(Sye, { ...e })
});
}
-function bye({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, x.jsxs)(zA, {
+function yye({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, x.jsxs)(BA, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -41588,12 +41588,12 @@ function bye({ tag: e, onPress: t }) {
})]
});
}
-function xye(e) {
+function bye(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 = TP(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = TP(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 = EP(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = EP(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);
}, [
@@ -41606,7 +41606,7 @@ function xye(e) {
children: [u ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, x.jsx)(wP, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, x.jsx)(TP, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -41623,18 +41623,18 @@ function xye(e) {
}) : null, d ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, x.jsx)(wP, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, x.jsx)(TP, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.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, x.jsx)(Sye, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(xye, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function Sye({ studio: e }) {
+function xye({ studio: e }) {
let [t, n] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-tier-mark": "",
@@ -41648,7 +41648,7 @@ function Sye({ studio: e }) {
}) : e.fallback
});
}
-function wP({ kind: e }) {
+function TP({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -41664,38 +41664,38 @@ function wP({ kind: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {}), /* @__PURE__ */ (0, x.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function Cye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function Sye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("span", {
"data-catalog-summary": "",
- children: [/* @__PURE__ */ (0, x.jsx)(wye, { count: e }), /* @__PURE__ */ (0, x.jsx)(KN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Cye, { count: e }), /* @__PURE__ */ (0, x.jsx)(qN, {
currentHref: i.currentHref,
glass: !0
})]
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(xP, {
+ /* @__PURE__ */ (0, x.jsx)(SP, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, x.jsx)(bP, {
+ n ? /* @__PURE__ */ (0, x.jsx)(xP, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, x.jsx)(SP, {
+ /* @__PURE__ */ (0, x.jsx)(CP, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function wye({ count: e }) {
+function Cye({ count: e }) {
let t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";
return (0, b.useLayoutEffect)(() => {
if (e === !1) return;
@@ -41704,7 +41704,7 @@ function wye({ count: e }) {
return;
}
let i = t.current;
- i && (CP && i.dataset.popCount === void 0 && (i.dataset.popCount = CP), CP = r, co(i, r));
+ i && (wP && i.dataset.popCount === void 0 && (i.dataset.popCount = wP), wP = r, co(i, r));
}, [e, r]), e === !1 ? /* @__PURE__ */ (0, x.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, x.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -41720,7 +41720,7 @@ function wye({ count: e }) {
})
}, "skeleton");
}
-function Tye(e) {
+function wye(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -41730,7 +41730,7 @@ function Tye(e) {
};
}, [e]), t;
}
-function TP(e, t, n, r, i) {
+function EP(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -41770,7 +41770,7 @@ function TP(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function EP(e, t) {
+function DP(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 && wo(a.current);
@@ -41796,7 +41796,7 @@ function EP(e, t) {
fading: n === "fade"
};
}
-function DP({ message: e, onRetry: t }) {
+function OP({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -41810,7 +41810,7 @@ function DP({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function OP({ artwork: e, identity: t = e.html, relayout: n }) {
+function kP({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, b.useState)({
identity: t,
artwork: e
@@ -41830,7 +41830,7 @@ function OP({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/row-click.ts
-var Eye = [
+var Tye = [
"a",
"button",
"input",
@@ -41843,46 +41843,46 @@ var Eye = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function kP(e, t) {
+function AP(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Eye);
+ let r = n.closest(Tye);
return !r || !t.contains(r) || r === t;
}
-function AP(e) {
+function jP(e) {
e.shiftKey && e.preventDefault();
}
//#endregion
//#region src/react/components/media-card.tsx
-var Dye = 9 / 16, jP = "未命名视频";
-function MP({ name: e }) {
+var Eye = 9 / 16, MP = "未命名视频";
+function NP({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-var Oye = {
+var Dye = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, kye = {
+}, Oye = {
manual: "手动",
junk: "垃圾",
duplicate: "重复",
missing: "文件缺失"
};
-function NP({ item: e }) {
+function PP({ item: e }) {
if (e.disposal !== "trash") return null;
- let t = e.disposal_reason && kye[e.disposal_reason] || "原因未记录";
+ let t = e.disposal_reason && Oye[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-disposal-reason": "",
title: `归入原因:${t}`,
children: t
});
}
-function PP({ item: e, actions: t }) {
+function FP({ item: e, actions: t }) {
let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -41901,10 +41901,10 @@ function PP({ item: e, actions: t }) {
children: i
}) : null] });
}
-function FP(e, t, n) {
- return t === "short" ? Dye : tE(n);
+function IP(e, t, n) {
+ return t === "short" ? Eye : tE(n);
}
-function Aye(e) {
+function kye(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ga(e), s = i[0] || "", c = ra(e);
return {
avatar: r ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -41933,7 +41933,7 @@ function Aye(e) {
"data-media-who": "",
"data-entity-kind": "performer",
"data-entity-name": s,
- children: [/* @__PURE__ */ (0, x.jsx)(MP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: s })]
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-who-more": "",
children: `等 ${o} 人`
@@ -41942,16 +41942,16 @@ function Aye(e) {
"data-media-who": "",
"data-entity-kind": t,
"data-entity-name": n,
- children: [/* @__PURE__ */ (0, x.jsx)(MP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
}) : /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-media-who": "",
"data-open-unowned": "",
- children: [/* @__PURE__ */ (0, x.jsx)(MP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
})
};
}
-function jye() {
+function Aye() {
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -41970,7 +41970,7 @@ function jye() {
})]
});
}
-function Mye({ item: e, actions: t }) {
+function jye({ 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, x.jsx)("div", {
"data-media-later": "",
@@ -41988,21 +41988,21 @@ function Mye({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(MP, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(NP, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function IP(e, t) {
+function LP(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 Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function Mye({ 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 && dee(l.current), l.current = e, e && (!t.medium || t.medium === "video") && Xs(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 = pa(e, h, !1, n.javImage), _ = h === "small" ? g.html : pa(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || jP, S = o.titleHtml(e, v).trim() || z(jP), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = Aye(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = pa(e, h, !1, n.javImage), _ = h === "small" ? g.html : pa(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || MP, S = o.titleHtml(e, v).trim() || z(MP), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = kye(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.watch_later && "later"
@@ -42031,9 +42031,9 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
u && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);
}, j = /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(FP(e, t, n)) },
+ style: { "--card-ratio": String(IP(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, x.jsx)(OP, {
+ g.html ? /* @__PURE__ */ (0, x.jsx)(kP, {
artwork: g,
identity: _,
relayout: (e) => Vs(e, h)
@@ -42047,11 +42047,11 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(MP, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(NP, { name: "check" })
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, x.jsx)(MP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
}),
f && !p ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-group": "",
@@ -42066,7 +42066,7 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-duration": "",
children: Jt(w)
}),
- e.disposal === "trash" ? /* @__PURE__ */ (0, x.jsx)(PP, {
+ e.disposal === "trash" ? /* @__PURE__ */ (0, x.jsx)(FP, {
item: e,
actions: s
}) : null,
@@ -42082,8 +42082,8 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, x.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, x.jsx)(jye, {}),
- /* @__PURE__ */ (0, x.jsx)(Mye, {
+ /* @__PURE__ */ (0, x.jsx)(Aye, {}),
+ /* @__PURE__ */ (0, x.jsx)(jye, {
item: e,
actions: s
}),
@@ -42093,27 +42093,27 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), IP(l.current, -a);
+ e.stopPropagation(), LP(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, x.jsx)(MP, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, x.jsx)(NP, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), IP(l.current, a);
+ e.stopPropagation(), LP(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, x.jsx)(MP, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, x.jsx)(NP, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, x.jsx)(MP, { name: "expand" })
+ children: /* @__PURE__ */ (0, x.jsx)(NP, { name: "expand" })
})
]
})
@@ -42130,7 +42130,7 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": r ? "" : void 0,
onClick: A,
- onMouseDown: AP,
+ onMouseDown: jP,
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -42168,11 +42168,11 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
e.is_jav && e.release_date ? /* @__PURE__ */ (0, x.jsxs)("time", {
"data-media-release": "",
dateTime: e.release_date,
- children: [/* @__PURE__ */ (0, x.jsx)(MP, { name: "calendar" }), e.release_date]
+ children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "calendar" }), e.release_date]
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-size": "",
- children: [/* @__PURE__ */ (0, x.jsx)(MP, { name: "hard-drive" }), Number(C) > 0 ? Xt(Number(C)) : "大小未知"]
+ children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "hard-drive" }), Number(C) > 0 ? Xt(Number(C)) : "大小未知"]
}),
e.play_count ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-watch-count": "",
@@ -42194,15 +42194,15 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
children: o.tagLabel(t)
}, t))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(NP, { item: e })
+ /* @__PURE__ */ (0, x.jsx)(PP, { item: e })
]
})]
})
]
});
}
-function Pye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, b.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Oye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
+function Nye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, b.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Dye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
return /* @__PURE__ */ (0, x.jsxs)("article", {
ref: o,
"data-media-card": "",
@@ -42214,14 +42214,14 @@ function Pye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
},
- onMouseDown: AP,
+ onMouseDown: jP,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
style: { "--card-ratio": "1.7777777777777777" },
children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, x.jsx)(MP, { name: u }), /* @__PURE__ */ (0, x.jsx)("b", { children: l })]
+ children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: u }), /* @__PURE__ */ (0, x.jsx)("b", { children: l })]
}),
s ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-art": "thumb",
@@ -42233,13 +42233,13 @@ function Pye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(MP, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(NP, { name: "check" })
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, x.jsx)(MP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
}),
- /* @__PURE__ */ (0, x.jsx)(PP, {
+ /* @__PURE__ */ (0, x.jsx)(FP, {
item: e,
actions: i
})
@@ -42250,7 +42250,7 @@ function Pye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(MP, { name: u })
+ children: /* @__PURE__ */ (0, x.jsx)(NP, { name: u })
}), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-text": "",
children: [
@@ -42278,29 +42278,29 @@ function Pye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
]
}),
e.disposal === "trash" ? /* @__PURE__ */ (0, x.jsx)("div", { "data-media-tags": "" }) : null,
- /* @__PURE__ */ (0, x.jsx)(NP, { item: e })
+ /* @__PURE__ */ (0, x.jsx)(PP, { item: e })
]
})]
})]
});
}
-function Fye(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(Pye, { ...e }) : /* @__PURE__ */ (0, x.jsx)(Nye, { ...e });
+function Pye(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(Nye, { ...e }) : /* @__PURE__ */ (0, x.jsx)(Mye, { ...e });
}
-var LP = (0, b.memo)(Fye), Iye = 1100, Lye = 340, Rye = 5e3;
-function zye(e, t, n) {
+var RP = (0, b.memo)(Pye), Fye = 1100, Iye = 340, Lye = 5e3;
+function Rye(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, Rye);
+ }, s = () => o(!1), c = setTimeout(s, Lye);
t.cancels.add(s), i.onerror = s, i.onload = () => {
i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);
}, i.src = e;
});
}
-function RP({ load: e, canFlip: t, referrerPolicy: n }) {
+function zP({ 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,
@@ -42342,11 +42342,11 @@ function RP({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => zye(t, e, n)));
+ let s = await Promise.all(a.map((t) => Rye(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, Iye);
+ p(), e.cycle = setInterval(p, Fye);
}));
};
return (0, b.useEffect)(() => d, [d]), {
@@ -42355,7 +42355,7 @@ function RP({ 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(Lye, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Iye, () => {
e.armed = null, m();
});
},
@@ -42366,8 +42366,8 @@ function RP({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var zP = IN("play");
-function Bye({ src: e }) {
+var BP = LN("play");
+function zye({ src: e }) {
let [t, n] = (0, b.useState)(!1);
return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {
"data-mix-poster": "",
@@ -42380,8 +42380,8 @@ function Bye({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var BP = "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 Vye({ faces: e, fallback: t, onOpenEntity: n }) {
+var VP = "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 Bye({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, x.jsx)("button", {
@@ -42389,18 +42389,18 @@ function Vye({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${BP} cursor-pointer outline-none`,
+ className: `${VP} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: aa(e.name, e, Ui(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, x.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${BP} mt-0.5`,
+ className: `${VP} mt-0.5`,
children: t
});
}
-function VP({ 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 S = RP({
+function HP({ 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 S = zP({
load: i,
canFlip: a
}), C = (0, b.useRef)(S.onPointerLeave);
@@ -42427,11 +42427,11 @@ function VP({ 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, x.jsx)(OP, {
+ f?.html ? /* @__PURE__ */ (0, x.jsx)(kP, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, x.jsx)(Bye, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, x.jsx)(zye, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -42461,7 +42461,7 @@ function VP({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, x.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, x.jsx)(zP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(BP, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -42474,8 +42474,8 @@ function VP({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, x.jsx)(zP, {})
- }) : /* @__PURE__ */ (0, x.jsx)(Vye, {
+ children: /* @__PURE__ */ (0, x.jsx)(BP, {})
+ }) : /* @__PURE__ */ (0, x.jsx)(Bye, {
faces: o,
fallback: $t(e),
onOpenEntity: s
@@ -42499,7 +42499,7 @@ function VP({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/video-wall/folia/blockReflows.ts
-var Hye = [
+var Vye = [
[
[
{
@@ -46060,7 +46060,7 @@ var Hye = [
}
]
]
-], HP = [
+], UP = [
[
{
x: 0,
@@ -46357,89 +46357,89 @@ var Hye = [
rows: 2
}
]
-], UP = (e) => e.map((e) => ({
+], WP = (e) => e.map((e) => ({
...e,
x: 12 - e.x - e.cols
-})), WP = (e) => e.map((e) => ({
+})), GP = (e) => e.map((e) => ({
...e,
y: 8 - e.y - e.rows
-})), GP = [
+})), KP = [
(e) => e,
- UP,
WP,
- (e) => UP(WP(e))
-], KP = HP.flatMap((e) => GP.map((t) => t(e))), Uye = Hye.flatMap((e) => GP.map((t) => e.map(t)));
-KP.length;
-var Wye = (e, t) => {
+ GP,
+ (e) => WP(GP(e))
+], qP = UP.flatMap((e) => KP.map((t) => t(e))), Hye = Vye.flatMap((e) => KP.map((t) => e.map(t)));
+qP.length;
+var Uye = (e, t) => {
let n = Math.imul(e, 2654435761) ^ Math.imul(t, 2246822507);
return n = Math.imul(n ^ n >>> 15, 739982445), n ^= n >>> 12, n >>> 0;
-}, qP = (e, t) => {
- let n = HP.length;
- return ((e + t * 2) % n + n) % n * GP.length + Wye(e, t) % GP.length;
-}, Gye = (e, t) => KP[qP(e, t)], Kye = (e, t, n) => n < 0 || n >= 12 ? null : Uye[qP(e, t)][n], JP = 103.36, YP = 6.08, XP = 12 * JP, ZP = 8 * JP, QP = 12, $P = (e, t) => (e % t + t) % t, qye = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
-function eF(e, t) {
- let n = Math.max(1, Math.ceil(e / QP)), r = t ? 3 : Math.min(3, n);
+}, JP = (e, t) => {
+ let n = UP.length;
+ return ((e + t * 2) % n + n) % n * KP.length + Uye(e, t) % KP.length;
+}, Wye = (e, t) => qP[JP(e, t)], Gye = (e, t, n) => n < 0 || n >= 12 ? null : Hye[JP(e, t)][n], YP = 103.36, XP = 6.08, ZP = 12 * YP, QP = 8 * YP, $P = 12, eF = (e, t) => (e % t + t) % t, Kye = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
+function tF(e, t) {
+ let n = Math.max(1, Math.ceil(e / $P)), r = t ? 3 : Math.min(3, n);
return {
columns: r,
- width: r * XP,
- height: Math.ceil(n / r) * ZP
+ width: r * ZP,
+ height: Math.ceil(n / r) * QP
};
}
-function tF(e, t, n) {
- let { x: r, y: i, cols: a, rows: o } = Gye(e, t)[n];
+function nF(e, t, n) {
+ let { x: r, y: i, cols: a, rows: o } = Wye(e, t)[n];
return {
- x: e * XP + r * JP,
- y: t * ZP + i * JP,
- width: a * JP - YP,
- height: o * JP - YP
+ x: e * ZP + r * YP,
+ y: t * QP + i * YP,
+ width: a * YP - XP,
+ height: o * YP - XP
};
}
-function Jye(e) {
+function qye(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
-function nF(e, t, n) {
+function rF(e, t, n) {
if (!e) return null;
let [r, i, a] = n.split(":").map(Number);
if (![
r,
i,
a
- ].every(Number.isInteger) || a < 0 || a >= QP) return null;
- let o = eF(e, t), s = o.height / ZP;
+ ].every(Number.isInteger) || a < 0 || a >= $P) return null;
+ let o = tF(e, t), s = o.height / QP;
if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;
- let c = t ? r : $P(r, o.columns), l = ((t ? i : $P(i, s)) * o.columns + c) * QP + a;
+ let c = t ? r : eF(r, o.columns), l = ((t ? i : eF(i, s)) * o.columns + c) * $P + a;
return t && l >= e ? null : {
- ...tF(r, i, a),
+ ...nF(r, i, a),
index: l % e,
key: n
};
}
-function Yye(e, t) {
+function Jye(e, t) {
if (t < 0 || t >= e) return null;
- let n = Math.floor(t / QP);
- return nF(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % QP}`);
+ let n = Math.floor(t / $P);
+ return rF(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % $P}`);
}
-function rF(e, t, n) {
- let [r, i, a] = n.key.split(":").map(Number), o = Kye(r, i, a);
+function iF(e, t, n) {
+ let [r, i, a] = n.key.split(":").map(Number), o = Gye(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
- x: r * XP + e.x * JP,
- y: i * ZP + e.y * JP,
- width: e.cols * JP - YP,
- height: e.rows * JP - YP
+ x: r * ZP + e.x * YP,
+ y: i * QP + e.y * YP,
+ width: e.cols * YP - XP,
+ height: e.rows * YP - XP
}]));
}
-function Xye(e) {
+function Yye(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
- let e = Math.floor(r / QP), i = tF(e % 3, Math.floor(e / 3), r % QP);
+ let e = Math.floor(r / $P), i = nF(e % 3, Math.floor(e / 3), r % $P);
t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);
}
return {
- width: e >= 36 ? 3 * XP - YP : t,
+ width: e >= 36 ? 3 * ZP - XP : t,
height: n
};
}
-function Zye(e, t, n, r) {
+function Xye(e, t, n, r) {
if (!r) return e;
let i = (t, n, r) => Math.min(16, Math.max(Math.min(16, r - n * e.scale - 16), t));
return {
@@ -46448,22 +46448,22 @@ function Zye(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function Qye(e, t, n, r) {
+function Zye(e, t, n, r) {
if (!e || !r.width || !r.height) return [];
let i = 180 / n.scale, a = {
x: -n.x / n.scale - i,
y: -n.y / n.scale - i,
width: r.width / n.scale + i * 2,
height: r.height / n.scale + i * 2
- }, o = eF(e, t), s = o.height / ZP, c = [];
- for (let n = Math.floor(a.y / ZP); n <= Math.floor((a.y + a.height) / ZP); n += 1) for (let r = Math.floor(a.x / XP); r <= Math.floor((a.x + a.width) / XP); r += 1) {
+ }, o = tF(e, t), s = o.height / QP, c = [];
+ for (let n = Math.floor(a.y / QP); n <= Math.floor((a.y + a.height) / QP); n += 1) for (let r = Math.floor(a.x / ZP); r <= Math.floor((a.x + a.width) / ZP); r += 1) {
if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;
- let i = t ? r : $P(r, o.columns), l = t ? n : $P(n, s);
- for (let s = 0; s < QP; s += 1) {
- let u = (l * o.columns + i) * QP + s;
+ let i = t ? r : eF(r, o.columns), l = t ? n : eF(n, s);
+ for (let s = 0; s < $P; s += 1) {
+ let u = (l * o.columns + i) * $P + s;
if (t && u >= e) continue;
- let d = tF(r, n, s);
- qye(d, a) && c.push({
+ let d = nF(r, n, s);
+ Kye(d, a) && c.push({
...d,
index: u % e,
key: `${r}:${n}:${s}`
@@ -46472,7 +46472,7 @@ function Qye(e, t, n, r) {
}
return c;
}
-var $ye = class {
+var Qye = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -46484,7 +46484,7 @@ var $ye = class {
this.cursor = e;
}
tile(e, t) {
- let n = this.positions.get(e), r = n === void 0 ? null : nF(t, !1, e);
+ let n = this.positions.get(e), r = n === void 0 ? null : rF(t, !1, e);
return r ? {
...r,
index: n
@@ -46514,7 +46514,7 @@ var $ye = class {
let e = 0;
for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));
return {
- x: (e + 2) * XP,
+ x: (e + 2) * ZP,
y: 0
};
}
@@ -46527,10 +46527,10 @@ var $ye = class {
c < i && (r = s, i = c);
}
if (r) return r;
- let a = this.fresh(), o = `${Math.round(a.x / XP)}:0:0`;
+ let a = this.fresh(), o = `${Math.round(a.x / ZP)}:0:0`;
return this.positions.set(o, t), this.used.add(t), this.tile(o, e);
}
-}, iF = [
+}, aF = [
"q",
"performer",
"series",
@@ -46545,17 +46545,17 @@ var $ye = class {
"dur_max",
"region"
];
-function ebe(e = {}) {
- return iF.some((t) => !!e[t]);
+function $ye(e = {}) {
+ return aF.some((t) => !!e[t]);
}
//#endregion
//#region src/react/video-wall/use-wall-camera.ts
-var aF = {
+var oF = {
x: 16,
y: 16,
scale: 1
};
-function tbe(e, t, n = aF, r = !1) {
+function ebe(e, t, n = oF, r = !1) {
let i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)({
width: 0,
height: 0
@@ -46575,7 +46575,7 @@ function tbe(e, t, n = aF, r = !1) {
let f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(!1), h = (0, b.useRef)(null), g = (0, b.useCallback)(() => {
p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;
}, []), _ = (0, b.useCallback)((e, t = !1, n = !1) => {
- let { count: r, finite: c, focused: f } = d.current, p = Zye(e, o.current, Xye(r), c && !f && !n);
+ let { count: r, finite: c, focused: f } = d.current, p = Xye(e, o.current, Yye(r), c && !f && !n);
s.current = p;
let m = window.devicePixelRatio || 1;
a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));
@@ -46675,7 +46675,7 @@ function tbe(e, t, n = aF, r = !1) {
},
snapshot: () => ({ ...s.current }),
reset: () => {
- g(), _({ ...aF }, !0);
+ g(), _({ ...oF }, !0);
},
pan: (e, t) => {
g(), _({
@@ -46737,17 +46737,17 @@ function tbe(e, t, n = aF, r = !1) {
}
//#endregion
//#region src/react/video-wall/wall-motion.ts
-var nbe = {
+var tbe = {
type: "spring",
stiffness: 300,
damping: 34
-}, rbe = {
+}, nbe = {
delay: .14,
duration: .24
};
//#endregion
//#region src/react/video-wall/use-wall-playback.ts
-function ibe(e, t, n) {
+function rbe(e, t, n) {
let [r, i] = (0, b.useState)({
paused: !0,
time: 0,
@@ -46789,8 +46789,8 @@ function ibe(e, t, n) {
}
//#endregion
//#region src/react/video-wall/wall-controls.tsx
-function abe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {
- let b = g_(), S = ibe(t, n, v), C = S.duration || Number(e.duration) || 0, w = r || i, T = !t || S.paused, E = async () => {
+function ibe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {
+ let b = g_(), S = rbe(t, n, v), C = S.duration || Number(e.duration) || 0, w = r || i, T = !t || S.paused, E = async () => {
if (!(w || a && !s)) try {
t === e.id ? await S.toggle() : await f();
} catch (e) {
@@ -46807,7 +46807,7 @@ function abe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : rbe,
+ transition: b ? { duration: 0 } : nbe,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -46912,7 +46912,7 @@ function abe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
}
//#endregion
//#region src/react/components/mix-queue.tsx
-function oF({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function sF({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, b.useRef)(null), l = (0, b.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -46948,7 +46948,7 @@ function oF({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function sF({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function cF({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, x.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -46971,7 +46971,7 @@ function sF({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var obe = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
+var abe = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -46981,28 +46981,28 @@ var obe = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
});
//#endregion
//#region src/react/video-wall/wall-queue.tsx
-function sbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function obe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
- children: /* @__PURE__ */ (0, x.jsx)(oF, {
+ children: /* @__PURE__ */ (0, x.jsx)(sF, {
kind: n,
title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",
summary: `${e.length} 个视频`,
onClose: a,
- children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(sF, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(cF, {
current: e.id === t,
"data-wall-source": e.id,
"aria-label": [
e.edition_label,
- e.part_label ? lD(e.part_label) : "",
+ e.part_label ? uD(e.part_label) : "",
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
- pic: /* @__PURE__ */ (0, x.jsx)(OP, { artwork: pa(e, "small", !0, "cover") }),
+ pic: /* @__PURE__ */ (0, x.jsx)(kP, { artwork: pa(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, x.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, x.jsx)("span", { children: [
e.edition_label,
- e.part_label ? lD(e.part_label) : "",
+ e.part_label ? uD(e.part_label) : "",
Jt(e.duration)
].filter(Boolean).join(" · ") })]
}, e.id))
@@ -47011,7 +47011,7 @@ function sbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
}
//#endregion
//#region src/react/video-wall/wall-route.ts
-function cbe(e = `${location.pathname}${location.search}`, t = {}) {
+function sbe(e = `${location.pathname}${location.search}`, t = {}) {
let n = new URL(e, location.origin), [r, ...i] = n.pathname.split("/").filter(Boolean), a = {
performers: "performer",
creators: "creator",
@@ -47026,18 +47026,18 @@ function cbe(e = `${location.pathname}${location.search}`, t = {}) {
}
return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;
}
-function lbe(e = `${location.pathname}${location.search}`) {
+function cbe(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
- for (let e of iF) t.delete(e);
+ for (let e of aF) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
-function cF() {
- let e = new URLSearchParams($O.navigation.location.search).get("returnTo") || "/";
- $O.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
+function lF() {
+ let e = new URLSearchParams(ek.navigation.location.search).get("returnTo") || "/";
+ ek.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
//#endregion
//#region src/react/video-wall/video-wall.tsx
-var lF = /* @__PURE__ */ new Map(), uF = (0, b.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
+var uF = /* @__PURE__ */ new Map(), dF = (0, b.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
let i = pa(!e.is_jav && t === "thumbnail" && e.has_thumb ? {
...e,
has_cover: !1
@@ -47050,7 +47050,7 @@ var lF = /* @__PURE__ */ new Map(), uF = (0, b.memo)(function({ item: e, image:
ref: a,
"data-media-pic": "",
style: { "--card-ratio": String(r) },
- children: /* @__PURE__ */ (0, x.jsx)(OP, {
+ children: /* @__PURE__ */ (0, x.jsx)(kP, {
artwork: i,
relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {
e.complete && e.naturalWidth && Os(e);
@@ -47058,27 +47058,27 @@ var lF = /* @__PURE__ */ new Map(), uF = (0, b.memo)(function({ item: e, image:
})
});
});
-function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
+function lbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
let p = String(e[0]?.id), [m] = (0, b.useState)(() => {
- let e = lF.get(f);
+ let e = uF.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, b.useState)(() => m?.exploration || new $ye()), g = (0, b.useRef)(!1), [_, v] = (0, b.useState)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = (0, b.useRef)(null), w = (0, b.useRef)(null), T = (0, b.useRef)(null), [E, D] = (0, b.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, b.useState)(m?.selectedKey || ""), [A, j] = (0, b.useState)(m?.sourceId || null), [M, N] = (0, b.useState)(!1), P = E?.edition_group ? {
+ }), [h] = (0, b.useState)(() => m?.exploration || new Qye()), g = (0, b.useRef)(!1), [_, v] = (0, b.useState)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = (0, b.useRef)(null), w = (0, b.useRef)(null), T = (0, b.useRef)(null), [E, D] = (0, b.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, b.useState)(m?.selectedKey || ""), [A, j] = (0, b.useState)(m?.sourceId || null), [M, N] = (0, b.useState)(!1), P = E?.edition_group ? {
kind: "editions",
seedId: E.edition_group.seed_id
} : E?.part_group ? {
kind: "parts",
seedId: E.part_group.seed_id
} : null, ee = ut({
- queryKey: eD(P || {
+ queryKey: tD(P || {
kind: "parts",
seedId: 0
}),
enabled: !!P,
- queryFn: ({ signal: e }) => aD(P, {
+ queryFn: ({ signal: e }) => oD(P, {
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === oD(F, A || E?.id || null)) || E, I = tbe(e.length, t && !!e.length, m?.camera || {
+ }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === sD(F, A || E?.id || null)) || E, I = ebe(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
@@ -47099,7 +47099,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
(0, b.useLayoutEffect)(() => {
document.body.append(Se), I.viewport.current?.focus({ preventScroll: !0 });
}, [Se]), (0, b.useEffect)(() => () => Se.remove(), [Se]);
- let [Ce, we] = (0, b.useState)(() => TO($O.navigation.location.pathname)), [Te, Ee] = (0, b.useState)(m?.image || d), De = (0, b.useRef)(null), Oe = (0, b.useRef)(p), ke = (0, b.useRef)(!!e.length);
+ let [Ce, we] = (0, b.useState)(() => EO(ek.navigation.location.pathname)), [Te, Ee] = (0, b.useState)(m?.image || d), De = (0, b.useRef)(null), Oe = (0, b.useRef)(p), ke = (0, b.useRef)(!!e.length);
ke.current = !!e.length;
let Ae = (0, b.useRef)({
selectedId: E?.id || null,
@@ -47116,17 +47116,17 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
pool: p
};
let je = () => {
- ke.current && (lF.delete(f), lF.set(f, {
+ ke.current && (uF.delete(f), uF.set(f, {
...Ae.current,
camera: I.snapshot(),
exploration: h
- }), lF.size > 8 && lF.delete(lF.keys().next().value));
+ }), uF.size > 8 && uF.delete(uF.keys().next().value));
};
(0, b.useLayoutEffect)(je);
- let Me = Qye(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({
+ let Me = Zye(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({
...e,
index: -1
- })) : t ? Me : h.assign(Me, e.length, n), Pe = E && (t ? nF(e.length, !0, O) : h.tile(O, e.length)), Fe = Pe ? rF(e.length, t, Pe) : /* @__PURE__ */ new Map();
+ })) : t ? Me : h.assign(Me, e.length, n), Pe = E && (t ? rF(e.length, !0, O) : h.tile(O, e.length)), Fe = Pe ? iF(e.length, t, Pe) : /* @__PURE__ */ new Map();
Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);
let Ie = (e = !1) => {
T.current?.abort(), T.current = null, w.current?.(e), w.current = null, se(null), de(!1);
@@ -47143,8 +47143,8 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
t,
p,
i
- ]), (0, b.useEffect)(() => $O.listen((e) => {
- let t = TO(e.location.pathname);
+ ]), (0, b.useEffect)(() => ek.listen((e) => {
+ let t = EO(e.location.pathname);
t && (T.current?.abort(), w.current?.(!0), w.current = null, se(null), de(!1)), we(t);
}), []), (0, b.useEffect)(() => () => {
T.current?.abort(), w.current?.(!0), je();
@@ -47165,7 +47165,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
E?.id !== n.id && Ie(!1), De.current = {
key: r.key,
id: n.id
- }, pe(""), le(null), D(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(rF(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
+ }, pe(""), le(null), D(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(iF(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
}, ze = () => {
te && y.current && (je(), Ie(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));
}, Be = async (e = te) => {
@@ -47187,7 +47187,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
T.current === t && de(!1);
}
}, Ve = () => {
- let e = zue(F || null, oe || 0);
+ let e = Rue(F || null, oe || 0);
e && (j(e.id), Be(e));
};
(0, b.useEffect)(() => {
@@ -47209,7 +47209,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
let r = I.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {
x: (I.view.size.width / 2 - r.x) / r.scale,
y: (I.view.size.height / 2 - r.y) / r.scale
- }, o = t ? Yye(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? Jye(e.length, i) : h.nearest(e.length, i, a);
o && (Re(n, o), le(n.id));
}, Ge = async () => {
if (!(r || g.current)) {
@@ -47301,7 +47301,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
/* @__PURE__ */ (0, x.jsx)("div", {
"data-wall-focus-backdrop": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(uF, {
+ children: /* @__PURE__ */ (0, x.jsx)(dF, {
item: E,
image: Te,
big: !0
@@ -47309,7 +47309,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-wall-scene": "",
- children: /* @__PURE__ */ (0, x.jsx)(uF, {
+ children: /* @__PURE__ */ (0, x.jsx)(dF, {
item: E,
image: Te,
big: !0
@@ -47338,7 +47338,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
Xe.code ? /* @__PURE__ */ (0, x.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,
/* @__PURE__ */ (0, x.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),
- F ? /* @__PURE__ */ (0, x.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? lD(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
+ F ? /* @__PURE__ */ (0, x.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? uD(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -47365,7 +47365,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(abe, {
+ /* @__PURE__ */ (0, x.jsx)(ibe, {
item: Xe,
playing: oe,
frame: S,
@@ -47387,7 +47387,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: Ve,
error: pe
}),
- M ? /* @__PURE__ */ (0, x.jsx)(sbe, {
+ M ? /* @__PURE__ */ (0, x.jsx)(obe, {
items: He,
activeId: Xe.id,
kind: F?.kind || "wall",
@@ -47403,7 +47403,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-refreshing": _ !== null || void 0,
hidden: Ce,
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : E ? Le() : be ? xe(!1) : cF());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : E ? Le() : be ? xe(!1) : lF());
},
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -47411,7 +47411,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-wall-back": "",
"aria-label": "退出播放墙",
title: "返回",
- onClick: cF,
+ onClick: lF,
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -47429,7 +47429,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), /* @__PURE__ */ (0, x.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
variant: "ghost",
- onClick: () => $O.push(lbe()),
+ onClick: () => ek.push(cbe()),
children: "清除筛选"
})]
}) : null,
@@ -47441,7 +47441,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
onSubmit: (e) => {
e.preventDefault();
let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();
- n ? t.set("q", n) : t.delete("q"), je(), $O.push(`/wall?${t}`), xe(!1);
+ n ? t.set("q", n) : t.delete("q"), je(), ek.push(`/wall?${t}`), xe(!1);
},
children: [/* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
@@ -47455,18 +47455,18 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
defaultValue: new URLSearchParams(location.search).get("q") || ""
})]
}),
- /* @__PURE__ */ (0, x.jsxs)(YN, {
+ /* @__PURE__ */ (0, x.jsxs)(XN, {
"aria-label": "播放墙图片",
value: Te,
onChange: Ee,
- className: XN,
- children: [/* @__PURE__ */ (0, x.jsx)(YM, {
+ className: ZN,
+ children: [/* @__PURE__ */ (0, x.jsx)(XM, {
value: "cover",
- className: ZN,
+ className: QN,
children: "封面"
- }), /* @__PURE__ */ (0, x.jsx)(YM, {
+ }), /* @__PURE__ */ (0, x.jsx)(XM, {
value: "thumbnail",
- className: ZN,
+ className: QN,
children: "缩略图"
})]
}),
@@ -47558,7 +47558,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
},
whileHover: ae && !ne && !r && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,
transition: ne ? { duration: 0 } : {
- layout: nbe,
+ layout: tbe,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -47591,7 +47591,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));
},
children: r ? Ze : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(uF, {
+ /* @__PURE__ */ (0, x.jsx)(dF, {
item: n,
image: Te,
ratio: i.width / i.height
@@ -47645,7 +47645,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}) : null,
!t && (n || e.length > 0) ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-wall-refresh": "",
- children: /* @__PURE__ */ (0, x.jsx)(xP, {
+ children: /* @__PURE__ */ (0, x.jsx)(SP, {
busy: r,
onPress: () => void qe()
})
@@ -47692,20 +47692,20 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function dF(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(fbe, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${XE(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, x.jsx)(pbe, { ...e }, t);
+function fF(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(dbe, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${ZE(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, x.jsx)(fbe, { ...e }, t);
}
-function dbe({ name: e }) {
+function ube({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function fbe(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, x.jsx)(LP, {
+function dbe(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, x.jsx)(RP, {
item: i,
variant: r,
layout: e.layout,
@@ -47725,8 +47725,8 @@ function fbe(e) {
children: i
});
}
-function pbe(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? yue(e) : vue(e), [s] = (0, b.useState)(() => e.wall ? xue(o.queryKey) : void 0), c = s || (i && e.initial ? {
+function fbe(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? vue(e) : _ue(e), [s] = (0, b.useState)(() => e.wall ? bue(o.queryKey) : void 0), c = s || (i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -47747,7 +47747,7 @@ function pbe(e) {
(0, b.useEffect)(() => {
l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));
}, [l.isPending]);
- let { tiles: d, pageStarts: f } = (0, b.useMemo)(() => wue(l.data?.pages || [], {
+ let { tiles: d, pageStarts: f } = (0, b.useMemo)(() => Cue(l.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -47757,7 +47757,7 @@ function pbe(e) {
e.mix,
a,
r.javImage
- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || ebe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && Jye(e.item) ? [e.item] : []), v = EP(l.isPending, e.skeletonHtml), y = (0, b.useRef)(null), S = mbe(e, l.data, d, f, y);
+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || $ye(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && qye(e.item) ? [e.item] : []), v = DP(l.isPending, e.skeletonHtml), y = (0, b.useRef)(null), S = pbe(e, l.data, d, f, y);
(0, b.useLayoutEffect)(() => {
if (!l.data) return;
let t = !0;
@@ -47784,12 +47784,12 @@ function pbe(e) {
let w = (0, b.useCallback)((e, t) => n.open(e, t), [n]), T = (0, b.useCallback)((e, t) => n.openResource(e, t), [n]), E = (0, b.useCallback)((e) => n.openShort(e), [n]), D = (0, b.useCallback)(async () => {
let e = await l.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [l.fetchNextPage]), O = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(gbe, {
+ }, [l.fetchNextPage]), O = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(hbe, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(LP, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(RP, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -47805,8 +47805,8 @@ function pbe(e) {
"data-media-body": "",
"data-grid-reveal": v.fading ? "" : void 0,
children: [!e.wall && v.layer, (() => {
- if (g && e.wall) return /* @__PURE__ */ (0, x.jsx)(ube, {
- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${XE(e.filters || {}, !!e.excludeVertical)}`,
+ if (g && e.wall) return /* @__PURE__ */ (0, x.jsx)(lbe, {
+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${ZE(e.filters || {}, !!e.excludeVertical)}`,
items: _,
finite: h,
hasMore: !!l.hasNextPage,
@@ -47824,7 +47824,7 @@ function pbe(e) {
javImage: r.javImage
}, h ? "finite" : "explore");
if (l.isPending) return null;
- if (!l.data) return /* @__PURE__ */ (0, x.jsx)(DP, {
+ if (!l.data) return /* @__PURE__ */ (0, x.jsx)(OP, {
message: Tt(l.error),
onRetry: () => void l.refetch()
});
@@ -47841,15 +47841,15 @@ function pbe(e) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Due(d, S).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
+ children: Eue(d, S).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(O)
- }), t.strip ? /* @__PURE__ */ (0, x.jsx)(hbe, {
+ }), t.strip ? /* @__PURE__ */ (0, x.jsx)(mbe, {
cut: t.strip,
props: e,
onOpen: E
}) : null] }, t.start))
- }), l.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(fF, {
+ }), l.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(pF, {
entity: i,
load: D,
enabled: () => e.canLoadMore?.() !== !1
@@ -47857,7 +47857,7 @@ function pbe(e) {
})()]
});
}
-function fF({ entity: e, load: t, enabled: n, children: r }) {
+function pF({ 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: ""
@@ -47919,12 +47919,12 @@ function fF({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!s.error,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: to("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, x.jsx)(DP, {
+ }), s.error ? /* @__PURE__ */ (0, x.jsx)(OP, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function mbe(e, t, n, r, i) {
+function pbe(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;
@@ -47933,7 +47933,7 @@ function mbe(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- V(`/api/items?${Eue(e.filters || {}, l.current)}`, r.signal).then((e) => {
+ V(`/api/items?${Tue(e.filters || {}, l.current)}`, r.signal).then((e) => {
let t = e.items || [];
t.length ? c({
page: i,
@@ -47945,7 +47945,7 @@ function mbe(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 = Tue(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 = wue(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, {
@@ -47955,7 +47955,7 @@ function mbe(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function hbe({ cut: e, props: t, onOpen: n }) {
+function mbe({ cut: e, props: t, onOpen: n }) {
let r = (0, b.useRef)(null), { wireDrag: i } = t;
return (0, b.useEffect)(() => {
r.current && i(r.current);
@@ -47971,12 +47971,12 @@ function hbe({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, x.jsx)(dbe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(ube, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, x.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(LP, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(RP, {
item: e,
variant: "short",
layout: t.layout,
@@ -47990,17 +47990,17 @@ function hbe({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function pF(e, t, n) {
+function mF(e, t, n) {
return ma(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function gbe({ seed: e, layout: t, helpers: n, actions: r }) {
+function hbe({ 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 = va(e, n.tagLabel), s = (0, b.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => ZE(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), pF(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = pF(e, t, !1);
- return /* @__PURE__ */ (0, x.jsx)(VP, {
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => QE(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(n.map((e) => [String(e.id), mF(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = mF(e, t, !1);
+ return /* @__PURE__ */ (0, x.jsx)(HP, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -48010,12 +48010,12 @@ function gbe({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : pF(e, {
+ artworkIdentity: c === "small" ? l.html : mF(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => Vs(e, c),
- ratio: FP(e, "grid", t),
+ ratio: IP(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -48027,41 +48027,41 @@ function gbe({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-async function mF(e) {
+async function hF(e) {
await U.fetchQuery({
queryKey: vn,
queryFn: () => yn(e)
});
}
-var _be = [
+var gbe = [
"local",
"115",
"pikpak"
-], vbe = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), ybe = "/api/duplicates?limit=120", hF = ["duplicates"], gF = "/api/batch", _F = (e) => V(ybe, e), bbe = /[\s\-_.()[\]【】/\\]/;
-function xbe(e) {
+], _be = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), vbe = "/api/duplicates?limit=120", gF = ["duplicates"], _F = "/api/batch", vF = (e) => V(vbe, e), ybe = /[\s\-_.()[\]【】/\\]/;
+function bbe(e) {
if (e.length < 2) return "";
let t = 0, n = e[0];
for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;
e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));
let r = t;
- for (; r > 0 && !bbe.test(n[r - 1]);) --r;
+ for (; r > 0 && !ybe.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var Sbe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function Cbe(e) {
+var xbe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function Sbe(e) {
await Promise.all([U.fetchQuery({
- queryKey: hF,
- queryFn: () => _F(e)
- }), mF(e)]);
+ queryKey: gF,
+ queryFn: () => vF(e)
+ }), hF(e)]);
}
-var vF = {
+var yF = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, wbe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), yF = (e, t) => wbe(e, t).filter((t) => e.some((e) => e.location !== t)), Tbe = (e, t) => t.filter((t) => e.some((e) => yF(e.files, [t]).length));
-function Ebe(e, t) {
+}, Cbe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), bF = (e, t) => Cbe(e, t).filter((t) => e.some((e) => e.location !== t)), wbe = (e, t) => t.filter((t) => e.some((e) => bF(e.files, [t]).length));
+function Tbe(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -48080,12 +48080,12 @@ function Ebe(e, t) {
}
return n;
}
-function Dbe(e, t) {
+function Ebe(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 bF(e, t) {
- for (let n = 0; n < e.length; n += 200) await H(gF, {
+async function xF(e, t) {
+ for (let n = 0; n < e.length; n += 200) await H(_F, {
ids: e.slice(n, n + 200),
operation: t,
...t === "dispose" ? { disposal_reason: "duplicate" } : {}
@@ -48093,35 +48093,35 @@ async function bF(e, t) {
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var xF = "/api/library-processing", SF = ["library-processing"], CF = (e) => V(xF, e);
-async function wF(e) {
+var SF = "/api/library-processing", CF = ["library-processing"], wF = (e) => V(SF, e);
+async function TF(e) {
await U.fetchQuery({
- queryKey: SF,
- queryFn: () => CF(e)
+ queryKey: CF,
+ queryFn: () => wF(e)
});
}
-var Obe = 2e3, kbe = 1e4, TF = "连接中断,正在重新读取处理进度";
-function Abe(e, t) {
- return e?.status === "running" ? Obe : t ? kbe : !1;
+var Dbe = 2e3, Obe = 1e4, EF = "连接中断,正在重新读取处理进度";
+function kbe(e, t) {
+ return e?.status === "running" ? Dbe : t ? Obe : !1;
}
-var jbe = {
+var Abe = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, EF = {
+}, DF = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function Mbe(e) {
- let t = Object.entries(e).filter(([e, t]) => EF[e] && t > 0).map(([e, t]) => `${EF[e]} ${t.toLocaleString()} 部`);
+function jbe(e) {
+ let t = Object.entries(e).filter(([e, t]) => DF[e] && t > 0).map(([e, t]) => `${DF[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function DF(e) {
- let t = jbe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${bA(e.waited_seconds)}` : "";
+function OF(e) {
+ let t = Abe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${xA(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function Nbe(e) {
+function Mbe(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -48135,21 +48135,21 @@ function Nbe(e) {
log: e.issues_log || ""
} : null;
}
-var OF = "peach.library-processing.announced", Pbe = 120;
-function Fbe(e, t, n) {
+var kF = "peach.library-processing.announced", Nbe = 120;
+function Pbe(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Pbe;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Nbe;
if (n || r) {
try {
- if (e.job_id && localStorage.getItem(OF) === e.job_id) return;
- e.job_id && localStorage.setItem(OF, e.job_id);
+ if (e.job_id && localStorage.getItem(kF) === e.job_id) return;
+ e.job_id && localStorage.setItem(kF, e.job_id);
} catch {}
t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);
}
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var kF = "/api/media-repair", AF = ["media-repair"], jF = ["media-repair", "libraries"], Ibe = {
+var AF = "/api/media-repair", jF = ["media-repair"], MF = ["media-repair", "libraries"], Fbe = {
status: "idle",
library: "",
stage: "",
@@ -48161,41 +48161,41 @@ var kF = "/api/media-repair", AF = ["media-repair"], jF = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, MF = (e) => V(kF, e), NF = async (e) => (await V("/api/libraries", e)).libraries || [];
-async function Lbe(e) {
+}, NF = (e) => V(AF, e), PF = async (e) => (await V("/api/libraries", e)).libraries || [];
+async function Ibe(e) {
await Promise.all([U.fetchQuery({
- queryKey: AF,
- queryFn: () => MF(e)
- }), U.fetchQuery({
queryKey: jF,
queryFn: () => NF(e)
+ }), U.fetchQuery({
+ queryKey: MF,
+ queryFn: () => PF(e)
})]);
}
-var PF = (e) => Number(e).toLocaleString();
-function Rbe(e) {
+var FF = (e) => Number(e).toLocaleString();
+function Lbe(e) {
if (e.status === "running") {
- let t = e.total ? `${PF(Math.min(e.checked || 0, e.total))} / ${PF(e.total)}` : "准备中";
+ let t = e.total ? `${FF(Math.min(e.checked || 0, e.total))} / ${FF(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${PF(e.repaired)} 部,${PF(e.failed)} 部修不了` : `修好 ${PF(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${FF(e.repaired)} 部,${FF(e.failed)} 部修不了` : `修好 ${FF(e.repaired)} 部` : "";
}
-var zbe = (e) => `${PF(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Bbe = "/api/quality-goals?limit=200", FF = ["quality-goals"], IF = (e) => V(Bbe, e);
-async function Vbe(e) {
+var Rbe = (e) => `${FF(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, zbe = "/api/quality-goals?limit=200", IF = ["quality-goals"], LF = (e) => V(zbe, e);
+async function Bbe(e) {
await U.fetchQuery({
- queryKey: FF,
- queryFn: () => IF(e)
+ queryKey: IF,
+ queryFn: () => LF(e)
});
}
-var LF = (e) => e.has_cover ? ea(e) : `/poster?id=${e.id}&c=4`;
+var RF = (e) => e.has_cover ? ea(e) : `/poster?id=${e.id}&c=4`;
//#endregion
//#region src/selection.ts
-function RF(e, t, n, r, i, a = i || !e.has(r)) {
+function zF(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/review/review.ts
-var Hbe = "/api/review", Ube = "/api/review/decision", Wbe = "/api/review/genre", zF = ["review"], BF = {
+var Vbe = "/api/review", Hbe = "/api/review/decision", Ube = "/api/review/genre", BF = ["review"], VF = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -48205,15 +48205,15 @@ var Hbe = "/api/review", Ube = "/api/review/decision", Wbe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, Gbe = Object.keys(BF), Kbe = "metadata_fields", VF = (e) => typeof e == "string" && Object.hasOwn(BF, e), qbe = {
+}, Wbe = Object.keys(VF), Gbe = "metadata_fields", HF = (e) => typeof e == "string" && Object.hasOwn(VF, e), Kbe = {
creator_tags: "creator",
western_identity: "creator"
};
-function Jbe(e, t) {
+function qbe(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 HF(e, t) {
+function UF(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -48230,10 +48230,10 @@ function HF(e, t) {
}
return [...n.values()];
}
-function Ybe(e, t, n) {
- return n && HF(e, t).find((e) => e.key === n)?.rows || e;
+function Jbe(e, t, n) {
+ return n && UF(e, t).find((e) => e.key === n)?.rows || e;
}
-function Xbe(e, t) {
+function Ybe(e, t) {
let n = hn(e.length, 20), r = gn(t, n);
return {
page: r,
@@ -48241,32 +48241,32 @@ function Xbe(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function Zbe(e) {
+function Xbe(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 Qbe(e, t, n, r, i, a) {
- return RF(e, t, n, r, i, a);
+function Zbe(e, t, n, r, i, a) {
+ return zF(e, t, n, r, i, a);
}
-function UF(e, t) {
+function WF(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function WF(e, t) {
+function GF(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var GF = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function $be(e, t) {
- let n = WF(e, t), r = GF(e, t);
+var KF = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Qbe(e, t) {
+ let n = GF(e, t), r = KF(e, t);
return r ? `${n} · ${r}` : n;
}
-var exe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", txe = (e) => String(e.tags || "").split("|").filter(Boolean), nxe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function rxe(e) {
+var $be = (e) => e.reason || e.evidence || e.note || e.decision_note || "", exe = (e) => String(e.tags || "").split("|").filter(Boolean), txe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function nxe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function KF(e, t, n, r) {
+function qF(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -48282,19 +48282,19 @@ function KF(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var ixe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", qF = (e) => V(Hbe, e), JF = (e) => H(Ube, e), axe = (e, t) => H(Wbe, {
+var rxe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", JF = (e) => V(Vbe, e), YF = (e) => H(Hbe, e), ixe = (e, t) => H(Ube, {
genre: e,
tag: t
});
-async function oxe(e) {
+async function axe(e) {
await U.fetchQuery({
- queryKey: zF,
- queryFn: () => qF(e)
+ queryKey: BF,
+ queryFn: () => JF(e)
});
}
-function YF(e, t) {
+function XF(e, t) {
let n = new Set(t);
- n.size && U.setQueryData(zF, (t) => {
+ n.size && U.setQueryData(BF, (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 : {
@@ -48310,193 +48310,193 @@ function YF(e, t) {
};
});
}
-var sxe = () => U.invalidateQueries({
- queryKey: zF,
+var oxe = () => U.invalidateQueries({
+ queryKey: BF,
exact: !0
});
-function cxe(e, t) {
+function sxe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Sn(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var lxe = "/api/links", XF = "/api/links/check", ZF = "/api/links/prune", QF = ["links"], $F = ["links", "check"], eI = ["links", "prune"], tI = {
+var cxe = "/api/links", ZF = "/api/links/check", QF = "/api/links/prune", $F = ["links"], eI = ["links", "check"], tI = ["links", "prune"], nI = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function nI(e) {
+async function rI(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var rI = (e) => V(lxe, e), iI = (e) => H(XF, { status_only: !0 }, "POST", e), uxe = ({ retry: e, checkId: t }) => nI(H(XF, e ? {
+var iI = (e) => V(cxe, e), aI = (e) => H(ZF, { status_only: !0 }, "POST", e), lxe = ({ retry: e, checkId: t }) => rI(H(ZF, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), aI = (e) => V(ZF, e), dxe = (e) => nI(H(ZF, {
+} : { restart: !0 })), oI = (e) => V(QF, e), uxe = (e) => rI(H(QF, {
confirm: !0,
check_id: e,
background: !0
-})), oI = (e) => Number(e || 0).toLocaleString(), fxe = (e) => `已删除 ${oI(e.removed)} 条;${e.marked ? `已隐退女优的 ${oI(e.marked)} 条留作不可点的记录;` : ""}保留 ${oI(e.recovered)} 条未确认失效的链接。`;
-function pxe(e) {
+})), sI = (e) => Number(e || 0).toLocaleString(), dxe = (e) => `已删除 ${sI(e.removed)} 条;${e.marked ? `已隐退女优的 ${sI(e.marked)} 条留作不可点的记录;` : ""}保留 ${sI(e.recovered)} 条未确认失效的链接。`;
+function fxe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${oI(e.checked)} / ${oI(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${sI(e.checked)} / ${sI(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var sI = "/api/settings", cI = "/api/follow/schedule", lI = "/api/thumbnail-jobs", uI = ["settings"], dI = ["follow-schedule"], fI = ["thumbnail-jobs"], pI = (e) => V(sI, e), mxe = (e) => V(cI, e), hxe = (e) => V(lI, e);
-function gxe(e = U) {
+var cI = "/api/settings", lI = "/api/follow/schedule", uI = "/api/thumbnail-jobs", dI = ["settings"], fI = ["follow-schedule"], pI = ["thumbnail-jobs"], mI = (e) => V(cI, e), pxe = (e) => V(lI, e), mxe = (e) => V(uI, e);
+function hxe(e = U) {
return e.fetchQuery({
- queryKey: uI,
- queryFn: ({ signal: e }) => pI(e),
+ queryKey: dI,
+ queryFn: ({ signal: e }) => mI(e),
staleTime: 0
}).catch(() => null);
}
-function mI() {
+function hI() {
return dt({
- mutationFn: (e) => H(sI, e),
- onSuccess: (e) => U.setQueryData(uI, e)
+ mutationFn: (e) => H(cI, e),
+ onSuccess: (e) => U.setQueryData(dI, e)
});
}
-function _xe() {
+function gxe() {
return dt({
- mutationFn: (e) => H(cI, {
+ mutationFn: (e) => H(lI, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => U.setQueryData(dI, e)
+ onSuccess: (e) => U.setQueryData(fI, e)
});
}
-function vxe() {
+function _xe() {
return dt({
- mutationFn: (e) => H(lI, { mode: e }),
- onSuccess: (e) => U.setQueryData(fI, e)
+ mutationFn: (e) => H(uI, { mode: e }),
+ onSuccess: (e) => U.setQueryData(pI, e)
});
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var yxe = "/api/organize", bxe = "/api/organize/preview", xxe = "/api/organize/apply", Sxe = "/api/organize/rollback", hI = ["organize"], gI = (e) => V(yxe, e);
-async function Cxe(e) {
+var vxe = "/api/organize", yxe = "/api/organize/preview", bxe = "/api/organize/apply", xxe = "/api/organize/rollback", gI = ["organize"], _I = (e) => V(vxe, e);
+async function Sxe(e) {
await U.fetchQuery({
- queryKey: hI,
- queryFn: () => gI(e)
+ queryKey: gI,
+ queryFn: () => _I(e)
});
}
-var wxe = (e) => H(bxe, e), Txe = (e) => e.kind === "apply" ? H(xxe, {
+var Cxe = (e) => H(yxe, e), wxe = (e) => e.kind === "apply" ? H(bxe, {
...e.request,
confirm: !0
-}) : H(Sxe, { confirm: !0 });
-async function Exe(e) {
- U.setQueryData(hI, (t) => t && {
+}) : H(xxe, { confirm: !0 });
+async function Txe(e) {
+ U.setQueryData(gI, (t) => t && {
...t,
templates: e
});
try {
- await H(sI, { organizeTemplates: e });
+ await H(cI, { organizeTemplates: e });
} catch {}
}
-var Dxe = (e, t) => e && {
+var Exe = (e, t) => e && {
...e,
...t
-}, Oxe = /目录模板|分隔符|盘符|`\.`/;
-function _I(e) {
+}, Dxe = /目录模板|分隔符|盘符|`\.`/;
+function vI(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var vI = (e) => Number(e || 0).toLocaleString();
-function kxe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${vI(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${vI(e.counts.change)} 个文件会改名或移动,${vI(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var yI = (e) => Number(e || 0).toLocaleString();
+function Oxe(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${yI(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${yI(e.counts.change)} 个文件会改名或移动,${yI(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function yI(e) {
+function bI(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${vI(r)} 个文件${n ? `,${vI(n)} 行未能退回` : ""}。` : `已整理 ${vI(r)} 个文件${n ? `,${vI(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${yI(r)} 个文件${n ? `,${yI(n)} 行未能退回` : ""}。` : `已整理 ${yI(r)} 个文件${n ? `,${yI(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var bI = "/api/resource-sync/scan", xI = "/api/resource-sync/apply", SI = ["resource-sync", "scan"], CI = ["resource-sync", "apply"], wI = (e) => H(bI, {
+var xI = "/api/resource-sync/scan", SI = "/api/resource-sync/apply", CI = ["resource-sync", "scan"], wI = ["resource-sync", "apply"], TI = (e) => H(xI, {
background: !0,
status_only: !0
-}, "POST", e), Axe = () => H(bI, {
+}, "POST", e), kxe = () => H(xI, {
background: !0,
restart: !0
-}), TI = (e) => V(xI, e), jxe = (e) => H(xI, {
+}), EI = (e) => V(SI, e), Axe = (e) => H(SI, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), EI = (e) => (e?.sources ?? []).some((e) => _be.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function Mxe(e) {
- EI(U.getQueryData(vn)) && await Promise.all([U.fetchQuery({
- queryKey: SI,
- queryFn: () => wI(e)
- }), U.fetchQuery({
+}), DI = (e) => (e?.sources ?? []).some((e) => gbe.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function jxe(e) {
+ DI(U.getQueryData(vn)) && await Promise.all([U.fetchQuery({
queryKey: CI,
queryFn: () => TI(e)
+ }), U.fetchQuery({
+ queryKey: wI,
+ queryFn: () => EI(e)
})]);
}
-var Nxe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Pxe = {
+var Mxe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Nxe = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, DI = (e) => Number(e || 0).toLocaleString(), Fxe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", OI = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), kI = (e) => e.vanish ? `${DI(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", AI = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Ixe = (e) => `将永久删除文件已不在盘上的 ${DI(OI(e))} 条记录和 ${DI(e.empty)} 个空文件夹,并清理 ${DI(e.cache?.files)} 个闲置缓存。${AI(e)}${kI(e)}`, Lxe = (e) => `将永久删除文件已不在盘上的 ${DI(OI(e))} 条记录(含回收站里的)、${DI(e.empty)} 个空文件夹,并清理 ${DI(e.cache?.files)} 个闲置缓存。来源根目录保留。${AI(e)}${kI(e)}`, Rxe = (e) => e.online ? [
- `找不到文件 · 共 ${DI(e.total)} 项`,
- e.vanish ? `${DI(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${DI(e.empty)} 个` : "",
- e.unreadable ? `${DI(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${DI(e.total)} 项`;
-function jI(e) {
+}, OI = (e) => Number(e || 0).toLocaleString(), Pxe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", kI = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), AI = (e) => e.vanish ? `${OI(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", jI = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Fxe = (e) => `将永久删除文件已不在盘上的 ${OI(kI(e))} 条记录和 ${OI(e.empty)} 个空文件夹,并清理 ${OI(e.cache?.files)} 个闲置缓存。${jI(e)}${AI(e)}`, Ixe = (e) => `将永久删除文件已不在盘上的 ${OI(kI(e))} 条记录(含回收站里的)、${OI(e.empty)} 个空文件夹,并清理 ${OI(e.cache?.files)} 个闲置缓存。来源根目录保留。${jI(e)}${AI(e)}`, Lxe = (e) => e.online ? [
+ `找不到文件 · 共 ${OI(e.total)} 项`,
+ e.vanish ? `${OI(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${OI(e.empty)} 个` : "",
+ e.unreadable ? `${OI(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${OI(e.total)} 项`;
+function MI(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 ? `${DI(t.length)} 条记录没有删除(${o})` : "",
- n ? `${DI(n)} 个文件夹没有删除` : "",
- r.length ? `${DI(r.length)} 个缓存没有清理` : ""
+ t.length ? `${OI(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${OI(n)} 个文件夹没有删除` : "",
+ r.length ? `${OI(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var zxe = (e, t) => {
- let { rest: n } = jI(e), r = `已永久删除 ${DI(e.purged)} 条失效记录和 ${DI(e.dirs_removed)} 个空文件夹,清理 ${DI(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${DI(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${DI(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var Rxe = (e, t) => {
+ let { rest: n } = MI(e), r = `已永久删除 ${OI(e.purged)} 条失效记录和 ${OI(e.dirs_removed)} 个空文件夹,清理 ${OI(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${OI(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${OI(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Bxe = "/api/review?counts=1", MI = ["review", "counts"], Vxe = "/api/ads?limit=1", NI = ["junk-summary"], PI = "/api/items?state=trash&limit=1", FI = ["trash-summary"], Hxe = [
+}, zxe = "/api/review?counts=1", NI = ["review", "counts"], Bxe = "/api/ads?limit=1", PI = ["junk-summary"], FI = "/api/items?state=trash&limit=1", II = ["trash-summary"], Vxe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], II = (e) => V(Bxe, e), LI = (e) => V(Vxe, e), RI = (e) => {
+], LI = (e) => V(zxe, e), RI = (e) => V(Bxe, e), zI = (e) => {
let t = sessionStorage.getItem("peach.library");
- return V(t ? `${PI}&library=${encodeURIComponent(t)}` : PI, e);
-}, zI = (e) => Number(e || 0).toLocaleString();
-function Uxe(e) {
- let t = BF, 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 V(t ? `${FI}&library=${encodeURIComponent(t)}` : FI, e);
+}, BI = (e) => Number(e || 0).toLocaleString();
+function Hxe(e) {
+ let t = VF, 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 Wxe(e) {
+function Uxe(e) {
if (!e) return "";
- let t = Hxe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${zI(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${zI(e.dismissed_total)}`), t.join(" · ");
-}
-var Gxe = [
- [MI, ({ signal: e }) => II(e)],
- [FF, ({ signal: e }) => IF(e)],
- [FI, ({ signal: e }) => RI(e)],
- [QF, ({ signal: e }) => rI(e)],
+ let t = Vxe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${BI(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${BI(e.dismissed_total)}`), t.join(" · ");
+}
+var Wxe = [
+ [NI, ({ signal: e }) => LI(e)],
+ [IF, ({ signal: e }) => LF(e)],
+ [II, ({ signal: e }) => zI(e)],
[$F, ({ signal: e }) => iI(e)],
- [eI, ({ signal: e }) => aI(e)]
+ [eI, ({ signal: e }) => aI(e)],
+ [tI, ({ signal: e }) => oI(e)]
];
-async function Kxe(e) {
- let t = location.hash === "#resource-sync", n = Gxe.map(([n, r]) => {
+async function Gxe(e) {
+ let t = location.hash === "#resource-sync", n = Wxe.map(([n, r]) => {
if (t) return U.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -48509,49 +48509,49 @@ async function Kxe(e) {
await Promise.all([
...n,
U.fetchQuery({
- queryKey: NI,
- queryFn: () => LI(e)
+ queryKey: PI,
+ queryFn: () => RI(e)
}),
U.fetchQuery({
- queryKey: hF,
- queryFn: () => _F(e)
+ queryKey: gF,
+ queryFn: () => vF(e)
}),
- mF(e).then(() => Mxe(e)),
- wF(e),
- Lbe(e),
- Cxe(e)
+ hF(e).then(() => jxe(e)),
+ TF(e),
+ Ibe(e),
+ Sxe(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var qxe = [
+var Kxe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], Jxe = [
+], qxe = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function BI(e = {}) {
- return `${Kk({
+function VI(e = {}) {
+ return `${qk({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var VI = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Yxe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function HI({ interactive: e = !1 } = {}) {
- return Kk({
+var HI = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Jxe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function UI({ interactive: e = !1 } = {}) {
+ return qk({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var Xxe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function UI({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var Yxe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function WI({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -48584,13 +48584,13 @@ function UI({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function WI({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function GI({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.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, x.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${qxe[n % 4]} ${Jxe[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Kxe[n % 4]} ${qxe[n % 4]}`,
children: /* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -48612,16 +48612,16 @@ function WI({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function GI(e) {
- let t = qN("hover");
- return /* @__PURE__ */ (0, x.jsx)(VM, {
+function KI(e) {
+ let t = JN("hover");
+ return /* @__PURE__ */ (0, x.jsx)(HM, {
...e,
ref: t
});
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var KI = [
+var qI = [
"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",
@@ -48629,31 +48629,31 @@ var KI = [
"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(" "), Zxe = "w-[266px]", Qxe = "flex w-full flex-col gap-1 outline-none", qI = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), JI = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", $xe = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", YI = {
+].join(" "), Xxe = "w-[266px]", Zxe = "flex w-full flex-col gap-1 outline-none", JI = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), YI = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", Qxe = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", XI = {
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
-}, eSe = {
- medium: YI.medium,
+}, $xe = {
+ medium: XI.medium,
small: "size-8 rounded-lg p-0 text-body-medium"
-}, tSe = {
+}, eSe = {
medium: "size-5 shrink-0",
small: "size-[18px] shrink-0"
-}, nSe = {
+}, tSe = {
medium: "inline-flex items-center justify-center px-1 shrink-0",
small: "inline-flex items-center justify-center px-0.5 shrink-0"
-}, rSe = {
+}, nSe = {
primary: "bg-button-primary text-text-white shadow-xs",
secondary: "bg-background-primary-default text-text-primary border border-border-button-default shadow-xs",
ghost: "bg-button-ghost-background text-button-ghost-foreground"
-}, XI = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;
-function ZI(e, t = "", n = e) {
- return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${XI("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${z(n)}" value="${z(t)}" placeholder="${z(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;
+}, ZI = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;
+function QI(e, t = "", n = e) {
+ return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${ZI("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${z(n)}" value="${z(t)}" placeholder="${z(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;
}
-function QI({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
- let o = r ? YI[t] : eSe[t], s = n ? XI(n, tSe[t]) : "", c = r ? `<span class="${nSe[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
- return `<button type="button" class="${$xe} ${o} ${rSe[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
+function $I({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
+ let o = r ? XI[t] : $xe[t], s = n ? ZI(n, eSe[t]) : "", c = r ? `<span class="${tSe[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
+ return `<button type="button" class="${Qxe} ${o} ${nSe[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
}
-var iSe = {
+var rSe = {
md: {
box: "gap-1.5 px-2.5 py-2 text-body-medium",
value: "gap-[5px]",
@@ -48665,156 +48665,156 @@ var iSe = {
chevron: "size-3.5"
}
};
-function $I(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
- let i = iSe[t];
- return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${XI("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
+function eL(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
+ let i = rSe[t];
+ return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${ZI("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
}
-var aSe = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", oSe = "flex min-w-0 flex-col gap-2", sSe = "text-body-regular text-text-secondary", cSe = "text-display-4-medium tabular-nums text-text-primary", lSe = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
-function eL(e) {
- return `<div data-collection-summary="" class="${aSe}"><div class="${oSe}"><span class="${sSe}">${e}</span><strong class="${cSe}"><span data-skeleton="count" aria-hidden="true" class="${lSe}"></span></strong></div></div>`;
+var iSe = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", aSe = "flex min-w-0 flex-col gap-2", oSe = "text-body-regular text-text-secondary", sSe = "text-display-4-medium tabular-nums text-text-primary", cSe = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
+function tL(e) {
+ return `<div data-collection-summary="" class="${iSe}"><div class="${aSe}"><span class="${oSe}">${e}</span><strong class="${sSe}"><span data-skeleton="count" aria-hidden="true" class="${cSe}"></span></strong></div></div>`;
}
//#endregion
//#region src/management.ts
-var tL = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", nL = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", rL = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", iL = "type=\"button\" disabled data-skeleton-action", aL = "disabled data-skeleton-action", uSe = "aria-disabled=\"true\"", oL = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, sL = (e, t) => `<div data-geist-fieldset-content>
+var nL = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", rL = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", iL = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", aL = "type=\"button\" disabled data-skeleton-action", oL = "disabled data-skeleton-action", lSe = "aria-disabled=\"true\"", sL = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, cL = (e, t) => `<div data-geist-fieldset-content>
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div>`;
-function dSe() {
- return oL(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
- ${sL("扫描与采集", tL)}
- <footer data-geist-fieldset-footer><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${XI("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${QI({
+function uSe() {
+ return sL(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
+ ${cL("扫描与采集", nL)}
+ <footer data-geist-fieldset-footer><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${ZI("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${$I({
glyph: "database",
label: "扫描并补全资料",
- attrs: aL
- })}${QI({
+ attrs: oL
+ })}${$I({
glyph: "chevron-down",
- attrs: `${aL} aria-label="更多扫描与采集方式"`
+ attrs: `${oL} aria-label="更多扫描与采集方式"`
})}</span></footer>
</section>`);
}
-function fSe() {
- return oL(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${sL("媒体修复", nL)}
- <footer data-geist-fieldset-footer>${$I(rL, {
+function dSe() {
+ return sL(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ ${cL("媒体修复", rL)}
+ <footer data-geist-fieldset-footer>${eL(iL, {
className: "w-48",
- attrs: uSe
- })}${QI({
+ attrs: lSe
+ })}${$I({
label: "开始修复",
- attrs: aL
+ attrs: oL
})}</footer>
</section>`);
}
-function cL() {
+function lL() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["回收站", "trash"]
- ], t = `<span class="geist-button ui-organize-preset-skeleton">${rL}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
- <span class="geist-input ui-organize-input-skeleton">${rL}</span></div>`;
+ ], t = `<span class="geist-button ui-organize-preset-skeleton">${iL}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
+ <span class="geist-input ui-organize-input-skeleton">${iL}</span></div>`;
return `<div class="ui-cleanuppage" data-skeleton="cleanup" aria-busy="true" aria-label="正在读取数据管理状态">
<div class="ui-cleanupstats">${e.map(([e, t]) => `
<button type="button" class="board-plain-stat" disabled>
<span class="ui-board-plain-stat-head"><span class="ui-board-stat-tile">${R(t)}</span>${e}</span>
- <strong>${rL}</strong><span class="cleanupmeta">${rL}</span></button>`).join("")}</div>
+ <strong>${iL}</strong><span class="cleanupmeta">${iL}</span></button>`).join("")}</div>
<div class="cleanupgrid">
- <div class="cleanupscraping">${dSe()}</div>
- <div class="cleanupmediarepair">${fSe()}</div>
+ <div class="cleanupscraping">${uSe()}</div>
+ <div class="cleanupmediarepair">${dSe()}</div>
<section class="cleanupfieldset cleanuporganize" data-geist-fieldset data-cleanup-task aria-labelledby="cleanup-loading-organize">
<div class="geist-fieldset-content"><h3 class="geist-fieldset-title" id="cleanup-loading-organize">整理</h3>
<p>按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>
<div class="ui-organizefields">
- <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${rL}${R("chevron-down")}</span></span></div>
+ <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${iL}${R("chevron-down")}</span></span></div>
${n("文件名模板")}
${n("目录模板")}
<div class="ui-organizepresets">${t}</div>
- <p class="cleanupmeta">${rL}</p>
+ <p class="cleanupmeta">${iL}</p>
</div></div>
- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${iL}>预览</button></footer>
+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${aL}>预览</button></footer>
</section></div>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-links">
<h2 id="cleanup-loading-links">链接管理</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task data-fieldset-stack>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">站外链接</h3>
- <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${rL}</b><small>${rL}</small></div>${[
+ <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${iL}</b><small>${iL}</small></div>${[
"官网/事务所",
"社交账号",
"作品资料站"
- ].map((e) => `<div><span>${e}</span><b>${rL}</b></div>`).join("")}</div>
- <div class="ui-linkhosts"><span>主要站点</span><b>${rL}</b></div></div></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${iL}>${R("unlink")}<span>检查死链</span></button></div>
+ ].map((e) => `<div><span>${e}</span><b>${iL}</b></div>`).join("")}</div>
+ <div class="ui-linkhosts"><span>主要站点</span><b>${iL}</b></div></div></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${aL}>${R("unlink")}<span>检查死链</span></button></div>
</div></section>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-sync">
<h2 id="cleanup-loading-sync">资源同步</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">文件与记录核对</h3>
<p>按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。</p></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${iL}>${R("git-compare")}<span>检查文件</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${aL}>${R("git-compare")}<span>检查文件</span></button></div>
</div></section></div>`;
}
//#endregion
//#region src/react/components/fieldset.tsx
-var pSe = Kk({
+var fSe = qk({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), mSe = {
+}), pSe = {
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"
-}, hSe = {
+}, mSe = {
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"
-}, gSe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", _Se = {
+}, hSe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", gSe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, vSe = Kk({
+}, _Se = qk({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), lL = "border-t border-border-button-default p-4 first:border-t-0";
-function uL({ tone: e = "neutral", status: t, children: n }) {
+}), uL = "border-t border-border-button-default p-4 first:border-t-0";
+function dL({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `${gSe} ${_Se[e]}`,
+ className: `${hSe} ${gSe[e]}`,
children: [t ? /* @__PURE__ */ (0, x.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 dL({ id: e, children: t }) {
+function fL({ id: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function fL({ id: e, gap: t = "none", children: n }) {
+function pL({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, x.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function pL({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function mL({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${pSe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${fSe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: mSe[e],
+ className: pSe[e],
children: a
}), i ? /* @__PURE__ */ (0, x.jsx)("footer", {
- className: hSe[e],
+ className: mSe[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function mL() {
+function hL() {
let e = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
ya(e.current);
@@ -48822,7 +48822,7 @@ function mL() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var hL = Vk({
+var gL = Hk({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -48843,21 +48843,21 @@ var hL = Vk({
small: "size-4 shrink-0"
}
});
-function gL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function _L({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
ref: i,
type: r,
- className: Bk(hL.base, hL.size[t], n),
+ className: Vk(gL.base, gL.size[t], n),
...a,
children: /* @__PURE__ */ (0, x.jsx)(e, {
- className: hL.icon[t],
+ className: gL.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function ySe({ className: e }) {
+function vSe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -48870,8 +48870,8 @@ function ySe({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-open" })
});
}
-var bSe = "打开文件管理器失败,请重试";
-function _L({ path: e, prefix: t, className: n, onRevealed: r }) {
+var ySe = "打开文件管理器失败,请重试";
+function vL({ 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;
@@ -48882,7 +48882,7 @@ function _L({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await H("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof sn ? e.message : bSe);
+ c.current && s(e instanceof sn ? e.message : ySe);
} finally {
c.current && a(!1);
}
@@ -48893,10 +48893,10 @@ function _L({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, x.jsxs)("p", {
- className: Bk("min-w-0 break-all", n),
+ className: Vk("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, x.jsx)(gL, {
- icon: ySe,
+ }), /* @__PURE__ */ (0, x.jsx)(_L, {
+ icon: vSe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -48911,38 +48911,38 @@ function _L({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function vL({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function yL({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : Kk({
+ className: r ? "flex flex-col gap-1.5" : qk({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Zk, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Qk, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
children: e
- })] }) : /* @__PURE__ */ (0, x.jsx)(Jk, { label: e })
+ })] }) : /* @__PURE__ */ (0, x.jsx)(Yk, { label: e })
});
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function yL({ toast: e, mode: t, monitor: n }) {
+function bL({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = ut({
- queryKey: SF,
- queryFn: ({ signal: e }) => CF(e),
- refetchInterval: (e) => Abe(e.state.data, r)
+ queryKey: CF,
+ queryFn: ({ signal: e }) => wF(e),
+ refetchInterval: (e) => kbe(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") && Fbe(c, e, r);
+ r && o(c), (r || t === "notice") && Pbe(c, e, r);
}, [
c,
t,
@@ -48955,29 +48955,29 @@ function yL({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var xSe = [
+var bSe = [
{
label: "扫描并补全资料",
- icon: uk,
+ icon: dk,
command: {}
},
{
label: "只扫描",
- icon: pk,
+ icon: mk,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: zme,
+ icon: Rme,
command: { stage: "collect" }
}
-], SSe = Bk(qI, JI, "text-body-2-medium"), CSe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", wSe = (e) => {
+], xSe = Vk(JI, YI, "text-body-2-medium"), SSe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", CSe = (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(",")}。`;
-}, TSe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + wSe(e);
-function ESe({ busy: e, onRun: t }) {
+}, wSe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + CSe(e);
+function TSe({ busy: e, onRun: t }) {
let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -48986,14 +48986,14 @@ function ESe({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: uk,
+ leadingIcon: dk,
onClick: () => a({}),
...q(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, x.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: ak,
+ leadingIcon: ok,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -49002,19 +49002,19 @@ function ESe({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(AM, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: KI,
- children: /* @__PURE__ */ (0, x.jsx)(GI, {
+ className: qI,
+ children: /* @__PURE__ */ (0, x.jsx)(KI, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: xSe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: bSe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: SSe,
+ className: xSe,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
@@ -49024,8 +49024,8 @@ function ESe({ busy: e, onRun: t }) {
})
})] });
}
-function DSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = Nbe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Mbe(e.notes || {}), c = mL();
+function ESe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = Mbe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = jbe(e.notes || {}), c = hL();
return /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -49033,7 +49033,7 @@ function DSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "处理较慢",
- children: CSe
+ children: SSe
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49045,7 +49045,7 @@ function DSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, x.jsxs)(fA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(pA, {
summary: a.label,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "relative",
@@ -49076,7 +49076,7 @@ function DSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, x.jsx)(_L, {
+ children: /* @__PURE__ */ (0, x.jsx)(vL, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -49090,13 +49090,13 @@ function DSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "处理完成",
- children: TSe(n)
+ children: wSe(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, x.jsx)(_L, {
+ children: /* @__PURE__ */ (0, x.jsx)(vL, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -49108,38 +49108,38 @@ function DSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function bL(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = yL(e), o = dt({
- mutationFn: (e) => H(xF, e),
+function xL(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = bL(e), o = dt({
+ mutationFn: (e) => H(SF, e),
onSuccess: (e) => {
- a(), U.setQueryData(SF, e), U.invalidateQueries({ queryKey: SF });
+ a(), U.setQueryData(CF, e), U.invalidateQueries({ queryKey: CF });
}
});
(0, b.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? B(o.error) : r.isError ? r.data ? TF : B(r.error) : "", l = o.isPending || s.status === "running", u = DF(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? B(o.error) : r.isError ? r.data ? EF : B(r.error) : "", l = o.isPending || s.status === "running", u = OF(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, x.jsx)(pL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(mL, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(tA, {
+ /* @__PURE__ */ (0, x.jsx)(nA, {
href: "/sources",
size: "small",
- trailingIcon: ok,
+ trailingIcon: sk,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, x.jsx)(tA, {
+ s.candidates ? /* @__PURE__ */ (0, x.jsx)(nA, {
href: "/review",
size: "small",
- trailingIcon: ok,
+ trailingIcon: sk,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, x.jsx)(ESe, {
+ /* @__PURE__ */ (0, x.jsx)(TSe, {
busy: l,
onRun: d
})
@@ -49147,12 +49147,12 @@ function bL(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(fL, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, x.jsx)(pL, { children: "扫描与采集" }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: tL
+ children: nL
}),
- s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(vL, {
+ s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(yL, {
embedded: !0,
label: u,
value: Math.min(s.checked || 0, s.total || 0),
@@ -49160,7 +49160,7 @@ function bL(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, x.jsx)(DSe, {
+ }), /* @__PURE__ */ (0, x.jsx)(ESe, {
state: s,
problem: c,
settled: i,
@@ -49176,7 +49176,7 @@ function bL(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function OSe(e) {
+function DSe(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -49190,7 +49190,7 @@ function OSe(e) {
})
});
}
-function kSe(e) {
+function OSe(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -49204,7 +49204,7 @@ function kSe(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function ASe(e, t, n) {
+function kSe(e, t, n) {
(0, b.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -49218,7 +49218,7 @@ function ASe(e, t, n) {
n
]);
}
-function jSe(e, t) {
+function ASe(e, t) {
let n = (0, b.useRef)(!1);
return (0, b.useEffect)(() => {
if (!e) return;
@@ -49232,33 +49232,33 @@ function jSe(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var xL = (0, b.createContext)("md");
-function SL({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var SL = (0, b.createContext)("md");
+function CL({ 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);
- ASe(d, () => f(!1), [l, u]);
- let p = jSe(d, l);
- return /* @__PURE__ */ (0, x.jsx)(nve, {
+ kSe(d, () => f(!1), [l, u]);
+ let p = ASe(d, l);
+ return /* @__PURE__ */ (0, x.jsx)(tve, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: Bk("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(cj, {
+ className: Vk("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(lj, {
ref: l,
- className: Bk("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, x.jsx)(ave, {
- className: Bk("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: Vk("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, x.jsx)(ive, {
+ className: Vk("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, x.jsx)(OSe, { className: Bk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(DSe, { className: Vk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, x.jsx)(AM, {
ref: u,
isNonModal: !0,
offset: 4,
- className: Bk(Zxe, KI, "p-2", n),
- children: /* @__PURE__ */ (0, x.jsx)(C_e, {
+ className: Vk(Xxe, qI, "p-2", n),
+ children: /* @__PURE__ */ (0, x.jsx)(S_e, {
items: a,
- className: Bk(Qxe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, x.jsx)(xL.Provider, {
+ className: Vk(Zxe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, x.jsx)(SL.Provider, {
value: r,
children: i
})
@@ -49266,19 +49266,19 @@ function SL({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function CL({ className: e, children: t, ...n }) {
- let r = (0, b.useContext)(xL);
- return /* @__PURE__ */ (0, x.jsx)(E_e, {
+function wL({ className: e, children: t, ...n }) {
+ let r = (0, b.useContext)(SL);
+ return /* @__PURE__ */ (0, x.jsx)(T_e, {
...n,
- className: (t) => Bk(qI, 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) => Vk(JI, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/background-job.ts
-var wL = 2e3, MSe = (e) => e, NSe = (e, t) => t;
-function TL(e) {
- let { queryKey: t, jobOf: n = MSe, withJob: r = NSe, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);
+var TL = 2e3, jSe = (e) => e, MSe = (e, t) => t;
+function EL(e) {
+ let { queryKey: t, jobOf: n = jSe, withJob: r = MSe, 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;
});
@@ -49287,7 +49287,7 @@ function TL(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? wL : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? TL : i ?? !1;
}
}), d = dt({
mutationFn: (e) => l.current.start(e),
@@ -49312,32 +49312,32 @@ function TL(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var PSe = (e) => Ya[e] || e, EL = (e) => U.setQueryData(AF, e);
-function FSe() {
+var NSe = (e) => Ya[e] || e, DL = (e) => U.setQueryData(jF, e);
+function PSe() {
let e = ut({
- queryKey: AF,
- queryFn: ({ signal: e }) => MF(e),
- refetchInterval: (e) => e.state.data?.status === "running" && wL
- }), t = ut({
queryKey: jF,
- queryFn: ({ signal: e }) => NF(e)
- }), [n, r] = (0, b.useState)(""), i = Qk(), a = e.data ?? Ibe, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
+ queryFn: ({ signal: e }) => NF(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && TL
+ }), t = ut({
+ queryKey: MF,
+ queryFn: ({ signal: e }) => PF(e)
+ }), [n, r] = (0, b.useState)(""), i = $k(), a = e.data ?? Fbe, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
c && ls({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => EL(await H(kF, {
+ onConfirm: async () => DL(await H(AF, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => H(kF, { stop: !0 }, "POST", e), EL), d = Rbe(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => H(AF, { stop: !0 }, "POST", e), DL), d = Lbe(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, x.jsx)(pL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(mL, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(SL, {
+ footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -49345,10 +49345,10 @@ function FSe() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(CL, {
+ children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(wL, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: PSe(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(mA, { mark: NSe(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, x.jsx)(G, {
onClick: u,
@@ -49362,12 +49362,12 @@ function FSe() {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(fL, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, x.jsx)(pL, { children: "媒体修复" }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: nL
+ children: rL
}),
- s && a.total ? /* @__PURE__ */ (0, x.jsx)(Zk, {
+ s && a.total ? /* @__PURE__ */ (0, x.jsx)(Qk, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -49391,7 +49391,7 @@ function FSe() {
f && a.missing_tool ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "缺少 untrunc",
- children: zbe(a)
+ children: Rbe(a)
}) : null,
p ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49403,7 +49403,7 @@ function FSe() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var DL = {
+var OL = {
md: {
box: "size-4",
glyph: "size-4",
@@ -49417,11 +49417,11 @@ var DL = {
gap: "gap-1.5"
}
};
-function OL({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = DL[t], c = n || r, l = o && !a;
+function kL({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = OL[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: Bk("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Bk("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Bk("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: Vk("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Vk("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Vk("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -49445,36 +49445,36 @@ function OL({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function kL({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = DL[n];
- return /* @__PURE__ */ (0, x.jsx)(d_e, {
+function AL({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = OL[n];
+ return /* @__PURE__ */ (0, x.jsx)(u_e, {
ref: r,
...i,
- className: (t) => Bk("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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(OL, {
+ className: (t) => Vk("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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(kL, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: Bk(a.label, "text-text-primary"),
+ className: Vk(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function AL({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function jL({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: Bk("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, x.jsx)(yve, {
+ className: Vk("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, x.jsx)(vve, {
ref: r,
...i,
- className: Bk("bui-table", e === "sm" && "bui-table-sm", t)
+ className: Vk("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function jL({ children: e, follow: t = !1, onRowClick: n }) {
+function ML({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -49482,15 +49482,15 @@ function jL({ 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 && kP(e, r) && n(r.dataset.key);
+ r && AP(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var ISe = IN("unlink"), ML = IN("rotate-cw"), LSe = "站点返回 404 或 410,确认这个地址不存在。", RSe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", zSe = "删除前会逐条重验一次;此操作不可撤销。", BSe = "暂时无法读取进度,正在重新连接…", NL = (e) => Number(e || 0).toLocaleString();
-function PL({ label: e, value: t, note: n }) {
+var FSe = LN("unlink"), NL = LN("rotate-cw"), ISe = "站点返回 404 或 410,确认这个地址不存在。", LSe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", RSe = "删除前会逐条重验一次;此操作不可撤销。", zSe = "暂时无法读取进度,正在重新连接…", PL = (e) => Number(e || 0).toLocaleString();
+function FL({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -49509,12 +49509,12 @@ function PL({ label: e, value: t, note: n }) {
]
});
}
-function FL({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function IL({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
let [o, s] = (0, b.useState)(!1);
if (!t.length) return null;
let c = r ?? [], l = c.length > 0 && c.length === t.length, u = o ? t : t.slice(0, 10), d = t.length > 10;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: lL,
+ className: uL,
children: [
/* @__PURE__ */ (0, x.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -49527,13 +49527,13 @@ function FL({ 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, x.jsx)(jL, { children: /* @__PURE__ */ (0, x.jsxs)(AL, {
+ /* @__PURE__ */ (0, x.jsx)(ML, { children: /* @__PURE__ */ (0, x.jsxs)(jL, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(dN, { children: [
- i ? /* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(fN, { children: [
+ i ? /* @__PURE__ */ (0, x.jsx)(pN, {
id: "pick",
- children: /* @__PURE__ */ (0, x.jsx)(kL, {
+ children: /* @__PURE__ */ (0, x.jsx)(AL, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: l,
@@ -49541,53 +49541,53 @@ function FL({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(mN, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(_N, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(hN, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(vN, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)(kL, {
+ i ? /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsx)(AL, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: c.includes(e.id),
onChange: (t) => i(t ? [...c, e.id] : c.filter((t) => t !== e.id))
}) }) : null,
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-24 wrap-anywhere",
children: e.entity
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: tI[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: nI[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-24 wrap-anywhere",
children: e.label || ""
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)("div", {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-40 max-w-80",
- children: /* @__PURE__ */ (0, x.jsx)(jA, {
+ children: /* @__PURE__ */ (0, x.jsx)(MA, {
text: e.note,
className: "tabular-nums text-text-error-primary"
})
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsxs)("a", {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -49597,7 +49597,7 @@ function FL({ 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, x.jsx)(fk, {
+ }), /* @__PURE__ */ (0, x.jsx)(pk, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -49619,27 +49619,27 @@ function FL({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function VSe() {
+function BSe() {
let e = ut({
- queryKey: QF,
- queryFn: ({ signal: e }) => rI(e)
- }), [t, n] = (0, b.useState)([]), r = TL({
- queryKey: eI,
- queryFn: ({ signal: e }) => aI(e),
- start: dxe,
+ queryKey: $F,
+ queryFn: ({ signal: e }) => iI(e)
+ }), [t, n] = (0, b.useState)([]), r = EL({
+ queryKey: tI,
+ queryFn: ({ signal: e }) => oI(e),
+ start: uxe,
onFinish: () => {
U.invalidateQueries({
- queryKey: QF,
+ queryKey: $F,
exact: !0
}), U.invalidateQueries({
- queryKey: $F,
+ queryKey: eI,
exact: !0
});
}
- }), i = TL({
- queryKey: $F,
- queryFn: ({ signal: e }) => iI(e),
- start: uxe,
+ }), i = EL({
+ queryKey: eI,
+ queryFn: ({ signal: e }) => aI(e),
+ start: lxe,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -49647,7 +49647,7 @@ function VSe() {
(0, b.useEffect)(() => {
n([]);
}, [o]);
- let s = i.running || i.start.isPending, c = r.running || r.start.isPending, l = a?.status === "complete", u = a?.gone ?? [], d = a?.unclear ?? [], f = l ? d : [], p = e.data, m = (p?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${NL(t)}`).join(" · "), h = (e) => {
+ let s = i.running || i.start.isPending, c = r.running || r.start.isPending, l = a?.status === "complete", u = a?.gone ?? [], d = a?.unclear ?? [], f = l ? d : [], p = e.data, m = (p?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${PL(t)}`).join(" · "), h = (e) => {
s || e && !e.length || i.start.mutate(e ? {
retry: e,
checkId: o
@@ -49669,7 +49669,7 @@ function VSe() {
else if (_) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "完成",
- children: fxe(_)
+ children: dxe(_)
});
else if (v) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49679,7 +49679,7 @@ function VSe() {
else if (i.query.isError && a) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: BSe
+ children: zSe
});
else if (a?.status === "failed") S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49687,12 +49687,12 @@ function VSe() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(vL, {
+ y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(yL, {
embedded: !0,
- label: pxe(a),
+ label: fxe(a),
value: Math.min(a.checked || 0, a.total || 0),
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, x.jsx)(vL, {
+ }) : null, c ? /* @__PURE__ */ (0, x.jsx)(yL, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: Math.min(r.job?.checked || 0, r.job?.total || 0),
@@ -49700,38 +49700,38 @@ function VSe() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
S = l || u.length || d.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: vSe,
+ className: _Se,
children: [
- /* @__PURE__ */ (0, x.jsx)(FL, {
+ /* @__PURE__ */ (0, x.jsx)(IL, {
title: "地址已失效",
items: u,
- hint: LSe
+ hint: ISe
}),
- /* @__PURE__ */ (0, x.jsx)(FL, {
+ /* @__PURE__ */ (0, x.jsx)(IL, {
title: "本次未访问成功",
items: d,
- hint: RSe,
+ hint: LSe,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, x.jsxs)(uL, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: ML,
+ children: /* @__PURE__ */ (0, x.jsxs)(dL, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ leadingIcon: NL,
disabled: !t.length,
...q(s),
onClick: () => h(t),
children: e
}), /* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: ML,
+ leadingIcon: NL,
...q(s),
onClick: () => h(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, x.jsx)(uL, {
+ l && u.length ? /* @__PURE__ */ (0, x.jsx)(dL, {
tone: "error",
- status: zSe,
+ status: RSe,
children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
...q(c),
@@ -49740,7 +49740,7 @@ function VSe() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, x.jsx)("p", {
- className: `${lL} text-body-regular text-notification-success-foreground`,
+ className: `${uL} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -49751,21 +49751,21 @@ function VSe() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(dL, {
+ /* @__PURE__ */ (0, x.jsx)(fL, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, x.jsxs)(pL, {
+ /* @__PURE__ */ (0, x.jsxs)(mL, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: ISe,
+ leadingIcon: FSe,
...q(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(fL, {
+ /* @__PURE__ */ (0, x.jsx)(pL, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -49776,13 +49776,13 @@ function VSe() {
children: B(e.error)
}) : p ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, x.jsx)(PL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(FL, {
label: "链接总数",
- value: NL(p.total),
- note: `分布在 ${NL(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(PL, {
- label: tI[e] || e,
- value: NL(t)
+ value: PL(p.total),
+ note: `分布在 ${PL(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(FL, {
+ label: nI[e] || e,
+ value: PL(t)
}, e))]
}), m ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -49811,18 +49811,18 @@ function VSe() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var HSe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, USe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", WSe = 8;
-function GSe({ plan: e }) {
+var VSe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, HSe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", USe = 8;
+function WSe({ plan: e }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, WSe).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: e.rows.slice(0, USe).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: _I(e.current_path)
+ children: vI(e.current_path)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
@@ -49832,7 +49832,7 @@ function GSe({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: _I(e.target_path)
+ children: vI(e.target_path)
})
]
}, e.current_path))
@@ -49841,10 +49841,10 @@ function GSe({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function KSe({ toast: e, failure: t }) {
+function GSe({ toast: e, failure: t }) {
let n = ut({
- queryKey: hI,
- queryFn: ({ signal: e }) => gI(e)
+ queryKey: gI,
+ queryFn: ({ signal: e }) => _I(e)
}), r = n.data, i = r?.locations ?? [], [a, o] = (0, b.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, b.useState)(null), d = l?.location === s ? l : {
location: s,
file: c?.file ?? "",
@@ -49857,38 +49857,38 @@ function KSe({ toast: e, failure: t }) {
file_template: d.file.trim(),
dir_template: d.dir.trim()
}), v = dt({
- mutationFn: wxe,
+ mutationFn: Cxe,
onError: (e) => {
- let t = Oxe.test(B(e)) ? "dir" : "file";
+ let t = Dxe.test(B(e)) ? "dir" : "file";
m(t), (t === "dir" ? g : h).current?.focus();
}
- }), y = TL({
- queryKey: hI,
- queryFn: ({ signal: e }) => gI(e),
- start: Txe,
+ }), y = EL({
+ queryKey: gI,
+ queryFn: ({ signal: e }) => _I(e),
+ start: wxe,
jobOf: (e) => e,
- withJob: Dxe,
+ withJob: Exe,
onStarted: () => v.reset(),
onFinish: (n) => {
if (U.invalidateQueries({
- queryKey: hI,
+ queryKey: gI,
exact: !0
}), n.status !== "complete") return;
- let { text: r, failed: i } = yI(n);
+ let { text: r, failed: i } = bI(n);
i ? t("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));
}
}), S = y.running || y.start.isPending, C = v.data, w = Number(C?.counts?.change || 0), T = tn[s] || s, E = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {
!v.isPending && s && (m(null), v.mutate(_()));
}, O = () => void ls({
title: "按模板整理文件",
- body: HSe(T),
+ body: VSe(T),
confirmLabel: "整理文件",
onConfirm: async () => {
let e = _();
await y.start.mutateAsync({
kind: "apply",
request: e
- }), Exe({
+ }), Txe({
...r?.templates ?? {},
[e.location]: {
file: e.file_template,
@@ -49898,13 +49898,13 @@ function KSe({ toast: e, failure: t }) {
}
}), k = () => void ls({
title: "回滚上一批整理",
- body: USe,
+ body: HSe,
confirmLabel: "回滚整理",
onConfirm: () => y.start.mutateAsync({ kind: "rollback" })
}), A = null, j = y.job, M = y.outcome;
if (j?.status === "running") {
let e = j.message || j.stage || "正在整理文件…";
- A = /* @__PURE__ */ (0, x.jsx)(vL, {
+ A = /* @__PURE__ */ (0, x.jsx)(yL, {
embedded: !0,
label: e,
value: Math.min(j.checked || 0, j.total || 0),
@@ -49916,7 +49916,7 @@ function KSe({ toast: e, failure: t }) {
children: M.error || "请查看任务记录,核对已处理的文件。"
});
else if (M) {
- let { text: e, failed: t } = yI(M);
+ let { text: e, failed: t } = bI(M);
A = /* @__PURE__ */ (0, x.jsx)(K, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -49926,7 +49926,7 @@ function KSe({ toast: e, failure: t }) {
tone: "error",
title: "整理失败",
children: B(y.start.error)
- }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(vL, {
+ }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(yL, {
embedded: !0,
label: "正在按模板算计划…"
}) : v.isError ? A = /* @__PURE__ */ (0, x.jsx)(K, {
@@ -49936,9 +49936,9 @@ function KSe({ toast: e, failure: t }) {
}) : C && (A = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "预览结果",
- children: kxe(C)
- }), w ? /* @__PURE__ */ (0, x.jsx)(GSe, { plan: C }) : null] }));
- return /* @__PURE__ */ (0, x.jsxs)(pL, {
+ children: Oxe(C)
+ }), w ? /* @__PURE__ */ (0, x.jsx)(WSe, { plan: C }) : null] }));
+ return /* @__PURE__ */ (0, x.jsxs)(mL, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -49962,7 +49962,7 @@ function KSe({ toast: e, failure: t }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, x.jsx)(fL, {
+ /* @__PURE__ */ (0, x.jsx)(pL, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -49982,20 +49982,20 @@ function KSe({ toast: e, failure: t }) {
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- i.length ? /* @__PURE__ */ (0, x.jsx)(SL, {
+ i.length ? /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: s || null,
onSelectionChange: (e) => {
e !== null && (o(String(e)), m(null), v.reset());
},
- children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(CL, {
+ children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(wL, {
id: e.location,
textValue: tn[e.location] || e.location,
- children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya[e.location] || "database" }), tn[e.location] || e.location]
+ children: [/* @__PURE__ */ (0, x.jsx)(mA, { mark: Ya[e.location] || "database" }), tn[e.location] || e.location]
}, e.location))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: d.file,
@@ -50006,7 +50006,7 @@ function KSe({ toast: e, failure: t }) {
f({ file: e }), m(null);
}
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: d.dir,
@@ -50051,56 +50051,56 @@ function KSe({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var qSe = "/api/orphan-records", JSe = "/api/orphan-records/attach", IL = ["orphan-records"], YSe = [
+var KSe = "/api/orphan-records", qSe = "/api/orphan-records/attach", LL = ["orphan-records"], JSe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], XSe = (e) => V(qSe, e), ZSe = (e, t) => H(JSe, {
+], YSe = (e) => V(KSe, e), XSe = (e, t) => H(qSe, {
id: e,
target: t
-}), QSe = (e) => H(gF, {
+}), ZSe = (e) => H(_F, {
ids: [e],
operation: "delete"
-}), $Se = (e) => [
+}), QSe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], LL = (e) => [...YSe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...$Se(e)].filter(Boolean).join(" · "), eCe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", RL = (e) => [e.name, eCe(e.duration)].filter(Boolean).join(" · "), tCe = IN("play"), zL = () => U.invalidateQueries({
- queryKey: IL,
+], RL = (e) => [...JSe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...QSe(e)].filter(Boolean).join(" · "), $Se = (e) => e ? `${Math.round(e / 60)} 分钟` : "", zL = (e) => [e.name, $Se(e.duration)].filter(Boolean).join(" · "), eCe = LN("play"), BL = () => U.invalidateQueries({
+ queryKey: LL,
exact: !0
});
-function nCe({ item: e, toast: t }) {
+function tCe({ item: e, toast: t }) {
let [n, r] = (0, b.useState)(e.candidates[0]?.id ?? null), i = dt({
- mutationFn: () => ZSe(e.id, Number(n)),
+ mutationFn: () => XSe(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), zL();
+ t(`记录已接到新文件,批次 ${e.batch}`), BL();
},
onError: (e) => t(B(e))
}), a = dt({
- mutationFn: () => QSe(e.id),
+ mutationFn: () => ZSe(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), zL();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), BL();
}
}), o = () => {
ls({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${LL(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${RL(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => a.mutateAsync()
});
}, s = i.isPending || a.isPending;
- return /* @__PURE__ */ (0, x.jsxs)(_N, {
+ return /* @__PURE__ */ (0, x.jsxs)(vN, {
id: e.id,
children: [
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, x.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, x.jsx)(tCe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(eCe, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, x.jsx)("img", {
@@ -50122,27 +50122,27 @@ function nCe({ item: e, toast: t }) {
})]
})]
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-28",
- children: LL(e.records)
+ children: RL(e.records)
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(SL, {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
className: "w-52",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(Number(e));
},
- children: e.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e.id,
- textValue: RL(e),
- children: RL(e)
+ textValue: zL(e),
+ children: zL(e)
}, e.id))
}) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-text-secondary",
children: "没有番号或文件名对得上的文件"
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex flex-wrap gap-2",
children: [e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
@@ -50162,23 +50162,23 @@ function nCe({ item: e, toast: t }) {
]
});
}
-function rCe({ toast: e }) {
+function nCe({ toast: e }) {
let t = ut({
- queryKey: IL,
- queryFn: ({ signal: e }) => XSe(e)
+ queryKey: LL,
+ queryFn: ({ signal: e }) => YSe(e)
}), n = t.data?.items ?? [], r = t.data?.total ?? n.length;
return !t.isError && !n.length ? null : /* @__PURE__ */ (0, x.jsxs)("section", {
id: "orphan-records",
"aria-labelledby": "orphan-records-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, x.jsx)(dL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(fL, {
id: "orphan-records-title",
children: "孤儿记录"
- }), /* @__PURE__ */ (0, x.jsxs)(pL, {
+ }), /* @__PURE__ */ (0, x.jsxs)(mL, {
layout: "stack",
labelledBy: "orphan-records-box",
children: [
- /* @__PURE__ */ (0, x.jsx)(fL, {
+ /* @__PURE__ */ (0, x.jsx)(pL, {
id: "orphan-records-box",
gap: "small",
children: "文件已消失的作品"
@@ -50191,28 +50191,28 @@ function rCe({ toast: e }) {
tone: "error",
title: "孤儿记录读取失败",
children: B(t.error)
- }) : /* @__PURE__ */ (0, x.jsx)(jL, { children: /* @__PURE__ */ (0, x.jsxs)(AL, {
+ }) : /* @__PURE__ */ (0, x.jsx)(ML, { children: /* @__PURE__ */ (0, x.jsxs)(jL, {
"aria-label": "文件已消失的作品",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(dN, { children: [
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(fN, { children: [
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "item",
isRowHeader: !0,
children: "作品"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "records",
children: "带的记录"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "target",
children: "接到"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(mN, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(nCe, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(hN, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(tCe, {
item: t,
toast: e
}, t.id)) })]
@@ -50227,99 +50227,99 @@ function rCe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var iCe = IN("git-compare"), aCe = IN("rotate-cw"), oCe = "暂时无法读取进度,正在重新连接…", BL = "清理失效条目", VL = "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", HL = (e) => Number(e || 0).toLocaleString();
-function sCe({ scan: e }) {
+var rCe = LN("git-compare"), iCe = LN("rotate-cw"), aCe = "暂时无法读取进度,正在重新连接…", VL = "清理失效条目", HL = "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", UL = (e) => Number(e || 0).toLocaleString();
+function oCe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: VL,
+ className: HL,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, x.jsx)("article", {
- className: HI(),
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
- label: Pxe[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya[e.location] ?? "database" }),
+ className: UI(),
+ children: /* @__PURE__ */ (0, x.jsx)(WI, {
+ label: Nxe[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, x.jsx)(mA, { mark: Ya[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, x.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${HL(e.missing)} 项` : "—",
- meta: Rxe(e),
+ figure: e.online ? `${UL(e.missing)} 项` : "—",
+ meta: Lxe(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, x.jsxs)("div", {
- className: VL,
+ className: HL,
children: [
/* @__PURE__ */ (0, x.jsx)("article", {
- className: HI(),
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ className: UI(),
+ children: /* @__PURE__ */ (0, x.jsx)(WI, {
label: "待永久删除",
- figure: `${HL(OI(e))} 项`,
+ figure: `${UL(kI(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: HI(),
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ className: UI(),
+ children: /* @__PURE__ */ (0, x.jsx)(WI, {
label: "将标为已消失",
- figure: `${HL(e.vanish)} 项`,
+ figure: `${UL(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: HI(),
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ className: UI(),
+ children: /* @__PURE__ */ (0, x.jsx)(WI, {
label: "空文件夹",
- figure: `${HL(e.empty)} 个`,
+ figure: `${UL(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: HI(),
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ className: UI(),
+ children: /* @__PURE__ */ (0, x.jsx)(WI, {
label: "可清理的缓存",
- figure: `${HL(t.files)} 个`,
+ figure: `${UL(t.files)} 个`,
meta: t.files ? Xt(t.bytes) : ""
})
})
]
})] });
}
-function cCe({ toast: e }) {
- let t = TL({
- queryKey: CI,
- queryFn: ({ signal: e }) => TI(e),
- start: jxe,
+function sCe({ toast: e }) {
+ let t = EL({
+ queryKey: wI,
+ queryFn: ({ signal: e }) => EI(e),
+ start: Axe,
onFinish: (t) => {
if (U.invalidateQueries({
- queryKey: FI,
+ queryKey: II,
exact: !0
}), U.invalidateQueries({
- queryKey: SI,
+ queryKey: CI,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = jI(t);
- r ? e(`已完成 ${HL(n)} 项,${HL(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = MI(t);
+ r ? e(`已完成 ${UL(n)} 项,${UL(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = TL({
- queryKey: SI,
- queryFn: ({ signal: e }) => wI(e),
- start: Axe,
+ }), n = EL({
+ queryKey: CI,
+ queryFn: ({ signal: e }) => TI(e),
+ start: kxe,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void ls({
- title: BL,
- body: Lxe(e),
- confirmLabel: BL,
+ title: VL,
+ body: Ixe(e),
+ confirmLabel: VL,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), l = t.outcome, u = (e) => {
- let t = jI(e).left > 0;
+ let t = MI(e).left > 0;
return /* @__PURE__ */ (0, x.jsx)(K, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: zxe(e, Xt)
+ children: Rxe(e, Xt)
});
}, d = null, f = null;
if (l?.status === "failed") f = /* @__PURE__ */ (0, x.jsx)(K, {
@@ -50328,7 +50328,7 @@ function cCe({ toast: e }) {
children: l.error || "请查看任务记录,核对已处理的文件。"
});
else if (l) f = u(l);
- else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(vL, {
+ else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(yL, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -50340,11 +50340,11 @@ function cCe({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: oCe
+ children: aCe
});
else if (r?.status === "running") {
- let e = Fxe(r);
- d = /* @__PURE__ */ (0, x.jsx)(vL, {
+ let e = Pxe(r);
+ d = /* @__PURE__ */ (0, x.jsx)(yL, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -50361,13 +50361,13 @@ function cCe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = Nxe(r);
+ let e = Mxe(r);
f = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(sCe, { scan: r }),
+ /* @__PURE__ */ (0, x.jsx)(oCe, { scan: r }),
e ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "清理内容",
- children: Ixe(r)
+ children: Fxe(r)
}) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -50375,7 +50375,7 @@ function cCe({ toast: e }) {
variant: "danger",
...q(a),
onClick: () => c(r),
- children: a ? "正在复核并清理…" : BL
+ children: a ? "正在复核并清理…" : VL
}) : /* @__PURE__ */ (0, x.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -50392,16 +50392,16 @@ function cCe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(dL, {
+ /* @__PURE__ */ (0, x.jsx)(fL, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, x.jsxs)(pL, {
+ /* @__PURE__ */ (0, x.jsxs)(mL, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? aCe : iCe,
+ leadingIcon: o && !i ? iCe : rCe,
...q(i),
onClick: () => {
i || n.start.mutate();
@@ -50409,7 +50409,7 @@ function cCe({ toast: e }) {
children: s
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(fL, {
+ /* @__PURE__ */ (0, x.jsx)(pL, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -50435,16 +50435,16 @@ function cCe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function UL(e, t) {
+function WL(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function WL({ section: e, label: t, icon: n, value: r, open: i }) {
+function GL({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
- className: HI({ interactive: !0 }),
+ className: UI({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ children: /* @__PURE__ */ (0, x.jsx)(WI, {
label: t,
icon: n,
figure: r.figure,
@@ -50452,80 +50452,80 @@ function WL({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var lCe = IN("square-check-big"), uCe = IN("sparkles"), dCe = IN("file-stack"), fCe = IN("file-archive"), pCe = IN("trash"), mCe = [
- MI,
- FF,
- hF
-], hCe = () => {
- for (let e of mCe) U.invalidateQueries({
+var cCe = LN("square-check-big"), lCe = LN("sparkles"), uCe = LN("file-stack"), dCe = LN("file-archive"), fCe = LN("trash"), pCe = [
+ NI,
+ IF,
+ gF
+], mCe = () => {
+ for (let e of pCe) U.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function gCe({ toast: e, failure: t, open: n }) {
+function hCe({ toast: e, failure: t, open: n }) {
let r = ut({
- queryKey: MI,
- queryFn: ({ signal: e }) => II(e)
+ queryKey: NI,
+ queryFn: ({ signal: e }) => LI(e)
}), i = ut({
- queryKey: FF,
- queryFn: ({ signal: e }) => IF(e)
+ queryKey: IF,
+ queryFn: ({ signal: e }) => LF(e)
}), a = ut({
- queryKey: hF,
- queryFn: ({ signal: e }) => _F(e)
+ queryKey: gF,
+ queryFn: ({ signal: e }) => vF(e)
}), o = ut({
- queryKey: NI,
- queryFn: ({ signal: e }) => LI(e)
- }), s = ut({
- queryKey: FI,
+ queryKey: PI,
queryFn: ({ signal: e }) => RI(e)
+ }), s = ut({
+ queryKey: II,
+ queryFn: ({ signal: e }) => zI(e)
}), c = ut({
queryKey: vn,
queryFn: ({ signal: e }) => yn(e)
}), l = (t) => e(t);
- return /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
+ return /* @__PURE__ */ (0, x.jsxs)(Xk, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: Xxe,
+ className: Yxe,
children: [
- /* @__PURE__ */ (0, x.jsx)(WL, {
+ /* @__PURE__ */ (0, x.jsx)(GL, {
section: "review",
label: "人工复核",
- icon: lCe,
+ icon: cCe,
open: n,
- value: UL(r, Uxe)
+ value: WL(r, Hxe)
}),
- /* @__PURE__ */ (0, x.jsx)(WL, {
+ /* @__PURE__ */ (0, x.jsx)(GL, {
section: "quality",
label: "高清版",
- icon: uCe,
+ icon: lCe,
open: n,
- value: UL(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: WL(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, x.jsx)(WL, {
+ /* @__PURE__ */ (0, x.jsx)(GL, {
section: "duplicates",
label: "重复文件",
- icon: dCe,
+ icon: uCe,
open: n,
- value: UL(a, (e) => Number(e.total || 0) ? {
+ value: WL(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${Xt(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, x.jsx)(WL, {
+ /* @__PURE__ */ (0, x.jsx)(GL, {
section: "ads",
label: "垃圾文件",
- icon: fCe,
+ icon: dCe,
open: n,
- value: UL(o, (e) => ({
+ value: WL(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: Wxe(e)
+ meta: Uxe(e)
}))
}),
- /* @__PURE__ */ (0, x.jsx)(WL, {
+ /* @__PURE__ */ (0, x.jsx)(GL, {
section: "trash",
label: "回收站",
- icon: pCe,
+ icon: fCe,
open: n,
- value: UL(s, (e) => ({
+ value: WL(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${Xt(e.bytes || 0)}` : ""
}))
@@ -50538,31 +50538,31 @@ function gCe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, x.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, x.jsx)(bL, {
+ children: /* @__PURE__ */ (0, x.jsx)(xL, {
toast: l,
monitor: !0,
- onComplete: hCe
+ onComplete: mCe
})
}),
/* @__PURE__ */ (0, x.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, x.jsx)(FSe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(PSe, {})
}),
- /* @__PURE__ */ (0, x.jsx)(KSe, {
+ /* @__PURE__ */ (0, x.jsx)(GSe, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(VSe, {}),
- /* @__PURE__ */ (0, x.jsx)(rCe, { toast: l }),
- EI(c.data) ? /* @__PURE__ */ (0, x.jsx)(cCe, { toast: e }) : null
+ /* @__PURE__ */ (0, x.jsx)(BSe, {}),
+ /* @__PURE__ */ (0, x.jsx)(nCe, { toast: l }),
+ DI(c.data) ? /* @__PURE__ */ (0, x.jsx)(sCe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var GL = (e) => ["feed-new", e ?? "home"], _Ce = 8, vCe = 1500;
-function yCe(e, t, n) {
+var KL = (e) => ["feed-new", e ?? "home"], gCe = 8, _Ce = 1500;
+function vCe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -50573,32 +50573,32 @@ function yCe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function bCe(e, t, n) {
+async function yCe(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
let i = await Et(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await yCe(s, _Ce, vCe), {
+ return n && o.length && await vCe(s, gCe, _Ce), {
items: o,
html: s
};
}
-var KL = (e, t, n = !1) => ({
- queryKey: GL(e),
- queryFn: () => bCe(e, t, n),
+var qL = (e, t, n = !1) => ({
+ queryKey: KL(e),
+ queryFn: () => yCe(e, t, n),
staleTime: Infinity
-}), qL = (e, t) => Et("/api/feeds/discovery", {
+}), JL = (e, t) => Et("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function xCe(e) {
- U.removeQueries({ queryKey: GL(null) }), await U.fetchQuery(KL(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function bCe(e) {
+ U.removeQueries({ queryKey: KL(null) }), await U.fetchQuery(qL(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var JL = [
+var YL = [
"loc",
"creator",
"tag",
@@ -50608,51 +50608,51 @@ var JL = [
"orient",
"sort",
"dir"
-], YL = {
+], XL = {
media: "videos",
set: 0
-}, XL = (e, t) => [
+}, ZL = (e, t) => [
"entity",
e,
t
-], SCe = (e, t, n, r) => [
+], xCe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], ZL = (e, t, n, r) => [
+], QL = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], QL = (e) => String(e || "").split(",").filter(Boolean), CCe = (e, t) => QL(e).includes(t);
-function $L(e, t, n, r, i = 0) {
+], $L = (e) => String(e || "").split(",").filter(Boolean), SCe = (e, t) => $L(e).includes(t);
+function eR(e, t, n, r, i = 0) {
let a = new URLSearchParams();
- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...QL(n.tag)])].join(",")), a.set("tag_match", "all")), 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 JL) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...$L(n.tag)])].join(",")), a.set("tag_match", "all")), 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 YL) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function eR(e, t, n, r, i, a) {
- return await Et(`/api/items?${$L(e, t, n, r, i)}`, a ? { signal: a } : {});
+async function tR(e, t, n, r, i, a) {
+ return await Et(`/api/items?${eR(e, t, n, r, i)}`, a ? { signal: a } : {});
}
-var tR = (e) => {
+var nR = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = $L(e.kind, e.name, e.filters, t).toString();
+ }, n = eR(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: SCe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => eR(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: xCe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => tR(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, nR = (e, t) => ({
- queryKey: XL(e, t),
+}, rR = (e, t) => ({
+ queryKey: ZL(e, t),
queryFn: ({ signal: n }) => Et(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function wCe(e, t, n, r, i, a) {
+function CCe(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)}` : ""}`;
@@ -50661,10 +50661,10 @@ function wCe(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 rR = (e, t, n, r) => ({
- queryKey: ZL(e, t, n, r),
+var iR = (e, t, n, r) => ({
+ queryKey: QL(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await Et(wCe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await Et(CCe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -50677,8 +50677,8 @@ var rR = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), iR = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function TCe(e) {
+}), aR = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function wCe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -50689,26 +50689,26 @@ async function TCe(e) {
t,
n
] });
- e.resolvedEntity?.id && U.setQueryData(XL(t, n), e.resolvedEntity), await Promise.all([
- U.fetchQuery(nR(t, n)).then((t) => !t || t.error || !t.id ? null : (U.removeQueries({ queryKey: GL(Number(t.id)) }), U.fetchQuery(KL(Number(t.id), e.helpers.feedRowHtml, !0)))),
- U.fetchQuery(tR(e)),
- U.fetchInfiniteQuery(rR(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? U.fetchInfiniteQuery(rR(t, n, e.media.set, "")) : null
+ e.resolvedEntity?.id && U.setQueryData(ZL(t, n), e.resolvedEntity), await Promise.all([
+ U.fetchQuery(rR(t, n)).then((t) => !t || t.error || !t.id ? null : (U.removeQueries({ queryKey: KL(Number(t.id)) }), U.fetchQuery(qL(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ U.fetchQuery(nR(e)),
+ U.fetchInfiniteQuery(iR(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? U.fetchInfiniteQuery(iR(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/identity-filter.ts
-var aR = [
+var oR = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], oR = "mb-4 flex flex-wrap gap-2";
-function ECe(e) {
- let t = aR.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${oR}">${aR.map(([e, n]) => QI({
+], sR = "mb-4 flex flex-wrap gap-2";
+function TCe(e) {
+ let t = oR.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${sR}">${oR.map(([e, n]) => $I({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -50717,43 +50717,43 @@ function ECe(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var DCe = "/api/follow/authors", OCe = "/api/follow/tags", kCe = (e) => [
+var ECe = "/api/follow/authors", DCe = "/api/follow/tags", OCe = (e) => [
"follow",
"authors",
e
-], ACe = (e, t) => [
+], kCe = (e, t) => [
"follow",
"tags",
e,
t
];
-function jCe(e, t, n) {
+function ACe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${DCe}?${r}`;
+ return e && r.set("q", e), `${ECe}?${r}`;
}
-function MCe(e, t, n, r) {
+function jCe(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), `${OCe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${DCe}?${i}`;
}
-var NCe = (e, t, n, r) => V(jCe(e, t, n), r), PCe = (e, t, n, r, i) => V(MCe(e, t, n, r), i), FCe = "/api/index", sR = {
+var MCe = (e, t, n, r) => V(ACe(e, t, n), r), NCe = (e, t, n, r, i) => V(jCe(e, t, n, r), i), PCe = "/api/index", cR = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, ICe = {
+}, FCe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, cR = [
+}, lR = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -50763,31 +50763,31 @@ var NCe = (e, t, n, r) => V(jCe(e, t, n), r), PCe = (e, t, n, r, i) => V(MCe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], lR = [
+], uR = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], uR = {
+], dR = {
people: 120,
tags: 180
-}, dR = (e) => e !== "tags", fR = (e) => e === "studios" || e === "agencies";
-function pR(e) {
- if (e.kind === "creators" && e.category === "animation") return pR({
+}, fR = (e) => e !== "tags", pR = (e) => e === "studios" || e === "agencies";
+function mR(e) {
+ if (e.kind === "creators" && e.category === "animation") return mR({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? lR : cR : e.kind === "performers" && t === "local" ? aR : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? uR : lR : e.kind === "performers" && t === "local" ? oR : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function mR(e) {
+function hR(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -50807,50 +50807,50 @@ function mR(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var hR = (e, t, n = "all") => [
+var gR = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function gR(e, t, n, r, i) {
+function _R(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), n !== "all" && a.set("category", n), `${FCe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${PCe}?${a}`;
}
-function _R(e) {
- let t = e.what === "people" || e.what === "online-authors" ? uR.people : uR.tags, n = {
+function vR(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? dR.people : dR.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: hR(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: n, signal: r }) => V(gR(e.kind, e.q, e.category || "all", t, n), r)
+ queryKey: gR(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: n, signal: r }) => V(_R(e.kind, e.q, e.category || "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: hR("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => V(gR("tags", e.q, e.category, t, n), r)
+ queryKey: gR("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => V(_R("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: kCe(e.q),
- queryFn: ({ pageParam: n, signal: r }) => NCe(e.q, t, n, r)
+ queryKey: OCe(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => MCe(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: ACe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => PCe(e.q, e.category, t, n, r)
+ queryKey: kCe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => NCe(e.q, e.category, t, n, r)
};
}
}
-async function LCe(e, t) {
- let n = _R(mR(pR(e)));
+async function ICe(e, t) {
+ let n = vR(hR(mR(e)));
U.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -50864,13 +50864,13 @@ async function LCe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var RCe = (e) => e ? e.pages.flatMap((e) => e.items) : [], zCe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, vR = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", BCe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, VCe = {
+var LCe = (e) => e ? e.pages.flatMap((e) => e.items) : [], RCe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, yR = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", zCe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, BCe = {
numeric: !0,
sensitivity: "base"
};
-function HCe(e, t) {
+function VCe(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", VCe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", BCe))) {
let e = $t(t(r.k).normalize("NFKC"), "").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]);
}
@@ -50878,7 +50878,7 @@ function HCe(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function yR({ html: e, face: t, company: n, big: r }) {
+function bR({ 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");
@@ -50890,18 +50890,18 @@ function yR({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var UCe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", WCe = IN("rss");
-function bR({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var HCe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", UCe = LN("rss");
+function xR({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
...o,
"data-index-cell": "",
onClick: a,
- className: Kk({
+ className: qk({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${UCe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${HCe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -50910,10 +50910,10 @@ function bR({ name: e, readout: t, big: n, children: r, following: i, onPress: a
role: "img",
"aria-label": "已订阅新作",
className: "absolute top-4 right-4 z-2 inline-flex",
- children: /* @__PURE__ */ (0, x.jsx)(Uk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: "blue",
- children: /* @__PURE__ */ (0, x.jsx)(WCe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(UCe, {})
})
}) : null,
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -50929,24 +50929,24 @@ function bR({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function xR({ kind: e, items: t, layout: n, props: r }) {
- let i = fR(e), a = n === "big";
+function SR({ kind: e, items: t, layout: n, props: r }) {
+ let i = pR(e), a = n === "big";
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || ICe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, x.jsx)(bR, {
+ let n = t.entity_kind || FCe[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, x.jsx)(xR, {
"data-k": t.k,
"data-kind": n,
name: t.k,
- readout: `${BCe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${zCe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, x.jsx)(yR, {
+ children: /* @__PURE__ */ (0, x.jsx)(bR, {
html: o.html,
face: o.face,
company: i,
@@ -50956,14 +50956,14 @@ function xR({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function GCe({ items: e, layout: t, props: n }) {
+function WCe({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(bR, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(xR, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
@@ -50972,7 +50972,7 @@ function GCe({ items: e, layout: t, props: n }) {
onPress: () => {
e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);
},
- children: /* @__PURE__ */ (0, x.jsx)(yR, {
+ children: /* @__PURE__ */ (0, x.jsx)(bR, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -50982,24 +50982,24 @@ function GCe({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function SR(e) {
+function CR(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}%`);
}
-var CR = /* @__PURE__ */ new WeakSet();
-function KCe() {
- if (CR.has(document)) return;
- CR.add(document);
+var wR = /* @__PURE__ */ new WeakSet();
+function GCe() {
+ if (wR.has(document)) return;
+ wR.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(SR), JCe(e), qCe(e);
+ e.querySelectorAll("input[type=range]").forEach(CR), qCe(e), KCe(e);
};
e(document), new MutationObserver((t) => {
- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && SR(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && CR(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && SR(e.target);
+ e.target instanceof HTMLInputElement && e.target.type === "range" && CR(e.target);
});
let t = document.createElement("div");
t.className = "ui-board-tooltip", t.id = "board-control-tooltip", t.role = "tooltip", t.popover = "manual", t.hidden = !0, document.body.append(t);
@@ -51024,7 +51024,7 @@ function KCe() {
n.matches(":focus-visible") && r.bottom > 0 && r.top < innerHeight ? t.matches(":popover-open") && o(n) : s();
}, !0), window.addEventListener("resize", s);
}
-function qCe(e) {
+function KCe(e) {
let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-tabs")) return;
@@ -51048,15 +51048,15 @@ function qCe(e) {
r.observe(e);
});
}
-var wR = /* @__PURE__ */ new Map();
-function JCe(e) {
+var TR = /* @__PURE__ */ new Map();
+function qCe(e) {
let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;
e.dataset.boardSegments = "true";
let t = document.createElement("span");
t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);
- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = wR.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = TR.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -51065,7 +51065,7 @@ function JCe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- Ko(t, r, a, "x"), r = a, wR.set(n, a);
+ Ko(t, r, a, "x"), r = a, TR.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -51082,8 +51082,8 @@ function JCe(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var TR = "/vendor/swiper/14.3.0/", ER = null, YCe = () => ER ??= Promise.all([new Promise((e, t) => {
- let n = `${TR}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var ER = "/vendor/swiper/14.3.0/", DR = null, JCe = () => DR ??= Promise.all([new Promise((e, t) => {
+ let n = `${ER}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -51097,11 +51097,11 @@ var TR = "/vendor/swiper/14.3.0/", ER = null, YCe = () => ER ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${TR}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${ER}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 ER = null, e;
+ throw DR = null, e;
});
-function XCe(e, t, n) {
+function YCe(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);
@@ -51122,47 +51122,47 @@ function XCe(e, t, n) {
}
};
}
-var DR = (e) => {
+var OR = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Xt(t)).replace(" ", "\xA0") : "大小未知";
-}, ZCe = (e) => e.asset?.name || e.name || "未命名图片";
-function QCe(e, t) {
+}, XCe = (e) => e.asset?.name || e.name || "未命名图片";
+function ZCe(e, t) {
let n = e.asset;
- if (n) return [tn[n.location ?? ""] || n.location || "来源未知", DR(n.size)].join(" · ");
+ if (n) return [tn[n.location ?? ""] || n.location || "来源未知", OR(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? DR(e.size) : ""
+ e.size ? OR(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var OR = null, kR = null, $Ce = 0;
-function ewe() {
- return (!kR || !OR?.isConnected) && (kR?.unmount(), OR = document.createElement("div"), OR.className = "peach-react", OR.dataset.photoLightboxHost = "", document.body.append(OR), kR = (0, mt.createRoot)(OR)), kR;
+var kR = null, AR = null, QCe = 0;
+function $Ce() {
+ return (!AR || !kR?.isConnected) && (AR?.unmount(), kR = document.createElement("div"), kR.className = "peach-react", kR.dataset.photoLightboxHost = "", document.body.append(kR), AR = (0, mt.createRoot)(kR)), AR;
}
-async function AR(e, t, n) {
+async function jR(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await YCe();
+ r = await JCe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = ewe();
- (0, pt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(twe, {
+ let i = $Ce();
+ (0, pt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(ewe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++$Ce)));
+ }, ++QCe)));
}
-function jR() {
- kR && (0, pt.flushSync)(() => kR.render(null));
+function MR() {
+ AR && (0, pt.flushSync)(() => AR.render(null));
}
-function twe({ slides: e, index: t, Swiper: n, host: r }) {
+function ewe({ 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, S] = (0, b.useState)(100), [C, w] = (0, b.useState)({}), [T, E] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, b.useState)(!1), [j, M] = (0, b.useState)({
at: t,
text: ""
@@ -51205,7 +51205,7 @@ function twe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = XCe(e, a, S);
+ i(t, 0), h.current = YCe(e, a, S);
let m = is(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();
};
@@ -51222,13 +51222,13 @@ function twe({ slides: e, index: t, Swiper: n, host: r }) {
});
y.observe(e);
let b = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : jR());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : MR());
};
return document.addEventListener("keydown", b, !0), () => {
document.removeEventListener("keydown", b, !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 && SR(m.current);
+ m.current && CR(m.current);
}, [y]);
let N = e[_], P = N.asset ?? null, ee = async (e) => {
if (!P || !r || e.getAttribute("aria-busy") === "true") return;
@@ -51259,18 +51259,18 @@ function twe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), jR();
+ e.preventDefault(), MR();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && jR();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && MR();
},
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: jR,
+ onClick: MR,
dangerouslySetInnerHTML: { __html: R("x") }
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -51406,10 +51406,10 @@ function twe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: ZCe(N)
+ children: XCe(N)
}, _), /* @__PURE__ */ (0, x.jsx)("span", {
"data-photo-detail-meta": "",
- children: QCe(N, C[_])
+ children: ZCe(N, C[_])
})]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -51448,40 +51448,40 @@ function twe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function nwe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(rwe, {
+function twe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(nwe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(iwe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(swe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(rwe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(owe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var MR = uR.people;
-function rwe({ roster: e, props: t }) {
+var NR = dR.people;
+function nwe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, b.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
- }), [n, r]), [a, o] = (0, b.useState)(MR), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {
- o((e) => e + MR);
+ }), [n, r]), [a, o] = (0, b.useState)(NR), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {
+ o((e) => e + NR);
}, []);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(xR, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(SR, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(fF, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(pF, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function iwe(e) {
- let t = EP(!e.items, e.skeletonHtml);
+function rwe(e) {
+ let t = DP(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(dF, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(fF, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -51500,33 +51500,33 @@ function iwe(e) {
}) : null]
});
}
-var awe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var iwe = (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 || "官方样张"
-})), NR = (e) => e.sample === !0, PR = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, FR = (e) => NR(e) ? `/sample-thumb?${PR(e)}` : `/photo-thumb?id=${e.id}`, owe = (e) => NR(e) ? {
- src: `/sample-image?${PR(e)}`,
- thumb: FR(e),
+})), PR = (e) => e.sample === !0, FR = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, IR = (e) => PR(e) ? `/sample-thumb?${FR(e)}` : `/photo-thumb?id=${e.id}`, awe = (e) => PR(e) ? {
+ src: `/sample-image?${FR(e)}`,
+ thumb: IR(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: FR(e),
+ thumb: IR(e),
name: e.name || "",
asset: e
};
-function swe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(awe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {
+function owe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(iwe), ...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) => {
- AR(e, o.map(owe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(cwe, {
+ jR(e, o.map(awe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(swe, {
item: e,
index: t,
lost: s.has(t),
@@ -51544,7 +51544,7 @@ function swe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(IR, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(LR, {
label: e.code,
title: e.name,
meta: [
@@ -51556,7 +51556,7 @@ function swe({ 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, x.jsx)(IR, {
+ m.length && e.total ? /* @__PURE__ */ (0, x.jsx)(LR, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -51565,14 +51565,14 @@ function swe({ 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, x.jsx)(fF, {
+ e.hasMore ? /* @__PURE__ */ (0, x.jsx)(pF, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function IR({ label: e, title: t, meta: n }) {
+function LR({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -51589,7 +51589,7 @@ function IR({ label: e, title: t, meta: n }) {
]
});
}
-function cwe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function swe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -51598,7 +51598,7 @@ function cwe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, x.jsx)("img", {
- src: FR(e),
+ src: IR(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -51609,8 +51609,8 @@ function cwe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var lwe = (e) => Number(e) > 0;
-function LR({ name: e, actions: t, children: n, ...r }) {
+var cwe = (e) => Number(e) > 0;
+function RR({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, x.jsx)("a", {
...r,
href: Ft("creator", e),
@@ -51620,15 +51620,15 @@ function LR({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var RR = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var zR = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: rP(e) }
+ dangerouslySetInnerHTML: { __html: iP(e) }
});
-function uwe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function lwe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(!1), [d, f] = (0, b.useState)(null);
return (0, b.useEffect)(() => {
c(!1);
- }, [o]), s ? /* @__PURE__ */ (0, x.jsx)(RR, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {
+ }, [o]), s ? /* @__PURE__ */ (0, x.jsx)(zR, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {
src: l ? t : e,
alt: "",
loading: "lazy",
@@ -51647,8 +51647,8 @@ function uwe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function dwe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = li(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => oye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? di(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = pi({
+function uwe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = li(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => aye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? di(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = pi({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -51656,7 +51656,7 @@ function dwe(e) {
limit: 9
}), w = (0, b.useRef)(C.faces);
w.current = C.faces;
- let T = RP({
+ let T = zP({
load: async () => w.current,
canFlip: () => w.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -51664,7 +51664,7 @@ function dwe(e) {
E.current = T.onPointerLeave;
let D = (0, b.useCallback)((e) => {
e && (e._stopHover = () => E.current());
- }, []), O = cP(u, n, i), k = iP(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = dP(u, i), N = uP(t, u), P = u.status === "saved", ee = (e) => {
+ }, []), O = lP(u, n, i), k = aP(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = fP(u, i), N = dP(t, u), P = u.status === "saved", ee = (e) => {
e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));
}, F = (e, t) => {
e.stopPropagation(), t();
@@ -51679,7 +51679,7 @@ function dwe(e) {
"data-collection": C.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: ee,
- onMouseDown: AP,
+ onMouseDown: jP,
onMouseEnter: T.onPointerEnter,
onMouseLeave: T.onPointerLeave,
children: [
@@ -51693,7 +51693,7 @@ function dwe(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, x.jsx)(uwe, {
+ p ? /* @__PURE__ */ (0, x.jsx)(lwe, {
src: p,
fallback: m,
width: _?.width,
@@ -51701,7 +51701,7 @@ function dwe(e) {
provider: A,
onLearn: v,
retryKey: e.retryKey
- }, p) : /* @__PURE__ */ (0, x.jsx)(RR, { provider: A }),
+ }, p) : /* @__PURE__ */ (0, x.jsx)(zR, { provider: A }),
C.faces.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-mix-faces": "",
hidden: !T.faces.length,
@@ -51721,7 +51721,7 @@ function dwe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: rP(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: iP(u.provider, u.provider_label) }
}), N ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: N }
@@ -51734,7 +51734,7 @@ function dwe(e) {
},
dangerouslySetInnerHTML: { __html: R("check") }
}) : null,
- lwe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ cwe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-duration": "",
children: Jt(u.duration)
}) : null,
@@ -51806,7 +51806,7 @@ function dwe(e) {
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-meta": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, x.jsx)(LR, {
+ O.entityName ? /* @__PURE__ */ (0, x.jsx)(RR, {
name: O.entityName,
actions: l,
"data-media-avatar": "",
@@ -51825,12 +51825,12 @@ function dwe(e) {
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: lP(t, u) + z(k) }
+ dangerouslySetInnerHTML: { __html: uP(t, u) + z(k) }
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-byline": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, x.jsx)(LR, {
+ O.entityName ? /* @__PURE__ */ (0, x.jsx)(RR, {
name: O.entityName,
actions: l,
"data-follow-author": "",
@@ -51843,8 +51843,8 @@ function dwe(e) {
}),
/* @__PURE__ */ (0, x.jsx)("time", {
dateTime: u.published_at || "",
- title: pP(u),
- children: aye(u)
+ title: mP(u),
+ children: iye(u)
}),
O.credited ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-credit": "",
@@ -51879,10 +51879,10 @@ function dwe(e) {
]
});
}
-var zR = (0, b.memo)(dwe);
+var BR = (0, b.memo)(uwe);
//#endregion
//#region src/react/components/use-masonry-grid.ts
-function fwe(e, t) {
+function dwe(e, t) {
let n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let t = n.current;
@@ -51918,10 +51918,10 @@ function fwe(e, t) {
}
//#endregion
//#region src/react/follow-feed/follow-feed-page.tsx
-var BR = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var VR = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), pwe = IN("settings"), VR = IN("chevron-down"), mwe = IN("history"), hwe = [[
+}), fwe = LN("settings"), HR = LN("chevron-down"), pwe = LN("history"), mwe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -51930,7 +51930,7 @@ var BR = () => /* @__PURE__ */ (0, x.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function gwe(e, t, n) {
+function hwe(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) => {
@@ -51978,7 +51978,7 @@ function gwe(e, t, n) {
n
]);
}
-function _we(e) {
+function gwe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = Xr(t, r), o = ft(a), s = ut({
queryKey: Zr,
queryFn: ({ signal: e }) => Qr(e)
@@ -51986,7 +51986,7 @@ function _we(e) {
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = gwe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
+ }), [c, l]), d = hwe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
tags: sc(d.visible.flatMap(ni).map((e) => ({ tags: e.tags || [] }))),
providers: [...d.providers].map(([e, t]) => [
e,
@@ -52012,10 +52012,10 @@ function _we(e) {
m,
i
]);
- let h = ywe(e, !!c);
+ let h = vwe(e, !!c);
if (!c) return o.isError ? /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, x.jsx)(HR, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(DP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(UR, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(OP, {
message: Tt(o.error),
onRetry: () => void o.refetch()
})]
@@ -52028,7 +52028,7 @@ function _we(e) {
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, aP(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, oP(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);
@@ -52046,7 +52046,7 @@ function _we(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(HR, {
+ /* @__PURE__ */ (0, x.jsx)(UR, {
onManage: i.openManage,
children: d.sources.length ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
@@ -52060,20 +52060,20 @@ function _we(e) {
}) : "检查更新"
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(bwe, {
+ /* @__PURE__ */ (0, x.jsx)(ywe, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(xwe, {
+ /* @__PURE__ */ (0, x.jsx)(bwe, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(Swe, {
+ /* @__PURE__ */ (0, x.jsx)(xwe, {
facets: d,
view: t,
total: v,
@@ -52081,7 +52081,7 @@ function _we(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, x.jsx)(Cwe, {
+ /* @__PURE__ */ (0, x.jsx)(Swe, {
conditions: _,
onDrop: (e) => i.route(vi(t, e)),
onClear: () => g({
@@ -52093,11 +52093,11 @@ function _we(e) {
durMax: 0
})
}),
- d.broken.length ? /* @__PURE__ */ (0, x.jsx)(wwe, {
+ d.broken.length ? /* @__PURE__ */ (0, x.jsx)(Cwe, {
count: d.broken.length,
onManage: i.openManage
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Twe, {
+ /* @__PURE__ */ (0, x.jsx)(wwe, {
retryKey: o.dataUpdatedAt,
pending: f,
facets: d,
@@ -52109,14 +52109,14 @@ function _we(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-page-action": "",
- children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(fF, {
+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(pF, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, x.jsx)(VR, { className: "size-3.5" }), "加载更多"]
- }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(vwe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(HR, { className: "size-3.5" }), "加载更多"]
+ }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(_we, {
busy: o.isFetchingNextPage,
error: o.isFetchNextPageError ? Tt(o.error) : "",
load: () => {
@@ -52127,7 +52127,7 @@ function _we(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : mwe,
+ leadingIcon: h.olderBusy ? void 0 : pwe,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -52145,7 +52145,7 @@ function _we(e) {
})
] });
}
-function HR({ onManage: e, children: t }) {
+function UR({ onManage: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
@@ -52155,7 +52155,7 @@ function HR({ onManage: e, children: t }) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: pwe,
+ leadingIcon: fwe,
"data-follow-manage": "",
onClick: e,
children: "管理关注"
@@ -52163,20 +52163,20 @@ function HR({ onManage: e, children: t }) {
})]
});
}
-function vwe({ busy: e, error: t, load: n }) {
+function _we({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-more": "",
"aria-busy": e || void 0,
"aria-disabled": e || void 0,
onClick: n,
- children: [/* @__PURE__ */ (0, x.jsx)(VR, { className: "size-3.5" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, x.jsx)(DP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(HR, { className: "size-3.5" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, x.jsx)(OP, {
message: t,
onRetry: n
}) : null] });
}
-function ywe(e, t) {
+function vwe(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)(""), [f, p] = (0, b.useState)(!1), m = (0, b.useRef)(!1), h = (0, b.useRef)(null), g = (0, b.useRef)({
helpers: n,
actions: r
@@ -52238,12 +52238,12 @@ function ywe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function bwe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function ywe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, b.useRef)(null);
(0, b.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => aP(e.authorSources.get(t) || [], n);
+ let o = (t) => oP(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, x.jsx)("div", {
@@ -52251,14 +52251,14 @@ function bwe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
"data-follow-authors": "",
"aria-label": "创作者",
children: e.authorOrder.map((n) => {
- let a = e.authorSources.get(n) || [], s = oP(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = sP(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: sP(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: cP(a, o(n)) }
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, x.jsx)(LR, {
+ return s ? /* @__PURE__ */ (0, x.jsx)(RR, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -52275,7 +52275,7 @@ function bwe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function xwe({ rows: e, pressed: t, props: n, onPick: r }) {
+function bwe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -52296,13 +52296,13 @@ function xwe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function Swe({ 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 = UA(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = UA(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function xwe({ 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 = WA(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = WA(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);
}, [o]);
let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";
- return /* @__PURE__ */ (0, x.jsx)(RA, {
+ return /* @__PURE__ */ (0, x.jsx)(zA, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -52354,7 +52354,7 @@ function Swe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: R(i) }
}, e);
})
- }), /* @__PURE__ */ (0, x.jsx)(BR, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {
+ }), /* @__PURE__ */ (0, x.jsx)(VR, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -52374,7 +52374,7 @@ function Swe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, x.jsx)(BR, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, x.jsx)(VR, {}) : null]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -52387,10 +52387,10 @@ function Swe({ 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: rP(t, n) }
+ dangerouslySetInnerHTML: { __html: iP(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(BR, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(zA, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(VR, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(BA, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${yi(e.groups, n)}`,
@@ -52411,11 +52411,11 @@ function Swe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(xP, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(bP, {
+ /* @__PURE__ */ (0, x.jsx)(SP, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(xP, {
label: "图片布局",
value: i.photoLayout,
- options: hwe,
+ options: mwe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
@@ -52433,7 +52433,7 @@ function Swe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})]
})] }) : null,
Gr.map(([e, n]) => {
- let r = t.sort === e, i = IN(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ let r = t.sort === e, i = LN(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-sort": e,
@@ -52452,7 +52452,7 @@ function Swe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function Cwe({ conditions: e, onDrop: t, onClear: n }) {
+function Swe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -52477,7 +52477,7 @@ function Cwe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function wwe({ count: e, onManage: t }) {
+function Cwe({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -52486,12 +52486,12 @@ function wwe({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function Twe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {
- let { view: o, helpers: s } = i, c = o.media === "images", l = EP(e, () => s.listSkeletonHtml(o.media));
+function wwe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {
+ let { view: o, helpers: s } = i, c = o.media === "images", l = DP(e, () => s.listSkeletonHtml(o.media));
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": l.fading ? "" : void 0,
- children: [l.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(Ewe, {
+ children: [l.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(Twe, {
facets: t,
data: n,
context: r,
@@ -52501,29 +52501,29 @@ function Twe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})]
});
}
-function Ewe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {
- let { view: o, actions: s } = r, c = WR(r), l = i ? {
+function Twe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {
+ let { view: o, actions: s } = r, c = GR(r), l = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, u = fwe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;
+ } : {}, u = dwe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;
return d = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), l = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, x.jsx)(zR, {
+ return /* @__PURE__ */ (0, x.jsx)(BR, {
group: t,
authorSources: l,
media: o.media,
retryKey: a,
context: n,
- selected: r.selected.has(UR(t, o)),
+ selected: r.selected.has(WR(t, o)),
selectMode: r.selectMode,
- busy: c.busy.get(UR(t, o)) || "",
- failure: c.failures.get(UR(t, o)) || "",
+ busy: c.busy.get(WR(t, o)) || "",
+ failure: c.failures.get(WR(t, o)) || "",
actions: s,
onStatus: c.status,
onSave: c.save
}, `${u}:${o.media}`);
- }) : /* @__PURE__ */ (0, x.jsx)(Dwe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Ewe, {
data: t,
filtered: !!(o.status || e.author || e.provider || o.work || o.tags.length)
}), /* @__PURE__ */ (0, x.jsx)("div", {
@@ -52534,10 +52534,10 @@ function Ewe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a
children: d
});
}
-function UR(e, t) {
+function WR(e, t) {
return li(e, t.media).id;
}
-function Dwe({ data: e, filtered: t }) {
+function Ewe({ data: e, filtered: t }) {
let n = (e.groups || []).length ? ro("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源、时长或标签后再试。") : (e.sources || []).length ? t ? ro("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : ro("rss", "还没有更新", "点「检查更新」去各个来源取一遍;来源有新内容时会集中显示在这里。") : ro("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/subscriptions?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
@@ -52545,12 +52545,12 @@ function Dwe({ data: e, filtered: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-var Owe = {
+var Dwe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function WR(e) {
+function GR(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 = Xr(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -52573,7 +52573,7 @@ function WR(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(Owe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(Dwe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await H(jn, {
item: t,
to: i
@@ -52619,9 +52619,9 @@ function WR(e) {
}
//#endregion
//#region src/react/entity-body/entity-online.tsx
-function kwe(e) {
- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = EP(a, () => i.listSkeletonHtml(r));
- return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(DP, {
+function Owe(e) {
+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = DP(a, () => i.listSkeletonHtml(r));
+ return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(OP, {
message: Tt(t.error),
onRetry: () => {
t.refetch();
@@ -52632,11 +52632,11 @@ function kwe(e) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [
o.layer,
- a || !n ? null : /* @__PURE__ */ (0, x.jsx)(Awe, {
+ a || !n ? null : /* @__PURE__ */ (0, x.jsx)(kwe, {
...e,
data: n
}),
- !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(fF, {
+ !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(pF, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -52646,8 +52646,8 @@ function kwe(e) {
]
});
}
-function Awe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
- let l = WR({
+function kwe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
+ let l = GR({
view: e,
revision: 0,
actions: c
@@ -52665,7 +52665,7 @@ function Awe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
"data-images-only": String(s)
} : {}, p = r.length ? r.map((e) => {
let n = li(e, t).id, r = u.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, x.jsx)(zR, {
+ return /* @__PURE__ */ (0, x.jsx)(BR, {
group: e,
authorSources: r && u.byAuthor.get(r) || [],
media: t,
@@ -52678,7 +52678,7 @@ function Awe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: l.status,
onSave: l.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, x.jsx)(jwe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
+ }) : /* @__PURE__ */ (0, x.jsx)(Awe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": d ? "" : void 0,
@@ -52686,7 +52686,7 @@ function Awe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: p
});
}
-function jwe({ searched: e }) {
+function Awe({ searched: e }) {
let t = e ? ro("search-x", "当前筛选下没有更新", "切换媒体类型、状态、来源或标签后再试。") : ro("rss", "还没有抓到更新", "关注页检查更新之后,这位创作者的新内容会出现在这里。");
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
@@ -52694,7 +52694,7 @@ function jwe({ searched: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function GR(e) {
+function KR(e) {
return {
x0: 0,
y0: 0,
@@ -52702,7 +52702,7 @@ function GR(e) {
y1: e.height
};
}
-function KR(e) {
+function qR(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -52710,40 +52710,40 @@ function KR(e) {
y1: Math.round(e.y1)
};
}
-function qR(e) {
+function JR(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function JR(e, t) {
- if (!qR(e)) return {
+function YR(e, t) {
+ if (!JR(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return GR(e);
+ if (t == null || !(t > 0)) return KR(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 KR({
+ return qR({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function Mwe(e, t) {
- if (!qR(e) || !(t > 0)) return GR(e);
+function jwe(e, t) {
+ if (!JR(e) || !(t > 0)) return KR(e);
let n = Math.min(e.width, e.height * t);
- return KR({
+ return qR({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function Nwe(e, t, n) {
- if (!qR(t) || !(n > 0)) return GR(t);
- let r = YR(e, t), i = JR({
+function Mwe(e, t, n) {
+ if (!JR(t) || !(n > 0)) return KR(t);
+ let r = XR(e, t), i = YR({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -52754,8 +52754,8 @@ function Nwe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function YR(e, t, n = null, r = "width") {
- if (!qR(t)) return {
+function XR(e, t, n = null, r = "width") {
+ if (!JR(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -52764,43 +52764,43 @@ function YR(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 KR({
+ return qR({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function XR(e, t, n, r) {
+function ZR(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 KR({
+ return qR({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function ZR(e, t, n, r = null) {
- if (!qR(n) || !(t > 0)) return e;
+function QR(e, t, n, r = null) {
+ if (!JR(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 YR({
+ return XR({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function Pwe(e, t, n, r, i = null) {
+function Nwe(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 YR(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return XR(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Fwe(e, t) {
- return qR(t) ? {
+function Pwe(e, t) {
+ return JR(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -52812,8 +52812,8 @@ function Fwe(e, t) {
height: 0
};
}
-function Iwe(e, t) {
- if (!qR(t)) return {
+function Fwe(e, t) {
+ if (!JR(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -52823,7 +52823,7 @@ function Iwe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function Lwe(e, t) {
+function Iwe(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}%`,
@@ -52832,16 +52832,16 @@ function Lwe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function QR(e, t, n) {
+function $R(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function Rwe(e, t) {
+function Lwe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var zwe = .02, $R = 1.08;
-function ez({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var Rwe = .02, ez = 1.08;
+function tz({ 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), [d, f] = (0, b.useState)(null);
(0, b.useEffect)(() => {
u(!1);
@@ -52860,8 +52860,8 @@ function ez({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: QR(e, n.clientWidth, r.width),
- dy: QR(t, n.clientHeight, r.height)
+ dx: $R(e, n.clientWidth, r.width),
+ dy: $R(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -52878,22 +52878,22 @@ function ez({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
let n = c.current, a = s.current;
if (!n || !a || !r) return;
let o = p(e.clientX - n.x, e.clientY - n.y);
- n.mode === "move" ? i(XR(n.box, o.dx, o.dy, r)) : i(Pwe(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));
+ n.mode === "move" ? i(ZR(n.box, o.dx, o.dy, r)) : i(Nwe(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 g(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function _(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * zwe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * Rwe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(XR(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(ZR(n, e.key === "-" ? 1 / $R : $R, r, t)));
+ o[e.key] ? (e.preventDefault(), i(ZR(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(QR(n, e.key === "-" ? 1 / ez : ez, r, t)));
}
- let v = n && r ? Fwe(YR(n, r, t), r) : null, y = v ? Rwe(v, d) : !1, S = v ? {
+ let v = n && r ? Pwe(XR(n, r, t), r) : null, y = v ? Lwe(v, d) : !1, S = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -52912,7 +52912,7 @@ function ez({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- qR({
+ JR({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -52951,7 +52951,7 @@ function ez({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(ZR(n, e.deltaY > 0 ? $R : 1 / $R, r, t));
+ n && r && i(QR(n, e.deltaY > 0 ? ez : 1 / ez, 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, x.jsx)("span", {
@@ -52974,13 +52974,13 @@ function ez({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var Bwe = "/api/avatar-choices", tz = "/api/avatar-pick", Vwe = "/api/avatar-code-cover", nz = "/api/avatar-frame", Hwe = "/avatar-choice", rz = (e, t) => [
+var zwe = "/api/avatar-choices", nz = "/api/avatar-pick", Bwe = "/api/avatar-code-cover", rz = "/api/avatar-frame", Vwe = "/avatar-choice", iz = (e, t) => [
"avatar-choices",
e,
t
-], iz = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, az = (e, t, n, r = "") => `${Hwe}${iz(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), oz = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Uwe = (e, t, n) => V(Bwe + iz(e, t), n), Wwe = (e) => H(Vwe, { code: e });
-async function Gwe(e, t, n) {
- let r = await H(nz, {
+], az = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oz = (e, t, n, r = "") => `${Vwe}${az(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sz = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Hwe = (e, t, n) => V(zwe + az(e, t), n), Uwe = (e) => H(Bwe, { code: e });
+async function Wwe(e, t, n) {
+ let r = await H(rz, {
kind: e,
id: t,
ref: n.ref
@@ -52993,12 +52993,12 @@ async function Gwe(e, t, n) {
bases: r.bases
};
}
-var Kwe = (e, t, n) => H(nz, {
+var Gwe = (e, t, n) => H(rz, {
kind: e,
id: t,
url: n
-}), qwe = (e, t, n) => sz(`${nz}${iz(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function sz(e, t) {
+}), Kwe = (e, t, n) => cz(`${rz}${az(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function cz(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -53007,17 +53007,17 @@ async function sz(e, t) {
if (n.ok) return r;
throw new sn(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function cz(e, t, n) {
+function lz(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? Nwe(e.focus, t, n) : JR(t, n);
+ return e.focus && r ? Mwe(e.focus, t, n) : YR(t, n);
}
-var Jwe = (e) => e.crop && qR({
+var qwe = (e) => e.crop && JR({
width: e.width,
height: e.height
});
-async function Ywe(e, t, n) {
+async function Jwe(e, t, n) {
if (!("file" in n)) {
- await H(tz, {
+ await H(nz, {
kind: e,
id: t,
...n
@@ -53030,19 +53030,19 @@ async function Ywe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await sz(`${tz}${iz(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await cz(`${nz}${az(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var lz = 2;
-function Xwe(e, t) {
+var uz = 2;
+function Ywe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, lz).join("」「")}」`}${n.length > lz ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, uz).join("」「")}」`}${n.length > uz ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
}
-var Zwe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function Qwe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Zwe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var Xwe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function Zwe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Xwe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var uz = (e) => e.cast > 1, $we = (e) => uz(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, eTe = {
+var dz = (e) => e.cast > 1, Qwe = (e) => dz(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, $we = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -53052,7 +53052,7 @@ var uz = (e) => e.cast > 1, $we = (e) => uz(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function tTe(e) {
+function eTe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -53063,19 +53063,19 @@ function tTe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var nTe = (e) => `${eTe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (uz(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), rTe = 8, iTe = 3 / 4;
-async function aTe(e, t, n) {
+var tTe = (e) => `${$we[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (dz(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), nTe = 8, rTe = 3 / 4;
+async function iTe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await Gwe(e, t, n.choice) };
- case "code": return { choice: await Wwe(n.code) };
- case "url": return { choice: await Kwe(e, t, n.url) };
+ case "choice": return { choice: await Wwe(e, t, n.choice) };
+ case "code": return { choice: await Uwe(n.code) };
+ case "url": return { choice: await Gwe(e, t, n.url) };
case "file": return {
- choice: await qwe(e, t, n.file),
+ choice: await Kwe(e, t, n.file),
file: n.file
};
}
}
-function oTe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function aTe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -53085,17 +53085,17 @@ function oTe({ 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, x.jsx)(Cme, {
+ children: /* @__PURE__ */ (0, x.jsx)(Sme, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, x.jsx)(NN, {
+ }), /* @__PURE__ */ (0, x.jsx)(PN, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, x.jsx)(sTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(oTe, {
kind: e,
entityId: t,
name: n,
@@ -53104,22 +53104,22 @@ function oTe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, b.useRef)(null), o = mL(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = rz(e, t), m = (0, b.useRef)(!1), h = ut({
+function oTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, b.useRef)(null), o = hL(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = iz(e, t), m = (0, b.useRef)(!1), h = ut({
queryKey: p,
- queryFn: ({ signal: n }) => Uwe(e, t, n),
+ queryFn: ({ signal: n }) => Hwe(e, t, n),
retryOnMount: !0
});
(0, b.useEffect)(() => () => {
- m.current && U.removeQueries({ queryKey: rz(e, t) });
+ m.current && U.removeQueries({ queryKey: iz(e, t) });
}, [e, t]);
let g = dt({
- mutationFn: (n) => Ywe(e, t, n),
+ mutationFn: (n) => Jwe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = dt({
- mutationFn: (n) => aTe(e, t, n),
+ mutationFn: (n) => iTe(e, t, n),
onSuccess: f
}), v = (e) => _.isPending && _.variables?.via === e;
function y(e) {
@@ -53137,28 +53137,28 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
crop: e.crop
} : { file: n }) : g.mutate(e ?? { ref: t.ref });
}
- let C = h.data, w = C?.choices ?? [], T = (g.error ? B(g.error) : "") || (!d && _.error ? B(_.error) : "") || (h.error ? B(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : Qwe(C), O = !!T && !!h.error && T === B(h.error), k = h.isPending || w.length > 0;
+ let C = h.data, w = C?.choices ?? [], T = (g.error ? B(g.error) : "") || (!d && _.error ? B(_.error) : "") || (h.error ? B(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : Zwe(C), O = !!T && !!h.error && T === B(h.error), k = h.isPending || w.length > 0;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, x.jsx)(PN, { children: /* @__PURE__ */ (0, x.jsx)($me, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(FN, { children: /* @__PURE__ */ (0, x.jsx)(Qme, { className: "size-6" }) }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(uj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(dj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(Uk, {
+ }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(Wk, {
color: "soft",
children: [w.length.toLocaleString(), " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? $we(d.choice) : Xwe(n, C)
+ children: d ? Qwe(d.choice) : Ywe(n, C)
}),
D ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
@@ -53179,14 +53179,14 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(gL, {
- icon: ck,
+ /* @__PURE__ */ (0, x.jsx)(_L, {
+ icon: lk,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, x.jsx)(uTe, {
+ }), d ? /* @__PURE__ */ (0, x.jsx)(lTe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -53205,7 +53205,7 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": h.isPending || void 0,
"data-skeleton": h.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: h.isPending ? Array.from({ length: rTe }, (e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: nTe }, (e, t) => /* @__PURE__ */ (0, x.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",
@@ -53218,7 +53218,7 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: nTe(n),
+ title: tTe(n),
...q(E),
onClick: () => {
E || (n.crop ? f({ choice: n }) : _.mutate({
@@ -53228,8 +53228,8 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
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, x.jsx)(cTe, {
- src: az(e, t, n.ref, oz(n, n.ref)),
+ /* @__PURE__ */ (0, x.jsx)(sTe, {
+ src: oz(e, t, n.ref, sz(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -53238,15 +53238,15 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, x.jsx)(Uk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- uz(n) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ dz(n) ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, x.jsxs)(Uk, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Wk, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -53268,7 +53268,7 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(MN, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -53303,7 +53303,7 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 basis-56 items-center gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(MN, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -53326,7 +53326,7 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function cTe({ src: e, choice: t }) {
+function sTe({ src: e, choice: t }) {
let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), [a, o] = (0, b.useState)(!1);
(0, b.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -53334,7 +53334,7 @@ function cTe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = Jwe(t) ? Lwe(cz(t, s, iTe), s) : null, l = r || a ? !0 : void 0;
+ }, c = qwe(t) ? Iwe(lz(t, s, rTe), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -53360,7 +53360,7 @@ function cTe({ src: e, choice: t }) {
})]
});
}
-function lTe(e) {
+function cTe(e) {
let [t, n] = (0, b.useState)("");
return (0, b.useEffect)(() => {
if (!e) return;
@@ -53368,23 +53368,23 @@ function lTe(e) {
return n(t), () => URL.revokeObjectURL(t);
}, [e]), t;
}
-function uTe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
- let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = oz(n, c), h = lTe(r), g = r ? h : az(e, t, c, m), _ = mL();
+function lTe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
+ let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = sz(n, c), h = cTe(r), g = r ? h : oz(e, t, c, m), _ = hL();
function v(e) {
l(e), d(null), p(null);
}
- let y = f && u ? Iwe(f, u) : null;
+ let y = f && u ? Fwe(f, u) : null;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
ref: _,
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: [g ? /* @__PURE__ */ (0, x.jsx)(ez, {
+ children: [g ? /* @__PURE__ */ (0, x.jsx)(tz, {
src: g,
aspect: 1,
box: f,
size: u,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- d(e), qR(e) && p(c === n.ref ? cz(n, e, 1) : JR(e, 1));
+ d(e), JR(e) && p(c === n.ref ? lz(n, e, 1) : YR(e, 1));
},
onBox: p
}) : null, s.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -53398,7 +53398,7 @@ function uTe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
"data-crop-base": !0,
onClick: () => v(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: tTe(e)
+ children: eTe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -53447,17 +53447,17 @@ function uTe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
}
//#endregion
//#region src/react/providers.tsx
-var dz = null;
-function dTe() {
- return dz?.isConnected || (dz = document.createElement("div"), dz.className = "peach-react", dz.dataset.reactOverlays = "", document.body.append(dz)), dz;
+var fz = null;
+function uTe() {
+ return fz?.isConnected || (fz = document.createElement("div"), fz.className = "peach-react", fz.dataset.reactOverlays = "", document.body.append(fz)), fz;
}
-function fTe({ children: e }) {
+function dTe({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)(w, {
client: U,
children: /* @__PURE__ */ (0, x.jsx)(yne, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, x.jsx)(Yx, {
- getContainer: dTe,
+ getContainer: uTe,
children: e
})
})
@@ -53465,21 +53465,21 @@ function fTe({ children: e }) {
}
//#endregion
//#region src/react/router/pages/settings.tsx
-function pTe() {
- let e = (0, b.useContext)(gz), { pathname: t } = pO();
+function fTe() {
+ let e = (0, b.useContext)(_z), { pathname: t } = mO();
return (0, b.useEffect)(() => {
- e?.openSettings?.(rme(t));
+ e?.openSettings?.(nme(t));
}, [e, t]), (0, b.useEffect)(() => () => {
queueMicrotask(() => {
- xO($O.navigation.location.pathname) || e?.closeSettings?.();
+ SO(ek.navigation.location.pathname) || e?.closeSettings?.();
});
}, [e]), null;
}
//#endregion
//#region src/react/router/pages/overlay.tsx
-var fz = () => Oc, mTe = () => kc;
-function hTe() {
- let e = (0, b.useContext)(gz), t = (0, b.useSyncExternalStore)(zc, mTe), n = (0, b.useSyncExternalStore)(zc, fz);
+var pz = () => Oc, pTe = () => kc;
+function mTe() {
+ let e = (0, b.useContext)(_z), t = (0, b.useSyncExternalStore)(zc, pTe), n = (0, b.useSyncExternalStore)(zc, pz);
return (0, b.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -53494,11 +53494,11 @@ function hTe() {
e
]), null;
}
-function pz(e, t = !1) {
- let n = (0, b.useSyncExternalStore)(zc, fz), r = (0, b.useRef)(void 0);
+function mz(e, t = !1) {
+ let n = (0, b.useSyncExternalStore)(zc, pz), r = (0, b.useRef)(void 0);
if (r.current === void 0) {
- let { claimed: e } = $O.navigation;
- r.current = Oc === 0 || tk() ? "boot" : e && !t ? null : "history";
+ let { claimed: e } = ek.navigation;
+ r.current = Oc === 0 || nk() ? "boot" : e && !t ? null : "history";
}
let i = (0, b.useRef)(e);
(0, b.useEffect)(() => {
@@ -53514,22 +53514,22 @@ function pz(e, t = !1) {
}));
}, [n]);
}
-function gTe() {
- let e = (0, b.useContext)(gz), t = (0, b.useRef)(e);
+function hTe() {
+ let e = (0, b.useContext)(_z), t = (0, b.useRef)(e);
return (0, b.useLayoutEffect)(() => {
t.current = e;
- }, [e]), pz((t) => {
- let n = $O.navigation.location, { pathname: r, search: i } = xO(n.pathname) && CO(n.state) || n, a = ome(r, i);
- e && a && (AO(), t || sme($O.navigation.location.state), e.openOverlay(a));
+ }, [e]), mz((t) => {
+ let n = ek.navigation.location, { pathname: r, search: i } = SO(n.pathname) && wO(n.state) || n, a = ame(r, i);
+ e && a && (jO(), t || ome(ek.navigation.location.state), e.openOverlay(a));
}, !0), (0, b.useEffect)(() => () => {
queueMicrotask(() => {
- TO($O.navigation.location.pathname) || t.current?.closeStage();
+ EO(ek.navigation.location.pathname) || t.current?.closeStage();
});
}, []), null;
}
-function _Te({ path: e }) {
- hz();
- let { location: t, seq: n, action: r } = $O.navigation, i = xO(t.pathname) ? CO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, b.useRef)({
+function gTe({ path: e }) {
+ gz();
+ let { location: t, seq: n, action: r } = ek.navigation, i = SO(t.pathname) ? wO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, b.useRef)({
identity: a,
seq: i?.seq ?? n,
navigationSeq: n,
@@ -53540,161 +53540,161 @@ function _Te({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, x.jsx)(gTe, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, x.jsx)(hTe, {}, `${e} ${o.current.seq}`);
}
-function vTe() {
- let e = (0, b.useContext)(gz);
- return pz(() => {
+function _Te() {
+ let e = (0, b.useContext)(_z);
+ return mz(() => {
e?.follow?.ground();
}), null;
}
-function yTe() {
- return /* @__PURE__ */ (0, x.jsx)(vTe, {}, hz());
+function vTe() {
+ return /* @__PURE__ */ (0, x.jsx)(_Te, {}, gz());
}
//#endregion
//#region src/react/router/router.tsx
-var mz = (0, b.createContext)(0), hz = () => (0, b.useContext)(mz), gz = (0, b.createContext)(null);
-function bTe({ children: e }) {
- let [t, n] = (0, b.useState)(() => $O.navigation);
- return (0, b.useLayoutEffect)(() => (n($O.navigation), $O.listen((e) => {
+var hz = (0, b.createContext)(0), gz = () => (0, b.useContext)(hz), _z = (0, b.createContext)(null);
+function yTe({ children: e }) {
+ let [t, n] = (0, b.useState)(() => ek.navigation);
+ return (0, b.useLayoutEffect)(() => (n(ek.navigation), ek.listen((e) => {
(0, pt.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, x.jsx)(mz.Provider, {
+ })), []), /* @__PURE__ */ (0, x.jsx)(hz.Provider, {
value: t.openEpoch,
- children: /* @__PURE__ */ (0, x.jsx)(tme, {
+ children: /* @__PURE__ */ (0, x.jsx)(eme, {
location: t.location,
navigationType: t.action,
- navigator: $O,
+ navigator: ek,
children: e
})
});
}
-function xTe({ target: e }) {
- let t = Ipe();
+function bTe({ target: e }) {
+ let t = Fpe();
return (0, b.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function STe(e, t, n) {
+function xTe(e, t, n) {
let r = new URL(e, window.location.href);
g5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function CTe() {
- let e = (0, b.useContext)(gz), [t, n] = (0, b.useState)(VO), r = (0, b.useRef)(null);
- (0, b.useLayoutEffect)(() => (n(VO()), pme((e, t) => {
+function STe() {
+ let e = (0, b.useContext)(_z), [t, n] = (0, b.useState)(HO), r = (0, b.useRef)(null);
+ (0, b.useLayoutEffect)(() => (n(HO()), fme((e, t) => {
t ? (0, pt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, b.useMemo)(() => (t) => {
- e && r.current && STe(t, e, r.current);
+ e && r.current && xTe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(xTe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(wTe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(bTe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(CTe, {
entry: t,
- children: /* @__PURE__ */ (0, x.jsx)(TTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(wTe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var wTe = class extends b.Component {
+var CTe = class extends b.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
}
componentDidCatch() {
- gme(this.props.entry.container, this.props.entry.revision);
+ hme(this.props.entry.container, this.props.entry.revision);
}
render() {
return this.state.failed ? null : this.props.children;
}
-}, TTe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {
+}, wTe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {
return zat(e.path) ? (0, pt.createPortal)(Hat(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function ETe({ children: e }) {
- let t = pO();
- hz();
- let n = nk(), r = xO(t.pathname) && !tk() ? CO(t.state) : null;
+function TTe({ children: e }) {
+ let t = mO();
+ gz();
+ let n = rk(), r = SO(t.pathname) && !nk() ? wO(t.state) : null;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsxs)(gO, {
+ /* @__PURE__ */ (0, x.jsxs)(_O, {
location: n ?? t,
children: [
- Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gO, {
path: e,
element: t.element
}, e)),
- Object.entries(kat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(kat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gO, {
path: e,
element: t.element
}, e)),
- Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gO, {
path: e,
element: t.element
}, e)),
- Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gO, {
path: e,
element: t.element
}, e)),
- Object.entries(x5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(x5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gO, {
path: e,
element: t.element
}, e)),
- Rat.map((e) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Rat.map((e) => /* @__PURE__ */ (0, x.jsx)(gO, {
path: e,
element: S5["/"].element
}, e)),
- Object.entries(Aat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(Aat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gO, {
path: e,
element: t.element
}, e)),
- wO.map((e) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ TO.map((e) => /* @__PURE__ */ (0, x.jsx)(gO, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, x.jsx)(yTe, {}) : S5["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, x.jsx)(vTe, {}) : S5["/"].element
}, e)),
- bO.map((e) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ xO.map((e) => /* @__PURE__ */ (0, x.jsx)(gO, {
path: e,
element: null
}, e)),
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(gO, {
path: "*",
element: e
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(gO, {
+ /* @__PURE__ */ (0, x.jsxs)(_O, {
location: r ?? t,
- children: [wO.map((e) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ children: [TO.map((e) => /* @__PURE__ */ (0, x.jsx)(gO, {
path: e,
- element: /* @__PURE__ */ (0, x.jsx)(_Te, { path: e })
- }, e)), /* @__PURE__ */ (0, x.jsx)(hO, {
+ element: /* @__PURE__ */ (0, x.jsx)(gTe, { path: e })
+ }, e)), /* @__PURE__ */ (0, x.jsx)(gO, {
path: "*",
element: null
})]
}),
- /* @__PURE__ */ (0, x.jsxs)(gO, { children: [bO.map((e) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsxs)(_O, { children: [xO.map((e) => /* @__PURE__ */ (0, x.jsx)(gO, {
path: e,
- element: /* @__PURE__ */ (0, x.jsx)(pTe, {})
- }, e)), /* @__PURE__ */ (0, x.jsx)(hO, {
+ element: /* @__PURE__ */ (0, x.jsx)(fTe, {})
+ }, e)), /* @__PURE__ */ (0, x.jsx)(gO, {
path: "*",
element: null
})] })
] });
}
-function DTe({ children: e, actions: t = null }) {
- return /* @__PURE__ */ (0, x.jsx)(fTe, { children: /* @__PURE__ */ (0, x.jsx)(gz.Provider, {
+function ETe({ children: e, actions: t = null }) {
+ return /* @__PURE__ */ (0, x.jsx)(dTe, { children: /* @__PURE__ */ (0, x.jsx)(_z.Provider, {
value: t,
- children: /* @__PURE__ */ (0, x.jsxs)(bTe, { children: [
- /* @__PURE__ */ (0, x.jsx)(CTe, {}),
- /* @__PURE__ */ (0, x.jsx)(hTe, {}),
- /* @__PURE__ */ (0, x.jsx)(ETe, { children: e })
+ children: /* @__PURE__ */ (0, x.jsxs)(yTe, { children: [
+ /* @__PURE__ */ (0, x.jsx)(STe, {}),
+ /* @__PURE__ */ (0, x.jsx)(mTe, {}),
+ /* @__PURE__ */ (0, x.jsx)(TTe, { children: e })
] })
}) });
}
-var OTe = { onCaughtError: (e) => {
+var DTe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} };
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function _z({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, b.useContext)(gz), o = (0, b.useRef)(null), s = e?.items.length ? e.html : "";
+function vz({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, b.useContext)(_z), o = (0, b.useRef)(null), s = e?.items.length ? e.html : "";
(0, b.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !s, e && i?.(!!s);
}, [
@@ -53730,12 +53730,12 @@ function _z({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var kTe = {
+var OTe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function vz({ name: e }) {
- let t = kTe[e];
+function yz({ name: e }) {
+ let t = OTe[e];
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -53745,20 +53745,20 @@ function vz({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function yz(e, t) {
+function bz(e, t) {
t.style.removeProperty("max-height");
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, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);
r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;
}
-var bz = (e) => !!e?.isConnected && e.matches(":popover-open");
-function xz(e, t, n, r) {
+var xz = (e) => !!e?.isConnected && e.matches(":popover-open");
+function Sz(e, t, n, r) {
let i = (0, b.useRef)(r);
i.current = r, (0, b.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && bz(n.current) ? yz(t.current, n.current) : i.current();
+ t.current && xz(n.current) ? bz(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -53772,17 +53772,17 @@ function xz(e, t, n, r) {
n
]);
}
-function Sz({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function Cz({ 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, bz(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, xz(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !bz(s.current) && (s.current.showPopover(), yz(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !xz(s.current) && (s.current.showPopover(), bz(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 xz(c, o, s, f), (0, b.useEffect)(() => {
+ return Sz(c, o, s, f), (0, b.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -53808,7 +53808,7 @@ function Sz({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && bz(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && xz(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -53826,16 +53826,16 @@ function Sz({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function ATe({ following: e, busy: t, onToggle: n, tip: r }) {
+function kTe({ 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 = () => {
- bz(o.current) && o.current.hidePopover(), c(!1);
+ xz(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !bz(o.current) && (o.current.showPopover(), yz(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !xz(o.current) && (o.current.showPopover(), bz(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return xz(s, i, o, () => c(!1)), (0, b.useEffect)(() => {
- i.current && bz(o.current) && yz(i.current, o.current);
+ return Sz(s, i, o, () => c(!1)), (0, b.useEffect)(() => {
+ i.current && xz(o.current) && bz(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, x.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -53844,7 +53844,7 @@ function ATe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, x.jsx)(vz, { name: "rss" }),
+ /* @__PURE__ */ (0, x.jsx)(yz, { name: "rss" }),
/* @__PURE__ */ (0, x.jsx)("input", {
ref: a,
type: "checkbox",
@@ -53879,29 +53879,29 @@ function ATe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function jTe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function ATe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, b.useState)(!1), o = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, x.jsxs)(I_e, {
+ }, []), /* @__PURE__ */ (0, x.jsxs)(F_e, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, x.jsx)(cj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(lj, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, x.jsx)(vz, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ children: /* @__PURE__ */ (0, x.jsx)(yz, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, x.jsx)(AM, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: KI,
+ className: qI,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, x.jsxs)(R_e, {
+ children: /* @__PURE__ */ (0, x.jsxs)(L_e, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(IM, {
+ /* @__PURE__ */ (0, x.jsx)(LM, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -53909,31 +53909,31 @@ function jTe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(RM, {
+ children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(zM, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, x.jsx)(vz, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, x.jsx)(yz, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(v_e, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, x.jsx)(IM, { children: /* @__PURE__ */ (0, x.jsxs)(RM, {
+ /* @__PURE__ */ (0, x.jsx)(__e, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, x.jsx)(LM, { children: /* @__PURE__ */ (0, x.jsxs)(zM, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, x.jsx)(vz, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(yz, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var MTe = (e) => e === "studio" || e === "agency", Cz = (e) => e === "performer" || e === "creator", NTe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function PTe(e) {
+var jTe = (e) => e === "studio" || e === "agency", wz = (e) => e === "performer" || e === "creator", MTe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function NTe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function wz(e) {
+function Tz(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -53945,13 +53945,13 @@ function wz(e) {
linked: !1
} : null;
}
-function Tz(e, t) {
+function Ez(e, t) {
let n = Kt(e, "performer"), r = Ut(t);
return r && [e.label, n].map(Ut).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var Ez = (e) => ({ site: Bt(e) });
-function FTe(e, t) {
- let n = wz(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var Dz = (e) => ({ site: Bt(e) });
+function PTe(e, t) {
+ let n = Tz(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -53961,7 +53961,7 @@ function FTe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${Tz(e, n)} · ${t}`
+ title: `${Ez(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -53969,11 +53969,11 @@ function FTe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (Cz(t) && e.link_kind !== "social") return {
+ if (wz(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: Tz(e, n),
- mark: Ez(e)
+ title: Ez(e, n),
+ mark: Dz(e)
};
if (e.link_kind === "social") {
let t = Ht(r);
@@ -53981,7 +53981,7 @@ function FTe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : Ez(e)
+ mark: t ? { brand: t } : Dz(e)
};
}
return {
@@ -53989,12 +53989,12 @@ function FTe(e, t) {
url: r,
title: e.label || "",
text: Kt(e, t, i),
- mark: Ez(e)
+ mark: Dz(e)
};
});
- return [...r, ...ITe(a)];
+ return [...r, ...FTe(a)];
}
-function ITe(e) {
+function FTe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -54002,8 +54002,8 @@ function ITe(e) {
sources: t.map((e) => e.label)
}];
}
-var Dz = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function LTe(e) {
+var Oz = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function ITe(e) {
return [
[
"legal_name",
@@ -54059,7 +54059,7 @@ function LTe(e) {
}]
}] : []);
}
-function RTe(e) {
+function LTe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -54116,14 +54116,14 @@ function RTe(e) {
tags: e.tags
}), t;
}
-function Oz(e, t = 4) {
+function kz(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function zTe(e) {
+function RTe(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 ? {
@@ -54134,7 +54134,7 @@ function zTe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function BTe(e) {
+function zTe(e) {
return ia({
id: e.id,
hasImage: e.has_image,
@@ -54145,8 +54145,8 @@ function BTe(e) {
standIn: e.avatar_stand_in
});
}
-function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = Cz(e), c = MTe(e), l = s ? RTe(n.profile) : c ? LTe(n.company_profile) : [], u = FTe(n, e), d = Dz(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);
+function BTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = wz(e), c = jTe(e), l = s ? LTe(n.profile) : c ? ITe(n.company_profile) : [], u = PTe(n, e), d = Oz(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)(() => {
@@ -54159,7 +54159,7 @@ function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, x.jsx)(HTe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(VTe, {
kind: e,
name: t,
helpers: o,
@@ -54167,7 +54167,7 @@ function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, x.jsx)(oTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(aTe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -54182,13 +54182,13 @@ function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }),
- e === "tag" ? null : /* @__PURE__ */ (0, x.jsx)(jTe, {
+ e === "tag" ? null : /* @__PURE__ */ (0, x.jsx)(ATe, {
current: n.canonical_name,
- choices: PTe(n),
+ choices: NTe(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
- n.id ? /* @__PURE__ */ (0, x.jsx)(GN, { item: {
+ n.id ? /* @__PURE__ */ (0, x.jsx)(KN, { item: {
entity_id: Number(n.id),
kind: e,
name: n.canonical_name || t,
@@ -54196,7 +54196,7 @@ function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
} }) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(UTe, {
+ /* @__PURE__ */ (0, x.jsx)(HTe, {
kind: e,
entity: n,
actions: a
@@ -54217,14 +54217,14 @@ function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
u.length ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: p,
"data-entity-links": "",
- children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(YTe, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(JTe, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(XTe, {
+ d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(YTe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(KTe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(GTe, {
follow: n.follow,
entity: n,
actions: a
@@ -54233,11 +54233,11 @@ function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
l.length ? /* @__PURE__ */ (0, x.jsx)("dl", {
"data-entity-facts": "",
- children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(qTe, {
+ children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(KTe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, x.jsx)(JTe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, x.jsx)(qTe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -54256,7 +54256,7 @@ function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${z($t(e.k))}</span>${BTe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${z($t(e.k))}</span>${zTe(e)}` }
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -54264,14 +54264,14 @@ function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(_z, {
+ }), i ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(vz, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function HTe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function VTe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, b.useState)(() => `${n.portraitImg()}<span>${z($t(t))}</span>`);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -54280,8 +54280,8 @@ function HTe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function UTe({ kind: e, entity: t, actions: n }) {
- let r = wz(t), i = (e, t) => (r) => {
+function HTe({ kind: e, entity: t, actions: n }) {
+ let r = Tz(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, x.jsx)("a", {
href: Ft("agency", r.name, r.id),
@@ -54290,41 +54290,41 @@ function UTe({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = zTe(t.name_groups);
+ let e = RTe(t.name_groups);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, x.jsx)(kz, { entity: t }),
+ /* @__PURE__ */ (0, x.jsx)(Az, { entity: t }),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, x.jsx)(vz, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, x.jsx)(yz, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(GTe, {
+ t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(WTe, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, x.jsx)(vz, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, x.jsx)(yz, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, x.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, x.jsx)(vz, { name: "id-card" }),
+ /* @__PURE__ */ (0, x.jsx)(yz, { name: "id-card" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, x.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, x.jsx)(Sz, {
+ e.rest > 0 ? /* @__PURE__ */ (0, x.jsx)(Cz, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest.toLocaleString()} 个别名`,
heading: `${e.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(Az, {
+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(jz, {
label: e.label,
names: e.names
}, t)) })
@@ -54346,61 +54346,61 @@ function UTe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, x.jsx)(kz, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, x.jsx)(Az, { entity: t }) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, x.jsx)(vz, { name: "film" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(yz, { name: "film" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, x.jsx)(vz, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, x.jsx)(yz, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, x.jsx)(vz, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {
+ children: [/* @__PURE__ */ (0, x.jsx)(yz, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {
href: Ft("studio", l.name, l.id),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, x.jsx)(WTe, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, x.jsx)(UTe, { aliases: s }) : null
]
});
}
-function WTe({ aliases: e }) {
- let { shown: t, rest: n } = Oz(e, 3);
+function UTe({ aliases: e }) {
+ let { shown: t, rest: n } = kz(e, 3);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(vz, { name: "id-card" }),
+ /* @__PURE__ */ (0, x.jsx)(yz, { name: "id-card" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: t.map((e, t) => /* @__PURE__ */ (0, x.jsx)("span", { children: e }, t))
}),
- n ? /* @__PURE__ */ (0, x.jsx)(Sz, {
+ n ? /* @__PURE__ */ (0, x.jsx)(Cz, {
id: "entityAliasPop",
hook: "alias",
rest: n,
label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(Az, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(jz, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function GTe({ follow: e, actions: t }) {
+function WTe({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, x.jsx)(vz, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, x.jsx)(yz, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -54409,7 +54409,7 @@ function GTe({ follow: e, actions: t }) {
})]
});
}
-function KTe({ follow: e, entity: t, actions: n }) {
+function GTe({ follow: e, entity: t, actions: n }) {
let [r, i] = (0, b.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -54443,14 +54443,14 @@ function KTe({ follow: e, entity: t, actions: n }) {
}, e.key))
});
}
-function kz({ entity: e }) {
+function Az({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, x.jsx)(vz, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, x.jsx)(yz, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function Az({ label: e, names: t }) {
+function jz({ label: e, names: t }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, x.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -54459,20 +54459,20 @@ function Az({ label: e, names: t }) {
}, t))
})] });
}
-function qTe({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("dt", { children: [/* @__PURE__ */ (0, x.jsx)(vz, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {
+function KTe({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("dt", { children: [/* @__PURE__ */ (0, x.jsx)(yz, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function JTe({ tags: e }) {
- let { shown: t, rest: n } = Oz(e);
+function qTe({ tags: e }) {
+ let { shown: t, rest: n } = kz(e);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, x.jsx)(Sz, {
+ }, e)), n ? /* @__PURE__ */ (0, x.jsx)(Cz, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -54488,10 +54488,10 @@ function JTe({ tags: e }) {
})
}) : null] });
}
-function jz({ mark: e }) {
+function Mz({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, x.jsx)(vz, { name: e.brand })
+ children: /* @__PURE__ */ (0, x.jsx)(yz, { name: e.brand })
});
let t = R("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, x.jsx)("span", {
@@ -54499,7 +54499,7 @@ function jz({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function YTe({ link: e }) {
+function JTe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, x.jsx)("a", {
"data-link": "icon",
@@ -54508,19 +54508,19 @@ function YTe({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, x.jsx)(jz, { mark: e.mark })
+ children: /* @__PURE__ */ (0, x.jsx)(Mz, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, x.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, x.jsx)(jz, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, x.jsx)(Mz, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, x.jsx)(jz, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(Mz, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -54531,14 +54531,14 @@ function YTe({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, x.jsx)(jz, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(Mz, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function XTe({ entity: e, actions: t, helpers: n }) {
+function YTe({ 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);
@@ -54556,34 +54556,34 @@ function XTe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entry-marks": "",
- children: [Dz(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {
+ children: [Oz(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(vz, { name: e.mark }) : /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(yz, { name: e.mark }) : /* @__PURE__ */ (0, x.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(ATe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(kTe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: NTe(r)
+ tip: MTe(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/use-entity-online.ts
-var ZTe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function QTe(e, t, n) {
+var XTe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function ZTe(e, t, n) {
let [r, i] = (0, b.useState)(() => ui(e));
r.author !== e && i(ui(e));
let [a, o] = (0, b.useState)({
@@ -54662,7 +54662,7 @@ function QTe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => E({
sort: qr,
- seed: ZTe()
+ seed: XTe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => E({ status: e }),
@@ -54680,8 +54680,8 @@ function QTe(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function $Te(e) {
- let { kind: t, name: n } = e, r = ut(nR(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+function QTe(e) {
+ let { kind: t, name: n } = e, r = ut(rR(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
} : void 0), { actions: s } = e;
@@ -54699,17 +54699,17 @@ function $Te(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(DP, {
+ ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(OP, {
message: B(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(nEe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(tEe, {
...e,
entity: r.data
});
}
-function Mz(e) {
+function Nz(e) {
let [t, n] = (0, b.useState)({
key: e,
n: 1
@@ -54721,22 +54721,22 @@ function Mz(e) {
};
return n(r), r.n;
}
-var eEe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function tEe(e, t) {
+var $Te = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function eEe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function nEe(e) {
- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = ft(rR(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || iR(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function tEe(e) {
+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = ft(iR(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || aR(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
media: "online",
set: 0
- } : YL, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);
+ } : XL, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);
w !== C && (T(C), S("videos"));
- let E = l && y === "people" && u.length ? "people" : v.media, D = QTe(g, E === "online", {
+ let E = l && y === "people" && u.length ? "people" : v.media, D = ZTe(g, E === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
setImagesOnly: e.follow.actions.setImagesOnly
- }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, b.useState)(0), j = tR(e), M = ut(j), N = Mz(JSON.stringify([j.queryKey, k])), [P] = (0, b.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
+ }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, b.useState)(0), j = nR(e), M = ut(j), N = Nz(JSON.stringify([j.queryKey, k])), [P] = (0, b.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
(0, b.useLayoutEffect)(() => {
s.javContext(P);
}, [s, P]);
@@ -54746,26 +54746,26 @@ function nEe(e) {
}, [e.layout, P]), F = {
jav: e.jav,
seed: e.seed
- }, te = (0, b.useCallback)((e, r) => eR(t, n, i, F, e, r), [N]), [I, ne] = (0, b.useState)({}), re = v.set, ie = I[re] || "", ae = ft({
- ...rR(t, n, re, ie),
+ }, te = (0, b.useCallback)((e, r) => tR(t, n, i, F, e, r), [N]), [I, ne] = (0, b.useState)({}), re = v.set, ie = I[re] || "", ae = ft({
+ ...iR(t, n, re, ie),
enabled: E === "photos"
- }), oe = ae.data?.pages[0], se = Mz(JSON.stringify(ZL(t, n, re, ie))), ce = (0, b.useMemo)(() => {
+ }), oe = ae.data?.pages[0], se = Nz(JSON.stringify(QL(t, n, re, ie))), ce = (0, b.useMemo)(() => {
let e = ae.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: se,
- codeSets: t.id ? [] : iR(t),
+ codeSets: t.id ? [] : aR(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = ut({
- ...KL(d, o.feedRowHtml),
+ ...qL(d, o.feedRowHtml),
enabled: !!d
}), fe = (0, b.useRef)(e.feedRevision);
(0, b.useEffect)(() => {
- fe.current !== e.feedRevision && (fe.current = e.feedRevision, U.invalidateQueries({ queryKey: GL(d) }));
+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, U.invalidateQueries({ queryKey: KL(d) }));
}, [d, e.feedRevision]);
let pe = !!M.data;
(0, b.useEffect)(() => {
@@ -54784,7 +54784,7 @@ function nEe(e) {
me.current = !1;
}, []);
let he = (0, b.useCallback)(async () => {
- await U.invalidateQueries({ queryKey: ["entity-route"] }), await U.invalidateQueries({ queryKey: XL(t, n) }), await U.invalidateQueries({ queryKey: [
+ await U.invalidateQueries({ queryKey: ["entity-route"] }), await U.invalidateQueries({ queryKey: ZL(t, n) }), await U.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -54818,7 +54818,7 @@ function nEe(e) {
enabled: e
})
}),
- onSuccess: (e, r) => U.setQueryData(XL(t, n), (e) => e && {
+ onSuccess: (e, r) => U.setQueryData(ZL(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -54872,10 +54872,10 @@ function nEe(e) {
let e = await Et("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- me.current && await U.invalidateQueries({ queryKey: GL(d) });
+ me.current && await U.invalidateQueries({ queryKey: KL(d) });
})();
},
- feedAction: qL,
+ feedAction: JL,
avatarPicked: () => {
s.avatarChanged(), he().then(() => {
me.current && A((e) => e + 1);
@@ -54923,19 +54923,19 @@ function nEe(e) {
(e !== E || v.set) && (S(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : YL));
+ } : XL));
},
setState: (e) => s.route({
...i,
state: e
- }, YL),
+ }, XL),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (E !== "photos") {
- let r = s.reshuffleVideos(), a = tR({
+ let r = s.reshuffleVideos(), a = nR({
kind: t,
name: n,
filters: {
@@ -54949,7 +54949,7 @@ function nEe(e) {
await U.fetchQuery(a).catch(() => null);
return;
}
- let r = eEe(), a = await U.fetchInfiniteQuery(rR(t, n, re, r)).catch(() => null);
+ let r = $Te(), a = await U.fetchInfiniteQuery(iR(t, n, re, r)).catch(() => null);
me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({
...e,
[re]: r
@@ -54984,7 +54984,7 @@ function nEe(e) {
k: e.k,
label: Qs(e.k),
n: e.n,
- selected: CCe(i.tag, e.k)
+ selected: SCe(i.tag, e.k)
})), Te = [
u.length,
!_,
@@ -55019,14 +55019,14 @@ function nEe(e) {
creator: "",
studio: "",
owner: ""
- }, YL), Ne = "", Pe = !1;
+ }, XL), Ne = "", Pe = !1;
if (E === "people") Ne = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (E === "online") Pe = D.busy, Ne = `在线 · ${(D.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (E === "videos") {
Pe = !M.data;
- let e = QL(i.tag).length;
+ let e = $L(i.tag).length;
Ne = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : tEe(oe, iR(oe).length) : Pe = ae.isPending;
+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : eEe(oe, aR(oe).length) : Pe = ae.isPending;
let Fe = (0, b.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -55043,7 +55043,7 @@ function nEe(e) {
u
]);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(VTe, {
+ /* @__PURE__ */ (0, x.jsx)(BTe, {
kind: t,
name: n,
entity: r,
@@ -55053,7 +55053,7 @@ function nEe(e) {
actions: be,
helpers: xe
}, k),
- (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(cye, {
+ (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(sye, {
kind: t,
name: n,
view: E,
@@ -55070,7 +55070,7 @@ function nEe(e) {
actions: Se,
helpers: Ce
}), c.filter),
- (0, pt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(kwe, {
+ (0, pt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(Owe, {
view: D.view,
media: D.media,
result: D.result,
@@ -55083,15 +55083,15 @@ function nEe(e) {
helpers: e.follow.helpers,
actions: e.follow.actions,
canLoadMore: e.canLoadMore
- }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(DP, {
+ }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(OP, {
message: B(M.error),
onRetry: () => {
M.refetch();
}
- }) : je ? /* @__PURE__ */ (0, x.jsx)(rEe, {
+ }) : je ? /* @__PURE__ */ (0, x.jsx)(nEe, {
filtered: Ae,
onShowAll: Me
- }) : /* @__PURE__ */ (0, x.jsx)(nwe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(twe, {
kind: t,
name: n,
view: E,
@@ -55115,9 +55115,9 @@ function nEe(e) {
}), c.body)
] });
}
-function rEe({ filtered: e, onShowAll: t }) {
- return e ? /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: IN("search"),
+function nEe({ filtered: e, onShowAll: t }) {
+ return e ? /* @__PURE__ */ (0, x.jsx)(Jk, {
+ icon: LN("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -55125,15 +55125,15 @@ function rEe({ filtered: e, onShowAll: t }) {
children: "查看全部视频"
}),
children: "清除筛选后查看名下全部视频。"
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: IN("film"),
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
+ icon: LN("film"),
title: "还没有视频",
children: "署上这个名字的视频入库后会显示在这里。"
});
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function Nz({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function Pz({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, x.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
@@ -55160,29 +55160,29 @@ function Nz({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var iEe = IN("play"), aEe = IN("file-stack"), oEe = Kk({
+var rEe = LN("play"), iEe = LN("file-stack"), aEe = qk({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), Pz = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", Fz = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", Iz = "font-mono text-caption-1-regular leading-5 text-text-secondary", Lz = () => {
+}), Fz = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", Iz = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", Lz = "font-mono text-caption-1-regular leading-5 text-text-secondary", Rz = () => {
U.invalidateQueries({
- queryKey: hF,
+ queryKey: gF,
exact: !0
}), U.invalidateQueries({
- queryKey: FI,
+ queryKey: II,
exact: !0
});
};
-function sEe(e) {
+function oEe(e) {
return e.identical ? /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${Fz} text-(--keep)`,
+ className: `${Iz} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${Fz} text-text-secondary`,
+ className: `${Iz} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function cEe({ file: e, prefix: t, openItem: n }) {
+function sEe({ file: e, prefix: t, openItem: n }) {
let r = () => n(e.id), i = tn[e.location] || e.location || e.drive;
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -55192,7 +55192,7 @@ function cEe({ file: e, prefix: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${e.name}`,
className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",
- children: [/* @__PURE__ */ (0, x.jsx)(iEe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(rEe, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, x.jsx)("img", {
@@ -55212,58 +55212,58 @@ function cEe({ file: e, prefix: t, openItem: n }) {
"data-middle-truncate": !0,
"data-middle-truncate-within": !0,
className: "min-w-0 shrink cursor-pointer truncate text-left text-body-regular hover:text-text-secondary",
- children: Sbe(e.name, t)
+ children: xbe(e.name, t)
}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex flex-none gap-1",
children: [e.is_largest ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `${Pz} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${Fz} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, e.is_longest ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `${Pz} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${Fz} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
- className: `${Iz} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ className: `${Lz} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, x.jsx)(mA, { mark: Ya[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {
title: i,
className: "min-w-0 truncate",
children: i
})]
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: Iz,
+ className: Lz,
children: Xt(e.size || 0)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: Iz,
+ className: Lz,
children: Jt(e.duration)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: `${Iz} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
+ className: `${Lz} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
children: e.path ?? ""
})
]
});
}
-function lEe({ openItem: e, toast: t, failure: n }) {
+function cEe({ openItem: e, toast: t, failure: n }) {
let r = ut({
- queryKey: hF,
- queryFn: ({ signal: e }) => _F(e)
+ queryKey: gF,
+ queryFn: ({ signal: e }) => vF(e)
}), i = ut({
queryKey: vn,
queryFn: ({ signal: e }) => yn(e)
}), [a, o] = (0, b.useState)(""), s = dt({
- mutationFn: (e) => bF(e, "dispose"),
+ mutationFn: (e) => xF(e, "dispose"),
onSuccess: (e, r) => {
- Lz(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ Rz(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await bF(r, "restore");
+ await xF(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- Lz();
+ Rz();
}
} });
},
@@ -55277,12 +55277,12 @@ function lEe({ openItem: e, toast: t, failure: n }) {
children: r.error ? B(r.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let l = c.groups ?? [], u = vbe(i.data), d = ({ groups: e, keep: t, key: n }) => {
+ let l = c.groups ?? [], u = _be(i.data), d = ({ groups: e, keep: t, key: n }) => {
if (s.isPending) return;
- let r = Ebe(e, t);
+ let r = Tbe(e, t);
r.length && ls({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${vF[t] ?? vF.largest}。文件共 ${Xt(Dbe(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${yF[t] ?? yF.largest}。文件共 ${Xt(Ebe(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (o(n), s.mutateAsync(r))
});
@@ -55290,15 +55290,15 @@ function lEe({ openItem: e, toast: t, failure: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, x.jsx)(Nz, {
+ /* @__PURE__ */ (0, x.jsx)(Pz, {
label: "重复内容",
figure: `${Number(c.total || 0).toLocaleString()} 组`,
detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${Xt(c.reclaimable)}`
}),
- l.length ? /* @__PURE__ */ (0, x.jsxs)($ge, {
+ l.length ? /* @__PURE__ */ (0, x.jsxs)(Qge, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, x.jsx)(BA, {
+ /* @__PURE__ */ (0, x.jsx)(VA, {
busy: a === "all:largest",
onPress: () => d({
groups: l,
@@ -55307,7 +55307,7 @@ function lEe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, x.jsx)(BA, {
+ /* @__PURE__ */ (0, x.jsx)(VA, {
busy: a === "all:longest",
onPress: () => d({
groups: l,
@@ -55316,14 +55316,14 @@ function lEe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- Tbe(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(BA, {
+ wbe(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(VA, {
busy: a === `all:${e}`,
onPress: () => d({
groups: l,
keep: e,
key: `all:${e}`
}),
- children: /* @__PURE__ */ (0, x.jsx)(EA, {
+ children: /* @__PURE__ */ (0, x.jsx)(DA, {
source: e,
label: `全部优先 ${tn[e] || e}`
})
@@ -55339,10 +55339,10 @@ function lEe({ openItem: e, toast: t, failure: n }) {
})
}) : null,
l.length ? l.map((t, n) => {
- let r = [t], i = xbe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
+ let r = [t], i = bbe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t.code,
- className: oEe,
+ className: aEe,
children: [/* @__PURE__ */ (0, x.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: [
@@ -55354,9 +55354,9 @@ function lEe({ openItem: e, toast: t, failure: n }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${Xt(t.reclaimable)}`
}),
- sEe(t),
+ oEe(t),
t.cross_drive ? /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${Fz} text-text-secondary`,
+ className: `${Iz} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -55384,7 +55384,7 @@ function lEe({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- yF(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {
+ bF(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
...f(a(e)),
@@ -55393,7 +55393,7 @@ function lEe({ openItem: e, toast: t, failure: n }) {
keep: e,
key: a(e)
}),
- children: /* @__PURE__ */ (0, x.jsx)(EA, {
+ children: /* @__PURE__ */ (0, x.jsx)(DA, {
source: e,
label: `留 ${tn[e] || e}`
})
@@ -55412,14 +55412,14 @@ function lEe({ openItem: e, toast: t, failure: n }) {
]
})
]
- }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(cEe, {
+ }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(sEe, {
file: t,
prefix: i,
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: aEe,
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
+ icon: iEe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
}),
@@ -55432,23 +55432,23 @@ function lEe({ openItem: e, toast: t, failure: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var Rz = ["diagnostics"], zz = (e) => V("/api/diagnostics", e);
-async function uEe(e) {
+var zz = ["diagnostics"], Bz = (e) => V("/api/diagnostics", e);
+async function lEe(e) {
await U.fetchQuery({
- queryKey: Rz,
- queryFn: () => zz(e),
+ queryKey: zz,
+ queryFn: () => Bz(e),
staleTime: 1e4
});
}
//#endregion
//#region src/react/diagnostics/diagnostics-page.tsx
-var Bz = {
+var Vz = {
ok: "正常",
warning: "需检查",
failed: "需处理",
unknown: "未取得",
disabled: "未配置"
-}, dEe = [
+}, uEe = [
["媒体库与挂载", ["media_mounts", "data_root"]],
["数据库与迁移", ["database", "schema"]],
["工具", ["ffmpeg"]],
@@ -55459,8 +55459,8 @@ var Bz = {
"version"
]],
["后台任务", ["tasks"]]
-], Vz = (e) => new Date(e).toLocaleString();
-function fEe({ name: e, check: t, navigate: n, configure: r }) {
+], Hz = (e) => new Date(e).toLocaleString();
+function dEe({ name: e, check: t, navigate: n, configure: r }) {
let i = e === "security" || e === "port" ? "网络与访问" : "媒体库与入库";
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",
@@ -55472,7 +55472,7 @@ function fEe({ name: e, check: t, navigate: n, configure: r }) {
children: t.label
}), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: Bz[t.status] ?? "未取得"
+ children: Vz[t.status] ?? "未取得"
})]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
@@ -55492,14 +55492,14 @@ function fEe({ name: e, check: t, navigate: n, configure: r }) {
]
});
}
-function pEe({ group: e, openItem: t, receipt: n }) {
- let r = Qk(), i = mL(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
- return /* @__PURE__ */ (0, x.jsx)(fA, {
+function fEe({ group: e, openItem: t, receipt: n }) {
+ let r = $k(), i = hL(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+ return /* @__PURE__ */ (0, x.jsx)(pA, {
summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,
children: e.count === null ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
children: "清单未取得,请重新检查。"
- }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(aA, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
children: [e.truncated ? /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -55534,20 +55534,20 @@ function pEe({ group: e, openItem: t, receipt: n }) {
}) }, e.id))
})
})
- ] }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: Lme,
+ ] }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
+ icon: Ime,
title: "清单为空",
shell: "plain",
children: "没有需要处理的作品。"
})
});
}
-function mEe(e) {
+function pEe(e) {
let t = ut({
- queryKey: Rz,
- queryFn: ({ signal: e }) => zz(e),
+ queryKey: zz,
+ queryFn: ({ signal: e }) => Bz(e),
staleTime: 1e4
- }), n = Qk(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {
+ }), n = $k(), [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;
@@ -55568,27 +55568,27 @@ function mEe(e) {
tone: "error",
children: r
}) : null,
- /* @__PURE__ */ (0, x.jsx)(nA, {
+ /* @__PURE__ */ (0, x.jsx)(rA, {
title: "库健康",
- children: /* @__PURE__ */ (0, x.jsxs)(iA, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {
+ children: /* @__PURE__ */ (0, x.jsxs)(aA, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ["处理记录 · ", Vz(o.library.issue_at)]
- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(pEe, {
+ children: ["处理记录 · ", Hz(o.library.issue_at)]
+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(fEe, {
group: n,
...e
}, t))] })
}),
- dEe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(nA, {
+ uEe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(rA, {
title: t,
- children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(fEe, {
+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(dEe, {
name: t,
check: o.checks[t],
...e
}, t) : null)
}, t)),
- /* @__PURE__ */ (0, x.jsx)(nA, {
+ /* @__PURE__ */ (0, x.jsx)(rA, {
title: "来源会话",
- children: /* @__PURE__ */ (0, x.jsxs)(iA, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: /* @__PURE__ */ (0, x.jsxs)(aA, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
/* @__PURE__ */ (0, x.jsxs)("h3", {
@@ -55596,25 +55596,25 @@ function mEe(e) {
children: [
e.label,
" · ",
- Bz[e.status] ?? "未取得"
+ Vz[e.status] ?? "未取得"
]
}),
- /* @__PURE__ */ (0, x.jsx)(jA, {
+ /* @__PURE__ */ (0, x.jsx)(MA, {
text: e.reason,
className: "text-body-regular text-text-primary"
}),
- /* @__PURE__ */ (0, x.jsxs)(uA, { children: [
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsxs)(dA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(fA, {
term: "上次解析成功",
- children: e.last_success_at ? Vz(e.last_success_at) : "未取得"
+ children: e.last_success_at ? Hz(e.last_success_at) : "未取得"
}),
- e.last_check_at ? /* @__PURE__ */ (0, x.jsxs)(dA, {
+ e.last_check_at ? /* @__PURE__ */ (0, x.jsxs)(fA, {
term: "上次检查",
- children: [Vz(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
+ children: [Hz(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(fA, {
term: "冷却截止",
- children: e.cooldown_until ? Vz(e.cooldown_until) : "未在冷却"
+ children: e.cooldown_until ? Hz(e.cooldown_until) : "未在冷却"
})
] })
]
@@ -55643,21 +55643,21 @@ function mEe(e) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function hEe({ host: e, revision: t, helpers: n, actions: r }) {
- let i = ut(KL(null, n.feedRowHtml)), a = (0, b.useRef)(t);
+function mEe({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = ut(qL(null, n.feedRowHtml)), a = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
- a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: GL(null) }));
- }, [t]), (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(_z, {
+ a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: KL(null) }));
+ }, [t]), (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(vz, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: qL,
+ act: JL,
settled: r.settled
}), e);
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function Hz({ provider: e, label: t }) {
+function Uz({ provider: e, label: t }) {
let n = Vr(e), [r, i] = (0, b.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: t }) : null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("img", {
src: n,
@@ -55669,7 +55669,7 @@ function Hz({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), t ? /* @__PURE__ */ (0, x.jsx)(Rb, { children: t }) : null] });
}
-function Uz({ group: e, name: t }) {
+function Wz({ group: e, name: t }) {
let { src: n, fallback: r } = rr(e), [i, a] = (0, b.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, x.jsx)("img", {
src: o,
@@ -55686,15 +55686,15 @@ function Uz({ group: e, name: t }) {
children: nr(t)
});
}
-function Wz({ source: e }) {
+function Gz({ source: e }) {
let t = Yn(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, x.jsx)(Uk, {
+ return /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: t,
children: Jn(e)
});
}
-function Gz({ source: e }) {
+function Kz({ source: e }) {
return /* @__PURE__ */ (0, x.jsx)("a", {
href: e.url,
target: "_blank",
@@ -55704,7 +55704,7 @@ function Gz({ source: e }) {
children: e.label
});
}
-function Kz({ text: e, prefix: t = "", tone: n = "error" }) {
+function qz({ text: e, prefix: t = "", tone: n = "error" }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(!1), c = Xn(e);
(0, b.useLayoutEffect)(() => {
let e = r.current;
@@ -55735,11 +55735,11 @@ function Kz({ text: e, prefix: t = "", tone: n = "error" }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var qz = Bk(qI, JI, "text-body-2-medium"), gEe = "粘贴来源链接,或输入创作者名、id…", _Ee = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", vEe = "识别中…", yEe = "站内没有查到来源", Jz = (e, t) => `${e}:${t.url}`;
-function bEe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var Jz = Vk(JI, YI, "text-body-2-medium"), hEe = "粘贴来源链接,或输入创作者名、id…", gEe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", _Ee = "识别中…", vEe = "站内没有查到来源", Yz = (e, t) => `${e}:${t.url}`;
+function yEe({ 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, x.jsxs)(kM, {
+ }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(AM, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -55751,17 +55751,17 @@ function bEe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: Bk(KI, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: Vk(qI, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, x.jsx)(Yk, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, x.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? Bk(qz, "bg-background-secondary-default") : qz,
+ className: t === r ? Vk(Jz, "bg-background-secondary-default") : Jz,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -55781,7 +55781,7 @@ function bEe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function xEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function bEe({ 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);
@@ -55789,20 +55789,20 @@ function xEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
ref: i,
variant: "secondary",
- leadingIcon: Rme,
+ leadingIcon: Lme,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(AM, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: KI,
- children: /* @__PURE__ */ (0, x.jsxs)(VM, {
+ className: qI,
+ children: /* @__PURE__ */ (0, x.jsxs)(HM, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -55818,16 +55818,16 @@ function xEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, x.jsx)(oA, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, x.jsx)(sA, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(kL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(Hz, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, x.jsx)(Uz, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
@@ -55843,7 +55843,7 @@ function xEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function SEe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function xEe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: e.line,
@@ -55851,7 +55851,7 @@ function SEe({ 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, x.jsxs)("div", {
- className: Kk({
+ className: qk({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -55862,15 +55862,15 @@ function SEe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = Jz(t, e);
- return /* @__PURE__ */ (0, x.jsx)(kL, {
+ let n = Yz(t, e);
+ return /* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, x.jsx)(Hz, { provider: e.provider }),
+ /* @__PURE__ */ (0, x.jsx)(Uz, { provider: e.provider }),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -55886,22 +55886,22 @@ function SEe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, x.jsx)(oA, { children: yEe }),
+ }) : /* @__PURE__ */ (0, x.jsx)(sA, { children: vEe }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, x.jsx)(lA, {
+ }), /* @__PURE__ */ (0, x.jsx)(uA, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, x.jsx)(oA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, x.jsx)(sA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function SEe({ 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, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), [T, E] = (0, b.useState)(""), [D, O] = (0, b.useState)(0);
(0, b.useEffect)(() => {
let e = a.trim();
@@ -55921,7 +55921,7 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: ee } = TL({
+ }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: ee } = EL({
queryKey: zn,
queryFn: ({ signal: e }) => mr(e),
start: (e) => gr([e]),
@@ -55953,7 +55953,7 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, ie = N?.results || [], ae = ie.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: Jz(t, e)
+ key: Yz(t, e)
})).filter((e) => !C.has(e.key))), oe = dt({
mutationFn: async (e) => {
let t = [], n = [];
@@ -55983,7 +55983,7 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => E(B(e))
}), se = e.suggestions || [], ce = !s.includes("/");
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: qk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -56003,16 +56003,16 @@ function CEe({ 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, x.jsx)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(MN, {
"aria-label": "来源链接、名字或 id",
- placeholder: gEe,
+ placeholder: hEe,
value: a,
- leadingIcon: _k,
+ leadingIcon: vk,
enterKeyHint: "search",
isDisabled: n,
onChange: o,
onKeyDown: re
- }), I ? /* @__PURE__ */ (0, x.jsx)(bEe, {
+ }), I ? /* @__PURE__ */ (0, x.jsx)(yEe, {
field: _,
menu: v,
options: A,
@@ -56022,7 +56022,7 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: ne
}) : null]
}),
- /* @__PURE__ */ (0, x.jsx)(xEe, {
+ /* @__PURE__ */ (0, x.jsx)(bEe, {
credentials: t,
hidden: y,
onHidden: S,
@@ -56040,9 +56040,9 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(vL, {
+ children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(yL, {
embedded: !0,
- label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : ce ? _Ee : vEe),
+ label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : ce ? gEe : _Ee),
value: j?.checked,
total: j?.total
}) : null, T ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -56054,8 +56054,8 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
ie.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "查找结果" }),
- ie.map((e, t) => /* @__PURE__ */ (0, x.jsx)(SEe, {
+ /* @__PURE__ */ (0, x.jsx)(lA, { children: "查找结果" }),
+ ie.map((e, t) => /* @__PURE__ */ (0, x.jsx)(xEe, {
row: e,
at: t,
hidden: y,
@@ -56110,16 +56110,16 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var wEe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, Yz = (e) => e.alias;
-function TEe(e, t, n) {
+var CEe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, Xz = (e) => e.alias;
+function wEe(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 Xz({ sources: e, name: t, canonicalKey: n }) {
+function Zz({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Uz, {
- group: TEe(e, t, n),
+ children: [/* @__PURE__ */ (0, x.jsx)(Wz, {
+ group: wEe(e, t, n),
name: t
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-body-medium",
@@ -56127,7 +56127,7 @@ function Xz({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+function TEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
let [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = dt({
mutationFn: async (e) => {
let t = 0;
@@ -56167,9 +56167,9 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, _ = t.filter((e) => a.has(Yz(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);
+ }, _ = t.filter((e) => a.has(Xz(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: qk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -56180,10 +56180,10 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(cA, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(lA, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -56191,7 +56191,7 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -56212,13 +56212,13 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, x.jsx)(sA, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, x.jsx)(cA, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "待合并" }),
+ /* @__PURE__ */ (0, x.jsx)(lA, { children: "待合并" }),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -56240,44 +56240,44 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, x.jsx)(jL, { children: /* @__PURE__ */ (0, x.jsxs)(AL, {
+ }), /* @__PURE__ */ (0, x.jsx)(ML, { children: /* @__PURE__ */ (0, x.jsxs)(jL, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(dN, { children: [
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(fN, { children: [
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "select",
- children: /* @__PURE__ */ (0, x.jsx)(kL, {
+ children: /* @__PURE__ */ (0, x.jsx)(AL, {
slot: null,
isSelected: v,
isIndeterminate: _.length > 0 && !v,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(Yz)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(Xz)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(pN, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(mN, { children: t.map((e) => {
- let t = Yz(e);
- return /* @__PURE__ */ (0, x.jsxs)(_N, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(hN, { children: t.map((e) => {
+ let t = Xz(e);
+ return /* @__PURE__ */ (0, x.jsxs)(vN, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)(kL, {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsx)(AL, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -56286,16 +56286,16 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)(Xz, {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsx)(Zz, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: e.alias }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: e.alias }),
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -56312,27 +56312,27 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(cA, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(lA, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, x.jsx)(jL, { children: /* @__PURE__ */ (0, x.jsxs)(AL, {
+ }), e.length ? /* @__PURE__ */ (0, x.jsx)(ML, { children: /* @__PURE__ */ (0, x.jsxs)(jL, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(dN, { children: [/* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(fN, { children: [/* @__PURE__ */ (0, x.jsx)(pN, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, x.jsx)(fN, {
+ }), /* @__PURE__ */ (0, x.jsx)(pN, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, x.jsx)(mN, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(_N, {
+ })] }), /* @__PURE__ */ (0, x.jsx)(hN, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(vN, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)(Xz, {
+ children: [/* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsx)(Zz, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, x.jsx)(bN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",
@@ -56340,13 +56340,13 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: ck,
+ leadingIcon: lk,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...q(h.isPending),
onClick: () => void ls({
title: "移除创作者别名",
- body: wEe(e.name),
+ body: CEe(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -56354,9 +56354,9 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: $me,
+ icon: Qme,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -56366,7 +56366,7 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function Zz() {
+function Qz() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -56379,24 +56379,24 @@ function Zz() {
group: (e) => e
};
}
-function Qz(e, t) {
+function $z(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function $z(e, t) {
+function eB(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: Qz(n, t[e])
+ [e]: $z(n, t[e])
}));
};
}
-function eB(e) {
+function tB(e) {
return e instanceof Function;
}
-function DEe(e) {
+function EEe(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function OEe(e, t) {
+function DEe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -56406,7 +56406,7 @@ function OEe(e, t) {
};
return r(e), n;
}
-function tB(e, t, n) {
+function nB(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -56428,21 +56428,21 @@ function tB(e, t, n) {
return i;
};
}
-function nB(e, t, n, r) {
+function rB(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function kEe(e, t, n, r) {
+function OEe(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: tB(() => [
+ getContext: nB(() => [
e,
n,
t,
@@ -56454,13 +56454,13 @@ function kEe(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), nB(e.options, "debugCells", "cell.getContext"))
+ }), rB(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function AEe(e, t, n, r) {
+function kEe(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -56477,17 +56477,17 @@ function AEe(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: tB(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], nB(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: tB(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: nB(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], rB(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: nB(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, nB(e.options, "debugColumns", "column.getLeafColumns"))
+ }, rB(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var rB = "debugHeaders";
-function iB(e, t, n) {
+var iB = "debugHeaders";
+function aB(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -56515,42 +56515,42 @@ function iB(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var jEe = { createTable: (e) => {
- e.getHeaderGroups = tB(() => [
+var AEe = { createTable: (e) => {
+ e.getHeaderGroups = nB(() => [
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 aB(t, [
+ return oB(t, [
...a,
...s,
...o
], e);
- }, nB(e.options, rB, "getHeaderGroups")), e.getCenterHeaderGroups = tB(() => [
+ }, rB(e.options, iB, "getHeaderGroups")), e.getCenterHeaderGroups = nB(() => [
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))), aB(t, n, e, "center")), nB(e.options, rB, "getCenterHeaderGroups")), e.getLeftHeaderGroups = tB(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), oB(t, n, e, "center")), rB(e.options, iB, "getCenterHeaderGroups")), e.getLeftHeaderGroups = nB(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => aB(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), nB(e.options, rB, "getLeftHeaderGroups")), e.getRightHeaderGroups = tB(() => [
+ ], (t, n, r) => oB(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), rB(e.options, iB, "getLeftHeaderGroups")), e.getRightHeaderGroups = nB(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => aB(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), nB(e.options, rB, "getRightHeaderGroups")), e.getFooterGroups = tB(() => [e.getHeaderGroups()], (e) => [...e].reverse(), nB(e.options, rB, "getFooterGroups")), e.getLeftFooterGroups = tB(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), nB(e.options, rB, "getLeftFooterGroups")), e.getCenterFooterGroups = tB(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), nB(e.options, rB, "getCenterFooterGroups")), e.getRightFooterGroups = tB(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), nB(e.options, rB, "getRightFooterGroups")), e.getFlatHeaders = tB(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), nB(e.options, rB, "getFlatHeaders")), e.getLeftFlatHeaders = tB(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), nB(e.options, rB, "getLeftFlatHeaders")), e.getCenterFlatHeaders = tB(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), nB(e.options, rB, "getCenterFlatHeaders")), e.getRightFlatHeaders = tB(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), nB(e.options, rB, "getRightFlatHeaders")), e.getCenterLeafHeaders = tB(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => oB(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), rB(e.options, iB, "getRightHeaderGroups")), e.getFooterGroups = nB(() => [e.getHeaderGroups()], (e) => [...e].reverse(), rB(e.options, iB, "getFooterGroups")), e.getLeftFooterGroups = nB(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), rB(e.options, iB, "getLeftFooterGroups")), e.getCenterFooterGroups = nB(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), rB(e.options, iB, "getCenterFooterGroups")), e.getRightFooterGroups = nB(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), rB(e.options, iB, "getRightFooterGroups")), e.getFlatHeaders = nB(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rB(e.options, iB, "getFlatHeaders")), e.getLeftFlatHeaders = nB(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rB(e.options, iB, "getLeftFlatHeaders")), e.getCenterFlatHeaders = nB(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rB(e.options, iB, "getCenterFlatHeaders")), e.getRightFlatHeaders = nB(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rB(e.options, iB, "getRightFlatHeaders")), e.getCenterLeafHeaders = nB(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), nB(e.options, rB, "getCenterLeafHeaders")), e.getLeftLeafHeaders = tB(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), rB(e.options, iB, "getCenterLeafHeaders")), e.getLeftLeafHeaders = nB(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), nB(e.options, rB, "getLeftLeafHeaders")), e.getRightLeafHeaders = tB(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), rB(e.options, iB, "getLeftLeafHeaders")), e.getRightLeafHeaders = nB(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), nB(e.options, rB, "getRightLeafHeaders")), e.getLeafHeaders = tB(() => [
+ }), rB(e.options, iB, "getRightLeafHeaders")), e.getLeafHeaders = nB(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -56558,9 +56558,9 @@ var jEe = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), nB(e.options, rB, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), rB(e.options, iB, "getLeafHeaders"));
} };
-function aB(e, t, n, r) {
+function oB(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;
@@ -56578,7 +56578,7 @@ function aB(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 = iB(n, c, {
+ let i = aB(n, c, {
id: [
r,
t,
@@ -56595,7 +56595,7 @@ function aB(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) => iB(n, e, {
+ s(t.map((e, t) => aB(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -56613,7 +56613,7 @@ function aB(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var MEe = (e, t, n, r, i, a, o) => {
+var jEe = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -56634,7 +56634,7 @@ var MEe = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => OEe(s.subRows, (e) => e.subRows),
+ getLeafRows: () => DEe(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -56645,95 +56645,95 @@ var MEe = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: tB(() => [e.getAllLeafColumns()], (t) => t.map((t) => kEe(e, s, t, t.id)), nB(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: tB(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), nB(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: nB(() => [e.getAllLeafColumns()], (t) => t.map((t) => OEe(e, s, t, t.id)), rB(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: nB(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), rB(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;
-}, NEe = { createColumn: (e, t) => {
+}, MEe = { 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();
};
-} }, oB = (e, t, n) => {
+} }, sB = (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));
};
-oB.autoRemove = (e) => gB(e);
-var sB = (e, t, n) => {
+sB.autoRemove = (e) => _B(e);
+var cB = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-sB.autoRemove = (e) => gB(e);
-var cB = (e, t, n) => {
+cB.autoRemove = (e) => _B(e);
+var lB = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-cB.autoRemove = (e) => gB(e);
-var lB = (e, t, n) => e.getValue(t)?.includes(n);
-lB.autoRemove = (e) => gB(e);
-var uB = (e, t, n) => !n.some((n) => {
+lB.autoRemove = (e) => _B(e);
+var uB = (e, t, n) => e.getValue(t)?.includes(n);
+uB.autoRemove = (e) => _B(e);
+var dB = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-uB.autoRemove = (e) => gB(e) || !(e != null && e.length);
-var dB = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-dB.autoRemove = (e) => gB(e) || !(e != null && e.length);
-var fB = (e, t, n) => e.getValue(t) === n;
-fB.autoRemove = (e) => gB(e);
-var pB = (e, t, n) => e.getValue(t) == n;
-pB.autoRemove = (e) => gB(e);
-var mB = (e, t, n) => {
+dB.autoRemove = (e) => _B(e) || !(e != null && e.length);
+var fB = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+fB.autoRemove = (e) => _B(e) || !(e != null && e.length);
+var pB = (e, t, n) => e.getValue(t) === n;
+pB.autoRemove = (e) => _B(e);
+var mB = (e, t, n) => e.getValue(t) == n;
+mB.autoRemove = (e) => _B(e);
+var hB = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-mB.resolveFilterValue = (e) => {
+hB.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];
-}, mB.autoRemove = (e) => gB(e) || gB(e[0]) && gB(e[1]);
-var hB = {
- includesString: oB,
- includesStringSensitive: sB,
- equalsString: cB,
- arrIncludes: lB,
- arrIncludesAll: uB,
- arrIncludesSome: dB,
- equals: fB,
- weakEquals: pB,
- inNumberRange: mB
+}, hB.autoRemove = (e) => _B(e) || _B(e[0]) && _B(e[1]);
+var gB = {
+ includesString: sB,
+ includesStringSensitive: cB,
+ equalsString: lB,
+ arrIncludes: uB,
+ arrIncludesAll: dB,
+ arrIncludesSome: fB,
+ equals: pB,
+ weakEquals: mB,
+ inNumberRange: hB
};
-function gB(e) {
+function _B(e) {
return e == null || e === "";
}
-var PEe = {
+var NEe = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: $z("columnFilters", e),
+ onColumnFiltersChange: eB("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? hB.includesString : typeof n == "number" ? hB.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? hB.equals : Array.isArray(n) ? hB.arrIncludes : hB.weakEquals;
- }, e.getFilterFn = () => eB(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? hB[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" ? gB.includesString : typeof n == "number" ? gB.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? gB.equals : Array.isArray(n) ? gB.arrIncludes : gB.weakEquals;
+ }, e.getFilterFn = () => tB(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? gB[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 = Qz(n, i ? i.value : void 0);
- if (_B(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = $z(n, i ? i.value : void 0);
+ if (vB(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -56748,19 +56748,19 @@ var PEe = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => Qz(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => $z(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && _B(t.getFilterFn(), e.value, t));
+ return !(t && vB(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 _B(e, t, n) {
+function vB(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var vB = {
+var yB = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -56796,7 +56796,7 @@ var vB = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!DEe(n)) return;
+ if (!EEe(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];
@@ -56804,7 +56804,7 @@ var vB = {
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
-}, FEe = {
+}, PEe = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -56817,7 +56817,7 @@ var vB = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: $z("grouping", e),
+ onGroupingChange: eB("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -56830,11 +56830,11 @@ var vB = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return vB.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return vB.extent;
+ if (typeof n == "number") return yB.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return yB.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return eB(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? vB[e.columnDef.aggregationFn];
+ return tB(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? yB[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -56856,27 +56856,27 @@ var vB = {
};
}
};
-function IEe(e, t, n) {
+function FEe(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 LEe = {
+var IEe = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: $z("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: eB("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = tB((e) => [wB(t, e)], (t) => t.findIndex((t) => t.id === e.id), nB(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => wB(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = wB(t, n);
+ e.getIndex = nB((e) => [TB(t, e)], (t) => t.findIndex((t) => t.id === e.id), rB(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => TB(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = TB(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 = tB(() => [
+ }, e._getOrderColumnsFn = nB(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -56891,18 +56891,18 @@ var LEe = {
}
i = [...i, ...n];
}
- return IEe(i, t, n);
- }, nB(e.options, "debugTable", "_getOrderColumnsFn"));
+ return FEe(i, t, n);
+ }, rB(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, yB = () => ({
+}, bB = () => ({
left: [],
right: []
-}), REe = {
+}), LEe = {
getInitialState: (e) => ({
- columnPinning: yB(),
+ columnPinning: bB(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: $z("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: eB("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -56926,75 +56926,75 @@ var LEe = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = tB(() => [
+ e.getCenterVisibleCells = nB(() => [
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));
- }, nB(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = tB(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, rB(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = nB(() => [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"
- })), nB(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = tB(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), rB(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = nB(() => [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"
- })), nB(t.options, "debugRows", "getRightVisibleCells"));
+ })), rB(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 ? yB() : e.initialState?.columnPinning ?? yB()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? bB() : e.initialState?.columnPinning ?? bB()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = tB(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), nB(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = tB(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), nB(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = tB(() => [
+ }, e.getLeftLeafColumns = nB(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), rB(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = nB(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), rB(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = nB(() => [
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));
- }, nB(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, rB(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function zEe(e) {
+function REe(e) {
return e || (typeof document < "u" ? document : null);
}
-var bB = {
+var xB = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, xB = () => ({
+}, SB = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), BEe = {
- getDefaultColumnDef: () => bB,
+}), zEe = {
+ getDefaultColumnDef: () => xB,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: xB(),
+ columnSizingInfo: SB(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: $z("columnSizing", e),
- onColumnSizingInfoChange: $z("columnSizingInfo", e)
+ onColumnSizingChange: eB("columnSizing", e),
+ onColumnSizingInfoChange: eB("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? bB.minSize, n ?? e.columnDef.size ?? bB.size), e.columnDef.maxSize ?? bB.maxSize);
- }, e.getStart = tB((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? xB.minSize, n ?? e.columnDef.size ?? xB.size), e.columnDef.maxSize ?? xB.maxSize);
+ }, e.getStart = nB((e) => [
e,
- wB(t, e),
+ TB(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), nB(t.options, "debugColumns", "getStart")), e.getAfter = tB((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), rB(t.options, "debugColumns", "getStart")), e.getAfter = nB((e) => [
e,
- wB(t, e),
+ TB(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), nB(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), rB(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -57016,8 +57016,8 @@ var bB = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), CB(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 = CB(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), wB(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 = wB(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) => {
@@ -57042,7 +57042,7 @@ var bB = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = zEe(n), m = {
+ }, p = REe(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -57052,8 +57052,8 @@ var bB = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = VEe() ? { passive: !1 } : !1;
- CB(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 = BEe() ? { passive: !1 } : !1;
+ wB(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,
@@ -57069,12 +57069,12 @@ var bB = {
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 ? xB() : e.initialState.columnSizingInfo ?? xB());
+ e.setColumnSizingInfo(t ? SB() : e.initialState.columnSizingInfo ?? SB());
}, 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;
}
-}, SB = null;
-function VEe() {
- if (typeof SB == "boolean") return SB;
+}, CB = null;
+function BEe() {
+ if (typeof CB == "boolean") return CB;
let e = !1;
try {
let t = { get passive() {
@@ -57084,17 +57084,17 @@ function VEe() {
} catch {
e = !1;
}
- return SB = e, SB;
+ return CB = e, CB;
}
-function CB(e) {
+function wB(e) {
return e.type === "touchstart";
}
-var HEe = {
+var VEe = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: $z("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: eB("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -57109,7 +57109,7 @@ var HEe = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = tB(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), nB(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = tB(() => [
+ e._getAllVisibleCells = nB(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), rB(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = nB(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -57117,10 +57117,10 @@ var HEe = {
...e,
...t,
...n
- ], nB(t.options, "debugRows", "getVisibleCells"));
+ ], rB(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => tB(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), nB(e.options, "debugColumns", t));
+ let t = (t, n) => nB(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), rB(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) => {
@@ -57133,20 +57133,20 @@ var HEe = {
};
}
};
-function wB(e, t) {
+function TB(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var UEe = { createTable: (e) => {
+var HEe = { 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();
};
-} }, WEe = {
+} }, UEe = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: $z("globalFilter", e),
+ onGlobalFilterChange: eB("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -57158,22 +57158,22 @@ var UEe = { 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 = () => hB.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => gB.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return eB(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? hB[t];
+ return tB(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? gB[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, GEe = {
+}, WEe = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: $z("expanded", e),
+ onExpandedChange: eB("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -57241,18 +57241,18 @@ var UEe = { createTable: (e) => {
};
};
}
-}, TB = 0, EB = 10, DB = () => ({
- pageIndex: TB,
- pageSize: EB
-}), KEe = {
+}, EB = 0, DB = 10, OB = () => ({
+ pageIndex: EB,
+ pageSize: DB
+}), GEe = {
getInitialState: (e) => ({
...e,
pagination: {
- ...DB(),
+ ...OB(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: $z("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: eB("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -57265,11 +57265,11 @@ var UEe = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => Qz(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? DB() : e.initialState.pagination ?? DB());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => $z(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? OB() : e.initialState.pagination ?? OB());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = Qz(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = $z(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
@@ -57277,13 +57277,13 @@ var UEe = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? TB : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? TB);
+ e.setPageIndex(t ? EB : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? EB);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? EB : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? EB);
+ e.setPageSize(t ? DB : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? DB);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, Qz(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, $z(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -57291,28 +57291,28 @@ var UEe = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = Qz(t, e.options.pageCount ?? -1);
+ let r = $z(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = tB(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = nB(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, nB(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, rB(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;
}
-}, OB = () => ({
+}, kB = () => ({
top: [],
bottom: []
-}), qEe = {
+}), KEe = {
getInitialState: (e) => ({
- rowPinning: OB(),
+ rowPinning: kB(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: $z("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: eB("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -57351,7 +57351,7 @@ var UEe = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? OB() : e.initialState?.rowPinning ?? OB()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? kB() : e.initialState?.rowPinning ?? kB()), 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) => {
@@ -57360,22 +57360,22 @@ var UEe = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = tB(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), nB(e.options, "debugRows", "getTopRows")), e.getBottomRows = tB(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), nB(e.options, "debugRows", "getBottomRows")), e.getCenterRows = tB(() => [
+ })), e.getTopRows = nB(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), rB(e.options, "debugRows", "getTopRows")), e.getBottomRows = nB(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), rB(e.options, "debugRows", "getBottomRows")), e.getCenterRows = nB(() => [
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));
- }, nB(e.options, "debugRows", "getCenterRows"));
+ }, rB(e.options, "debugRows", "getCenterRows"));
}
-}, JEe = {
+}, qEe = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: $z("rowSelection", e),
+ onRowSelectionChange: eB("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -57394,21 +57394,21 @@ var UEe = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- kB(i, t.id, r, !0, e);
+ AB(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = tB(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? AB(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = nB(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? jB(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, nB(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = tB(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? AB(e, n) : {
+ }, rB(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = nB(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? jB(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, nB(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = tB(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? AB(e, n) : {
+ }, rB(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = nB(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? jB(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, nB(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, rB(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 = () => {
@@ -57432,17 +57432,17 @@ var UEe = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return kB(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return AB(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return jB(e, n);
+ return MB(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return MB(e, n) === "some";
+ return NB(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return MB(e, n) === "all";
+ return NB(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) => {
@@ -57450,16 +57450,16 @@ var UEe = { createTable: (e) => {
};
};
}
-}, kB = (e, t, n, r, i) => {
+}, AB = (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) => kB(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) => AB(e, t.id, n, r, i));
};
-function AB(e, t) {
+function jB(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = jB(e, n);
+ let o = MB(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -57472,32 +57472,32 @@ function AB(e, t) {
rowsById: i
};
}
-function jB(e, t) {
+function MB(e, t) {
return t[e.id] ?? !1;
}
-function MB(e, t, n) {
+function NB(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() && (jB(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = MB(e, t);
+ if ((!a || i) && (e.getCanSelect() && (MB(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = NB(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var NB = /([0-9]+)/gm, YEe = (e, t, n) => IB(FB(e.getValue(n)).toLowerCase(), FB(t.getValue(n)).toLowerCase()), XEe = (e, t, n) => IB(FB(e.getValue(n)), FB(t.getValue(n))), ZEe = (e, t, n) => PB(FB(e.getValue(n)).toLowerCase(), FB(t.getValue(n)).toLowerCase()), QEe = (e, t, n) => PB(FB(e.getValue(n)), FB(t.getValue(n))), $Ee = (e, t, n) => {
+var PB = /([0-9]+)/gm, JEe = (e, t, n) => LB(IB(e.getValue(n)).toLowerCase(), IB(t.getValue(n)).toLowerCase()), YEe = (e, t, n) => LB(IB(e.getValue(n)), IB(t.getValue(n))), XEe = (e, t, n) => FB(IB(e.getValue(n)).toLowerCase(), IB(t.getValue(n)).toLowerCase()), ZEe = (e, t, n) => FB(IB(e.getValue(n)), IB(t.getValue(n))), QEe = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, eDe = (e, t, n) => PB(e.getValue(n), t.getValue(n));
-function PB(e, t) {
+}, $Ee = (e, t, n) => FB(e.getValue(n), t.getValue(n));
+function FB(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function FB(e) {
+function IB(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function IB(e, t) {
- let n = e.split(NB).filter(Boolean), r = t.split(NB).filter(Boolean);
+function LB(e, t) {
+ let n = e.split(PB).filter(Boolean), r = t.split(PB).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])) {
@@ -57511,22 +57511,22 @@ function IB(e, t) {
}
return n.length - r.length;
}
-var LB = {
- alphanumeric: YEe,
- alphanumericCaseSensitive: XEe,
- text: ZEe,
- textCaseSensitive: QEe,
- datetime: $Ee,
- basic: eDe
-}, tDe = [
- jEe,
- HEe,
+var RB = {
+ alphanumeric: JEe,
+ alphanumericCaseSensitive: YEe,
+ text: XEe,
+ textCaseSensitive: ZEe,
+ datetime: QEe,
+ basic: $Ee
+}, eDe = [
+ AEe,
+ VEe,
+ IEe,
LEe,
- REe,
+ MEe,
NEe,
- PEe,
+ HEe,
UEe,
- WEe,
{
getInitialState: (e) => ({
sorting: [],
@@ -57537,7 +57537,7 @@ var LB = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: $z("sorting", e),
+ onSortingChange: eB("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -57545,13 +57545,13 @@ var LB = {
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 LB.datetime;
- if (typeof n == "string" && (r = !0, n.split(NB).length > 1)) return LB.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return RB.datetime;
+ if (typeof n == "string" && (r = !0, n.split(PB).length > 1)) return RB.alphanumeric;
}
- return r ? LB.text : LB.basic;
+ return r ? RB.text : RB.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return eB(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? LB[e.columnDef.sortingFn];
+ return tB(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? RB[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -57588,15 +57588,15 @@ var LB = {
}, 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());
}
},
- FEe,
+ PEe,
+ WEe,
GEe,
KEe,
qEe,
- JEe,
- BEe
+ zEe
];
-function nDe(e) {
- let t = [...tDe, ...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 tDe(e) {
+ let t = [...eDe, ...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 ?? {} };
@@ -57622,7 +57622,7 @@ function nDe(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = Qz(e, n.options);
+ let t = $z(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -57637,7 +57637,7 @@ function nDe(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: tB(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: nB(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -57648,20 +57648,20 @@ function nDe(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), nB(e, "debugColumns", "_getDefaultColumnDef")),
+ }), rB(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: tB(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: nB(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = AEe(n, e, i, r), o = e;
+ let a = kEe(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, nB(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: tB(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), nB(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: tB(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), nB(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: tB(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), nB(e, "debugColumns", "getAllLeafColumns")),
+ }, rB(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: nB(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), rB(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: nB(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), rB(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: nB(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), rB(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -57671,8 +57671,8 @@ function nDe(e) {
}
return n;
}
-function RB() {
- return (e) => tB(() => [e.options.data], (t) => {
+function zB() {
+ return (e) => nB(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -57681,7 +57681,7 @@ function RB() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = MEe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = jEe(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));
@@ -57690,9 +57690,9 @@ function RB() {
return o;
};
return n.rows = r(t), n;
- }, nB(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, rB(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function rDe(e) {
+function nDe(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -57703,8 +57703,8 @@ function rDe(e) {
rowsById: e.rowsById
};
}
-function zB(e) {
- return (e) => tB(() => [
+function BB(e) {
+ return (e) => nB(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -57717,7 +57717,7 @@ function zB(e) {
rows: a,
flatRows: o,
rowsById: s
- } : rDe({
+ } : nDe({
rows: a,
flatRows: o,
rowsById: s
@@ -57726,32 +57726,32 @@ function zB(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, nB(e.options, "debugTable", "getPaginationRowModel"));
+ }, rB(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function BB(e, t) {
- return e ? iDe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
+function VB(e, t) {
+ return e ? rDe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
}
-function iDe(e) {
- return aDe(e) || typeof e == "function" || oDe(e);
+function rDe(e) {
+ return iDe(e) || typeof e == "function" || aDe(e);
}
-function aDe(e) {
+function iDe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function oDe(e) {
+function aDe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function VB(e) {
+function HB(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = b.useState(() => ({ current: nDe(t) })), [r, i] = b.useState(() => n.current.initialState);
+ }, [n] = b.useState(() => ({ current: tDe(t) })), [r, i] = b.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -57766,7 +57766,7 @@ function VB(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var sDe = Vk({
+var oDe = Hk({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -57828,23 +57828,23 @@ var sDe = Vk({
}
}
});
-function cDe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = sDe[t];
+function sDe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = oDe[t];
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: Bk("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Bk("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: Vk("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Vk("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, x.jsx)("span", {
- className: Bk("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
- children: /* @__PURE__ */ (0, x.jsx)("span", { className: Bk("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
+ className: Vk("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, x.jsx)("span", { className: Vk("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
-function HB({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(sve, {
+function UB({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsx)(ove, {
ref: i,
...a,
- className: (t) => Bk("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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(cDe, {
+ className: (t) => Vk("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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(sDe, {
state: e,
size: n,
shape: r
@@ -57856,8 +57856,8 @@ function HB({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var UB = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", lDe = "输入女优名,到 JavDB 找她的演员页";
-function uDe(e, t) {
+var WB = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", cDe = "输入女优名,到 JavDB 找她的演员页";
+function lDe(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 {
@@ -57876,10 +57876,10 @@ function uDe(e, t) {
blocked: !1
};
}
-function dDe({ card: e, picked: t, onPick: n }) {
+function uDe({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(kL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -57889,7 +57889,7 @@ function dDe({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+ e.record ? /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: "neutral",
children: e.record
@@ -57900,14 +57900,14 @@ function dDe({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, x.jsx)(lA, {
+ }), /* @__PURE__ */ (0, x.jsx)(uA, {
href: e.url,
children: e.id
})]
});
}
-function fDe({ 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 = Qk(), u = () => {
+function dDe({ 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 = $k(), u = () => {
let t = r.trim();
t && !e && l.run("lookup", (e) => kr(t, e), (e) => {
o(e), c(new Set(e.suggested));
@@ -57920,9 +57920,9 @@ function fDe({ readOnly: e, toast: t, onAdded: n }) {
a && l.run("follow", (e) => Ar(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? uDe(a, s) : null;
+ }, m = a ? lDe(a, s) : null;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: qk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -57935,11 +57935,11 @@ function fDe({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(MN, {
"aria-label": "女优名",
- placeholder: lDe,
+ placeholder: cDe,
value: r,
- leadingIcon: _k,
+ leadingIcon: vk,
enterKeyHint: "search",
isDisabled: e,
onChange: i,
@@ -57961,16 +57961,16 @@ function fDe({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(dDe, {
+ /* @__PURE__ */ (0, x.jsx)(lA, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(uDe, {
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, x.jsx)(oA, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(oA, {
+ }, e.id)) : /* @__PURE__ */ (0, x.jsx)(sA, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(sA, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -57997,19 +57997,19 @@ function fDe({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var WB = (e) => (Number(e) || 0).toLocaleString(), pDe = Object.fromEntries(Object.entries(Un).map(([e, t]) => [t, e])), GB = 740;
-function mDe() {
+var GB = (e) => (Number(e) || 0).toLocaleString(), fDe = Object.fromEntries(Object.entries(Un).map(([e, t]) => [t, e])), KB = 740;
+function pDe() {
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 < GB));
- r.observe(e), n.current = r, t(e.clientWidth < GB);
+ let r = new ResizeObserver(() => t(e.clientWidth < KB));
+ r.observe(e), n.current = r, t(e.clientWidth < KB);
}, []);
return (0, b.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var hDe = {
+var mDe = {
select: "选择",
author: "创作者",
source: "来源",
@@ -58018,7 +58018,7 @@ var hDe = {
checked: "上次检查",
actions: "操作"
};
-function KB({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function qB({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, x.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -58055,33 +58055,33 @@ function KB({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function gDe({ source: e, selected: t, onToggle: n, handlers: r }) {
+function hDe({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-selected": t || void 0,
"data-follow-source-row": "",
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2",
onClick: (e) => {
- kP(e, e.currentTarget) && n(!t);
+ AP(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, x.jsx)(kL, {
+ /* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 grow basis-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, x.jsx)(Gz, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(Kz, { text: e.last_error }) : null]
+ children: [/* @__PURE__ */ (0, x.jsx)(Kz, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(qz, { text: e.last_error }) : null]
}),
/* @__PURE__ */ (0, x.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, x.jsx)(Hz, {
+ children: /* @__PURE__ */ (0, x.jsx)(Uz, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, x.jsx)(Wz, { source: e }),
+ /* @__PURE__ */ (0, x.jsx)(Gz, { source: e }),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-follow-source-controls": "",
className: "contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5",
@@ -58090,7 +58090,7 @@ function gDe({ source: e, selected: t, onToggle: n, handlers: r }) {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular",
children: zr(e)
}),
- /* @__PURE__ */ (0, x.jsx)(HB, {
+ /* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -58102,7 +58102,7 @@ function gDe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: gk,
+ leadingIcon: _k,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...q(r.busy),
@@ -58111,7 +58111,7 @@ function gDe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: dk,
+ leadingIcon: fk,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -58122,11 +58122,11 @@ function gDe({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function _De({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+function gDe({ 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(Yn).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = lr(r, c);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: Kk({
+ className: qk({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -58136,7 +58136,7 @@ function _De({ 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, x.jsx)(Uz, {
+ /* @__PURE__ */ (0, x.jsx)(Wz, {
group: e,
name: t
}),
@@ -58148,7 +58148,7 @@ function _De({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: gk,
+ leadingIcon: _k,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...q(i.busy),
@@ -58161,7 +58161,7 @@ function _De({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex shrink-0 items-center gap-1 max-sm:mr-auto max-sm:min-w-0 max-sm:shrink max-sm:flex-wrap",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, x.jsx)(Hz, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(Rb, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, x.jsx)(Uz, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(Rb, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -58170,7 +58170,7 @@ function _De({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Ame,
+ leadingIcon: kme,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -58181,7 +58181,7 @@ function _De({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? Eme : ak,
+ leadingIcon: n ? Tme : ok,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -58193,7 +58193,7 @@ function _De({ 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, x.jsx)(gDe, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(hDe, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -58202,8 +58202,8 @@ function _De({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function vDe(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = mDe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => ar(g, n, r, _), [
+function _De(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = pDe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => ar(g, n, r, _), [
g,
n,
r,
@@ -58213,7 +58213,7 @@ function vDe(e) {
n,
r,
_
- ]), { job: k, running: A, outcome: j, start: M } = TL({
+ ]), { job: k, running: A, outcome: j, start: M } = EL({
queryKey: Rn,
queryFn: ({ signal: e }) => pr(e),
start: (e) => hr(e),
@@ -58300,12 +58300,12 @@ function vDe(e) {
readOnly: c
};
let oe = ae.current, se = (0, b.useMemo)(() => {
- let e = Zz(), t = (e) => () => hDe[e] || e;
+ let e = Qz(), t = (e) => () => mDe[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(kL, {
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(AL, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -58317,7 +58317,7 @@ function vDe(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Uz, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Wz, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, x.jsx)("span", {
@@ -58331,7 +58331,7 @@ function vDe(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, x.jsx)(Gz, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(Kz, { text: e.row.original.source.last_error }) : null]
+ children: [/* @__PURE__ */ (0, x.jsx)(Kz, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(qz, { text: e.row.original.source.last_error }) : null]
})
}),
e.accessor((e) => e.source.provider_label, {
@@ -58339,13 +58339,13 @@ function vDe(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(Hz, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, x.jsx)(Uz, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(Wz, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(Gz, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
@@ -58358,7 +58358,7 @@ function vDe(e) {
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(HB, {
+ /* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: oe.readOnly,
@@ -58368,7 +58368,7 @@ function vDe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: gk,
+ leadingIcon: _k,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || oe.readOnly,
...q(oe.busy),
@@ -58378,7 +58378,7 @@ function vDe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: dk,
+ leadingIcon: fk,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: oe.readOnly,
onClick: () => ae.current.remove(e.row.original.source)
@@ -58388,12 +58388,12 @@ function vDe(e) {
})
];
}, [oe]), ce = (0, b.useMemo)(() => {
- let e = pDe[n];
+ let e = fDe[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), le = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", de = sr(ue ? O.length : D.length, o, i), fe = VB({
+ }, [n, r]), le = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", de = sr(ue ? O.length : D.length, o, i), fe = HB({
data: O,
columns: se,
getRowId: (e) => String(e.source.id),
@@ -58424,11 +58424,11 @@ function vDe(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : f(n.pageSize);
},
- getCoreRowModel: RB(),
- getPaginationRowModel: zB()
+ getCoreRowModel: zB(),
+ getPaginationRowModel: BB()
}), pe = fe.getRowModel().rows, me = ue ? pe.map((e) => e.original.source.id) : D.slice(de.start, de.end).flatMap((e) => e.map((e) => e.id)), he = lr(s, me), ge = [...s], _e = Lr(j), ve = g.filter((e) => e.enabled && (e.last_status === "error" || e.last_status === "unauthorized")).map((e) => e.id), ye = Rr(j), be = D.length > 0 && y.size >= D.length;
return g.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: qk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -58445,12 +58445,12 @@ function vDe(e) {
children: "关注列表"
}), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${WB(v.new)} 条未看` : ""}`
+ children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${GB(v.new)} 条未看` : ""}`
})]
}),
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
- leadingIcon: gk,
+ leadingIcon: _k,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -58476,20 +58476,20 @@ function vDe(e) {
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Wme,
+ leadingIcon: Ume,
"aria-label": Vn[0][1],
"aria-pressed": !ue,
onClick: () => d("default")
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Yme,
+ leadingIcon: Jme,
"aria-label": Vn[1][1],
"aria-pressed": ue,
onClick: () => d("table")
})]
}),
- /* @__PURE__ */ (0, x.jsx)(SL, {
+ /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
@@ -58497,7 +58497,7 @@ function vDe(e) {
let t = String(e);
l(t, dn[t]);
},
- children: ln.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: ln.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e,
children: t
}, e))
@@ -58505,14 +58505,14 @@ function vDe(e) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? Tme : wme,
+ leadingIcon: r === "asc" ? wme : Cme,
"aria-label": Kn(n, r),
onClick: () => l(n, r === "asc" ? "desc" : "asc")
}),
ue ? null : /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: be ? ak : Eme,
+ leadingIcon: be ? ok : Tme,
"aria-label": be ? "全部展开" : "全部收起",
onClick: () => S(be ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: be ? "全部展开" : "全部收起"
@@ -58525,7 +58525,7 @@ function vDe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, x.jsx)(vL, {
+ A ? /* @__PURE__ */ (0, x.jsx)(yL, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -58616,10 +58616,10 @@ function vDe(e) {
})
]
}),
- ue ? /* @__PURE__ */ (0, x.jsx)(jL, {
+ ue ? /* @__PURE__ */ (0, x.jsx)(ML, {
follow: !0,
onRowClick: (e) => P(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, x.jsxs)(AL, {
+ children: /* @__PURE__ */ (0, x.jsxs)(jL, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: ce[0] ? {
@@ -58630,9 +58630,9 @@ function vDe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, x.jsx)(dN, { children: fe.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in Un, n = BB(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(fN, { children: fe.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in Un, n = VB(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, x.jsx)(pN, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -58641,20 +58641,20 @@ function vDe(e) {
children: [n, /* @__PURE__ */ (0, x.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(kSe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(OSe, {})
})]
}) : /* @__PURE__ */ (0, x.jsx)(Rb, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, x.jsx)(mN, {
+ }) }), /* @__PURE__ */ (0, x.jsx)(hN, {
renderEmptyState: () => "这一页没有来源",
- children: pe.map((e) => /* @__PURE__ */ (0, x.jsx)(_N, {
+ children: pe.map((e) => /* @__PURE__ */ (0, x.jsx)(vN, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(yN, { children: BB(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(bN, { children: VB(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(kL, {
+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: he.all,
isIndeterminate: he.some,
onChange: (e) => ee(me, e),
@@ -58664,7 +58664,7 @@ function vDe(e) {
className: "flex flex-col gap-3",
children: D.slice(de.start, de.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, x.jsx)(_De, {
+ return /* @__PURE__ */ (0, x.jsx)(gDe, {
group: e,
name: tr(e, _),
handlers: oe,
@@ -58684,21 +58684,21 @@ function vDe(e) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${WB(de.start + 1)}–${WB(de.end)} / ${WB(de.total)} ${ue ? "个来源" : "位创作者"}`
+ children: `${GB(de.start + 1)}–${GB(de.end)} / ${GB(de.total)} ${ue ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, x.jsx)(SL, {
+ /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && fe.setPageSize(Number(e));
},
- children: Hn.map((e) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: Hn.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: String(e),
children: `每页 ${e} ${ue ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(KB, {
+ /* @__PURE__ */ (0, x.jsx)(qB, {
page: de.page,
pages: de.pages,
onPage: (e) => fe.setPageIndex(e - 1)
@@ -58710,7 +58710,7 @@ function vDe(e) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
- children: `未看 ${WB(v.new)} · 已看 ${WB(v.seen)} · 已保存 ${WB(v.saved)} · 已忽略 ${WB(v.ignored)}`
+ children: `未看 ${GB(v.new)} · 已看 ${GB(v.seen)} · 已保存 ${GB(v.saved)} · 已忽略 ${GB(v.ignored)}`
}),
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -58747,11 +58747,11 @@ function vDe(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: qme,
+ icon: Kme,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "primary",
size: "small",
href: "/subscriptions?tab=add",
@@ -58762,7 +58762,7 @@ function vDe(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var yDe = {
+var vDe = {
select: "选择",
name: "名称",
kind: "类型",
@@ -58772,33 +58772,33 @@ var yDe = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, bDe = /* @__PURE__ */ new Set(["select", "actions"]), qB = () => U.invalidateQueries({
+}, yDe = /* @__PURE__ */ new Set(["select", "actions"]), JB = () => U.invalidateQueries({
queryKey: Bn,
exact: !0
-}), JB = (e) => e.name || e.url;
-function xDe(e) {
+}), YB = (e) => e.name || e.url;
+function bDe(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function SDe({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+function xDe({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+ }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, x.jsx)(Uk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function CDe({ source: e }) {
+function SDe({ source: e }) {
let t = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -58807,31 +58807,31 @@ function CDe({ source: e }) {
} : null;
return /* @__PURE__ */ (0, x.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 ${UB}`,
- dangerouslySetInnerHTML: { __html: aa(JB(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 ${WB}`,
+ dangerouslySetInnerHTML: { __html: aa(YB(e), t, null, "performer") }
});
}
-var wDe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function TDe(e) {
+var CDe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function wDe(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 YB(e, t) {
+function XB(e, t) {
let n = e.length === 1 ? e[0] : null;
return ls({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${JB(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${YB(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function EDe({ readOnly: e, toast: t }) {
+function TDe({ readOnly: e, toast: t }) {
let n = ut({
queryKey: Bn,
queryFn: ({ signal: e }) => Tr(e)
- }), r = Qk(), 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 = sr(a.length, u, c);
+ }), r = $k(), 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 = sr(a.length, u, c);
(0, b.useEffect)(() => {
l((e) => Math.min(e, f.pages));
}, [f.pages]), (0, b.useEffect)(() => {
@@ -58852,13 +58852,13 @@ function EDe({ 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()), qB(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), JB(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : B(e.error)}`);
}
},
onError: (e) => r.setError(B(e))
- }), m = (0, b.useMemo)(() => TDe(a), [a]), h = (0, b.useRef)({
+ }), m = (0, b.useMemo)(() => wDe(a), [a]), h = (0, b.useRef)({
readOnly: e,
shared: m,
busy: null,
@@ -58870,34 +58870,34 @@ function EDe({ readOnly: e, toast: t }) {
readOnly: e,
shared: m,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Er(e.id, t, n), () => void qB()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => Or(t, [e.id]), () => void qB()),
- remove: (e) => void YB([e], async () => {
- await Dr(e.id), t(`已移除订阅源「${JB(e)}」`), qB();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Er(e.id, t, n), () => void JB()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => Or(t, [e.id]), () => void JB()),
+ remove: (e) => void XB([e], async () => {
+ await Dr(e.id), t(`已移除订阅源「${YB(e)}」`), JB();
})
};
let g = (0, b.useMemo)(() => {
- let e = Zz(), t = (e) => () => yDe[e] || e;
+ let e = Qz(), t = (e) => () => vDe[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(kL, {
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(AL, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${JB(e.row.original)}`
+ "aria-label": `选择 ${YB(e.row.original)}`
})
}),
- e.accessor(JB, {
+ e.accessor(YB, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = wDe(e.row.original, h.current.shared);
+ let t = CDe(e.row.original, h.current.shared);
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, x.jsx)(CDe, { source: e.row.original }),
+ /* @__PURE__ */ (0, x.jsx)(SDe, { source: e.row.original }),
e.getValue(),
t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -58925,13 +58925,13 @@ function EDe({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: xDe(e.getValue())
+ children: bDe(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(SDe, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(xDe, { source: e.row.original })
}),
e.accessor((e) => see(e.interval_minutes), {
id: "interval",
@@ -58963,8 +58963,8 @@ function EDe({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(HB, {
- "aria-label": `启用 ${JB(e.row.original)}`,
+ /* @__PURE__ */ (0, x.jsx)(UB, {
+ "aria-label": `启用 ${YB(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: h.current.readOnly,
onChange: (t) => h.current.toggle(e.row.original, t)
@@ -58973,8 +58973,8 @@ function EDe({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: gk,
- "aria-label": `拉取 ${JB(e.row.original)}`,
+ leadingIcon: _k,
+ "aria-label": `拉取 ${YB(e.row.original)}`,
disabled: h.current.readOnly,
...q(h.current.busy === `check-${e.row.original.id}`),
onClick: () => h.current.fetch(e.row.original)
@@ -58983,8 +58983,8 @@ function EDe({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: dk,
- "aria-label": `移除 ${JB(e.row.original)}`,
+ leadingIcon: fk,
+ "aria-label": `移除 ${YB(e.row.original)}`,
disabled: h.current.readOnly,
onClick: () => h.current.remove(e.row.original)
})
@@ -58992,7 +58992,7 @@ function EDe({ readOnly: e, toast: t }) {
})
})
];
- }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = VB({
+ }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = HB({
data: a,
columns: g,
getRowId: (e) => String(e.id),
@@ -59008,27 +59008,27 @@ function EDe({ 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: RB(),
- getPaginationRowModel: zB()
+ getCoreRowModel: zB(),
+ getPaginationRowModel: BB()
});
if (!i) return n.error ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "打不开订阅源",
children: B(n.error)
- }) : /* @__PURE__ */ (0, x.jsx)(oA, { children: "正在读订阅源。" });
- let y = () => void r.run("check", (e) => Or(e), () => void qB()), S = (e) => s((t) => {
+ }) : /* @__PURE__ */ (0, x.jsx)(sA, { children: "正在读订阅源。" });
+ let y = () => void r.run("check", (e) => Or(e), () => void JB()), S = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), C = a.filter((e) => o.has(e.id)), w = a.filter((e) => e.last_error);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, x.jsx)(fDe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(dDe, {
readOnly: e,
toast: t,
- onAdded: () => void qB()
+ onAdded: () => void JB()
}), /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: Kk({
+ className: qk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -59062,11 +59062,11 @@ function EDe({ readOnly: e, toast: t }) {
children: w.map((e) => /* @__PURE__ */ (0, x.jsx)("li", {
className: "min-w-0 truncate",
title: e.last_error || "",
- children: `${JB(e)}:${Xn(e.last_error || "") || "未说明原因"}`
+ children: `${YB(e)}:${Xn(e.last_error || "") || "未说明原因"}`
}, e.id))
}),
children: "这些订阅源这一轮没有取到新条目。"
- }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: r.error }) : null]
+ }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: r.error }) : null]
}) : null,
/* @__PURE__ */ (0, x.jsxs)(nT, {
visible: C.length > 0,
@@ -59100,7 +59100,7 @@ function EDe({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...q(p.isPending),
- onClick: () => void YB(C, () => p.mutateAsync({
+ onClick: () => void XB(C, () => p.mutateAsync({
ids: C.map((e) => e.id),
action: "remove"
})),
@@ -59114,26 +59114,26 @@ function EDe({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, x.jsx)(jL, {
+ a.length ? /* @__PURE__ */ (0, x.jsx)(ML, {
onRowClick: (e) => S(Number(e)),
- children: /* @__PURE__ */ (0, x.jsxs)(AL, {
+ children: /* @__PURE__ */ (0, x.jsxs)(jL, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsx)(dN, { children: v.getHeaderGroups()[0].headers.map((e) => {
- let t = BB(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(fN, { children: v.getHeaderGroups()[0].headers.map((e) => {
+ let t = VB(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, x.jsx)(pN, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: bDe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(Rb, { children: t }) : t
+ children: yDe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(Rb, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, x.jsx)(mN, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(_N, {
+ }) }), /* @__PURE__ */ (0, x.jsx)(hN, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(vN, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(yN, { children: BB(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(bN, { children: VB(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: qme,
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
+ icon: Kme,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -59145,19 +59145,19 @@ function EDe({ readOnly: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 个订阅源`
}),
- /* @__PURE__ */ (0, x.jsx)(SL, {
+ /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(u),
onSelectionChange: (e) => {
e !== null && (d(Number(e)), l(1));
},
- children: Hn.map((e) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: Hn.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(KB, {
+ /* @__PURE__ */ (0, x.jsx)(qB, {
label: "JAV 订阅分页",
page: f.page,
pages: f.pages,
@@ -59179,14 +59179,14 @@ function EDe({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var XB = [
+var ZB = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], ZB = (e) => XB.some(([t]) => t === e);
-function QB({ term: e, figure: t, unit: n }) {
+], QB = (e) => ZB.some(([t]) => t === e);
+function $B({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: qk({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -59206,8 +59206,8 @@ function QB({ term: e, figure: t, unit: n }) {
})]
});
}
-function DDe(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(ZB(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => pn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => pn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(oee(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(Wn(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = ut({
+function EDe(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(QB(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => pn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => pn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(oee(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(Wn(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = ut({
queryKey: In,
queryFn: ({ signal: e }) => dr(e)
}), E = ut({
@@ -59235,7 +59235,7 @@ function DDe(e) {
dir: r === dn[n] ? "" : r
});
}, M = ir(A), N = A.filter(Yn).length, P = A.filter((e) => e.enabled).length, ee = (k.providers || []).filter((e) => e.requirement === "required" && !Ur(e)).length, F = new Set((D.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
+ return /* @__PURE__ */ (0, x.jsxs)(Xk, { children: [
o ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "本机只能浏览",
@@ -59250,64 +59250,64 @@ function DDe(e) {
children: s
}) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: Yxe,
+ className: Jxe,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, x.jsx)(QB, {
+ /* @__PURE__ */ (0, x.jsx)($B, {
term: "关注创作者",
figure: M.length,
unit: "位"
}),
- /* @__PURE__ */ (0, x.jsx)(QB, {
+ /* @__PURE__ */ (0, x.jsx)($B, {
term: "启用来源",
figure: P,
unit: `/ ${A.length}`
}),
- /* @__PURE__ */ (0, x.jsx)(QB, {
+ /* @__PURE__ */ (0, x.jsx)($B, {
term: "检查失败",
figure: N,
unit: "个来源"
}),
- /* @__PURE__ */ (0, x.jsx)(QB, {
+ /* @__PURE__ */ (0, x.jsx)($B, {
term: "未看更新",
figure: O.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, x.jsx)(QB, {
+ /* @__PURE__ */ (0, x.jsx)($B, {
term: "JAV 订阅",
figure: F,
unit: "位"
}),
- /* @__PURE__ */ (0, x.jsx)(QB, {
+ /* @__PURE__ */ (0, x.jsx)($B, {
term: "未看新作",
figure: D.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(CN, {
+ /* @__PURE__ */ (0, x.jsxs)(wN, {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
- ZB(t) && (u(t), j({ tab: t }));
+ QB(t) && (u(t), j({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, x.jsx)(wN, {
+ /* @__PURE__ */ (0, x.jsx)(TN, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: XB.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(TN, {
+ children: ZB.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EN, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: t
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(DN, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)(vDe, {
+ children: /* @__PURE__ */ (0, x.jsx)(_De, {
data: O,
sort: p,
dir: h,
@@ -59337,16 +59337,16 @@ function DDe(e) {
}
})
}),
- /* @__PURE__ */ (0, x.jsxs)(EN, {
+ /* @__PURE__ */ (0, x.jsxs)(DN, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, x.jsx)(CEe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(SEe, {
data: O,
credentials: k,
readOnly: o,
toast: r,
openCredentials: a
- }), /* @__PURE__ */ (0, x.jsx)(EEe, {
+ }), /* @__PURE__ */ (0, x.jsx)(TEe, {
groups: O.author_aliases || [],
readOnly: o,
toast: r,
@@ -59354,10 +59354,10 @@ function DDe(e) {
sources: O.sources
})]
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(DN, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)(EDe, {
+ children: /* @__PURE__ */ (0, x.jsx)(TDe, {
readOnly: o,
toast: r
})
@@ -59373,15 +59373,15 @@ function DDe(e) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function $B({ value: e }) {
+function eV({ value: e }) {
return /* @__PURE__ */ (0, x.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 ODe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function eV({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+var DDe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function tV({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
let a = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let e = a.current;
@@ -59405,14 +59405,14 @@ function eV({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
},
className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,
children: e.map((e) => {
- let n = e.symbol ? IN(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? LN(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: ODe,
+ className: DDe,
onClick: () => {
i || r(e.value);
},
@@ -59423,12 +59423,12 @@ function eV({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
}
//#endregion
//#region src/react/index/index-tags.tsx
-var tV = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var nV = () => /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function kDe({ tag: e, actions: t }) {
+function ODe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -59436,13 +59436,13 @@ function kDe({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": vR(t.online, e.cat),
+ "data-tag-cat": yR(t.online, e.cat),
"aria-pressed": n,
title: e.label,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 flex-1 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, x.jsx)(tV, {}),
+ /* @__PURE__ */ (0, x.jsx)(nV, {}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -59452,7 +59452,7 @@ function kDe({ tag: e, actions: t }) {
children: e.n.toLocaleString()
})
]
- }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(GN, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(KN, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -59460,23 +59460,23 @@ function kDe({ tag: e, actions: t }) {
} })]
});
}
-function ADe({ groups: e, actions: t }) {
+function kDe({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, x.jsxs)("section", {
"data-alpha-group": r,
- className: Kk({
+ className: qk({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, x.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, x.jsx)($B, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, x.jsx)(eV, { value: n.length })]
}), /* @__PURE__ */ (0, x.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(kDe, {
+ children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(ODe, {
tag: e,
actions: t
}, e.k))
@@ -59484,8 +59484,8 @@ function ADe({ groups: e, actions: t }) {
}, e))
});
}
-var jDe = "\xA0";
-function MDe({ tags: e, actions: t }) {
+var ADe = "\xA0";
+function jDe({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -59495,16 +59495,16 @@ function MDe({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": vR(t.online, e.cat),
+ "data-tag-cat": yR(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 + jDe, /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [e.label + ADe, /* @__PURE__ */ (0, x.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
})]
- }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(GN, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(KN, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -59513,7 +59513,7 @@ function MDe({ tags: e, actions: t }) {
}, e.k))
});
}
-var NDe = [[
+var MDe = [[
"cloud",
"标签云",
"tags"
@@ -59522,16 +59522,16 @@ var NDe = [[
"字母表",
"text-aa"
]];
-function PDe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, x.jsx)(RA, {
+function NDe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, x.jsx)(zA, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(zA, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(BA, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : vR(n, e),
+ "data-tag-cat": e === "all" ? "all" : yR(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, x.jsx)(tV, {}), r]
+ children: [/* @__PURE__ */ (0, x.jsx)(nV, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -59550,19 +59550,19 @@ function PDe({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(JM, {
+ /* @__PURE__ */ (0, x.jsx)(YM, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${QN}`,
- children: NDe.map(([e, t, n]) => {
- let r = IN(n);
- return /* @__PURE__ */ (0, x.jsx)(YM, {
+ className: `ml-auto ${$N}`,
+ children: MDe.map(([e, t, n]) => {
+ let r = LN(n);
+ return /* @__PURE__ */ (0, x.jsx)(XM, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: $N,
+ className: eP,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -59574,13 +59574,13 @@ function PDe({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function FDe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+function PDe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
return /* @__PURE__ */ (0, x.jsxs)(nT, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, x.jsx)(kL, {
+ /* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -59612,7 +59612,7 @@ function FDe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var IDe = [{
+var FDe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -59620,7 +59620,7 @@ var IDe = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], LDe = [{
+}], IDe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -59628,7 +59628,7 @@ var IDe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], RDe = [
+}], LDe = [
{
value: "performers",
label: "艺人",
@@ -59644,7 +59644,7 @@ var IDe = [{
label: "在线",
symbol: "rss"
}
-], zDe = {
+], RDe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -59664,20 +59664,20 @@ var IDe = [{
"layout-grid"
]]
};
-function BDe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, x.jsx)(YN, {
- "aria-label": `${sR[e]}索引版式`,
+function zDe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(XN, {
+ "aria-label": `${cR[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${XN}`,
- children: zDe[fR(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = IN(n);
- return /* @__PURE__ */ (0, x.jsx)(YM, {
+ className: `flex-none max-board-narrow:order-3 ${ZN}`,
+ children: RDe[pR(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = LN(n);
+ return /* @__PURE__ */ (0, x.jsx)(XM, {
value: e,
"aria-label": t,
- className: nye,
+ className: tye,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -59687,8 +59687,8 @@ function BDe({ kind: e, layout: t, onChange: n }) {
})
});
}
-var VDe = IN("search");
-function HDe({ label: e, value: t, onQuery: n }) {
+var BDe = LN("search");
+function VDe({ 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) => {
@@ -59703,15 +59703,15 @@ function HDe({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, x.jsx)(ON, {
+ children: /* @__PURE__ */ (0, x.jsx)(kN, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, x.jsx)(AN, {
+ children: /* @__PURE__ */ (0, x.jsx)(jN, {
type: "search",
- leadingIcon: VDe,
+ leadingIcon: BDe,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -59722,14 +59722,14 @@ function HDe({ label: e, value: t, onQuery: n }) {
})
});
}
-function UDe(e) {
- let [t, n] = (0, b.useState)(() => pR({
+function HDe(e) {
+ let [t, n] = (0, b.useState)(() => mR({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, b.useState)(e.layout), [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)("any"), l = (0, b.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = sR[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
+ })), [r, i] = (0, b.useState)(e.layout), [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)("any"), l = (0, b.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = cR[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
(0, b.useEffect)(() => {
if (t.kind === e.kind && t.scope === e.scope && t.category === e.category) return;
let n = !0;
@@ -59747,7 +59747,7 @@ function UDe(e) {
...r
};
y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = _R(mR(t)), w = ft({
+ }, C = vR(hR(t)), w = ft({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -59756,7 +59756,7 @@ function UDe(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: v ? ue : void 0
- }), T = RCe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = zCe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;
+ }), T = LCe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = RCe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;
A && !w.isPlaceholderData && (k.current = {
key: O,
counts: A
@@ -59768,14 +59768,14 @@ function UDe(e) {
let P = (0, b.useMemo)(() => u === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? HCe(P, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? VCe(P, (t) => e.tagLabel(t)) : [], [
P,
p,
u
]), F = (t) => {
i(t), e.savePreference({ layout: t });
- }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(eV, {
- tabs: LDe,
+ }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(tV, {
+ tabs: IDe,
value: f,
label: "词表",
onChange: (e) => {
@@ -59785,8 +59785,8 @@ function UDe(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : fR(u) ? /* @__PURE__ */ (0, x.jsx)(eV, {
- tabs: IDe,
+ }) : pR(u) ? /* @__PURE__ */ (0, x.jsx)(tV, {
+ tabs: FDe,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -59795,7 +59795,7 @@ function UDe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : P.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");
- }, ne = (g ? lR : cR).filter(N);
+ }, ne = (g ? uR : lR).filter(N);
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -59810,22 +59810,22 @@ function UDe(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: h
}),
- dR(u) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ fR(u) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending || w.isError ? "" : D
}) : null,
- dR(u) ? /* @__PURE__ */ (0, x.jsx)(BDe, {
+ fR(u) ? /* @__PURE__ */ (0, x.jsx)(zDe, {
kind: u,
layout: r,
onChange: F
}) : null,
- /* @__PURE__ */ (0, x.jsx)(KN, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
+ /* @__PURE__ */ (0, x.jsx)(qN, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, x.jsx)(HDe, {
+ /* @__PURE__ */ (0, x.jsx)(VDe, {
label: `过滤${h}`,
value: d,
onQuery: (e) => {
@@ -59834,8 +59834,8 @@ function UDe(e) {
})
]
}),
- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(eV, {
- tabs: RDe,
+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(tV, {
+ tabs: LDe,
value: _ ? "online" : u,
label: "人物名册",
onChange: (t) => {
@@ -59849,8 +59849,8 @@ function UDe(e) {
te,
u === "performers" && f === "local" ? /* @__PURE__ */ (0, x.jsx)("div", {
"aria-label": "身份分类",
- className: oR,
- children: aR.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
+ className: sR,
+ children: oR.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
variant: m === e ? "primary" : "secondary",
size: "small",
"aria-pressed": m === e,
@@ -59858,7 +59858,7 @@ function UDe(e) {
children: t
}, e))
}) : null,
- u === "tags" ? /* @__PURE__ */ (0, x.jsx)(PDe, {
+ u === "tags" ? /* @__PURE__ */ (0, x.jsx)(NDe, {
categories: ne,
category: m,
online: g,
@@ -59883,8 +59883,8 @@ function UDe(e) {
mode: p
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: IN("alert"),
+ if (w.isError) return /* @__PURE__ */ (0, x.jsx)(Jk, {
+ icon: LN("alert"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -59893,18 +59893,18 @@ function UDe(e) {
}),
children: Tt(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, x.jsx)(GDe, {
+ if (!T.length) return /* @__PURE__ */ (0, x.jsx)(WDe, {
kind: u,
filtered: !!d || m !== "all",
online: g || _,
configurable: e.configurable
});
- if (_) return /* @__PURE__ */ (0, x.jsx)(GCe, {
+ if (_) return /* @__PURE__ */ (0, x.jsx)(WCe, {
items: T,
layout: r,
props: e
});
- if (dR(u)) return /* @__PURE__ */ (0, x.jsx)(xR, {
+ if (fR(u)) return /* @__PURE__ */ (0, x.jsx)(SR, {
kind: u,
items: T,
layout: r,
@@ -59915,10 +59915,10 @@ function UDe(e) {
picked: a,
press: I
};
- return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(ADe, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(kDe, {
groups: ee,
actions: t
- }) : /* @__PURE__ */ (0, x.jsx)(MDe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(jDe, {
tags: P,
actions: t
});
@@ -59933,13 +59933,13 @@ function UDe(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(Jk, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(Yk, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(FDe, {
+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(PDe, {
count: a.size,
match: s,
onMatch: c,
@@ -59952,31 +59952,31 @@ function UDe(e) {
]
});
}
-var WDe = {
+var UDe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所"
};
-function GDe({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: IN("search"),
+function WDe({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, x.jsx)(Jk, {
+ icon: LN("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : WDe[e], a = /* @__PURE__ */ (0, x.jsx)(Gk, {
+ let i = n && e === "performers" ? "创作者" : UDe[e], a = /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: !r || n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: IN(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, x.jsx)(Jk, {
+ icon: LN(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [r ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
@@ -59986,15 +59986,15 @@ function GDe({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var nV = {
+var rV = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, KDe = (e) => nV[e.junk_kind || "other"] || nV.other;
-function qDe(e) {
+}, GDe = (e) => rV[e.junk_kind || "other"] || rV.other;
+function KDe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -60005,21 +60005,21 @@ function qDe(e) {
glyph: "check"
};
}
-var rV = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), JDe = (e, t) => [
+var iV = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), qDe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function YDe({ kind: e, view: t }) {
+function JDe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function XDe(e, t) {
- let n = await V(`/api/ads?${YDe(e)}`, t);
+async function YDe(e, t) {
+ let n = await V(`/api/ads?${JDe(e)}`, t);
return {
...n,
items: n.items || []
@@ -60027,19 +60027,19 @@ async function XDe(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function iV({ name: e }) {
+function aV({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-var aV = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function ZDe({ 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] = KDe(e), m = String(e.name || ""), h = qDe(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]") || aV(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var oV = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function XDe({ 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] = GDe(e), m = String(e.name || ""), h = KDe(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]") || oV(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), aV(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), oV(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
}, S = (t) => {
t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));
}, C = (t) => (n) => {
@@ -60070,7 +60070,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: AP,
+ onMouseDown: jP,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
@@ -60078,7 +60078,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, x.jsx)(iV, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, x.jsx)(aV, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-art": "thumb",
@@ -60090,7 +60090,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(iV, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(aV, { name: "check" })
})
]
}),
@@ -60127,7 +60127,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: eo("正在定位") }
- }) : /* @__PURE__ */ (0, x.jsx)(iV, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ }) : /* @__PURE__ */ (0, x.jsx)(aV, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -60139,7 +60139,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...w(h.operation),
onClick: C(h.operation),
- children: [/* @__PURE__ */ (0, x.jsx)(iV, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(aV, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -60151,7 +60151,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: C("dispose"),
- children: [/* @__PURE__ */ (0, x.jsx)(iV, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(aV, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -60166,7 +60166,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var QDe = (0, b.memo)(ZDe), oV = [
+var ZDe = (0, b.memo)(XDe), sV = [
[
"",
"全部",
@@ -60202,65 +60202,65 @@ var QDe = (0, b.memo)(ZDe), oV = [
"其它",
"hard-drive"
]
-], $De = (e) => oV.find(([t]) => t === e)?.[0] ?? "";
-function sV(e) {
+], QDe = (e) => sV.find(([t]) => t === e)?.[0] ?? "";
+function cV(e) {
let t = new URLSearchParams(e);
return {
- kind: $De(t.get("type")),
+ kind: QDe(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function cV(e = "", t = "pending") {
+function lV(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 lV(e) {
+function uV(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: cV("", "pending")
+ href: lV("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: cV("", "dismissed")
+ href: lV("", "dismissed")
};
}
-var uV = (e) => e === "dismissed" ? "已排除" : "待判断", dV = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function eOe({ kind: e, view: t }) {
- let n = oV.map(([n, r, i]) => `<a href="${cV(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${dV(i)}${z(r)}</a>`).join(""), r = lV(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${eL(uV(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${dV(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var dV = (e) => e === "dismissed" ? "已排除" : "待判断", fV = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function $De({ kind: e, view: t }) {
+ let n = sV.map(([n, r, i]) => `<a href="${lV(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${fV(i)}${z(r)}</a>`).join(""), r = uV(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${tL(dV(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${fV(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function fV({ name: e }) {
+function pV({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function pV({ scope: e, count: t }) {
+function mV({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function tOe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = mL(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = UA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? oV.map(([e]) => rV(t, e)).join(",") : ""}`), l = lV(s), u = (e) => {
+function eOe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = hL(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = WA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? sV.map(([e]) => iV(t, e)).join(",") : ""}`), l = uV(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") || cV()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || lV()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, x.jsx)(Nz, {
- label: uV(s),
+ children: /* @__PURE__ */ (0, x.jsx)(Pz, {
+ label: dV(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -60280,17 +60280,17 @@ function tOe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- oV.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {
- href: cV(e, s),
+ sV.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {
+ href: lV(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, x.jsx)(fV, { name: r }),
+ /* @__PURE__ */ (0, x.jsx)(pV, { name: r }),
n,
- /* @__PURE__ */ (0, x.jsx)(pV, {
+ /* @__PURE__ */ (0, x.jsx)(mV, {
scope: e,
- count: t ? rV(t, e) : 0
+ count: t ? iV(t, e) : 0
})
]
}, e || "all")),
@@ -60304,9 +60304,9 @@ function tOe({ 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, x.jsx)(fV, { name: l.glyph }),
+ /* @__PURE__ */ (0, x.jsx)(pV, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, x.jsx)(pV, {
+ /* @__PURE__ */ (0, x.jsx)(mV, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -60319,33 +60319,33 @@ function tOe({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var nOe = IN("check"), rOe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function iOe(e) {
+var tOe = LN("check"), nOe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function rOe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = ut({
- queryKey: JDe(t, e.revision),
- queryFn: ({ signal: e }) => XDe(t, e),
- placeholderData: (e, n) => n && rOe(n.queryKey, t) ? e : void 0
+ queryKey: qDe(t, e.revision),
+ queryFn: ({ signal: e }) => YDe(t, e),
+ placeholderData: (e, n) => n && nOe(n.queryKey, t) ? e : void 0
});
(0, b.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = aOe(e.countRow), i = n.isPending;
+ let r = iOe(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 && fo(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(tOe, {
+ let { navigate: a } = e.actions, o = r ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(eOe, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(oOe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(aOe, {
props: e,
data: n.data,
pending: i,
@@ -60353,7 +60353,7 @@ function iOe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function aOe(e) {
+function iOe(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -60363,8 +60363,8 @@ function aOe(e) {
};
}, [e]), t;
}
-function oOe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = EP(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 aOe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = DP(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, x.jsxs)("div", {
@@ -60372,14 +60372,14 @@ function oOe({ 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, x.jsx)(DP, {
+ if (!t) return /* @__PURE__ */ (0, x.jsx)(OP, {
message: Tt(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: nOe,
+ return /* @__PURE__ */ (0, x.jsx)(Jk, {
+ icon: tOe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -60389,7 +60389,7 @@ function oOe({ 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, x.jsx)(QDe, {
+ children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(ZDe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -60398,7 +60398,7 @@ function oOe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(sOe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(oOe, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -60408,7 +60408,7 @@ function oOe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function sOe({ onMore: e }) {
+function oOe({ onMore: e }) {
let t = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
let n = t.current;
@@ -60426,7 +60426,7 @@ function sOe({ onMore: e }) {
}
//#endregion
//#region src/react/components/source-avatar.tsx
-function mV({ code: e, person: t, detail: n = !1 }) {
+function hV({ code: e, person: t, detail: n = !1 }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(n || typeof IntersectionObserver > "u");
(0, b.useEffect)(() => {
if (!r.current || i) return;
@@ -60460,9 +60460,9 @@ function mV({ code: e, person: t, detail: n = !1 }) {
}
//#endregion
//#region src/react/jav/discovery-faces.tsx
-function cOe({ item: e }) {
+function sOe({ item: e }) {
let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e })), n = t.slice(0, 5).map((t) => {
- let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, x.jsx)(mV, {
+ let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, x.jsx)(hV, {
code: e.code,
person: t
}) } : { dangerouslySetInnerHTML: { __html: aa(t.name, t, null) } };
@@ -60484,18 +60484,18 @@ function cOe({ item: e }) {
}
//#endregion
//#region src/react/jav/jav-navigation.ts
-var hV = [
+var gV = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], gV = (e) => hV.some(([t]) => t === e) ? e : "library", lOe = (e) => gV(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function uOe(e) {
+], _V = (e) => gV.some(([t]) => t === e) ? e : "library", cOe = (e) => _V(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function lOe(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
//#endregion
//#region src/react/jav/discovery-sorts.ts
-var _V = [
+var vV = [
[
"taste",
"口味",
@@ -60522,10 +60522,10 @@ var _V = [
"按番号排序"
]
];
-function vV(e) {
+function yV(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function dOe(e) {
+function uOe(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -60551,8 +60551,8 @@ function dOe(e) {
}
//#endregion
//#region src/jav-skeleton.ts
-var yV = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, fOe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, bV = "w-full min-w-0";
-function xV() {
+var bV = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, dOe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, xV = "w-full min-w-0";
+function SV() {
return [
"w-20",
"w-16",
@@ -60562,8 +60562,8 @@ function xV() {
"w-24"
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-7.5 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
-function SV(e, t = qT()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${yV("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${fOe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${yV("80%")}${yV("60%")}${yV("40%")}</div></div>`).join("")}</div>`;
+function CV(e, t = qT()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${bV("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${dOe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${bV("80%")}${bV("60%")}${bV("40%")}</div></div>`).join("")}</div>`;
let n = tE({
...eE({
active: !0,
@@ -60572,58 +60572,58 @@ function SV(e, t = qT()) {
}),
size: t
});
- return `<div data-media-grid class="${bV}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">
+ return `<div data-media-grid class="${xV}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">
<span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span>
<div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>
- <div data-media-title>${yV("85%")}${yV("65%")}</div><div data-media-byline>${yV("55%")}</div>
+ <div data-media-title>${bV("85%")}${bV("65%")}</div><div data-media-byline>${bV("55%")}</div>
<div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div>
</div></div>
<div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div>
</div>`).join("")}</div>`;
}
-function pOe(e) {
+function fOe(e) {
let t = e === "wants" ? "筛选想要" : "筛选推荐";
return `<div class="peach-react"><div class="flex w-full flex-col gap-6">
- <div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${QI({
+ <div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${$I({
variant: "primary",
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${hV.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
- <form aria-label="${t}">${ZI("筛选番号、女优或标题", "", t)}</form>
- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${yV("100%")}</div>${SV(e)}` : `<section class="flex min-w-0 flex-col gap-4">${mOe()}${SV(e)}</section>`}</div></div>`;
+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${gV.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
+ <form aria-label="${t}">${QI("筛选番号、女优或标题", "", t)}</form>
+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${bV("100%")}</div>${CV(e)}` : `<section class="flex min-w-0 flex-col gap-4">${pOe()}${CV(e)}</section>`}</div></div>`;
}
-function mOe() {
- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${qT() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${XI(t, "size-4")}</span>`;
+function pOe() {
+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${qT() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${ZI(t, "size-4")}</span>`;
return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">
- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${xV()}</div></div>
+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${SV()}</div></div>
</div>
<div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2">
<span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>
- <span data-entity-sorts><button type="button" data-entity-batch data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${XI("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>
- ${_V.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? XI("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ <span data-entity-sorts><button type="button" data-entity-batch data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${ZI("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>
+ ${vV.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? ZI("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
//#endregion
//#region src/react/activity/work-code.ts
-var CV = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), wV = (e, t) => !!CV(e) && CV(e) === CV(t);
+var wV = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), TV = (e, t) => !!wV(e) && wV(e) === wV(t);
//#endregion
//#region src/react/activity/resource-search.tsx
-function hOe({ className: e }) {
+function mOe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: eo("") }
});
}
-function gOe(e) {
+function hOe(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => gOe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = Qk(), S = (0, b.useRef)(null);
+function gOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => hOe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = $k(), S = (0, b.useRef)(null);
(0, b.useEffect)(() => () => S.current?.abort(), []);
let C = () => {
if (!a.trim() || y.busy) return;
@@ -60639,7 +60639,7 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
S.current = e, V(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => wV(e.code, t));
+ let r = (n.items || []).find((e) => TV(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -60660,18 +60660,18 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
"aria-busy": !!y.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ t ? /* @__PURE__ */ (0, x.jsxs)(sA, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? hOe : _k,
+ leadingIcon: y.busy ? mOe : vk,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -60681,7 +60681,7 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(cA, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(SL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(lA, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(CL, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -60689,15 +60689,15 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, x.jsx)(CL, {
+ /* @__PURE__ */ (0, x.jsx)(wL, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, x.jsx)(CL, {
+ /* @__PURE__ */ (0, x.jsx)(wL, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, x.jsx)(CL, {
+ /* @__PURE__ */ (0, x.jsx)(wL, {
id: "uncensored",
children: "无码"
})
@@ -60706,32 +60706,32 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, x.jsx)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(MN, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, x.jsx)(jN, {
+ }), /* @__PURE__ */ (0, x.jsx)(MN, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, x.jsx)(oA, {
+ y.busy ? /* @__PURE__ */ (0, x.jsx)(sA, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, x.jsx)(oA, {
+ y.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, x.jsx)(sA, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(oA, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(sA, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(oA, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(sA, { children: e }, e)),
p?.items.length ? /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: p.items.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
@@ -60741,7 +60741,7 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -60766,19 +60766,19 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}
//#endregion
//#region src/react/activity/cloud-download-dialog.tsx
-var vOe = {
+var _Oe = {
submitted: "已提交离线下载,进度在任务中心",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "远端已有同一任务,已接管"
};
-function TV({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, x.jsx)(NN, {
+function EV({ prefill: e, close: t, receipt: n, provider: r }) {
+ return /* @__PURE__ */ (0, x.jsx)(PN, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, x.jsx)(yOe, {
+ children: e ? /* @__PURE__ */ (0, x.jsx)(vOe, {
prefill: e,
close: t,
receipt: n,
@@ -60786,26 +60786,26 @@ function TV({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function yOe({ prefill: e, close: t, receipt: n, provider: r }) {
+function vOe({ prefill: e, close: t, receipt: n, provider: r }) {
let i = ut({
- queryKey: OA,
- queryFn: ({ signal: e }) => V(`${DA}?limit=50`, e),
- refetchInterval: (e) => kA(e.state.data)
+ queryKey: kA,
+ queryFn: ({ signal: e }) => V(`${OA}?limit=50`, e),
+ refetchInterval: (e) => AA(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, x.jsx)(uj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(dj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: ck,
+ leadingIcon: lk,
"aria-label": "关闭资源面板",
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, x.jsx)(bOe, {
+ return a ? /* @__PURE__ */ (0, x.jsx)(yOe, {
header: o,
snapshot: a,
prefill: e,
@@ -60834,8 +60834,8 @@ function yOe({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
- let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c?.key || "pikpak"), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c?.target || ""), [_, v] = (0, b.useState)(n.code ? n : null), [y, S] = (0, b.useState)(""), w = t.available && s.some((e) => e.key === l), T = Qk(), E = (0, b.useRef)(null), D = (e) => {
+function yOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+ let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c?.key || "pikpak"), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c?.target || ""), [_, v] = (0, b.useState)(n.code ? n : null), [y, S] = (0, b.useState)(""), w = t.available && s.some((e) => e.key === l), T = $k(), E = (0, b.useRef)(null), D = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
return /* @__PURE__ */ (0, x.jsxs)("form", {
@@ -60851,14 +60851,14 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- S(""), T.run("submit", (e) => H(DA, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: OA });
- let t = vOe[e.outcome];
+ S(""), T.run("submit", (e) => H(OA, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: kA });
+ let t = _Oe[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = AA(e.task);
+ let n = jA(e.task);
S(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -60882,7 +60882,7 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: [/* @__PURE__ */ (0, x.jsx)("p", {
className: "break-words text-body-medium text-text-primary",
children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"
- }), _ ? /* @__PURE__ */ (0, x.jsx)(oA, { children: [
+ }), _ ? /* @__PURE__ */ (0, x.jsx)(sA, { children: [
_.performers,
_.studio,
_.release_date,
@@ -60890,22 +60890,22 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(_Oe, {
+ /* @__PURE__ */ (0, x.jsx)(gOe, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- wV(e, _?.code) || (v(wV(e, n.code) ? n : null), f("")), m(e);
+ TV(e, _?.code) || (v(TV(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? wV(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? TV(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : wV(t?.code, n.code) ? t : null),
+ } : e : TV(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), E.current?.focus();
}
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
ref: E,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -60917,24 +60917,24 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "下载到" }),
- /* @__PURE__ */ (0, x.jsx)(SL, {
+ /* @__PURE__ */ (0, x.jsx)(lA, { children: "下载到" }),
+ /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "下载到",
selectedKey: l,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && D(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, x.jsx)(EA, {
+ children: /* @__PURE__ */ (0, x.jsx)(DA, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, x.jsx)(oA, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, x.jsx)(sA, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
t.available ? null : /* @__PURE__ */ (0, x.jsx)(K, {
@@ -60948,7 +60948,7 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -60956,17 +60956,17 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, x.jsx)(jN, {
+ n.code ? null : /* @__PURE__ */ (0, x.jsx)(MN, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), wV(e, _?.code) || v(null);
+ m(e), TV(e, _?.code) || v(null);
}
}),
- y || T.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: y || T.error }) : null
+ y || T.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: y || T.error }) : null
]
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -60987,18 +60987,18 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}
//#endregion
//#region src/react/wants/wants.ts
-var EV = "/api/wants", DV = ["wants"], xOe = (e) => [
+var DV = "/api/wants", OV = ["wants"], bOe = (e) => [
"wants",
"follow",
e
-], SOe = [
+], xOe = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], OV = (e) => V(EV, e);
-function COe(e, t) {
- U.setQueryData(DV, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+], kV = (e) => V(DV, e);
+function SOe(e, t) {
+ U.setQueryData(OV, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -61006,26 +61006,26 @@ function COe(e, t) {
} : n)
} : n);
}
-var wOe = (e, t) => V(`${EV}?follow=${encodeURIComponent(e)}`, t), kV = (e, t) => H(EV, {
+var COe = (e, t) => V(`${DV}?follow=${encodeURIComponent(e)}`, t), AV = (e, t) => H(DV, {
action: "add",
...e
-}, "POST", t), AV = (e, t) => H(EV, {
+}, "POST", t), jV = (e, t) => H(DV, {
action: "remove",
ids: e
-}, "POST", t), TOe = (e, t) => H(EV, {
+}, "POST", t), wOe = (e, t) => H(DV, {
action: "reset",
ids: e
-}, "POST", t), jV = () => U.invalidateQueries({ queryKey: DV }), MV = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function EOe(e) {
+}, "POST", t), MV = () => U.invalidateQueries({ queryKey: OV }), NV = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function TOe(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/publication-cache.ts
-var NV = 864e5, PV = (e) => {
+var PV = 864e5, FV = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function FV(e) {
+function IV(e) {
let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");
if (!t) return;
let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));
@@ -61033,26 +61033,26 @@ function FV(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function DOe(e, t = Date.now()) {
- let n = FV(e);
- return n !== void 0 && PV(t) > n ? Infinity : NV;
+function EOe(e, t = Date.now()) {
+ let n = IV(e);
+ return n !== void 0 && FV(t) > n ? Infinity : PV;
}
-function IV(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : DOe(t, n) === Infinity ? PV(e) > FV(t) : n - e < NV;
+function LV(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : EOe(t, n) === Infinity ? FV(e) > IV(t) : n - e < PV;
}
//#endregion
//#region src/react/wants/resource-cache.ts
-var LV = "peach.want-resources.v1";
-function RV(e) {
+var RV = "peach.want-resources.v1";
+function zV(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function zV(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !RV(e) ? Date.now() - t < 6e4 : IV(t, n));
+function BV(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !zV(e) ? Date.now() - t < 6e4 : LV(t, n));
}
-function BV() {
+function VV() {
try {
- let e = JSON.parse(localStorage.getItem(LV) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && RV(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(RV) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && zV(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -61061,23 +61061,23 @@ function BV() {
return [];
}
}
-function OOe(e, t) {
- let n = BV().find((t) => t.code === e);
- return n && IV(n.saved, t) ? n : void 0;
+function DOe(e, t) {
+ let n = VV().find((t) => t.code === e);
+ return n && LV(n.saved, t) ? n : void 0;
}
-function kOe(e) {
- let t = new Map(BV().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function OOe(e) {
+ let t = new Map(VV().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
for (let r of e) {
if (!r.code) continue;
let e = t.get(`all-sources:${r.code}`);
- e && IV(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && LV(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function AOe(e, t) {
- if (t.state === "ready" && RV(t)) try {
- let n = BV().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(LV, JSON.stringify([{
+function kOe(e, t) {
+ if (t.state === "ready" && zV(t)) try {
+ let n = VV().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(RV, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -61086,16 +61086,16 @@ function AOe(e, t) {
}
//#endregion
//#region src/react/wants/resource-display.ts
-function jOe(e) {
+function AOe(e) {
let t = /^([\d,]+)\s*B$/i.exec(e.trim());
return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? Xt(Number(t[1].replaceAll(",", ""))) : e || "大小未知";
}
-function MOe(e) {
+function jOe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
//#endregion
//#region src/react/wants/want-magnets.tsx
-function VV({ icon: e, children: t, title: n }) {
+function HV({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -61105,8 +61105,8 @@ function VV({ icon: e, children: t, title: n }) {
}), t]
});
}
-function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = Qk(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => OOe(h, e.release_date), [h, e.release_date]);
+function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = $k(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => DOe(h, e.release_date), [h, e.release_date]);
(0, b.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -61126,22 +61126,22 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
],
queryFn: async ({ signal: t }) => {
let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await V(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", AOe(h, i), i;
+ return m.current = n && i.state === "busy", kOe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => zV(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => BV(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !zV(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !BV(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
});
(0, b.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, b.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && COe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && SOe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -61149,7 +61149,7 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
]);
let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {
!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {
- let n = await H(DA, {
+ let n = await H(OA, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -61160,7 +61160,7 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: OA });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: kA });
});
}, S = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -61178,7 +61178,7 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: gk,
+ leadingIcon: _k,
...q(w),
onClick: () => {
w || (m.current = !0, _.refetch());
@@ -61186,7 +61186,7 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
children: "重新查询"
})]
}),
- w ? /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在查找资源链接…" }) : null,
+ w ? /* @__PURE__ */ (0, x.jsx)(Yk, { label: "正在查找资源链接…" }) : null,
T ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "资源链接未取得",
@@ -61194,13 +61194,13 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
- children: MOe(e)
+ children: jOe(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, x.jsx)(Gk, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "secondary",
size: "small",
className: "self-start",
- trailingIcon: fk,
+ trailingIcon: pk,
href: _.data.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -61225,7 +61225,7 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Uk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"
@@ -61239,26 +61239,26 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-facts": "",
className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, x.jsx)(VV, {
- icon: Gme,
+ /* @__PURE__ */ (0, x.jsx)(HV, {
+ icon: Wme,
children: e.source
}),
- /* @__PURE__ */ (0, x.jsx)(VV, {
- icon: pk,
+ /* @__PURE__ */ (0, x.jsx)(HV, {
+ icon: mk,
title: `来源大小:${e.size}`,
- children: jOe(e.size)
+ children: AOe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, x.jsx)(VV, {
- icon: Ime,
+ e.files ? /* @__PURE__ */ (0, x.jsx)(HV, {
+ icon: Fme,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, x.jsx)(VV, {
- icon: Ome,
+ /* @__PURE__ */ (0, x.jsx)(HV, {
+ icon: Dme,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, x.jsx)(VV, {
- icon: hk,
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, x.jsx)(HV, {
+ icon: gk,
children: e
}, e))
]
@@ -61270,7 +61270,7 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
e.protocol === "magnet" ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
size: "small",
- leadingIcon: v ? TA[v.key] : Mme,
+ leadingIcon: v ? EA[v.key] : jme,
title: v ? `下载到 ${v.label}` : void 0,
disabled: t || !n?.available || !v || r,
...q(f.busy === e.id),
@@ -61280,16 +61280,16 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
/* @__PURE__ */ (0, x.jsx)(G, {
variant: e.protocol === "magnet" ? "secondary" : "primary",
size: "small",
- leadingIcon: Fme,
+ leadingIcon: Pme,
...q(f.busy === `copy:${e.id}`),
onClick: () => S(e),
children: "复制链接"
}),
- /* @__PURE__ */ (0, x.jsx)(Gk, {
+ /* @__PURE__ */ (0, x.jsx)(Kk, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: fk,
+ trailingIcon: pk,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -61302,7 +61302,7 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(fA, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(pA, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -61315,21 +61315,21 @@ function HV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}
//#endregion
//#region src/react/wants/want-list.tsx
-var NOe = {
+var MOe = {
code: "手动添加",
feed: "订阅新作",
follow: "关注"
-}, POe = [
+}, NOe = [
["all", "全部"],
["available", "有磁链"],
["missing", "没磁链"]
-], UV = (e) => [
+], WV = (e) => [
e.release_date,
e.studio,
e.performers,
- NOe[e.origin]
+ MOe[e.origin]
].filter(Boolean).join(" · ");
-function FOe({ want: e }) {
+function POe({ want: e }) {
return /* @__PURE__ */ (0, x.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, x.jsx)("span", {
@@ -61345,39 +61345,39 @@ function FOe({ want: e }) {
}) : null]
});
}
-function IOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+function FOe({ 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, x.jsxs)("li", {
"data-want-id": e.id,
- className: Kk({
+ className: qk({
bordered: "soft",
className: "flex flex-col gap-4 max-sm:p-4"
}),
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-start gap-4 max-sm:gap-3",
- children: [/* @__PURE__ */ (0, x.jsx)(FOe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(POe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [
/* @__PURE__ */ (0, x.jsxs)("p", {
className: "flex min-w-0 flex-wrap items-baseline gap-x-2",
children: [/* @__PURE__ */ (0, x.jsx)("b", {
className: "min-w-0 text-headline-medium wrap-anywhere text-text-primary",
- children: MV(e)
+ children: NV(e)
}), e.code && e.title ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
children: e.title
}) : null]
}),
- UV(e) ? /* @__PURE__ */ (0, x.jsx)("p", {
+ WV(e) ? /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: UV(e)
+ children: WV(e)
}) : null,
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
- children: EOe(e)
+ children: TOe(e)
}) : null,
- e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(Kz, {
+ e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(qz, {
text: e.scrape_error,
prefix: "资料未取得:",
tone: "muted"
@@ -61402,17 +61402,17 @@ function IOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: dk,
+ leadingIcon: fk,
disabled: t,
...q(n === `remove:${e.id}`),
onClick: i,
children: "移除"
}),
- d ? /* @__PURE__ */ (0, x.jsx)(Gk, {
+ d ? /* @__PURE__ */ (0, x.jsx)(Kk, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: fk,
+ trailingIcon: pk,
href: d,
target: "_blank",
rel: "noopener noreferrer",
@@ -61422,7 +61422,7 @@ function IOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(HV, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(UV, {
want: e,
readOnly: t,
downloads: o,
@@ -61432,8 +61432,8 @@ function IOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}) : null]
});
}
-function LOe({ phase: e, label: t, rows: n, row: r }) {
- let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = kOe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = sr(d.length, 20, i);
+function IOe({ phase: e, label: t, rows: n, row: r }) {
+ let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = OOe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = sr(d.length, 20, i);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t,
"data-want-phase": e,
@@ -61447,19 +61447,19 @@ function LOe({ phase: e, label: t, rows: n, row: r }) {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: n.length.toLocaleString()
})]
- }), e === "searching" ? /* @__PURE__ */ (0, x.jsx)(YN, {
+ }), e === "searching" ? /* @__PURE__ */ (0, x.jsx)(XN, {
name: "want-magnet-filter",
"aria-label": "待找磁链筛选",
orientation: "horizontal",
value: o,
- className: XN,
+ className: ZN,
onChange: (e) => {
s(e), a(1);
},
- children: POe.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(YM, {
+ children: NOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(XM, {
value: e,
"aria-label": t,
- className: ZN,
+ className: QN,
children: [t, /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular tabular-nums text-text-tertiary",
children: (e === "all" ? n.length : e === "available" ? u.length : n.length - u.length).toLocaleString()
@@ -61467,9 +61467,9 @@ function LOe({ phase: e, label: t, rows: n, row: r }) {
}, e))
}) : null]
}),
- d.length ? null : /* @__PURE__ */ (0, x.jsx)(qk, {
+ d.length ? null : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: Jme,
+ icon: qme,
title: "暂无符合条件的作品",
children: null
}),
@@ -61483,7 +61483,7 @@ function LOe({ phase: e, label: t, rows: n, row: r }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 条`
- }), /* @__PURE__ */ (0, x.jsx)(KB, {
+ }), /* @__PURE__ */ (0, x.jsx)(qB, {
label: `${t}分页`,
page: f.page,
pages: f.pages,
@@ -61493,34 +61493,34 @@ function LOe({ phase: e, label: t, rows: n, row: r }) {
]
});
}
-function ROe({ readOnly: e, toast: t, query: n = "" }) {
- let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = Qk(), c = ut({
- queryKey: DV,
- queryFn: ({ signal: e }) => OV(e),
+function LOe({ readOnly: e, toast: t, query: n = "" }) {
+ let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = $k(), c = ut({
+ queryKey: OV,
+ queryFn: ({ signal: e }) => kV(e),
staleTime: 3e4,
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- n && !e && s.run("add", (e) => kV({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${MV(e.want)}` : `${MV(e.want)} 已经在想要里`), i(""), jV();
+ n && !e && s.run("add", (e) => AV({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${NV(e.want)}` : `${NV(e.want)} 已经在想要里`), i(""), MV();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => AV([e.id], t), () => {
- t(`已移除:${MV(e)}`), jV();
+ s.run(`remove:${e.id}`, (t) => jV([e.id], t), () => {
+ t(`已移除:${NV(e)}`), MV();
});
}, f = (e) => {
- s.run(`reset:${e.id}`, (t) => TOe([e.id], t), () => {
- t(`${MV(e)} 回到待找`), jV();
+ s.run(`reset:${e.id}`, (t) => wOe([e.id], t), () => {
+ t(`${NV(e)} 回到待找`), MV();
});
}, p = c.data, m = (p?.items || []).filter((e) => !n || [
e.code,
e.title,
e.performers
].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), h = ut({
- queryKey: OA,
- queryFn: ({ signal: e }) => V(`${DA}?limit=100`, e),
+ queryKey: kA,
+ queryFn: ({ signal: e }) => V(`${OA}?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[0]?.key || "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -61528,7 +61528,7 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: qk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -61541,7 +61541,7 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(MN, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -61572,9 +61572,9 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
c.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {
role: "status",
"aria-label": "正在读取想要",
- dangerouslySetInnerHTML: { __html: SV("wants") }
+ dangerouslySetInnerHTML: { __html: CV("wants") }
}) : null,
- p?.scraping ? /* @__PURE__ */ (0, x.jsx)(oA, {
+ p?.scraping ? /* @__PURE__ */ (0, x.jsx)(sA, {
role: "status",
children: "正在给刚加入的番号取资料与封面。"
}) : null,
@@ -61594,19 +61594,19 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
tone: "neutral",
children: "云下载只在账本写入端可用。"
}) : null,
- p && !m.length ? /* @__PURE__ */ (0, x.jsx)(qk, {
+ p && !m.length ? /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: Jme,
+ icon: qme,
title: n ? "没有符合条件的作品" : "还没有想要的作品",
children: n ? "试试其他番号、女优或标题。" : "输入番号,添加想看的作品。"
}) : null,
- SOe.map(([n, r]) => {
+ xOe.map(([n, r]) => {
let i = m.filter((e) => e.phase === n);
- return i.length ? /* @__PURE__ */ (0, x.jsx)(LOe, {
+ return i.length ? /* @__PURE__ */ (0, x.jsx)(IOe, {
phase: n,
label: r,
rows: i,
- row: (n) => /* @__PURE__ */ (0, x.jsx)(IOe, {
+ row: (n) => /* @__PURE__ */ (0, x.jsx)(FOe, {
want: n,
readOnly: e,
busy: s.busy,
@@ -61627,7 +61627,7 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
}, n.id)
}, n) : null;
}),
- /* @__PURE__ */ (0, x.jsx)(TV, {
+ /* @__PURE__ */ (0, x.jsx)(EV, {
prefill: a,
close: () => o(null),
receipt: t,
@@ -61638,13 +61638,13 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
}
//#endregion
//#region src/react/jav/jav.ts
-var WV = (e, t = "taste", n = "desc") => [
+var GV = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function GV(e, t, n = {}) {
+function KV(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -61653,29 +61653,29 @@ function GV(e, t, n = {}) {
});
return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), V(`/api/jav/discoveries?${r}`, t);
}
-function KV(e, t, n) {
+function qV(e, t, n) {
let r = fa({
...e,
is_jav: !0
}, t, !1, n);
return r.html || !e.cover_url ? r.html : ua(e, t).replace(/ src="[^"]*"/, ` src="${z(e.cover_url)}" referrerpolicy="no-referrer" data-jav-image="${e.id}" data-jav-cover="${z(e.cover_url)}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`);
}
-async function zOe(e, t) {
+async function ROe(e, t) {
e === "wants" ? await U.ensureQueryData({
- queryKey: DV,
- queryFn: () => OV(t),
+ queryKey: OV,
+ queryFn: () => kV(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await U.ensureQueryData({
- queryKey: WV("external"),
- queryFn: () => GV("external", t),
+ queryKey: GV("external"),
+ queryFn: () => KV("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
//#endregion
//#region src/react/jav/jav-header.tsx
-function qV({ tab: e, navigate: t, find: n }) {
+function JV({ tab: e, navigate: t, find: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -61689,25 +61689,25 @@ function qV({ tab: e, navigate: t, find: n }) {
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, x.jsx)(eV, {
- tabs: hV.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, x.jsx)(tV, {
+ tabs: gV.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(lOe(e))
+ onChange: (e) => t(cOe(e))
})]
});
}
-function BOe({ navigate: e, receipt: t }) {
+function zOe({ navigate: e, receipt: t }) {
let [n, r] = (0, b.useState)(null);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(qV, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(JV, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, x.jsx)(TV, {
+ }), /* @__PURE__ */ (0, x.jsx)(EV, {
prefill: n,
close: () => r(null),
receipt: t
@@ -61715,23 +61715,23 @@ function BOe({ navigate: e, receipt: t }) {
}
//#endregion
//#region src/react/jav/jav-page.tsx
-var VOe = IN("search");
-function JV(e) {
+var BOe = LN("search");
+function YV(e) {
let t = new URLSearchParams(location.search);
for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);
- ek(location.pathname + (t.size ? `?${t}` : ""), {
+ tk(location.pathname + (t.size ? `?${t}` : ""), {
replace: !0,
- state: $O.navigation.location.state
+ state: ek.navigation.location.state
});
}
-function HOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
+function VOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
let [i, a] = (0, b.useState)(null), [o, s] = (0, b.useState)(() => new URLSearchParams(location.search).get("q") || ""), c = (e) => {
- s(e), JV({ q: e });
+ s(e), YV({ q: e });
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full flex-col gap-6",
children: [
- /* @__PURE__ */ (0, x.jsx)(qV, {
+ /* @__PURE__ */ (0, x.jsx)(JV, {
tab: e,
navigate: n,
find: () => a({})
@@ -61741,29 +61741,29 @@ function HOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
onSubmit: (e) => {
e.preventDefault();
},
- children: /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(MN, {
type: "search",
"aria-label": e === "discover" ? "筛选推荐" : "筛选想要",
placeholder: "筛选番号、女优或标题",
- leadingIcon: VOe,
+ leadingIcon: BOe,
value: o,
onChange: c,
enterKeyHint: "search"
})
}),
- e === "discover" ? /* @__PURE__ */ (0, x.jsx)(UOe, {
+ e === "discover" ? /* @__PURE__ */ (0, x.jsx)(HOe, {
readOnly: t,
receipt: r,
resource: a,
query: o.trim(),
navigate: n,
clearText: () => c("")
- }) : /* @__PURE__ */ (0, x.jsx)(ROe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(LOe, {
readOnly: t,
toast: r,
query: o.trim()
}),
- /* @__PURE__ */ (0, x.jsx)(TV, {
+ /* @__PURE__ */ (0, x.jsx)(EV, {
prefill: i,
close: () => a(null),
receipt: r
@@ -61771,15 +61771,15 @@ function HOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
]
});
}
-function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
- let o = new URLSearchParams(location.search), [s, c] = (0, b.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, b.useState)(() => o.get("tag") || ""), [d, f] = (0, b.useState)(() => _V.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, b.useState)(() => o.get("dir") === "asc"), h = (e) => {
- c(e), JV({ scope: e === "external" ? "" : e });
+function HOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
+ let o = new URLSearchParams(location.search), [s, c] = (0, b.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, b.useState)(() => o.get("tag") || ""), [d, f] = (0, b.useState)(() => vV.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, b.useState)(() => o.get("dir") === "asc"), h = (e) => {
+ c(e), YV({ scope: e === "external" ? "" : e });
}, g = (e) => {
- u(e), JV({ tag: e });
+ u(e), YV({ tag: e });
}, _ = (e) => {
- f(e), JV({ sort: e === "taste" ? "" : e });
+ f(e), YV({ sort: e === "taste" ? "" : e });
}, v = (e) => {
- m(e), JV({ dir: e ? "asc" : "" });
+ m(e), YV({ dir: e ? "asc" : "" });
}, y = (0, b.useRef)(null);
(0, b.useEffect)(() => {
let e = [...y.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => Fo(e, { drag: !0 }));
@@ -61792,12 +61792,12 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
home: !1,
portrait: !1
})), T = (0, b.useRef)({}), E = (0, b.useRef)(!1), D = (0, b.useRef)(!1), O = p ? "asc" : "desc", k = ut({
- queryKey: WV(s, d, O),
+ queryKey: GV(s, d, O),
retry: !1,
refetchOnWindowFocus: !1,
queryFn: ({ signal: e }) => {
let t = E.current, n = D.current;
- return E.current = !1, D.current = !1, GV(s, e, {
+ return E.current = !1, D.current = !1, KV(s, e, {
sort: d,
direction: O,
jobId: t ? void 0 : T.current[s],
@@ -61810,7 +61810,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
(0, b.useEffect)(() => {
A?.job_id && (T.current[s] = A.job_id);
}, [s, A?.job_id]);
- let j = Qk(), M = Qk(), N = (e) => {
+ let j = $k(), M = $k(), N = (e) => {
M.run(e, async () => (D.current = e === "stop", E.current = e !== "stop", k.refetch({
cancelRefetch: !0,
throwOnError: !0
@@ -61829,7 +61829,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"aria-busy": te,
className: "flex min-w-0 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(RA, {
+ /* @__PURE__ */ (0, x.jsx)(zA, {
label: "发现筛选与排序",
topLabel: "发现范围与标签",
attrs: {
@@ -61844,7 +61844,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-catalog-scroll": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-catalog-views": "",
- children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(zA, {
+ children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(BA, {
"data-entity-tag": e,
"data-entity-press": "",
pressed: s === e,
@@ -61858,8 +61858,8 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
})]
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-catalog-tags": "",
- dangerouslySetInnerHTML: te ? { __html: xV() } : void 0,
- children: te ? null : ee.map((e) => /* @__PURE__ */ (0, x.jsxs)(zA, {
+ dangerouslySetInnerHTML: te ? { __html: SV() } : void 0,
+ children: te ? null : ee.map((e) => /* @__PURE__ */ (0, x.jsxs)(BA, {
"data-catalog-tag": e,
"data-entity-press": "",
pressed: l === e,
@@ -61880,7 +61880,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
className: "relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"
}) : `${F.length} 部`
}),
- r || l ? /* @__PURE__ */ (0, x.jsx)(BA, {
+ r || l ? /* @__PURE__ */ (0, x.jsx)(VA, {
onPress: () => {
g(""), a();
},
@@ -61900,14 +61900,14 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
onClick: () => N(A?.status === "running" ? "stop" : "update"),
dangerouslySetInnerHTML: { __html: M.busy ? eo("正在更新资料") : R(A?.status === "running" ? "x" : "refresh-cw") }
}) : null,
- /* @__PURE__ */ (0, x.jsx)(bP, {
+ /* @__PURE__ */ (0, x.jsx)(xP, {
label: "JAV 卡片版式",
value: C,
options: HT,
onChange: nE
}),
- /* @__PURE__ */ (0, x.jsx)(SP, {
- sorts: _V.map(([e, t, n]) => ({
+ /* @__PURE__ */ (0, x.jsx)(CP, {
+ sorts: vV.map(([e, t, n]) => ({
key: e,
label: t,
ariaLabel: n,
@@ -61925,7 +61925,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
te ? /* @__PURE__ */ (0, x.jsx)("div", {
role: "status",
"aria-label": "正在读取推荐",
- dangerouslySetInnerHTML: { __html: SV("discover", C) }
+ dangerouslySetInnerHTML: { __html: CV("discover", C) }
}) : null,
k.error ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -61935,7 +61935,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
s === "external" && A?.status === "running" ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-jav-metadata": "",
className: "min-w-0",
- children: /* @__PURE__ */ (0, x.jsx)(vL, {
+ children: /* @__PURE__ */ (0, x.jsx)(yL, {
embedded: !0,
label: `正在读取作品资料 · ${A.completed} / ${A.total} 部`,
value: A.completed,
@@ -61956,11 +61956,11 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
tone: "error",
children: M.error
}) : null,
- !te && !k.error && !F.length ? /* @__PURE__ */ (0, x.jsx)(qk, {
+ !te && !k.error && !F.length ? /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: lk,
+ icon: uk,
title: r || l ? "没有符合条件的推荐" : "暂无匹配口味的作品",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(Kk, {
href: "/taste",
variant: "secondary",
children: "查看口味"
@@ -61973,13 +61973,13 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-grid": "",
- className: bV,
+ className: xV,
style: { "--card-ratio": w },
children: F.map((r) => {
- let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = KV(r, C, S.value.javImage), s = dOe(r.taste_score ?? r.score), c = [
+ let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = qV(r, C, S.value.javImage), s = uOe(r.taste_score ?? r.score), c = [
s.label,
- `口味 ${vV(r.taste_score ?? r.score)}`,
- k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${vV(r.ranking_score)}` : "",
+ `口味 ${yV(r.taste_score ?? r.score)}`,
+ k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${yV(r.ranking_score)}` : "",
r.source_score == null ? "" : `来源评分 ${r.source_score.toFixed(1)} / 5`,
...r.reasons || []
].filter(Boolean).join(" · ");
@@ -61999,12 +61999,12 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-media-pic": "",
"data-jav-cover-box": "",
className: "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",
- children: o ? /* @__PURE__ */ (0, x.jsx)(OP, {
+ children: o ? /* @__PURE__ */ (0, x.jsx)(kP, {
artwork: {
kind: "cover",
html: o
},
- identity: KV(r, "small", S.value.javImage),
+ identity: qV(r, "small", S.value.javImage),
relayout: (e) => Vs(e, C)
}) : /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-nopic": "",
@@ -62013,7 +62013,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-meta": "",
- children: [/* @__PURE__ */ (0, x.jsx)(cOe, { item: r }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(sOe, { item: r }), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-text": "",
children: [
/* @__PURE__ */ (0, x.jsxs)("h3", {
@@ -62075,7 +62075,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
title: c,
"aria-label": `推荐分 ${s.score},${s.label}`,
className: "rounded-md outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, x.jsx)(Uk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Wk, {
color: s.color,
children: s.label
})
@@ -62108,16 +62108,16 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
disabled: e || r.wanted || !!r.asset_id,
...q(j.busy === String(r.id)),
onClick: () => {
- j.run(String(r.id), (e) => kV({ code: r.code }, e), () => {
- t("已加入想要"), jV(), k.refetch();
+ j.run(String(r.id), (e) => AV({ code: r.code }, e), () => {
+ t("已加入想要"), MV(), k.refetch();
});
},
children: r.asset_id ? "已入库" : r.wanted ? "已加入想要" : "想要"
}),
- r.link ? /* @__PURE__ */ (0, x.jsx)(Gk, {
+ r.link ? /* @__PURE__ */ (0, x.jsx)(Kk, {
"data-button-link": "",
variant: "secondary",
- trailingIcon: fk,
+ trailingIcon: pk,
href: r.link,
target: "_blank",
rel: "noopener noreferrer",
@@ -62134,12 +62134,12 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var YV = "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", WOe = {
- gray: `${YV} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${YV} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${YV} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var XV = "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", UOe = {
+ gray: `${XV} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${XV} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${XV} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function GOe({ value: e, max: t }) {
+function WOe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, x.jsxs)("svg", {
role: "progressbar",
@@ -62167,16 +62167,16 @@ function GOe({ value: e, max: t }) {
})]
});
}
-function KOe(e) {
- let { job: t } = yL(e), n = t.data, r = t.isError ? n ? TF : B(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function GOe(e) {
+ let { job: t } = bL(e), n = t.data, r = t.isError ? n ? EF : B(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?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : DF(n) + (c ? ` · ${xA(l, c)}` : "")), d = s === "gray" ? Hme : Nme;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : OF(n) + (c ? ` · ${SA(l, c)}` : "")), d = s === "gray" ? Vme : Mme;
return /* @__PURE__ */ (0, x.jsxs)("aside", {
role: a ? "alert" : "status",
- className: WOe[s],
+ className: UOe[s],
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && c ? /* @__PURE__ */ (0, x.jsx)(GOe, {
+ children: [o && c ? /* @__PURE__ */ (0, x.jsx)(WOe, {
value: l,
max: c
}) : /* @__PURE__ */ (0, x.jsx)(d, {
@@ -62186,42 +62186,42 @@ function KOe(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, x.jsx)(tA, {
+ }), /* @__PURE__ */ (0, x.jsx)(nA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: ok,
+ trailingIcon: sk,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var qOe = "/api/playlists", XV = "/api/playlist", ZV = ["playlists"], QV = (e) => V(qOe, e);
-async function JOe(e) {
+var KOe = "/api/playlists", ZV = "/api/playlist", QV = ["playlists"], $V = (e) => V(KOe, e);
+async function qOe(e) {
await U.fetchQuery({
- queryKey: ZV,
- queryFn: () => QV(e),
+ queryKey: QV,
+ queryFn: () => $V(e),
staleTime: 0
});
}
-var $V = () => U.invalidateQueries({
- queryKey: ZV,
+var eH = () => U.invalidateQueries({
+ queryKey: QV,
exact: !0
-}), YOe = (e) => e.current_asset_id || e.preview_asset_id || null, eH = (e) => `/poster?id=${e}&c=4`, XOe = (e) => H(XV, {
+}), JOe = (e) => e.current_asset_id || e.preview_asset_id || null, tH = (e) => `/poster?id=${e}&c=4`, YOe = (e) => H(ZV, {
action: "create",
name: e,
asset_ids: []
-}), tH = (e, t) => H(XV, {
+}), nH = (e, t) => H(ZV, {
action: "rename",
id: e,
name: t
-}), nH = (e) => H(XV, {
+}), rH = (e) => H(ZV, {
action: "delete",
id: e
-}), ZOe = (e) => V(`${XV}?id=${e}`).catch(() => null);
-function QOe(e) {
+}), XOe = (e) => V(`${ZV}?id=${e}`).catch(() => null);
+function ZOe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return H(XV, {
+ return H(ZV, {
action: "create",
name: e.name,
asset_ids: t,
@@ -62231,18 +62231,18 @@ function QOe(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var $Oe = IN("ellipsis"), eke = IN("pencil"), tke = IN("trash"), nke = IN("playlist"), rH = Bk(qI, JI, "text-body-2-medium"), iH = "播放列表名称不能为空", aH = (e) => async () => {
+var QOe = LN("ellipsis"), $Oe = LN("pencil"), eke = LN("trash"), tke = LN("playlist"), iH = Vk(JI, YI, "text-body-2-medium"), aH = "播放列表名称不能为空", oH = (e) => async () => {
try {
await e();
} finally {
- $V();
+ eH();
}
};
-function rke({ toast: e }) {
+function nke({ toast: e }) {
let [t, n] = (0, b.useState)(""), [r, i] = (0, b.useState)(""), a = dt({
- mutationFn: (e) => XOe(e),
+ mutationFn: (e) => YOe(e),
onSuccess: (t) => {
- n(""), i(""), $V(), e("已新建播放列表", { undo: aH(() => nH(t.playlist.id)) });
+ n(""), i(""), eH(), e("已新建播放列表", { undo: oH(() => rH(t.playlist.id)) });
},
onError: (e) => i(B(e) || "新建失败")
});
@@ -62250,12 +62250,12 @@ function rke({ toast: e }) {
"data-playlist-create": "",
"aria-label": "新建播放列表",
onSubmit: (e) => {
- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(iH));
+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(aH));
},
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.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, x.jsx)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(MN, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -62274,7 +62274,7 @@ function rke({ toast: e }) {
})]
});
}
-function ike({ target: e, close: t, toast: n }) {
+function rke({ 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;
@@ -62285,13 +62285,13 @@ function ike({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = dt({
- mutationFn: ({ row: e, value: t }) => tH(e.id, t),
+ mutationFn: ({ row: e, value: t }) => nH(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), $V(), n("已重命名播放列表", { undo: aH(() => tH(r.id, r.name)) });
+ t(), eH(), n("已重命名播放列表", { undo: oH(() => nH(r.id, r.name)) });
},
onError: (e) => o(B(e))
});
- return /* @__PURE__ */ (0, x.jsx)(NN, {
+ return /* @__PURE__ */ (0, x.jsx)(PN, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -62305,16 +62305,16 @@ function ike({ target: e, close: t, toast: n }) {
n ? c.mutate({
row: e,
value: n
- }) : o(iH);
+ }) : o(aH);
},
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, x.jsx)(uj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(dj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, x.jsx)(jN, {
+ }), /* @__PURE__ */ (0, x.jsx)(MN, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -62342,7 +62342,7 @@ function ike({ target: e, close: t, toast: n }) {
})
});
}
-function ake({ name: e, onRename: t, onDelete: n }) {
+function ike({ name: e, onRename: t, onDelete: n }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -62356,33 +62356,33 @@ function ake({ 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, x.jsx)($Oe, {
+ children: /* @__PURE__ */ (0, x.jsx)(QOe, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(AM, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: KI,
- children: /* @__PURE__ */ (0, x.jsxs)(GI, {
+ className: qI,
+ children: /* @__PURE__ */ (0, x.jsxs)(KI, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: rH,
+ className: iH,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, x.jsx)(eke, {
+ children: [/* @__PURE__ */ (0, x.jsx)($Oe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: rH,
+ className: iH,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, x.jsx)(tke, {
+ children: [/* @__PURE__ */ (0, x.jsx)(eke, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -62390,13 +62390,13 @@ function ake({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function oke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
+function ake({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
let a = ut({
- queryKey: ZV,
- queryFn: ({ signal: e }) => QV(e)
+ queryKey: QV,
+ queryFn: ({ signal: e }) => $V(e)
}), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(i);
(0, b.useEffect)(() => {
- c.current !== i && (c.current = i, $V());
+ c.current !== i && (c.current = i, eH());
}, [i]);
let l = a.data, u = l?.items ?? [], d = (e) => {
ls({
@@ -62405,8 +62405,8 @@ function oke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await ZOe(e.id);
- await nH(e.id), $V(), r("已删除播放列表", t ? { undo: aH(() => QOe(t)) } : void 0);
+ let t = await XOe(e.id);
+ await rH(e.id), eH(), r("已删除播放列表", t ? { undo: oH(() => ZOe(t)) } : void 0);
}
});
};
@@ -62421,7 +62421,7 @@ function oke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}), /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, x.jsx)(rke, { toast: r })]
+ })] }), /* @__PURE__ */ (0, x.jsx)(nke, { toast: r })]
}),
/* @__PURE__ */ (0, x.jsx)("div", {
className: "mx-auto w-full max-w-board",
@@ -62429,36 +62429,36 @@ function oke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
- let i = YOe(r), a = r.name.trim() || "未命名播放列表";
- return /* @__PURE__ */ (0, x.jsx)(VP, {
+ let i = JOe(r), a = r.name.trim() || "未命名播放列表";
+ return /* @__PURE__ */ (0, x.jsx)(HP, {
"data-playlist-card": String(r.id),
name: a,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? eH(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(eH),
+ poster: r.preview_asset_id ? tH(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map(tH),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${a}`,
- menu: /* @__PURE__ */ (0, x.jsx)(ake, {
+ menu: /* @__PURE__ */ (0, x.jsx)(ike, {
name: a,
onRename: () => s(r),
onDelete: () => d(r)
})
}, r.id);
})
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: nke,
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
+ icon: tke,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
- }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(DP, {
+ }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(OP, {
message: B(a.error) || "播放列表读取失败",
onRetry: () => void a.refetch()
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(ike, {
+ /* @__PURE__ */ (0, x.jsx)(rke, {
target: o,
close: () => s(null),
toast: r
@@ -62468,11 +62468,11 @@ function oke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function ske({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function oke({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let o = () => t(e.id);
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-goal-id": e.id,
- className: Kk({
+ className: qk({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -62488,7 +62488,7 @@ function ske({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, x.jsx)("img", {
- src: LF(e),
+ src: RF(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -62536,7 +62536,7 @@ function ske({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
origin: `asset:${e.id}`,
searchReason: e.reason || "",
duration: e.duration,
- cover: LF(e)
+ cover: RF(e)
}),
children: "查找资源"
}) : null, /* @__PURE__ */ (0, x.jsx)(G, {
@@ -62548,26 +62548,26 @@ function ske({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
})]
});
}
-function cke({ toast: e, ...t }) {
+function ske({ toast: e, ...t }) {
let [n, r] = (0, b.useState)(null), i = ut({
- queryKey: FF,
- queryFn: ({ signal: e }) => IF(e)
+ queryKey: IF,
+ queryFn: ({ signal: e }) => LF(e)
}), a = i.data;
- if (!a) return /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!a) return /* @__PURE__ */ (0, x.jsx)(Xk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "高清版目标读取失败",
children: i.error ? B(i.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let o = a.items || [];
- return o.length ? /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
- /* @__PURE__ */ (0, x.jsx)(Nz, {
+ return o.length ? /* @__PURE__ */ (0, x.jsxs)(Xk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(Pz, {
label: "待升级",
figure: `${Number(a.total || 0).toLocaleString()} 部作品`,
flush: !0
}),
/* @__PURE__ */ (0, x.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(ske, {
+ children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(oke, {
item: e,
...t,
searchResources: r
@@ -62577,22 +62577,22 @@ function cke({ toast: e, ...t }) {
className: "mt-6 text-center text-caption-1-regular text-text-secondary",
children: `显示前 ${o.length.toLocaleString()} 部,共 ${Number(a.total).toLocaleString()} 部。`
}) : null,
- /* @__PURE__ */ (0, x.jsx)(TV, {
+ /* @__PURE__ */ (0, x.jsx)(EV, {
prefill: n,
close: () => r(null),
receipt: e
})
- ] }) : /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(qk, {
+ ] }) : /* @__PURE__ */ (0, x.jsx)(Xk, { children: /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: the,
+ icon: ehe,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function lke(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 = Zbe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";
+function cke(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 = Xbe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -62600,29 +62600,29 @@ function lke(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(SL, {
+ /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(SL, {
+ i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(CL, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, x.jsx)(CL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(wL, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -62630,7 +62630,7 @@ function lke(e) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Ame,
+ leadingIcon: kme,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -62646,7 +62646,7 @@ function lke(e) {
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, x.jsxs)(SL, {
+ b ? /* @__PURE__ */ (0, x.jsxs)(CL, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -62654,10 +62654,10 @@ function lke(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, x.jsx)(CL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(wL, {
id: "",
children: S
- }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e,
children: e
}, e))]
@@ -62693,7 +62693,7 @@ function lke(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var uke = {
+var lke = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -62703,14 +62703,14 @@ var uke = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, oH = "reviewgenretags";
-function dke({ tags: e }) {
+}, sH = "reviewgenretags";
+function uke({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("datalist", {
- id: oH,
+ id: sH,
children: e.map((e) => /* @__PURE__ */ (0, x.jsx)("option", { value: e }, e))
}) : null;
}
-function sH({ candidate: e, selectable: t = !1 }) {
+function cH({ 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, x.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -62747,7 +62747,7 @@ function sH({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, x.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: uke[e] || e
+ children: lke[e] || e
}),
/* @__PURE__ */ (0, x.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -62762,32 +62762,32 @@ function sH({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function fke({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function dke({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, x.jsx)(sH, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, x.jsx)(JM, {
+ children: /* @__PURE__ */ (0, x.jsx)(cH, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, x.jsx)(YM, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(YM, {
+ children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(XM, {
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, x.jsx)(sH, {
+ children: /* @__PURE__ */ (0, x.jsx)(cH, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function pke({ genre: e, tags: t, locked: n, toast: r }) {
+function fke({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = dt({
- mutationFn: (t) => axe(e, t),
+ mutationFn: (t) => ixe(e, t),
onSuccess: async (t, n) => {
- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await sxe()) : s(t.error || "服务端拒绝了这次收录");
+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await oxe()) : s(t.error || "服务端拒绝了这次收录");
},
onError: (e) => s(B(e))
}), l = () => {
@@ -62802,16 +62802,16 @@ function pke({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, x.jsx)(ON, {
+ /* @__PURE__ */ (0, x.jsx)(kN, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(AN, {
+ children: /* @__PURE__ */ (0, x.jsx)(jN, {
size: "small",
- list: t.length ? oH : void 0,
+ list: t.length ? sH : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -62843,8 +62843,8 @@ function pke({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function mke({ row: e, tags: t, locked: n, toast: r }) {
- let i = nxe(e);
+function pke({ row: e, tags: t, locked: n, toast: r }) {
+ let i = txe(e);
return i.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -62852,7 +62852,7 @@ function mke({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, x.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(pke, {
+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(fke, {
genre: e,
tags: t,
locked: n,
@@ -62862,12 +62862,12 @@ function mke({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var cH = (e = "") => /^https?:\/\//i.test(e) ? e : "", hke = (e = "") => cH(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function lH({ url: e }) {
- let t = hke(e || "");
- return /* @__PURE__ */ (0, x.jsx)(gke, { source: t }, t);
+var lH = (e = "") => /^https?:\/\//i.test(e) ? e : "", mke = (e = "") => lH(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function uH({ url: e }) {
+ let t = mke(e || "");
+ return /* @__PURE__ */ (0, x.jsx)(hke, { source: t }, t);
}
-function gke({ source: e }) {
+function hke({ source: e }) {
let [t, n] = (0, b.useState)("idle");
return (0, b.useEffect)(() => {
if (t !== "loading") return;
@@ -62904,7 +62904,7 @@ function gke({ source: e }) {
})]
});
}
-function uH({ asset: e, openItem: t }) {
+function dH({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -62930,21 +62930,21 @@ function uH({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Kme,
+ leadingIcon: Gme,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function _ke({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function gke({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, x.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 ${UB}`,
+ 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 ${WB}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -62960,8 +62960,8 @@ function _ke({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function vke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = cH(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function _ke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = lH(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -62971,10 +62971,10 @@ function vke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, x.jsx)(Gk, {
+ children: [o ? /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "secondary",
size: "small",
- trailingIcon: fk,
+ trailingIcon: pk,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -62986,7 +62986,7 @@ function vke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, x.jsx)(lH, { url: e.preview_url }),
+ /* @__PURE__ */ (0, x.jsx)(uH, { url: e.preview_url }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -63029,7 +63029,7 @@ function vke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function yke({ assets: e, picked: t, onPicked: n, locked: r }) {
+function vke({ 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);
@@ -63085,7 +63085,7 @@ function yke({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, x.jsx)(OL, {
+ children: /* @__PURE__ */ (0, x.jsx)(kL, {
size: "sm",
state: {
isSelected: n,
@@ -63105,22 +63105,22 @@ function yke({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var bke = Kk({
+var yke = qk({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), dH = "flex min-h-6 min-w-0 items-center", fH = 2, xke = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function Ske(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 = mL(), h = mL(), g = t === "metadata_fields", _ = qbe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = $be(t, n), C = GF(t, n), w = WF(t, n), T = exe(n), E = txe(n), D = UF(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {
+}), fH = "flex min-h-6 min-w-0 items-center", pH = 2, bke = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function xke(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 = hL(), h = hL(), g = t === "metadata_fields", _ = Kbe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = Qbe(t, n), C = KF(t, n), w = GF(t, n), T = $be(n), E = exe(n), D = WF(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [O.slice(0, fH).map((e) => /* @__PURE__ */ (0, x.jsx)(uH, {
+ children: [O.slice(0, pH).map((e) => /* @__PURE__ */ (0, x.jsx)(dH, {
asset: e,
openItem: f.openItem
- }, e.id)), O.length > fH ? /* @__PURE__ */ (0, x.jsx)("p", {
+ }, e.id)), O.length > pH ? /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: `另有 ${(O.length - fH).toLocaleString()} 部对照作品`
+ children: `另有 ${(O.length - pH).toLocaleString()} 部对照作品`
}) : null]
- }) : y ? /* @__PURE__ */ (0, x.jsx)(_ke, {
+ }) : y ? /* @__PURE__ */ (0, x.jsx)(gke, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -63131,14 +63131,14 @@ function Ske(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(uH, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(dH, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(fke, {
+ }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(dke, {
row: n,
fieldName: C,
value: r.candidateKey,
@@ -63147,7 +63147,7 @@ function Ske(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(yke, {
+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(vke, {
assets: k,
picked: r.assets,
locked: s,
@@ -63155,24 +63155,24 @@ function Ske(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "inset",
- icon: Bme,
+ icon: zme,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(vke, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(_ke, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, x.jsx)(lH, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {
- className: `${dH} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, x.jsx)(uH, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {
+ className: `${fH} flex-wrap gap-2`,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
title: C,
className: "flex max-w-full min-w-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, x.jsx)(Uk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: "blue",
children: C
@@ -63183,7 +63183,7 @@ function Ske(e) {
children: w
})]
}) : /* @__PURE__ */ (0, x.jsx)("h4", {
- className: dH,
+ className: fH,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: S,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -63193,20 +63193,20 @@ function Ske(e) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": S,
"data-review-key": n.item_key,
- className: `${bke} ${xke(t)} overflow-hidden`,
+ className: `${yke} ${bke(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, x.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${dH} shrink-0`,
+ className: `${fH} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, x.jsx)(kL, {
+ children: /* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: a,
"aria-label": `选择 ${S}`,
onChange: (e) => o(p.current, e)
@@ -63216,7 +63216,7 @@ function Ske(e) {
className: "min-w-0 flex-1",
children: N
}),
- A ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+ A ? /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -63240,7 +63240,7 @@ function Ske(e) {
!y && j ? j : null,
E.length || t === "creator_tags" ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(Uk, {
+ children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: "soft",
children: e
@@ -63250,7 +63250,7 @@ function Ske(e) {
})
}) : null,
M,
- /* @__PURE__ */ (0, x.jsx)(mke, {
+ /* @__PURE__ */ (0, x.jsx)(pke, {
row: n,
tags: u,
locked: s,
@@ -63313,8 +63313,8 @@ function Ske(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var Cke = "flex cursor-pointer items-center justify-between gap-2";
-function wke({ page: e, pages: t, onPage: n }) {
+var Ske = "flex cursor-pointer items-center justify-between gap-2";
+function Cke({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, x.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -63351,34 +63351,34 @@ function wke({ page: e, pages: t, onPage: n }) {
]
});
}
-function Tke(e) {
+function wke(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)(VF(e.category) ? e.category : Kbe), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (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)(HF(e.category) ? e.category : Gbe), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (0, b.useRef)(!0);
(0, b.useEffect)(() => () => {
P.current = !1;
}, []);
let ee = ut({
- queryKey: zF,
- queryFn: ({ signal: e }) => qF(e)
+ queryKey: BF,
+ queryFn: ({ signal: e }) => JF(e)
}), F = ee.data || {
sections: {},
counts: {}
- }, te = F.sections[d] || [], I = d === "metadata_fields", ne = c, re = Jbe(te, I), ie = re.some(([e]) => e === p) ? p : "candidates", ae = HF(te, ie), oe = ae.some((e) => e.key === h) ? h : "", se = Xbe(Ybe(te, ie, oe), _), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({
+ }, te = F.sections[d] || [], I = d === "metadata_fields", ne = c, re = qbe(te, I), ie = re.some(([e]) => e === p) ? p : "candidates", ae = UF(te, ie), oe = ae.some((e) => e.key === h) ? h : "", se = Ybe(Jbe(te, ie, oe), _), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({
...e,
rows: e.rows.filter((e) => le.has(e.item_key))
- })).filter((e) => e.rows.length), de = (e) => C.get(e.item_key) || rxe(e), fe = te.filter((e) => y.has(e.item_key)), pe = (e) => {
+ })).filter((e) => e.rows.length), de = (e) => C.get(e.item_key) || nxe(e), fe = te.filter((e) => y.has(e.item_key)), pe = (e) => {
let t = new Set(e);
S((e) => new Set([...e].filter((e) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e)))), E((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, me = (e, t) => E((n) => new Map(n).set(e, t)), he = (e) => {
f(e), m("candidates"), g(""), v(1), S(/* @__PURE__ */ new Set()), w(/* @__PURE__ */ new Map()), E(/* @__PURE__ */ new Map()), O(""), k.current = null, r({ category: e === "metadata_fields" ? "" : e });
}, ge = dt({
- mutationFn: ({ row: e, status: t }) => JF(KF(d, e, t, de(e))),
+ mutationFn: ({ row: e, status: t }) => YF(qF(d, e, t, de(e))),
onSuccess: (e, { row: t, status: n }) => {
- e.ok ? (YF(d, [t.item_key]), pe([t.item_key]), s(ixe(n))) : me(t.item_key, e.error || "服务端拒绝了这次判定");
+ e.ok ? (XF(d, [t.item_key]), pe([t.item_key]), s(rxe(n))) : me(t.item_key, e.error || "服务端拒绝了这次判定");
},
onError: (e, { row: t }) => me(t.item_key, B(e))
}), _e = dt({
@@ -63388,7 +63388,7 @@ function Tke(e) {
if (!P.current) break;
O(`正在处理 ${i} / ${t.length}`);
try {
- let t = await JF(KF(d, a, e, de(a)));
+ let t = await YF(qF(d, a, e, de(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -63402,7 +63402,7 @@ function Tke(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- YF(d, t), pe(t), n.forEach(([e, t]) => me(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ XF(d, t), pe(t), n.forEach(([e, t]) => me(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
O(B(e));
@@ -63426,7 +63426,7 @@ function Tke(e) {
j(e), N("");
let t = await o(e);
P.current && (j(0), N(t));
- }, xe = cxe(F.mirror, l), Se = F.genre_tags || [], Ce = {
+ }, xe = sxe(F.mirror, l), Se = F.genre_tags || [], Ce = {
openItem: i,
openEntity: a,
onReveal: be,
@@ -63434,7 +63434,7 @@ function Tke(e) {
revealNote: M,
toast: s
};
- return /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsxs)("div", {
+ return /* @__PURE__ */ (0, x.jsx)(Xk, { children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
ne ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -63450,13 +63450,13 @@ function Tke(e) {
}) : void 0,
children: xe
}) : null,
- /* @__PURE__ */ (0, x.jsx)(dke, { tags: Se }),
- /* @__PURE__ */ (0, x.jsxs)(CN, {
+ /* @__PURE__ */ (0, x.jsx)(uke, { tags: Se }),
+ /* @__PURE__ */ (0, x.jsxs)(wN, {
orientation: t ? "horizontal" : "vertical",
selectedKey: d,
onSelectionChange: (e) => {
let t = String(e);
- VF(t) && he(t);
+ HF(t) && he(t);
},
className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -63465,27 +63465,27 @@ function Tke(e) {
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, x.jsx)(wN, {
+ }), /* @__PURE__ */ (0, x.jsx)(TN, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: Gbe.map((e) => {
+ children: Wbe.map((e) => {
let t = Number(F.counts[e] || 0);
- return /* @__PURE__ */ (0, x.jsxs)(TN, {
+ return /* @__PURE__ */ (0, x.jsxs)(EN, {
id: e,
- className: Cke,
- children: [BF[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {
+ className: Ske,
+ children: [VF[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, x.jsxs)(EN, {
+ }), /* @__PURE__ */ (0, x.jsxs)(DN, {
id: d,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- te.length && !ne ? /* @__PURE__ */ (0, x.jsx)(lke, {
+ te.length && !ne ? /* @__PURE__ */ (0, x.jsx)(cke, {
groupOptions: re,
groupBy: ie,
onGroupBy: (e) => {
@@ -63501,7 +63501,7 @@ function Tke(e) {
onSelected: S,
selectedRows: fe,
metadata: I,
- approvable: fe.every((e) => UF(d, e)),
+ approvable: fe.every((e) => WF(d, e)),
busy: _e.isPending,
feedback: D,
onUnifySource: ye,
@@ -63526,7 +63526,7 @@ function Tke(e) {
})]
}) : null, /* @__PURE__ */ (0, x.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(Ske, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(xke, {
category: d,
row: e,
choice: de(e),
@@ -63534,7 +63534,7 @@ function Tke(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => S((r) => {
let i = new Set(r);
- return k.current = Qbe(i, ce, k.current, e.item_key, t, n), i;
+ return k.current = Zbe(i, ce, k.current, e.item_key, t, n), i;
}),
locked: ne,
busy: ge.isPending && ge.variables?.row.item_key === e.item_key,
@@ -63560,12 +63560,12 @@ function Tke(e) {
children: "重试"
}),
children: B(ee.error)
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: jme,
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
+ icon: Ame,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, x.jsx)(wke, {
+ /* @__PURE__ */ (0, x.jsx)(Cke, {
page: se.page,
pages: se.pages,
onPage: v
@@ -63578,13 +63578,9 @@ function Tke(e) {
}
//#endregion
//#region src/react/scraping/custom-source-data.ts
-var pH = "/api/custom-metadata", mH = ["custom-metadata"], hH = (e) => V(pH, e), Eke = "/api/scraping", Dke = "/api/scraping/settings", Oke = "/api/scraping/check", gH = "/api/scraping/cover", kke = "/api/scraping/amane-bridge", Ake = "/api/scraping/amane-bridge/check", jke = "/api/scraping/amane-bridge/rebuild", _H = ["scraping"], vH = ["scraping", "cover"], yH = ["scraping", "amane-bridge"], bH = (e) => V(Eke, e), xH = (e) => V(gH, e), SH = (e) => V(kke, e);
-async function Mke(e) {
+var mH = "/api/custom-metadata", hH = ["custom-metadata"], gH = (e) => V(mH, e), Tke = "/api/scraping", Eke = "/api/scraping/settings", Dke = "/api/scraping/check", _H = "/api/scraping/cover", Oke = "/api/scraping/amane-bridge", kke = "/api/scraping/amane-bridge/check", Ake = "/api/scraping/amane-bridge/rebuild", vH = ["scraping"], yH = ["scraping", "cover"], bH = ["scraping", "amane-bridge"], xH = (e) => V(Tke, e), SH = (e) => V(_H, e), CH = (e) => V(Oke, e);
+async function jke(e) {
await Promise.all([
- U.fetchQuery({
- queryKey: _H,
- queryFn: () => bH(e)
- }),
U.fetchQuery({
queryKey: vH,
queryFn: () => xH(e)
@@ -63594,26 +63590,30 @@ async function Mke(e) {
queryFn: () => SH(e)
}),
U.fetchQuery({
- queryKey: mH,
- queryFn: () => hH(e)
+ queryKey: bH,
+ queryFn: () => CH(e)
+ }),
+ U.fetchQuery({
+ queryKey: hH,
+ queryFn: () => gH(e)
})
]);
}
-function Nke(e, t) {
+function Mke(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");
}
//#endregion
//#region src/react/settings-panel/legacy-controls.tsx
-var CH = (e) => e.map(([e, t, n]) => n ? [
+var wH = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function wH({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function TH({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(l);
return f.current = l, (0, b.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = $o(t, n, CH(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = $o(t, n, wH(r), i, {
attr: a,
className: o,
text: s
@@ -63631,13 +63631,13 @@ function wH({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function TH({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
+function EH({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
let d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(-1), m = (0, b.useRef)(l);
return m.current = l, (0, b.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = qa(CH(n), r, { label: t });
+ e.innerHTML = qa(wH(n), r, { label: t });
let i = Ja(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -63650,7 +63650,7 @@ function TH({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function Pke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function Nke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)({
onStep: a,
onSettle: o
@@ -63685,7 +63685,7 @@ function Pke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/scraping/custom-sources.tsx
-var Fke = [
+var Pke = [
["code", "番号"],
["title", "标题"],
["studio", "厂牌"],
@@ -63693,7 +63693,7 @@ var Fke = [
["release_date", "发行日期"],
["performers", "演员(文本数组)"],
["tags", "标签(文本数组)"]
-], Ike = [
+], Fke = [
["censored", "有码"],
["amateur", "素人"],
["uncensored", "无码"],
@@ -63702,7 +63702,7 @@ var Fke = [
["other", "其他"],
["unsure", "待核番号"],
["unknown", "未知"]
-], Lke = () => ({
+], Ike = () => ({
name: "",
endpoint: "",
enabled: !1,
@@ -63712,20 +63712,20 @@ var Fke = [
},
content_types: ["censored"]
});
-function Rke({ receipt: e }) {
+function Lke({ receipt: e }) {
let [t, n] = (0, b.useState)(null), r = ut({
- queryKey: mH,
- queryFn: ({ signal: e }) => hH(e)
- }), i = Qk(), a = (e) => U.setQueryData(mH, e);
- return /* @__PURE__ */ (0, x.jsx)(nA, {
+ queryKey: hH,
+ queryFn: ({ signal: e }) => gH(e)
+ }), i = $k(), a = (e) => U.setQueryData(hH, e);
+ return /* @__PURE__ */ (0, x.jsx)(rA, {
title: "自定义元数据来源",
- children: /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ children: /* @__PURE__ */ (0, x.jsxs)(aA, { children: [
r.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {
"aria-busy": "true",
"data-skeleton": "",
"aria-label": "读取自定义来源"
}) : null,
- r.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: B(r.error) }) : null,
+ r.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: B(r.error) }) : null,
r.data?.items.map((t) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [
@@ -63745,7 +63745,7 @@ function Rke({ receipt: e }) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
...q(i.busy === t.id),
- onClick: () => void i.run(t.id, (e) => H(pH, {
+ onClick: () => void i.run(t.id, (e) => H(mH, {
...t,
enabled: !t.enabled
}, "POST", e), (n) => {
@@ -63760,7 +63760,7 @@ function Rke({ receipt: e }) {
body: `删除「${z(t.name)}」后,采集将不再查询这个来源。`,
confirmLabel: "删除来源",
onConfirm: async () => {
- a(await H(pH, {
+ a(await H(mH, {
action: "delete",
id: t.id
})), n(null), e("已删除来源");
@@ -63770,13 +63770,13 @@ function Rke({ receipt: e }) {
})
]
}, t.id)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: i.error }) : null,
+ i.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: i.error }) : null,
t ? null : /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- onClick: () => n(Lke()),
+ onClick: () => n(Ike()),
children: "添加来源"
}),
- t ? /* @__PURE__ */ (0, x.jsx)(zke, {
+ t ? /* @__PURE__ */ (0, x.jsx)(Rke, {
initial: t,
cancel: () => n(null),
saved: (t) => {
@@ -63786,8 +63786,8 @@ function Rke({ receipt: e }) {
] })
});
}
-function zke({ initial: e, cancel: t, saved: n }) {
- let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), l = (0, b.useRef)(0), u = Qk(), d = (e) => {
+function Rke({ initial: e, cancel: t, saved: n }) {
+ let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), l = (0, b.useRef)(0), u = $k(), d = (e) => {
l.current++, i((t) => ({
...t,
...e
@@ -63797,16 +63797,16 @@ function zke({ initial: e, cancel: t, saved: n }) {
"aria-label": "元数据来源配置",
"aria-busy": u.busy === "preview",
onSubmit: (e) => {
- e.preventDefault(), u.run("save", (e) => H(pH, r, "POST", e), n);
+ e.preventDefault(), u.run("save", (e) => H(mH, r, "POST", e), n);
},
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "来源名称",
value: r.name,
maxLength: 80,
onChange: (e) => d({ name: e })
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "JSON 接口地址",
value: r.endpoint,
maxLength: 2048,
@@ -63815,7 +63815,7 @@ function zke({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(cA, { children: "来源连接方式" }), /* @__PURE__ */ (0, x.jsx)(TH, {
+ children: [/* @__PURE__ */ (0, x.jsx)(lA, { children: "来源连接方式" }), /* @__PURE__ */ (0, x.jsx)(EH, {
id: "custom-source-network",
label: "来源连接方式",
epoch: 0,
@@ -63826,7 +63826,7 @@ function zke({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(cA, { children: "接口番号格式" }), /* @__PURE__ */ (0, x.jsx)(TH, {
+ children: [/* @__PURE__ */ (0, x.jsx)(lA, { children: "接口番号格式" }), /* @__PURE__ */ (0, x.jsx)(EH, {
id: "custom-source-code-format",
label: "接口番号格式",
epoch: 0,
@@ -63840,8 +63840,8 @@ function zke({ initial: e, cancel: t, saved: n }) {
onPick: (e) => d({ code_format: e })
})]
}),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
- Fke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
+ Pke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(MN, {
label: `${t}字段路径`,
value: r.fields[e] || "",
onChange: (t) => {
@@ -63853,18 +63853,18 @@ function zke({ initial: e, cancel: t, saved: n }) {
className: "flex flex-wrap gap-3",
role: "group",
"aria-label": "适用内容类型",
- children: Ike.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
+ children: Fke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: r.content_types.includes(e),
onChange: (t) => d({ content_types: t ? [...r.content_types, e] : r.content_types.filter((t) => t !== e) }),
children: t
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(kL, {
+ /* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: r.enabled,
onChange: (e) => d({ enabled: e }),
children: "启用来源"
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "试查番号(回车查询)",
value: a,
onChange: (e) => {
@@ -63874,7 +63874,7 @@ function zke({ initial: e, cancel: t, saved: n }) {
if (e.key !== "Enter" || e.nativeEvent.isComposing) return;
e.preventDefault();
let t = l.current;
- u.run("preview", (e) => H(pH, {
+ u.run("preview", (e) => H(mH, {
...r,
code: a,
action: "preview"
@@ -63885,7 +63885,7 @@ function zke({ initial: e, cancel: t, saved: n }) {
});
}
}),
- u.busy === "preview" ? /* @__PURE__ */ (0, x.jsxs)(oA, {
+ u.busy === "preview" ? /* @__PURE__ */ (0, x.jsxs)(sA, {
role: "status",
children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: eo("正在试查来源") } }), "正在试查来源…"]
}) : null,
@@ -63893,8 +63893,8 @@ function zke({ initial: e, cancel: t, saved: n }) {
className: "whitespace-pre-wrap break-all",
children: s
}) : null,
- u.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: u.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(aA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ u.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: u.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(oA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
type: "button",
onClick: t,
@@ -63908,20 +63908,20 @@ function zke({ initial: e, cancel: t, saved: n }) {
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var EH = [["peach", "Peach 代理"], ["direct", "直接连接"]];
-function Bke(e) {
- return EH.some(([t]) => t === e) || !e ? [...EH] : [...EH, [e, e]];
+var DH = [["peach", "Peach 代理"], ["direct", "直接连接"]];
+function zke(e) {
+ return DH.some(([t]) => t === e) || !e ? [...DH] : [...DH, [e, e]];
}
-function Vke(e) {
+function Bke(e) {
try {
return new URL(e).host || e;
} catch {
return e;
}
}
-var DH = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function OH({ source: e }) {
- if (e === "makers") return /* @__PURE__ */ (0, x.jsx)(Dme, {
+var OH = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function kH({ source: e }) {
+ if (e === "makers") return /* @__PURE__ */ (0, x.jsx)(Eme, {
"aria-hidden": !0,
className: "size-4 shrink-0"
});
@@ -63942,16 +63942,16 @@ function OH({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function Hke() {
- return /* @__PURE__ */ (0, x.jsx)(OH, { source: "github" });
+function Vke() {
+ return /* @__PURE__ */ (0, x.jsx)(kH, { source: "github" });
}
-function Uke({ 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)(DH[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);
+function Hke({ 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)(OH[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 = dt({
- mutationFn: (t) => H(Dke, {
+ mutationFn: (t) => H(Eke, {
source: e.source,
network: n,
cookie: i,
@@ -63959,12 +63959,12 @@ function Uke({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- U.setQueryData(_H, (t) => t && {
+ U.setQueryData(vH, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = dt({ mutationFn: () => H(Oke, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = dt({ mutationFn: () => H(Dke, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, S = () => {
v || (_.reset(), g.mutate(!0));
@@ -63983,27 +63983,27 @@ function Uke({ source: e, toast: t }) {
}
}
let T = f || (g.error ? B(g.error) : "") || (_.error ? B(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || e.browser || !!T || E.length > 0;
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(OH, { source: e.source }), e.login ? /* @__PURE__ */ (0, x.jsx)(lA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(kH, { source: e.source }), e.login ? /* @__PURE__ */ (0, x.jsx)(uA, {
href: e.login,
- children: Vke(e.login)
+ children: Bke(e.login)
}) : null]
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(rA, { children: /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(eA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, x.jsx)(SL, {
+ children: /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "连接方式",
className: "w-44 min-w-0",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: Bke(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: zke(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e,
children: t
}, e))
@@ -64013,15 +64013,15 @@ function Uke({ source: e, toast: t }) {
tone: "warning",
children: ["来源正在冷却,截止 ", (/* @__PURE__ */ new Date(e.cooldown_until * 1e3)).toLocaleString("zh-CN")]
}) : null,
- D ? /* @__PURE__ */ (0, x.jsxs)(iA, {
+ D ? /* @__PURE__ */ (0, x.jsxs)(aA, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, x.jsx)(tA, {
+ children: /* @__PURE__ */ (0, x.jsx)(nA, {
href: "/settings/library#peachProxy",
size: "small",
- trailingIcon: ok,
+ trailingIcon: sk,
children: "配置 Peach 代理"
})
}) : null,
@@ -64034,20 +64034,20 @@ function Uke({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, x.jsx)(YN, {
+ /* @__PURE__ */ (0, x.jsx)(XN, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: XN,
- children: DH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(YM, {
+ className: ZN,
+ children: OH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XM, {
value: e,
- className: ZN,
+ className: QN,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, x.jsx)(jN, {
+ c === "paste" ? /* @__PURE__ */ (0, x.jsx)(MN, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -64056,7 +64056,7 @@ function Uke({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, x.jsx)(lA, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
@@ -64082,14 +64082,14 @@ function Uke({ source: e, toast: t }) {
]
})
] }) : null,
- T ? /* @__PURE__ */ (0, x.jsx)(sA, { children: T }) : null,
+ T ? /* @__PURE__ */ (0, x.jsx)(cA, { children: T }) : null,
E.map((t) => /* @__PURE__ */ (0, x.jsx)(K, {
tone: t.ok ? "success" : "error",
- children: Nke(t, e.label)
+ children: Mke(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: S,
@@ -64111,26 +64111,26 @@ function Uke({ source: e, toast: t }) {
]
});
}
-function Wke({ toast: e }) {
- let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = TL({
- queryKey: vH,
- queryFn: ({ signal: e }) => xH(e),
- start: () => H(gH, { code: t }),
+function Uke({ toast: e }) {
+ let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = EL({
+ queryKey: yH,
+ queryFn: ({ signal: e }) => SH(e),
+ start: () => H(_H, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? B(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, x.jsx)(nA, {
+ return /* @__PURE__ */ (0, x.jsx)(rA, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ children: /* @__PURE__ */ (0, x.jsxs)(aA, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(MN, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -64145,7 +64145,7 @@ function Wke({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, x.jsx)(Yk, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: s
@@ -64157,11 +64157,11 @@ function Wke({ toast: e }) {
] })
});
}
-function Gke({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = TL({
- queryKey: yH,
- queryFn: ({ signal: e }) => SH(e),
- start: () => H(jke, {}),
+function Wke({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = EL({
+ queryKey: bH,
+ queryFn: ({ signal: e }) => CH(e),
+ start: () => H(Ake, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -64170,52 +64170,52 @@ function Gke({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = dt({ mutationFn: () => H(Ake, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(nA, {
+ }), a = dt({ mutationFn: () => H(kke, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(rA, {
title: "amane",
- children: /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: B(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? B(i.error) : a.error ? B(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "amane",
- aside: /* @__PURE__ */ (0, x.jsx)(lA, {
+ aside: /* @__PURE__ */ (0, x.jsx)(uA, {
href: o.repository,
- leadingIcon: Hke,
+ leadingIcon: Vke,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, x.jsxs)(uA, { children: [
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsxs)(dA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(fA, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(fA, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(fA, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, x.jsxs)(dA, {
+ /* @__PURE__ */ (0, x.jsxs)(fA, {
term: "内置站点",
children: [o.sites.length.toLocaleString(), " 个"]
})
] }),
- /* @__PURE__ */ (0, x.jsxs)(iA, {
+ /* @__PURE__ */ (0, x.jsxs)(aA, {
divided: !0,
children: [
- o.sites.length ? /* @__PURE__ */ (0, x.jsx)(fA, {
+ o.sites.length ? /* @__PURE__ */ (0, x.jsx)(pA, {
summary: "查看内置站点",
children: /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: o.sites.map((e) => e.label).join("、")
})
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(sA, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -64224,7 +64224,7 @@ function Gke({ toast: e }) {
o.version,
" 版本,不随上游自动升级。"
] }),
- n ? /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, x.jsx)(Yk, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: c
@@ -64235,7 +64235,7 @@ function Gke({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(aA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsxs)(oA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -64252,24 +64252,24 @@ function Gke({ toast: e }) {
]
});
}
-function Kke({ toast: e }) {
+function Gke({ toast: e }) {
let t = ut({
- queryKey: _H,
- queryFn: ({ signal: e }) => bH(e)
+ queryKey: vH,
+ queryFn: ({ signal: e }) => xH(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
+ return n ? /* @__PURE__ */ (0, x.jsxs)(Xk, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, x.jsx)(Wke, { toast: e }),
- /* @__PURE__ */ (0, x.jsx)(Rke, { receipt: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(Uke, {
+ /* @__PURE__ */ (0, x.jsx)(Uke, { toast: e }),
+ /* @__PURE__ */ (0, x.jsx)(Lke, { receipt: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(Hke, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, x.jsx)(Gke, { toast: e })
- ] }) : /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ /* @__PURE__ */ (0, x.jsx)(Wke, { toast: e })
+ ] }) : /* @__PURE__ */ (0, x.jsx)(Xk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? B(t.error) : "读取采集来源失败"
@@ -64277,31 +64277,61 @@ function Kke({ toast: e }) {
}
//#endregion
//#region src/react/search/search.ts
-var kH = /* @__PURE__ */ new Set([
+var AH = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), AH = /* @__PURE__ */ new Set(["asset"]), jH = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function qke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
- let s = 0, c = [], l = (e) => {
+]), jH = /* @__PURE__ */ new Set([
+ "asset",
+ "jav",
+ "post",
+ "release"
+]), MH = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function Kke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+ let c = 0, l = [], u = (e) => {
let t = {
...e,
- index: s++
+ index: c++
};
- return c.push(t), t;
- }, u = t.filter((t) => !e || jH(t).includes(jH(e)));
+ return l.push(t), t;
+ }, d = t.filter((t) => !e || MH(t).includes(MH(e)));
if (!e) {
- let e = u.length ? {
+ if (s.length) {
+ let e = s.map((e) => ({
+ ...e,
+ options: e.items.map((t) => u({
+ type: "suggest",
+ value: t.value,
+ kind: e.kind,
+ item: t
+ }))
+ }));
+ return {
+ tabs: null,
+ recent: d.length ? {
+ label: "搜索记录",
+ options: d.map((e) => u({
+ type: "history",
+ value: e
+ }))
+ } : null,
+ left: e.filter((e) => !jH.has(e.kind)),
+ right: e.filter((e) => jH.has(e.kind)),
+ empty: !1,
+ options: l
+ };
+ }
+ let e = d.length ? {
label: "搜索记录",
- options: u.map((e) => l({
+ options: d.map((e) => u({
type: "history",
value: e
}))
} : null, t = n.length ? {
label: "推荐",
- options: n.map((e) => l({
+ options: n.map((e) => u({
type: "pick",
value: e
}))
@@ -64312,22 +64342,22 @@ function qke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
left: e ? [e] : [],
right: t ? [t] : [],
empty: !1,
- options: c
+ options: l
};
}
- let d = r === e, f = !o && u.length ? {
+ let f = r === e, p = !o && d.length ? {
label: "搜索记录",
- options: u.map((e) => l({
+ options: d.map((e) => u({
type: "history",
value: e
}))
- } : null, p = (d ? i : []).filter((e) => !o || e.kind === o), m = (t) => {
- let n = t.items.map((e) => l({
+ } : null, m = (f ? i : []).filter((e) => !o || e.kind === o), h = (t) => {
+ let n = t.items.map((e) => u({
type: "suggest",
value: e.value,
kind: t.kind,
item: e
- })), r = t.kind === "asset" && (t.total ?? 0) > n.length ? l({
+ })), r = t.kind === "asset" && (t.total ?? 0) > n.length ? u({
type: "more",
value: e,
total: t.total
@@ -64338,30 +64368,32 @@ function qke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, h = p.filter((e) => !AH.has(e.kind)).map(m), g = p.filter((e) => AH.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);
+ }, g = m.filter((e) => !jH.has(e.kind)).map(h), _ = m.filter((e) => jH.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
return {
- tabs: d && a.length > 1 ? [...a] : null,
- recent: f,
- left: h,
- right: g,
- empty: _,
- options: c
+ tabs: f && a.length > 1 ? [...a] : null,
+ recent: p,
+ left: g,
+ right: _,
+ empty: v,
+ options: l
};
}
-function Jke(e, t, n = Math.random) {
+function qke(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) => jH(t) === jH(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => MH(t) === MH(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var Yke = () => ({
+var Jke = () => ({
history: [],
pool: [],
poolRequest: 0,
+ recommendations: [],
+ recommendationRequest: 0,
query: "",
picks: [],
suggestFor: "",
@@ -64374,39 +64406,40 @@ var Yke = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), MH = (e) => qke({
+}), NH = (e) => Kke({
query: e.query,
history: e.history,
picks: e.picks,
suggestFor: e.suggestFor,
groups: e.groups,
tabs: e.tabs,
- kind: e.kind
-}), Xke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), NH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+ kind: e.kind,
+ recommendations: e.recommendations
+}), Yke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), PH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
-function Zke(e) {
+function Xke(e) {
let t = (0, b.useRef)(e);
t.current = e;
let n = (0, b.useRef)(null);
- n.current ??= Yke();
+ n.current ??= Jke();
let r = n.current, i = (0, b.useRef)(null), [, a] = (0, b.useReducer)((e) => e + 1, 0), o = (0, b.useRef)(null);
- o.current ??= Qke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= Zke(() => 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();
e.addEventListener("input", n), e.addEventListener("compositionend", n), e.addEventListener("compositionstart", i), e.addEventListener("keydown", a), e.addEventListener("focus", o);
let c = { close: s.close };
return t.current.expose(c), () => {
- e.removeEventListener("input", n), e.removeEventListener("compositionend", n), e.removeEventListener("compositionstart", i), e.removeEventListener("keydown", a), e.removeEventListener("focus", o), clearTimeout(r.timer), t.current.expose(null);
+ e.removeEventListener("input", n), e.removeEventListener("compositionend", n), e.removeEventListener("compositionstart", i), e.removeEventListener("keydown", a), e.removeEventListener("focus", o), clearTimeout(r.timer), r.recommendationRequest++, t.current.expose(null);
};
}, [s, r]), (0, b.useLayoutEffect)(() => {
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 = MH(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(eAe, {
+ let c = NH(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)($ke, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -64417,7 +64450,14 @@ function Zke(e) {
"data-search-group": "",
"data-kind": e.kind,
children: [
- /* @__PURE__ */ (0, x.jsx)("h3", { children: e.label }),
+ /* @__PURE__ */ (0, x.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, x.jsx)("a", {
+ href: e.href,
+ onMouseDown: FH,
+ onClick: (t) => {
+ t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
+ },
+ children: e.action || "查看全部"
+ }) : null] }),
e.kind ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-search-items": "",
children: e.options.map(u)
@@ -64428,15 +64468,16 @@ function Zke(e) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: i,
"data-search-root": "",
+ "data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, x.jsx)($ke, {
+ c.tabs ? /* @__PURE__ */ (0, x.jsx)(Qke, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
wire: e.helpers.wireScroller
}) : null,
- c.recent ? d(c.recent) : null,
+ r.query && c.recent ? d(c.recent) : null,
((e, t) => e.length || t.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-results": "",
"data-split": e.length && t.length ? "" : void 0,
@@ -64448,6 +64489,7 @@ function Zke(e) {
children: t.map(d)
}) : null]
}) : null)(c.left, c.right),
+ !r.query && c.recent ? d(c.recent) : null,
c.empty ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-search-empty": "",
role: "status",
@@ -64456,7 +64498,7 @@ function Zke(e) {
]
});
}
-function Qke(e, t, n, r) {
+function Zke(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 () => {
@@ -64467,7 +64509,7 @@ function Qke(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) => jH(e) !== jH(t))]), H("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => MH(e) !== MH(t))]), H("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -64480,7 +64522,15 @@ function Qke(e, t, n, r) {
let a = i[Math.floor(Math.random() * i.length)] || "";
r.dataset.suggestion = a, r.placeholder = a || "搜索馆藏";
} catch {}
- }, d = async (e, n = "") => {
+ }, d = async () => {
+ if (!e().helpers.recommendations) return;
+ let n = ++t.recommendationRequest;
+ try {
+ let r = await e().helpers.recommendations();
+ if (n !== t.recommendationRequest) return;
+ t.recommendations = r, a() && !i().value.trim() && h();
+ } catch {}
+ }, f = async (e, n = "") => {
let r = ++t.suggestRequest;
n || (t.asked = e);
try {
@@ -64497,86 +64547,90 @@ function Qke(e, t, n, r) {
} catch {
r === t.suggestRequest && (t.suggestFor = e, t.groups = []);
}
- }, f = () => {
+ }, p = () => {
let e = n();
return !!e && !e.hidden;
- }, p = () => {
+ }, m = () => {
+ t.recommendationRequest++;
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
- }, m = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : Jke(t.pool, o()), t.active = -1;
- let a = n();
- a && (Xke(MH(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, h = () => {
+ t.query = i().value.trim(), t.picks = t.query ? [] : qke(t.pool, o()), t.active = -1;
+ let a = n();
+ a && (Yke(NH(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ }, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
- e || (t.suggestFor = "", t.groups = []), f() && m(), e && (t.timer = window.setTimeout(() => void d(e).then(() => {
- a() && m();
+ e || (t.suggestFor = "", t.groups = []), p() && h(), e && (t.timer = window.setTimeout(() => void f(e).then(() => {
+ a() && h();
}), 150));
- }, g = (e) => {
+ }, _ = (e) => {
let n = i().value.trim();
- n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {
- a() && t.kind === e && m();
+ n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {
+ a() && t.kind === e && h();
}));
- }, _ = () => f() ? MH(t).options : [], v = (e) => {
- let n = _();
+ }, v = () => p() ? NH(t).options : [], y = (e) => {
+ let n = v();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
- }, y = (t, n) => {
+ }, b = (t, n) => {
let r = i(), a = r.value.trim();
t && !a && (a = r.dataset.suggestion || "", r.value = a), n && l(a), e().actions.search(a);
- }, b = (t, n) => {
+ }, x = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
- }, x = (t) => {
- t.type === "more" ? (y(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && kH.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));
+ }, S = (t) => {
+ t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && AH.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
+ }, C = (t) => {
+ m(), i().blur(), e().actions.openPath?.(t);
};
return {
input: (t) => {
- t.isComposing || (e().helpers.typed(i()), h());
+ t.isComposing || (e().helpers.typed(i()), g());
},
key: (n) => {
if (n.isComposing) return;
let r = i();
if (n.key === "Escape") {
- if (f()) {
- p(), n.preventDefault();
+ if (p()) {
+ m(), n.preventDefault();
return;
}
if (r.value) {
- e().helpers.clearField(r), t.active = -1, n.preventDefault(), h();
+ e().helpers.clearField(r), t.active = -1, n.preventDefault(), g();
return;
}
}
if (n.key === "ArrowDown" || n.key === "ArrowUp") {
- v(n.key === "ArrowDown" ? 1 : -1) && n.preventDefault();
+ y(n.key === "ArrowDown" ? 1 : -1) && n.preventDefault();
return;
}
if (n.key !== "Enter") return;
n.preventDefault();
- let a = _()[t.active];
- p(), a ? (x(a), (a.type !== "suggest" || a.kind !== "asset") && r.blur()) : (y(!0, !0), r.blur());
+ let a = v()[t.active];
+ m(), a ? (S(a), (a.type !== "suggest" || a.kind !== "asset") && r.blur()) : (b(!0, !0), r.blur());
},
focus: () => {
- Promise.all([c(), u()]).then(() => {
- a() && (m(), i().value.trim() !== t.asked && h());
+ d(), Promise.all([c(), u()]).then(() => {
+ a() && (h(), i().value.trim() !== t.asked && g());
});
},
- close: p,
+ close: m,
pick: (e) => {
- p(), x(e);
+ m(), S(e);
},
peek: (t) => {
- p(), i().blur(), e().actions.openItem(t.id);
+ m(), i().blur(), e().actions.openItem(t.id);
},
remove: async (e) => {
await H("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => jH(t) !== jH(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => MH(t) !== MH(e))), t.active = -1, r();
},
- pickKind: g
+ pickKind: _,
+ openPath: C
};
}
-function $ke({ tabs: e, kind: t, onPick: n, wire: r }) {
+function Qke({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
r(i.current);
@@ -64588,7 +64642,7 @@ function $ke({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, x.jsx)($B, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, x.jsx)(eV, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: i,
@@ -64598,8 +64652,8 @@ function $ke({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var PH = (e) => e.preventDefault();
-function eAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var FH = (e) => e.preventDefault();
+function $ke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -64611,40 +64665,47 @@ function eAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: PH,
+ onMouseDown: FH,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, x.jsx)(NH, { name: "chevron-right" })
+ /* @__PURE__ */ (0, x.jsx)(PH, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, x.jsx)(NH, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, x.jsx)(PH, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: PH,
+ onMouseDown: FH,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, x.jsx)(NH, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(PH, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = kH.has(c) ? c : void 0;
- if (c === "asset") {
+ let { item: s, kind: c } = e, l = AH.has(c) ? c : void 0;
+ if ([
+ "asset",
+ "jav",
+ "post",
+ "release"
+ ].includes(c)) {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, x.jsxs)("div", {
+ return /* @__PURE__ */ (0, x.jsxs)("button", {
+ type: "button",
"data-search-option": "work",
- "data-open-item": s.id,
+ "data-open-item": c === "asset" ? s.id : void 0,
...o,
- children: [/* @__PURE__ */ (0, x.jsx)(FH, {
+ onMouseDown: FH,
+ children: [/* @__PURE__ */ (0, x.jsx)(IH, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -64663,19 +64724,23 @@ function eAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-matched": "",
children: s.matched
}) : null;
- if (c === "performer" || c === "creator") {
- let e = s.works ?? [], t = [`${(s.n ?? 0).toLocaleString()} 个视频`, s.agency].filter(Boolean).join(" · ");
+ if (c === "performer" || c === "creator" || c === "author") {
+ let e = s.works ?? [], t = s.subtitle || [`${(s.n ?? 0).toLocaleString()} 个视频`, s.agency].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-option": "person",
"data-open-entity": l,
...o,
+ onMouseDown: FH,
children: [
- /* @__PURE__ */ (0, x.jsx)(IH, {
+ /* @__PURE__ */ (0, x.jsx)(LH, {
item: s,
kind: c
}),
- /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsxs)("button", {
+ type: "button",
+ "data-search-person": "",
"data-search-meta": "",
+ "aria-label": `查看 ${s.value}`,
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
"data-search-name": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: s.value }), u]
@@ -64690,11 +64755,11 @@ function eAe({ 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: PH,
+ onMouseDown: FH,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, x.jsx)(FH, {
+ children: /* @__PURE__ */ (0, x.jsx)(IH, {
card: e,
helpers: n
})
@@ -64708,7 +64773,7 @@ function eAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(IH, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(LH, {
item: s,
kind: c
}) : null,
@@ -64721,13 +64786,17 @@ function eAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function FH({ card: e, helpers: t }) {
+function IH({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function IH({ item: e, kind: t }) {
+function LH({ item: e, kind: t }) {
+ if (e.avatarHtml) return /* @__PURE__ */ (0, x.jsx)("span", {
+ "data-search-face": "",
+ dangerouslySetInnerHTML: { __html: e.avatarHtml }
+ });
let n = {
id: e.entity_id,
has_image: e.has_image,
@@ -64743,45 +64812,45 @@ function IH({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var LH = "/api/configuration", tAe = "/api/pick-folder", RH = ["configuration"], zH = (e) => V(LH, e);
-async function nAe(e) {
+var RH = "/api/configuration", eAe = "/api/pick-folder", zH = ["configuration"], BH = (e) => V(RH, e);
+async function tAe(e) {
await U.fetchQuery({
- queryKey: RH,
- queryFn: () => zH(e)
+ queryKey: zH,
+ queryFn: () => BH(e)
});
}
//#endregion
//#region src/react/settings/configuration-panel.ts
-var BH = "flex flex-col gap-6";
-function VH(e) {
+var VH = "flex flex-col gap-6";
+function HH(e) {
return e ? {
- className: e.active ? `${BH} ui-board-group-active` : BH,
+ className: e.active ? `${VH} ui-board-group-active` : VH,
"data-board-group": String(e.index),
id: e.id,
role: "tabpanel",
"aria-labelledby": e.labelledBy
- } : { className: BH };
+ } : { className: VH };
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var rAe = "/api/configuration/downloads", HH = "/api/configuration/downloads/check", iAe = "/api/configuration/downloads/folder", aAe = "/api/configuration/downloads/pikpak/login", oAe = "/api/configuration/downloads/pikpak/logout", UH = "/api/configuration/downloads/pikpak/browser-login", WH = 2e3;
-function sAe({ initial: e, receipt: t, panel: n }) {
+var nAe = "/api/configuration/downloads", UH = "/api/configuration/downloads/check", rAe = "/api/configuration/downloads/folder", iAe = "/api/configuration/downloads/pikpak/login", aAe = "/api/configuration/downloads/pikpak/logout", WH = "/api/configuration/downloads/pikpak/browser-login", GH = 2e3;
+function oAe({ initial: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- ...VH(n),
- children: /* @__PURE__ */ (0, x.jsx)(cAe, {
+ ...HH(n),
+ children: /* @__PURE__ */ (0, x.jsx)(sAe, {
initial: e,
receipt: t
})
});
}
-function cAe({ initial: e, receipt: t }) {
+function sAe({ 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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(lAe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(cAe, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
- }), /* @__PURE__ */ (0, x.jsx)(dAe, {
+ }), /* @__PURE__ */ (0, x.jsx)(uAe, {
state: n,
settle: r,
receipt: t,
@@ -64789,8 +64858,8 @@ function cAe({ initial: e, receipt: t }) {
setUsername: a
})] });
}
-function lAe({ 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)(GH), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = Qk(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
+function cAe({ 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)(KH), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = $k(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -64819,8 +64888,8 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- S.run("auto", (e) => V(HH, e), (e) => E(e, t), (e) => _(B(e)));
- }, []), /* @__PURE__ */ (0, x.jsxs)(nA, {
+ S.run("auto", (e) => V(UH, e), (e) => E(e, t), (e) => _(B(e)));
+ }, []), /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "云下载",
onSubmit: (e) => {
if (e.preventDefault(), T) {
@@ -64833,18 +64902,18 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- S.run("save", (e) => H(rAe, f, "POST", e), (e) => {
+ S.run("save", (e) => H(nAe, f, "POST", e), (e) => {
let { report: r, ...i } = e;
t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? E(r, {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (d(null), p(""), h(GH), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(KH), y(!1), _("")), n("已保存配置");
}, (e) => _(B(e)));
},
children: [
- /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "CloudDrive2 地址",
placeholder: "留空自动查找",
autoComplete: "off",
@@ -64856,7 +64925,7 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -64867,8 +64936,8 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
- label: /* @__PURE__ */ (0, x.jsx)(EA, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
+ label: /* @__PURE__ */ (0, x.jsx)(DA, {
source: "115",
label: "115 目标目录"
}),
@@ -64882,8 +64951,8 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => w("115", e)
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
- label: /* @__PURE__ */ (0, x.jsx)(EA, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
+ label: /* @__PURE__ */ (0, x.jsx)(DA, {
source: "pikpak",
label: "PikPak 目标目录"
}),
@@ -64897,10 +64966,10 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(cA, { children: /* @__PURE__ */ (0, x.jsx)(EA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(lA, { children: /* @__PURE__ */ (0, x.jsx)(DA, {
source: "pikpak",
label: "PikPak 根目录对应的媒体文件夹"
- }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(SL, {
+ }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -64909,13 +64978,13 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
...i,
pikpak_root: e === null ? "" : String(e)
}),
- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e,
children: e
}, e))
- }) : /* @__PURE__ */ (0, x.jsx)(oA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
+ }) : /* @__PURE__ */ (0, x.jsx)(sA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -64926,11 +64995,11 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: l
})
] }),
- S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(aA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在检查 CloudDrive2" })
+ children: /* @__PURE__ */ (0, x.jsx)(Yk, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, x.jsx)(uAe, {
+ u ? /* @__PURE__ */ (0, x.jsx)(lAe, {
report: u,
detected: f,
suggested: m,
@@ -64942,7 +65011,7 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- S.run("folder", (e) => H(iAe, t, "POST", e), (t) => {
+ S.run("folder", (e) => H(rAe, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -64954,11 +65023,11 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
} : void 0,
creating: S.busy === "folder"
}) : null,
- g || S.error ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ g || S.error ? /* @__PURE__ */ (0, x.jsx)(aA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: g || S.error })
+ children: /* @__PURE__ */ (0, x.jsx)(cA, { children: g || S.error })
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(aA, {
+ /* @__PURE__ */ (0, x.jsxs)(oA, {
status: e.available ? void 0 : "云下载只在账本写入端可用。",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -64974,7 +65043,7 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- S.run("check", (e) => H(HH, t, "POST", e), (t) => E(t, e), (e) => _(B(e)));
+ S.run("check", (e) => H(UH, t, "POST", e), (t) => E(t, e), (e) => _(B(e)));
},
disabled: !e.available,
...q(S.busy === "check"),
@@ -64989,29 +65058,29 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var GH = {
+var KH = {
target: null,
root: "",
saved: !1
};
-function uAe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function lAe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
- return /* @__PURE__ */ (0, x.jsxs)(iA, {
+ return /* @__PURE__ */ (0, x.jsxs)(aA, {
divided: !0,
- children: [/* @__PURE__ */ (0, x.jsxs)(uA, { children: [
- t ? /* @__PURE__ */ (0, x.jsx)(dA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(dA, { children: [
+ t ? /* @__PURE__ */ (0, x.jsx)(fA, {
term: "CloudDrive2 地址",
children: `探测到 ${t},保存配置后生效`
}) : null,
- a?.exists ? /* @__PURE__ */ (0, x.jsx)(dA, {
- term: /* @__PURE__ */ (0, x.jsx)(EA, {
+ a?.exists ? /* @__PURE__ */ (0, x.jsx)(fA, {
+ term: /* @__PURE__ */ (0, x.jsx)(DA, {
source: "115",
label: "115 目标目录"
}),
children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`
}) : null,
- a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(dA, {
- term: /* @__PURE__ */ (0, x.jsx)(EA, {
+ a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(fA, {
+ term: /* @__PURE__ */ (0, x.jsx)(DA, {
source: "115",
label: "115 目标目录"
}),
@@ -65023,55 +65092,55 @@ function uAe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: "新建这个目录"
}) : null]
}) : null,
- n.root ? /* @__PURE__ */ (0, x.jsx)(dA, {
- term: /* @__PURE__ */ (0, x.jsx)(EA, {
+ n.root ? /* @__PURE__ */ (0, x.jsx)(fA, {
+ term: /* @__PURE__ */ (0, x.jsx)(DA, {
source: "pikpak",
label: "PikPak 根目录"
}),
children: `按推送发现填入 ${n.root},保存配置后生效`
}) : null,
- e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(dA, {
+ e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(fA, {
term: "离线权限",
children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"
}) : null,
- e.folder ? /* @__PURE__ */ (0, x.jsx)(dA, {
+ e.folder ? /* @__PURE__ */ (0, x.jsx)(fA, {
term: "目标目录",
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
- e.quota ? /* @__PURE__ */ (0, x.jsx)(dA, {
- term: /* @__PURE__ */ (0, x.jsx)(EA, {
+ e.quota ? /* @__PURE__ */ (0, x.jsx)(fA, {
+ term: /* @__PURE__ */ (0, x.jsx)(DA, {
source: "115",
label: "115 离线配额"
}),
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(sA, { children: e }, e))]
+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(cA, { children: e }, e))]
});
}
-function dAe({ 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 = Qk(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
+function uAe({ 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 = $k(), 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 V(UH, e.signal);
+ let r = await V(WH, 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(B(t));
}
- r = setTimeout(i, WH);
+ r = setTimeout(i, GH);
};
- return r = setTimeout(i, WH), () => {
+ return r = setTimeout(i, GH), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => H(UH, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => H(WH, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(B(e)));
}, S = () => {
- h.run("cancel", (e) => H(`${UH}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => H(`${WH}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(B(e)));
}, C = (e) => {
@@ -65081,15 +65150,15 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => H(aAe, i, "POST", e), (e) => {
+ h.run("login", (e) => H(iAe, i, "POST", e), (e) => {
t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");
}, (e) => f(B(e)));
}, w = () => {
- h.run("logout", (e) => H(oAe, {}, "POST", e), (e) => {
+ h.run("logout", (e) => H(aAe, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(B(e)));
}, T = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -65098,7 +65167,7 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -65107,7 +65176,7 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, x.jsx)(kL, {
+ /* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -65118,7 +65187,7 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
title: "需要人机验证",
extra: /* @__PURE__ */ (0, x.jsx)("div", {
className: "pt-2",
- children: /* @__PURE__ */ (0, x.jsx)(lA, {
+ children: /* @__PURE__ */ (0, x.jsx)(uA, {
href: l,
children: "打开 PikPak 验证页"
})
@@ -65131,24 +65200,24 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
...q(h.busy === "login"),
children: "登录"
}), D = _.state === "timeout" || _.state === "failed";
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "PikPak 账号",
- icon: /* @__PURE__ */ (0, x.jsx)(TA.pikpak, {}),
+ icon: /* @__PURE__ */ (0, x.jsx)(EA.pikpak, {}),
onSubmit: C,
children: [
- g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(uA, { children: [/* @__PURE__ */ (0, x.jsx)(dA, {
+ g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(dA, { children: [/* @__PURE__ */ (0, x.jsx)(fA, {
term: "账号",
children: g.username || "已登录"
- }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(dA, {
+ }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(fA, {
term: "登录方式",
children: "浏览器登录,由 Peach 续期"
- }) : /* @__PURE__ */ (0, x.jsx)(dA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(fA, {
term: "密码",
children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(iA, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(sA, { children: p }) : /* @__PURE__ */ (0, x.jsx)(oA, {
+ })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(aA, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(cA, { children: p }) : /* @__PURE__ */ (0, x.jsx)(sA, {
role: "status",
children: p
- }) : null, /* @__PURE__ */ (0, x.jsx)(fA, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(pA, {
summary: "用账号密码登录",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
@@ -65157,13 +65226,13 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
children: E
})]
})
- })] }) : /* @__PURE__ */ (0, x.jsx)(iA, { children: T }),
- d || h.error ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ })] }) : /* @__PURE__ */ (0, x.jsx)(aA, { children: T }),
+ d || h.error ? /* @__PURE__ */ (0, x.jsx)(aA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: d || h.error })
+ children: /* @__PURE__ */ (0, x.jsx)(cA, { children: d || h.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(aA, {
- status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(Jk, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(oA, {
+ status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(Yk, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
children: g.logged_in ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: w,
@@ -65189,33 +65258,33 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var fAe = [
+var dAe = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function pAe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
+function fAe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...VH(r),
+ ...HH(r),
children: [
- /* @__PURE__ */ (0, x.jsx)(gAe, { facts: e.facts }),
- /* @__PURE__ */ (0, x.jsx)(mAe, {
+ /* @__PURE__ */ (0, x.jsx)(hAe, { facts: e.facts }),
+ /* @__PURE__ */ (0, x.jsx)(pAe, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, x.jsx)(_Ae, {
+ e.uninstall ? /* @__PURE__ */ (0, x.jsx)(gAe, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function mAe({ receipt: e, reopenTutorial: t }) {
- let n = Qk();
+function pAe({ receipt: e, reopenTutorial: t }) {
+ let n = $k();
return /* @__PURE__ */ (0, x.jsx)("section", {
"aria-label": "安装教程",
className: "w-full",
- children: /* @__PURE__ */ (0, x.jsxs)(Tge, { children: [/* @__PURE__ */ (0, x.jsx)(rA, { children: /* @__PURE__ */ (0, x.jsx)($k, {
+ children: /* @__PURE__ */ (0, x.jsxs)(wge, { children: [/* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(eA, {
label: "安装教程",
children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -65223,61 +65292,61 @@ function mAe({ receipt: e, reopenTutorial: t }) {
...q(n.busy === "reopen"),
children: "重新打开教程"
})
- }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(sA, { children: n.error }) }) : null] })
+ }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(cA, { children: n.error }) }) : null] })
});
}
-function hAe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = Qk(e.error), s = (r) => {
+function mAe({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = $k(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => H("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "下载完成后在这里确认重启安装。" : void 0 : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, x.jsxs)(rA, { children: [
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, x.jsx)(HB, {
+ children: /* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, x.jsx)(HB, {
+ children: /* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, x.jsx)(SL, {
+ children: /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: fAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: dAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ o.error ? /* @__PURE__ */ (0, x.jsx)(aA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: o.error })
+ children: /* @__PURE__ */ (0, x.jsx)(cA, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
disabled: !e.available,
...q(o.busy === "save"),
@@ -65286,18 +65355,18 @@ function hAe({ initial: e, receipt: t }) {
]
});
}
-function gAe({ facts: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+function hAe({ facts: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "运行信息",
- children: [/* @__PURE__ */ (0, x.jsx)(uA, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(dA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(dA, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(fA, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(lA, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(uA, {
href: e.download_url,
children: e.download_label
}) : null]
- }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(rA, { children: /* @__PURE__ */ (0, x.jsx)($k, {
+ }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(eA, {
label: "系统诊断",
- children: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "secondary",
href: "/diagnostics",
children: "打开系统诊断"
@@ -65305,7 +65374,7 @@ function gAe({ facts: e }) {
}) })]
});
}
-function _Ae({ uninstall: e, receipt: t }) {
+function gAe({ uninstall: e, receipt: t }) {
let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), o = () => void ls({
title: "卸载 Peach",
danger: !0,
@@ -65319,30 +65388,30 @@ function _Ae({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- e.available ? /* @__PURE__ */ (0, x.jsx)(oA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, x.jsx)($k, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ e.available ? /* @__PURE__ */ (0, x.jsx)(sA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "完全卸载",
description: "同时删除设置、本地数据库、观看记录、凭据和缓存",
- children: /* @__PURE__ */ (0, x.jsx)(HB, {
+ children: /* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": "完全卸载",
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r
})
}),
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(pA, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(_L, {
+ children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(vL, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, x.jsx)(aA, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(oA, {
status: s ? /* @__PURE__ */ (0, x.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -65358,23 +65427,23 @@ function _Ae({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var KH = /* @__PURE__ */ new Set([
+var qH = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), vAe = [
+]), _Ae = [
65,
67,
90
-], qH = 120;
-function yAe({ initial: e, initialJob: t }) {
+], JH = 120;
+function vAe({ initial: e, initialJob: t }) {
let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, b.useState)(""), c = Qk(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = KH.has(i.state);
+ }), [o, s] = (0, b.useState)(""), c = $k(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = qH.has(i.state);
(0, b.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -65391,7 +65460,7 @@ function yAe({ initial: e, initialJob: t }) {
(0, b.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, b.useEffect)(() => {
- let e = new AbortController(), t = KH.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = qH.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await V("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -65404,9 +65473,9 @@ function yAe({ initial: e, initialJob: t }) {
let n = await V("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= qH && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= JH && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < qH && (n = setTimeout(c, t));
+ !e.signal.aborted && o < JH && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -65420,57 +65489,57 @@ function yAe({ initial: e, initialJob: t }) {
state: "error"
}), c.setError(B(t));
}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, x.jsxs)(uA, { children: [
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsxs)(dA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(fA, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(fA, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(fA, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(fA, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(iA, {
+ n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(aA, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(oA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(sA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !g ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(sA, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(oA, {
+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(cA, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(sA, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(sA, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(cA, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(Zk, {
+ /* @__PURE__ */ (0, x.jsx)(Qk, {
label: "更新准备进度",
value: i.progress,
- stops: vAe
+ stops: _Ae
}),
- /* @__PURE__ */ (0, x.jsxs)(oA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: _ })
+ /* @__PURE__ */ (0, x.jsxs)(sA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: _ })
]
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(aA, {
- status: /* @__PURE__ */ (0, x.jsx)(lA, {
+ /* @__PURE__ */ (0, x.jsxs)(oA, {
+ status: /* @__PURE__ */ (0, x.jsx)(uA, {
href: n.release_url,
children: "查看发布页"
}),
@@ -65498,28 +65567,28 @@ function yAe({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function bAe({ data: e, receipt: t, panel: n }) {
+function yAe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...VH(n),
+ ...HH(n),
children: [
- e.startup ? /* @__PURE__ */ (0, x.jsx)(xAe, {
+ e.startup ? /* @__PURE__ */ (0, x.jsx)(bAe, {
startup: e.startup,
receipt: t
}) : null,
- e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(hAe, {
+ e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(mAe, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, x.jsx)(yAe, {
+ e.updates ? /* @__PURE__ */ (0, x.jsx)(vAe, {
initial: e.updates,
initialJob: e.update_job
}) : null
]
});
}
-function xAe({ 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 = Qk(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+function bAe({ 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 = $k(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => H("/api/configuration/startup", {
@@ -65529,29 +65598,29 @@ function xAe({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, x.jsxs)(rA, { children: [
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, x.jsx)(HB, {
+ children: /* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "只启动托盘,不打开网页",
- children: /* @__PURE__ */ (0, x.jsx)(HB, {
+ children: /* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": "只启动托盘,不打开网页",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(HB, {
+ children: /* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -65559,11 +65628,11 @@ function xAe({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(iA, {
+ e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(aA, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, x.jsx)(oA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, x.jsx)(sA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
disabled: !e.available,
...q(c.busy === "save"),
@@ -65574,7 +65643,7 @@ function xAe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/restart-redirect.ts
-var JH = 8e3, SAe = [
+var YH = 8e3, xAe = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -65593,33 +65662,33 @@ var JH = 8e3, SAe = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], CAe = [
+], SAe = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function wAe() {
+function CAe() {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "@container flex flex-col gap-3",
- children: /* @__PURE__ */ (0, x.jsxs)(fA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(pA, {
summary: "CloudDrive 设置帮助",
children: [
- /* @__PURE__ */ (0, x.jsxs)(oA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(lA, {
+ /* @__PURE__ */ (0, x.jsxs)(sA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(uA, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
})] }),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, x.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: SAe.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: xAe.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, x.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: CAe.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: SAe.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, x.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -65640,7 +65709,7 @@ function wAe() {
/* @__PURE__ */ (0, x.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(lA, {
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(uA, {
href: "https://github.com/peach-mitao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "完整配置与调优说明"
}) })
@@ -65650,7 +65719,7 @@ function wAe() {
}
//#endregion
//#region src/react/settings/folder-rows.tsx
-function TAe({ className: e }) {
+function wAe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -65663,12 +65732,12 @@ function TAe({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-search" })
});
}
-var YH = [
+var XH = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], XH = (e) => Ya[e] || "database", EAe = (e) => e === "115" || e === "pikpak";
-function DAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
+], ZH = (e) => Ya[e] || "database", TAe = (e) => e === "115" || e === "pikpak";
+function EAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)([]), [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(null), p = (0, b.useRef)(!1), m = (0, b.useRef)([]);
(0, b.useLayoutEffect)(() => {
l !== null && (m.current[l]?.focus(), u(null));
@@ -65711,7 +65780,7 @@ function DAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:
}
};
}
-function OAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
+function DAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
let u = (0, b.useRef)(null), d = () => {
let e = u.current;
e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);
@@ -65724,7 +65793,7 @@ function OAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
className: "min-w-0 flex-1",
"aria-label": e,
placeholder: "本机文件夹路径",
@@ -65742,8 +65811,8 @@ function OAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
className: "flex h-9 shrink-0 items-center",
children: c
}) : null,
- /* @__PURE__ */ (0, x.jsx)(gL, {
- icon: TAe,
+ /* @__PURE__ */ (0, x.jsx)(_L, {
+ icon: wAe,
"aria-label": "选择文件夹",
onClick: o,
...q(a)
@@ -65751,7 +65820,7 @@ function OAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
s ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
iconOnly: !0,
- leadingIcon: dk,
+ leadingIcon: fk,
"aria-label": "移除这个文件夹",
onClick: s
}) : null
@@ -65762,23 +65831,23 @@ function OAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function kAe({ index: e, value: t, onChange: n, options: r = YH }) {
- return /* @__PURE__ */ (0, x.jsx)(SL, {
+function OAe({ index: e, value: t, onChange: n, options: r = XH }) {
+ return /* @__PURE__ */ (0, x.jsx)(CL, {
className: "w-full @lg:w-60",
"aria-label": `媒体来源 ${e + 1}`,
selectedKey: t,
onSelectionChange: (e) => {
e !== null && n(String(e));
},
- children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(CL, {
+ children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(wL, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: XH(e) }), t]
+ children: [/* @__PURE__ */ (0, x.jsx)(mA, { mark: ZH(e) }), t]
}, e))
});
}
-function AAe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
- return /* @__PURE__ */ (0, x.jsx)(jN, {
+function kAe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
+ return /* @__PURE__ */ (0, x.jsx)(MN, {
label: n,
placeholder: r,
value: e,
@@ -65787,7 +65856,7 @@ function AAe({ value: e, onChange: t, label: n = "Windows 中的对应路径", p
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var ZH = [
+var QH = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -65831,13 +65900,13 @@ var ZH = [
["star", "收藏"],
["tags", "主题"]
];
-function jAe(e) {
+function AAe(e) {
let t = e === "local" ? "" : Ya[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var QH = "auto";
-function MAe({ 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] = jAe(n);
+var $H = "auto";
+function jAe({ 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] = AAe(n);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
ref: i,
variant: "secondary",
@@ -65851,35 +65920,35 @@ function MAe({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, x.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: e || l }), ((e) => e && ZH.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, x.jsx)(mA, { mark: e || l }), ((e) => e && QH.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(AM, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: KI,
- children: /* @__PURE__ */ (0, x.jsxs)(VM, {
+ className: qI,
+ children: /* @__PURE__ */ (0, x.jsxs)(HM, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(dj, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, x.jsx)(JM, {
+ /* @__PURE__ */ (0, x.jsx)(YM, {
"aria-label": "候选图标",
- value: s || QH,
- onChange: (e) => c(e === QH ? "" : e),
+ value: s || $H,
+ onChange: (e) => c(e === $H ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: ZH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(YM, {
- value: e || QH,
+ children: QH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XM, {
+ value: e || $H,
"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, x.jsx)(pA, { mark: e || l })
- }, e || QH))
+ children: /* @__PURE__ */ (0, x.jsx)(mA, { mark: e || l })
+ }, e || $H))
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -65901,9 +65970,9 @@ function MAe({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var NAe = "/api/configuration/push-discovery", PAe = "/api/configuration/push-discovery/secret";
-function FAe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = Qk(), l = mL(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {
+var MAe = "/api/configuration/push-discovery", NAe = "/api/configuration/push-discovery/secret";
+function PAe({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = $k(), l = hL(), 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,
@@ -65916,21 +65985,21 @@ function FAe({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => H(NAe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(B(e)));
+ c.run("save", (e) => H(MAe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(B(e)));
}, g = () => {
- c.run("secret", (e) => H(PAe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(B(e)));
+ c.run("secret", (e) => H(NAe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(B(e)));
}, _ = () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看配置」选中自己复制。"));
}, v = `已入库 ${d.queue.ingested} 个文件` + (d.queue.pending ? `,队列里还有 ${d.queue.pending} 条` : ""), y = d.local_running ? `正在监视 ${d.local_roots.join("、")}` : d.local_message || "没有运行";
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "推送发现",
onSubmit: h,
children: [
- /* @__PURE__ */ (0, x.jsxs)(rA, { children: [
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "新文件落地就入库",
description: d.enabled ? v : void 0,
- children: /* @__PURE__ */ (0, x.jsx)(HB, {
+ children: /* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -65940,10 +66009,10 @@ function FAe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "监视本机文件夹",
description: d.enabled && d.watch_local ? y : void 0,
- children: /* @__PURE__ */ (0, x.jsx)(HB, {
+ children: /* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -65953,9 +66022,9 @@ function FAe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "接收 CloudDrive2 通知",
- children: /* @__PURE__ */ (0, x.jsx)(HB, {
+ children: /* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -65965,7 +66034,7 @@ function FAe({ initial: e, receipt: t }) {
})
})
}),
- d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)($k, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(eA, {
label: "Webhook 配置",
description: d.config_toml ? "贴进 CloudDrive2「设置 → Webhooks」,需要会员;更换密钥后要重贴。" : d.origin ? "还没有共享密钥,保存配置后生成。" : "要先有 CloudDrive2 能访问的 HTTPS 地址才能生成。",
children: d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
@@ -65976,11 +66045,11 @@ function FAe({ initial: e, receipt: t }) {
}) : null
}) : null
] }),
- d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(aA, {
divided: !0,
children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-3",
- children: /* @__PURE__ */ (0, x.jsxs)(fA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(pA, {
summary: "查看配置",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "relative",
@@ -65990,16 +66059,16 @@ function FAe({ initial: e, receipt: t }) {
className: "overflow-x-auto rounded-2xl bg-background-tertiary-default p-3 text-caption-1-regular whitespace-pre text-text-primary",
children: d.config_toml
})
- }), /* @__PURE__ */ (0, x.jsx)(oA, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
+ }), /* @__PURE__ */ (0, x.jsx)(sA, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
})
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(aA, {
divided: !0,
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, x.jsx)(lA, { children: "云端路径前缀" }),
/* @__PURE__ */ (0, x.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -66007,7 +66076,7 @@ function FAe({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -66016,13 +66085,13 @@ function FAe({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, x.jsx)(SL, {
+ /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e,
children: e
}, e))
@@ -66030,7 +66099,7 @@ function FAe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
iconOnly: !0,
- leadingIcon: dk,
+ leadingIcon: fk,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -66049,11 +66118,11 @@ function FAe({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ o || c.error ? /* @__PURE__ */ (0, x.jsx)(aA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: o || c.error })
+ children: /* @__PURE__ */ (0, x.jsx)(cA, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(aA, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsxs)(oA, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: g,
disabled: !n.available,
@@ -66070,79 +66139,79 @@ function FAe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/application/initial-follow-ranges.ts
-var $H = [
+var eU = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
-], IAe = [
+], FAe = [
["off", "关闭"],
["precise", "每 10 秒一张"],
["coarse", "每 30 秒一张"]
];
-function LAe({ epoch: e = 0 }) {
+function IAe({ epoch: e = 0 }) {
let t = ut({
- queryKey: fI,
- queryFn: ({ signal: e }) => hxe(e),
+ queryKey: pI,
+ queryFn: ({ signal: e }) => mxe(e),
refetchOnMount: "always"
- }), n = vxe(), r = n.reset;
+ }), n = _xe(), r = n.reset;
(0, b.useEffect)(() => {
r();
}, [e, r]);
let i = t.data, a = n.error || t.error;
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "时间轴缩略图",
children: [
- /* @__PURE__ */ (0, x.jsx)(rA, { children: /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(eA, {
label: "采集间隔",
description: "仅采集本机磁盘上的视频。",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "videoThumbnailSetting",
- children: /* @__PURE__ */ (0, x.jsx)(SL, {
+ children: /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "缩略图采集间隔",
selectedKey: i?.mode || "off",
isDisabled: !i || t.isFetching || n.isPending,
onSelectionChange: (e) => {
e !== null && n.mutate(String(e));
},
- children: IAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: FAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e,
children: t
}, e))
})
})
}) }),
- n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(aA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(oA, {
+ children: /* @__PURE__ */ (0, x.jsx)(sA, {
role: "status",
children: n.isPending ? "正在保存…" : "正在采集,进度在活动页查看。"
})
}) : null,
- a ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ a ? /* @__PURE__ */ (0, x.jsx)(aA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: B(a) })
+ children: /* @__PURE__ */ (0, x.jsx)(cA, { children: B(a) })
}) : null
]
});
}
-function RAe({ receipt: e }) {
+function LAe({ receipt: e }) {
let t = IT();
(0, b.useSyncExternalStore)(t.subscribe, t.version);
let n = ut({
- queryKey: uI,
- queryFn: ({ signal: e }) => pI(e),
+ queryKey: dI,
+ queryFn: ({ signal: e }) => mI(e),
refetchOnMount: "always"
- }), r = mI(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ }), r = hI(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "关注采集",
- children: [/* @__PURE__ */ (0, x.jsxs)(rA, { children: [
- /* @__PURE__ */ (0, x.jsx)(zAe, {}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(RAe, {}),
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "首次采集范围",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "followInitialDaysSetting",
- children: /* @__PURE__ */ (0, x.jsx)(SL, {
+ children: /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "首次采集范围",
selectedKey: String(i),
isDisabled: n.isFetching || r.isPending,
@@ -66151,33 +66220,33 @@ function RAe({ receipt: e }) {
typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");
} });
},
- children: $H.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: eU.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e,
children: t
}, e))
})
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "头像刷新",
children: "每 3 个月"
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "favicon 刷新",
children: "每年"
})
- ] }), a ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ ] }), a ? /* @__PURE__ */ (0, x.jsx)(aA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: B(a) })
+ children: /* @__PURE__ */ (0, x.jsx)(cA, { children: B(a) })
}) : null]
});
}
-function zAe() {
+function RAe() {
let e = ut({
- queryKey: dI,
- queryFn: ({ signal: e }) => mxe(e),
+ queryKey: fI,
+ queryFn: ({ signal: e }) => pxe(e),
refetchOnMount: "always"
- }), t = _xe(), n = e.data, r = (0, b.useRef)(sT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);
+ }), t = gxe(), n = e.data, r = (0, b.useRef)(sT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);
(0, b.useEffect)(() => {
n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));
}, [n]);
@@ -66186,12 +66255,12 @@ function zAe() {
!Number.isInteger(e) || e < 15 || e > 10080 ? s(!0) : (s(!1), n?.enabled && !c && e !== n.interval_minutes && (r.current = e, localStorage.setItem("peach.number.followScheduleSetting", String(e)), t.mutate(e)));
}, u = t.error || e.error;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(eA, {
label: "自动检查更新",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
id: "followScheduleSetting",
className: "flex min-w-0 flex-wrap items-center justify-end gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(HB, {
+ children: [/* @__PURE__ */ (0, x.jsx)(UB, {
"aria-label": "自动检查更新",
isSelected: n?.enabled === !0,
isDisabled: c,
@@ -66200,7 +66269,7 @@ function zAe() {
}
}), n?.enabled ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(MN, {
type: "number",
inputMode: "numeric",
name: "follow-interval",
@@ -66225,39 +66294,39 @@ function zAe() {
}) : null]
})
}),
- o ? /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(sA, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
- t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(oA, {
+ o ? /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(cA, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
+ t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(sA, {
role: "status",
children: t.isPending ? "正在保存…" : "正在检查来源更新…"
}) }) : null,
- u ? /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(sA, { children: B(u) }) }) : null
+ u ? /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(cA, { children: B(u) }) }) : null
] });
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var BAe = (e) => YH.find(([t]) => t === e)?.[1] ?? e, VAe = async (e) => (await H(tAe, { initial: e })).path, eU = (e = "") => ({
+var zAe = (e) => XH.find(([t]) => t === e)?.[1] ?? e, BAe = async (e) => (await H(eAe, { initial: e })).path, tU = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function HAe(e) {
- let t = e.media_sources?.filter((e) => YH.some(([t]) => t === e.location));
+function VAe(e) {
+ let t = e.media_sources?.filter((e) => XH.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) => eU(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => tU(e));
}
-var UAe = (e) => !(e instanceof sn) || e.status !== 400 ? null : e.body?.errors ?? null;
-function WAe({ data: e, receipt: t, panel: n }) {
+var HAe = (e) => !(e instanceof sn) || e.status !== 400 ? null : e.body?.errors ?? null;
+function UAe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...VH(n),
+ ...HH(n),
children: [
- e.editable ? /* @__PURE__ */ (0, x.jsx)(GAe, {
+ e.editable ? /* @__PURE__ */ (0, x.jsx)(WAe, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, x.jsx)(K, {
@@ -66265,29 +66334,29 @@ function WAe({ data: e, receipt: t, panel: n }) {
title: "只读",
children: e.notice
}),
- e.editable ? null : /* @__PURE__ */ (0, x.jsx)(KAe, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(FAe, {
+ e.editable ? null : /* @__PURE__ */ (0, x.jsx)(GAe, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(PAe, {
initial: e.push_discovery,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(LAe, {})
+ /* @__PURE__ */ (0, x.jsx)(IAe, {})
]
});
}
-function GAe({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = DAe({
- initial: () => HAe(e),
- blank: () => eU(),
- pickFolder: VAe,
+function WAe({ data: e, receipt: t }) {
+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = EAe({
+ initial: () => VAe(e),
+ blank: () => tU(),
+ pickFolder: BAe,
describe: B
- }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = Qk();
+ }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = $k();
(0, b.useEffect)(() => {
if (!h) return;
- let e = setTimeout(() => location.assign(h.url), JH);
+ let e = setTimeout(() => location.assign(h.url), YH);
return () => clearTimeout(e);
}, [h]);
let y = (r) => {
- r.preventDefault(), m(""), v.run("save", (t) => H(LH, {
+ r.preventDefault(), m(""), v.run("save", (t) => H(RH, {
revision: _.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -66296,18 +66365,18 @@ function GAe({ data: e, receipt: t }) {
}, "POST", t), (e) => {
_.current = e.revision, s([]), t("已保存配置"), g(e);
}, (e) => {
- let t = UAe(e);
+ let t = HAe(e);
s(t?.media_dirs ?? []), (!t || t.port) && m(t?.port || B(e));
});
};
- if (h) return /* @__PURE__ */ (0, x.jsx)(nA, {
+ if (h) return /* @__PURE__ */ (0, x.jsx)(rA, {
title: "媒体文件夹",
- children: /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, x.jsx)(tA, {
+ /* @__PURE__ */ (0, x.jsx)(nA, {
href: h.url,
size: "small",
children: "进入馆藏"
@@ -66316,20 +66385,20 @@ function GAe({ data: e, receipt: t }) {
]
}) })
});
- let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => EAe(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => TAe(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "媒体文件夹",
onSubmit: y,
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ children: [/* @__PURE__ */ (0, x.jsxs)(aA, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, x.jsx)(lA, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, x.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
className: "flex flex-col gap-3",
- children: n.map((t, i) => /* @__PURE__ */ (0, x.jsxs)(OAe, {
+ children: n.map((t, i) => /* @__PURE__ */ (0, x.jsxs)(DAe, {
label: `媒体文件夹 ${i + 1}`,
path: t.path,
onPath: (e) => r(i, { path: e }),
@@ -66338,14 +66407,14 @@ function GAe({ data: e, receipt: t }) {
picking: c === i,
onPick: () => void l(i),
onRemove: n.length > 1 ? () => a(i) : void 0,
- status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(tU, { online: S(t.path)?.online }) : null,
+ status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(nU, { online: S(t.path)?.online }) : null,
children: [
- /* @__PURE__ */ (0, x.jsx)(kAe, {
+ /* @__PURE__ */ (0, x.jsx)(OAe, {
index: i,
value: t.location,
onChange: (e) => r(i, { location: e })
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
className: "min-w-40 flex-1",
"aria-label": `媒体库名称 ${i + 1}`,
maxLength: 80,
@@ -66353,13 +66422,13 @@ function GAe({ data: e, receipt: t }) {
value: t.library,
onChange: (e) => r(i, { library: e })
}),
- /* @__PURE__ */ (0, x.jsx)(MAe, {
+ /* @__PURE__ */ (0, x.jsx)(jAe, {
label: `媒体库图标 ${i + 1}`,
value: t.library_icon,
kind: t.location,
onChange: (e) => r(i, { library_icon: e })
}),
- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(AAe, {
+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(kAe, {
value: t.root,
onChange: (e) => r(i, { root: e })
}) : null
@@ -66374,18 +66443,18 @@ function GAe({ data: e, receipt: t }) {
})
]
}),
- C ? /* @__PURE__ */ (0, x.jsx)(wAe, {}) : null,
- w.map((e) => /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ C ? /* @__PURE__ */ (0, x.jsx)(CAe, {}) : null,
+ w.map((e) => /* @__PURE__ */ (0, x.jsxs)(sA, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, x.jsxs)(lA, {
+ /* @__PURE__ */ (0, x.jsxs)(uA, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(oA, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
- /* @__PURE__ */ (0, x.jsx)(kL, {
+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(sA, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: d,
onChange: f,
children: "保存后扫描并补全资料"
@@ -66395,7 +66464,7 @@ function GAe({ data: e, receipt: t }) {
title: "没有保存",
children: p
}) : null
- ] }), /* @__PURE__ */ (0, x.jsx)(aA, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(oA, {
status: "保存后 Peach 会重新启动。",
children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
@@ -66405,7 +66474,7 @@ function GAe({ data: e, receipt: t }) {
})]
});
}
-function tU({ online: e }) {
+function nU({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -66429,22 +66498,22 @@ function tU({ online: e }) {
}), "未检测"]
});
}
-function KAe({ data: e }) {
- let t = e.media_sources, n = Qk();
- return t ? /* @__PURE__ */ (0, x.jsxs)(nA, {
+function GAe({ data: e }) {
+ let t = e.media_sources, n = $k();
+ return t ? /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, x.jsx)(uA, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(dA, {
- term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: XH(e.location) }), BAe(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(tU, { online: e.online })]
+ /* @__PURE__ */ (0, x.jsx)(dA, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(fA, {
+ term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(mA, { mark: ZH(e.location) }), zAe(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(nU, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ n.error ? /* @__PURE__ */ (0, x.jsx)(aA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: n.error })
+ children: /* @__PURE__ */ (0, x.jsx)(cA, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- onClick: () => void n.run("refresh", (e) => zH(e), (e) => U.setQueryData(RH, e)),
+ onClick: () => void n.run("refresh", (e) => BH(e), (e) => U.setQueryData(zH, e)),
...q(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -66453,8 +66522,8 @@ function KAe({ data: e }) {
}
//#endregion
//#region src/react/settings/password-pair.tsx
-function qAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(jN, {
+function KAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(MN, {
id: "access-password",
type: "password",
label: e,
@@ -66467,7 +66536,7 @@ function qAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
validationBehavior: "aria",
isInvalid: !a && !!o,
hint: a ? s : o || s
- }), /* @__PURE__ */ (0, x.jsx)(jN, {
+ }), /* @__PURE__ */ (0, x.jsx)(MN, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -66484,13 +66553,13 @@ function qAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var JAe = {
+var qAe = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function YAe({ 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 = Qk(), g = (e) => {
+function JAe({ 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 = $k(), g = (e) => {
e.preventDefault();
let f = {};
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 ? requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus()) : h.run("save", (e) => H("/api/configuration/access", {
@@ -66506,25 +66575,25 @@ function YAe({ initial: e, receipt: t }) {
let t = e instanceof sn ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(B(e));
});
- }, _ = JAe[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ }, _ = qAe[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- _ ? /* @__PURE__ */ (0, x.jsx)(oA, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ _ ? /* @__PURE__ */ (0, x.jsx)(sA, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, x.jsx)(kL, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(jN, {
+ n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(MN, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -66537,7 +66606,7 @@ function YAe({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, x.jsx)(qAe, {
+ v ? /* @__PURE__ */ (0, x.jsx)(KAe, {
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
password: o,
confirmation: c,
@@ -66553,9 +66622,9 @@ function YAe({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ }), v ? /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(h.busy === "save"),
children: "保存配置"
@@ -66564,27 +66633,27 @@ function YAe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/port-settings.tsx
-function XAe({ data: e, receipt: t }) {
- let [n, r] = (0, b.useState)(String(e.port)), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(null), c = Qk();
+function YAe({ data: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(String(e.port)), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(null), c = $k();
return (0, b.useEffect)(() => {
if (!o) return;
- let e = setTimeout(() => location.assign(o.url), JH);
+ let e = setTimeout(() => location.assign(o.url), YH);
return () => clearTimeout(e);
- }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(nA, {
+ }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(rA, {
title: "本机访问端口",
- children: /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
tone: "success",
title: "配置已保存",
- children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(tA, {
+ children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(nA, {
href: o.url,
size: "small",
children: "进入馆藏"
})]
}) })
- }) : /* @__PURE__ */ (0, x.jsxs)(nA, {
+ }) : /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "本机访问端口",
onSubmit: (r) => {
- r.preventDefault(), a(""), c.run("save", (t) => H(LH, {
+ r.preventDefault(), a(""), c.run("save", (t) => H(RH, {
revision: e.revision,
media_dirs: e.media_dirs,
...e.media_sources ? { media_sources: e.media_sources } : {},
@@ -66597,7 +66666,7 @@ function XAe({ data: e, receipt: t }) {
t?.port ? a(t.port) : c.setError(B(e));
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [/* @__PURE__ */ (0, x.jsx)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(aA, { children: [/* @__PURE__ */ (0, x.jsx)(MN, {
id: "configPort",
label: "端口",
inputMode: "numeric",
@@ -66610,7 +66679,7 @@ function XAe({ data: e, receipt: t }) {
tone: "error",
title: "没有保存",
children: c.error
- }) : null] }), /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : null] }), /* @__PURE__ */ (0, x.jsx)(oA, {
status: "保存后 Peach 会重启,并跳转到新地址。",
children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
@@ -66622,19 +66691,19 @@ function XAe({ data: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var ZAe = 2e3, QAe = [["quick", "临时链接"], ["named", "命名隧道"]], $Ae = {
+var XAe = 2e3, ZAe = [["quick", "临时链接"], ["named", "命名隧道"]], QAe = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function eje({ 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 = Qk(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function $Ae({ 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 = $k(), 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(() => {
- zH(e.signal).then((t) => {
- !e.signal.aborted && t.tunnel && (U.setQueryData(RH, t), i(t.tunnel), o(t.revision));
+ BH(e.signal).then((t) => {
+ !e.signal.aborted && t.tunnel && (U.setQueryData(zH, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, ZAe);
+ }, XAe);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -66653,26 +66722,26 @@ function eje({ revision: e, initial: t, receipt: n }) {
n ? m(n) : h.setError(B(e));
});
};
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- r.named_available ? /* @__PURE__ */ (0, x.jsx)(YN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ r.named_available ? /* @__PURE__ */ (0, x.jsx)(XN, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: XN,
- children: QAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(YM, {
+ className: ZN,
+ children: ZAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XM, {
value: e,
- className: ZN,
+ className: QN,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(oA, { children: $Ae[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: QAe[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(MN, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -66683,7 +66752,7 @@ function eje({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"
- }), /* @__PURE__ */ (0, x.jsx)(jN, {
+ }), /* @__PURE__ */ (0, x.jsx)(MN, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -66703,7 +66772,7 @@ function eje({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, x.jsx)(lA, {
+ children: /* @__PURE__ */ (0, x.jsx)(uA, {
href: r.url,
children: r.url
})
@@ -66713,9 +66782,9 @@ function eje({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(aA, {
+ r.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(oA, {
status: r.enabled ? "Peach 重启后自动恢复。" : void 0,
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: r.named_available ? "secondary" : "primary",
@@ -66732,28 +66801,28 @@ function eje({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var tje = [
+var eje = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function nje({ data: e, receipt: t, panel: n }) {
+function tje({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...VH(n),
+ ...HH(n),
children: [
- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(XAe, {
+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(YAe, {
data: e,
receipt: t
}) : null,
- e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(rje, {
+ e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(nje, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, x.jsx)(YAe, {
+ e.access ? /* @__PURE__ */ (0, x.jsx)(JAe, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, x.jsx)(eje, {
+ e.tunnel ? /* @__PURE__ */ (0, x.jsx)($Ae, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -66761,9 +66830,9 @@ function nje({ data: e, receipt: t, panel: n }) {
]
});
}
-function rje({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = Qk();
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+function nje({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = $k();
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -66775,24 +66844,24 @@ function rje({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, x.jsx)(rA, { children: /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(eA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, x.jsx)(SL, {
+ children: /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: tje.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: eje.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(iA, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(aA, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(jN, {
+ i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(MN, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -66806,10 +66875,10 @@ function rje({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(c.busy === "save"),
children: "保存配置"
@@ -66819,24 +66888,24 @@ function rje({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var ije = "将清除这个来源在本机和共享副本中的登录凭据。", aje = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function oje(e, t) {
+var rje = "将清除这个来源在本机和共享副本中的登录凭据。", ije = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function aje(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function sje({ row: e }) {
- if (Ur(e)) return /* @__PURE__ */ (0, x.jsx)(Uk, {
+function oje({ row: e }) {
+ if (Ur(e)) return /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, x.jsx)(Uk, {
+ return /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: t,
children: Hr[e.requirement] || ""
});
}
-function cje({ row: e, readOnly: t, toast: n }) {
+function sje({ row: e, readOnly: t, toast: n }) {
let [r, i] = (0, b.useState)({}), [a, o] = (0, b.useState)(""), s = Ur(e), c = dt({
mutationFn: (t) => Sr(e.provider, t),
onSuccess: (e, t) => {
@@ -66853,17 +66922,17 @@ function cje({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsxs)(oA, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(lA, {
+ /* @__PURE__ */ (0, x.jsxs)(sA, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(uA, {
href: e.where,
children: "获取凭据"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, x.jsx)(oA, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, x.jsx)(sA, { children: e.howto }) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(MN, {
type: "password",
label: n,
- placeholder: oje(e, n),
+ placeholder: aje(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -66891,7 +66960,7 @@ function cje({ row: e, readOnly: t, toast: n }) {
...q(c.isPending),
onClick: () => void ls({
title: "清除来源凭据",
- body: ije,
+ body: rje,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -66899,11 +66968,11 @@ function cje({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, x.jsx)(sA, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(oA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, x.jsx)(fA, {
+ a ? /* @__PURE__ */ (0, x.jsx)(cA, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(sA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, x.jsx)(pA, {
summary: "凭据文件",
- children: /* @__PURE__ */ (0, x.jsx)(_L, {
+ children: /* @__PURE__ */ (0, x.jsx)(vL, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -66912,20 +66981,20 @@ function cje({ row: e, readOnly: t, toast: n }) {
]
});
}
-function lje({ row: e, readOnly: t, toast: n }) {
+function cje({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-2",
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, x.jsx)(Hz, { provider: e.provider })
+ children: /* @__PURE__ */ (0, x.jsx)(Uz, { provider: e.provider })
}),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, x.jsx)(sje, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+ /* @__PURE__ */ (0, x.jsx)(oje, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, x.jsx)(Wk, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -66934,15 +67003,15 @@ function lje({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, x.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, x.jsx)(oA, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, x.jsx)(sA, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, x.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, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(pA, {
summary: Ur(e) ? "修改凭据" : "填写凭据",
defaultOpen: e.requirement === "required" && !Ur(e),
- children: /* @__PURE__ */ (0, x.jsx)(cje, {
+ children: /* @__PURE__ */ (0, x.jsx)(sje, {
row: e,
readOnly: t,
toast: n
@@ -66951,15 +67020,15 @@ function lje({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "凭据文件权限过宽",
- children: aje
+ children: ije
}) : null
]
});
}
-function uje({ data: e, readOnly: t, toast: n }) {
+function lje({ data: e, readOnly: t, toast: n }) {
let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !Ur(e));
return r.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: qk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -66992,36 +67061,36 @@ function uje({ data: e, readOnly: t, toast: n }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, x.jsx)("div", {
- className: Kk({
+ className: qk({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(lje, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(cje, {
row: e,
readOnly: t,
toast: n
}, e.provider))
})]
}, e.title))]
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: Ume,
+ icon: Hme,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region src/configuration-copy.ts
-var dje = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", fje = "只填域名,留空用默认地址";
+var uje = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", dje = "只填域名,留空用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function pje({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.sites), i = Qk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function fje({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.sites), i = $k(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "作品资料站点",
onSubmit: (e) => {
e.preventDefault();
@@ -67030,9 +67099,9 @@ function pje({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- /* @__PURE__ */ (0, x.jsx)(oA, { children: dje }),
- n.map((e) => /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: uje }),
+ n.map((e) => /* @__PURE__ */ (0, x.jsx)(MN, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -67041,10 +67110,10 @@ function pje({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: fje
+ hint: dje
}, e.key)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(i.busy === "save"),
children: "保存配置"
@@ -67053,46 +67122,46 @@ function pje({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var nU = "/api/configuration/indexers";
-function mje({ receipt: e }) {
+var rU = "/api/configuration/indexers";
+function pje({ receipt: e }) {
let t = ut({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => V(nU, e),
+ queryFn: ({ signal: e }) => V(rU, e),
refetchOnMount: "always"
});
- return t.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: B(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(hje, {
+ return t.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: B(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(Yk, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(mje, {
initial: t.data,
receipt: e
}) : null;
}
-function hje({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.indexers), i = Qk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function mje({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.indexers), i = $k(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(rA, {
title: "资源搜索",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => H(nU, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => H(rU, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(pA, {
summary: "索引器连接帮助",
- children: /* @__PURE__ */ (0, x.jsx)(oA, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" })
+ children: /* @__PURE__ */ (0, x.jsx)(sA, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" })
}),
n.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: `索引器 ${t + 1} Torznab 地址`,
value: e.url,
type: "url",
@@ -67101,7 +67170,7 @@ function hje({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -67110,13 +67179,13 @@ function hje({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, x.jsx)(kL, {
+ /* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用"
}),
- e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(kL, {
+ e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(AL, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -67131,8 +67200,8 @@ function hje({ initial: e, receipt: t }) {
}) })
]
}, e.key)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(aA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(oA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
type: "button",
disabled: !!i.busy || n.length >= e.max_indexers,
@@ -67153,7 +67222,7 @@ function hje({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/source-settings.tsx
-function gje({ data: e, receipt: t, panel: n }) {
+function hje({ data: e, receipt: t, panel: n }) {
let r = ut({
queryKey: Ln,
queryFn: ({ signal: e }) => fr(e),
@@ -67161,14 +67230,14 @@ function gje({ data: e, receipt: t, panel: n }) {
refetchOnMount: "always"
});
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...VH(n),
+ ...HH(n),
children: [
- /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(Kk, {
href: "/sources",
variant: "secondary",
children: "采集来源与登录状态"
}) }),
- r.data ? /* @__PURE__ */ (0, x.jsx)(uje, {
+ r.data ? /* @__PURE__ */ (0, x.jsx)(lje, {
data: r.data,
readOnly: !!e.ledger_read_only,
toast: t
@@ -67176,24 +67245,24 @@ function gje({ data: e, receipt: t, panel: n }) {
tone: "error",
title: "来源凭据未取得",
children: B(r.error)
- }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在读取来源凭据" }),
- e.entry_links ? /* @__PURE__ */ (0, x.jsx)(pje, {
+ }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(Yk, { label: "正在读取来源凭据" }),
+ e.entry_links ? /* @__PURE__ */ (0, x.jsx)(fje, {
initial: e.entry_links,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(mje, { receipt: t }),
- /* @__PURE__ */ (0, x.jsx)(RAe, { receipt: t })
+ /* @__PURE__ */ (0, x.jsx)(pje, { receipt: t }),
+ /* @__PURE__ */ (0, x.jsx)(LAe, { receipt: t })
]
});
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function _je({ receipt: e, reopenTutorial: t, section: n = "" }) {
+function gje({ receipt: e, reopenTutorial: t, section: n = "" }) {
let r = ut({
- queryKey: RH,
- queryFn: ({ signal: e }) => zH(e)
+ queryKey: zH,
+ queryFn: ({ signal: e }) => BH(e)
}), i = r.data;
- return i ? /* @__PURE__ */ (0, x.jsx)(yje, {
+ return i ? /* @__PURE__ */ (0, x.jsx)(vje, {
data: i,
receipt: e,
reopenTutorial: t,
@@ -67207,16 +67276,16 @@ function _je({ receipt: e, reopenTutorial: t, section: n = "" }) {
})
});
}
-var vje = 0;
-function yje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
- let [i] = (0, b.useState)(() => `board-tabs-${++vje}`), [a, o] = (0, b.useState)(r);
+var _je = 0;
+function vje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
+ let [i] = (0, b.useState)(() => `board-tabs-${++_je}`), [a, o] = (0, b.useState)(r);
(0, b.useEffect)(() => {
o(r);
}, [r]);
let s = (e) => {
- o(e), ek(SO(e), {
+ o(e), tk(CO(e), {
replace: !0,
- state: $O.navigation.location.state
+ state: ek.navigation.location.state
});
}, [c, l] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
(0, b.useEffect)(() => {
@@ -67229,21 +67298,21 @@ function yje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}, f = !!(e.peach_proxy || e.access || e.tunnel || e.editable && e.port_editable !== !1), p = e.downloads, m = [
{
title: "媒体库与入库",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(WAe, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(UAe, {
...d,
panel: e
})
},
{
title: "来源与订阅",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(gje, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(hje, {
...d,
panel: e
})
},
...p ? [{
title: "下载渠道",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(sAe, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(oAe, {
initial: p,
receipt: t,
panel: e
@@ -67251,7 +67320,7 @@ function yje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}] : [],
...f ? [{
title: "网络与访问",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(nje, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(tje, {
...d,
panel: e
})
@@ -67259,8 +67328,8 @@ function yje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
{
title: "应用与维护",
body: (e) => /* @__PURE__ */ (0, x.jsxs)("div", {
- ...VH(e),
- children: [/* @__PURE__ */ (0, x.jsx)(bAe, { ...d }), /* @__PURE__ */ (0, x.jsx)(pAe, {
+ ...HH(e),
+ children: [/* @__PURE__ */ (0, x.jsx)(yAe, { ...d }), /* @__PURE__ */ (0, x.jsx)(fAe, {
...d,
reopenTutorial: n
})]
@@ -67311,7 +67380,7 @@ function yje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var bje = [
+var yje = [
[
"strength",
"强度",
@@ -67338,7 +67407,7 @@ var bje = [
100
]
];
-function xje({ host: e, spot: t, index: n, glow: r }) {
+function bje({ host: e, spot: t, index: n, glow: r }) {
let i = Tce[n], a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)("all");
(0, b.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -67377,7 +67446,7 @@ function xje({ host: e, spot: t, index: n, glow: r }) {
children: u
})]
}),
- /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-down" })
+ /* @__PURE__ */ (0, x.jsx)(GD, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "popmenu",
@@ -67416,7 +67485,7 @@ function xje({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function Sje({ host: e }) {
+function xje({ host: e }) {
let t = e.store.value.homeGlow, n = xT(t.preset);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"data-glow-setting": "",
@@ -67446,7 +67515,7 @@ function Sje({ host: e }) {
}),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-fields": "",
- children: bje.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(Pke, {
+ children: yje.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(Nke, {
field: r,
label: i,
max: a,
@@ -67468,7 +67537,7 @@ function Sje({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, x.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-stops": "",
- children: vT.map((n, r) => /* @__PURE__ */ (0, x.jsx)(xje, {
+ children: vT.map((n, r) => /* @__PURE__ */ (0, x.jsx)(bje, {
host: e,
spot: n,
index: r,
@@ -67493,7 +67562,7 @@ function Sje({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var Cje = {
+var Sje = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -67534,22 +67603,22 @@ var Cje = {
optional: !0,
fallback: 60
}
-}, rU = (e) => `peach.number.${e}`;
-function iU(e, t) {
+}, iU = (e) => `peach.number.${e}`;
+function aU(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function aU({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = Cje[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
- d.current ||= sT(Number(localStorage.getItem(rU(e))), o, s, n && n > 0 ? n : l);
+function oU({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = Sje[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
+ d.current ||= sT(Number(localStorage.getItem(iU(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, b.useState)(n ?? 0), [m, h] = (0, b.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, b.useState)(""), v = (0, b.useRef)(null), y = (0, b.useRef)(i);
y.current = i, (0, b.useLayoutEffect)(() => {
n !== null && (p(n), n > 0 && h(String(n)));
}, [n]);
let S = () => {
let t = v.current;
- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(rU(e), String(d.current)), y.current(d.current)));
+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(iU(e), String(d.current)), y.current(d.current)));
}, C = (0, b.useRef)(S);
C.current = S, (0, b.useEffect)(() => {
let e = v.current;
@@ -67559,7 +67628,7 @@ function aU({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}, []);
let w = f > 0, T = () => {
let t = v.current;
- t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(rU(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
+ t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(iU(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
}, E = r || n === null;
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-number-setting": "",
@@ -67596,7 +67665,7 @@ function aU({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": "true",
- children: [c, iU(Number(m), c) ? ` · ${iU(Number(m), c)}` : ""]
+ children: [c, aU(Number(m), c) ? ` · ${aU(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, x.jsx)("small", {
id: `${e}-error`,
@@ -67610,13 +67679,13 @@ function aU({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
//#endregion
//#region src/react/sidebar/sidebar-order.ts
-function oU(e) {
- let { mutate: t } = mI();
+function sU(e) {
+ let { mutate: t } = hI();
return (0, b.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function sU(e, t, n, r) {
+function cU(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -67626,17 +67695,17 @@ function sU(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var wje = "__home__", cU = (e) => e === "" ? wje : e;
-function Tje({ host: e }) {
- let t = oU(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, b.useState)(null), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (e, r, i) => {
- let a = sU(n, e, r, i);
+var Cje = "__home__", lU = (e) => e === "" ? Cje : e;
+function wje({ host: e }) {
+ let t = sU(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, b.useState)(null), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (e, r, i) => {
+ let a = cU(n, e, r, i);
a && t(a);
}, _ = (e, r) => {
let i = n.indexOf(e), a = i + r;
if (i < 0 || a < 0 || a >= n.length) return;
let o = [...n];
[o[i], o[a]] = [o[a], o[i]], t(o);
- }, v = a.find(([e]) => cU(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => lU(e) === o) ?? a[0], y = () => {
h.current && Ha(h.current), l(!1);
}, S = () => {
let e = h.current;
@@ -67657,7 +67726,7 @@ function Tje({ host: e }) {
}, T = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", cU(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", lU(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -67689,9 +67758,9 @@ function Tje({ host: e }) {
/* @__PURE__ */ (0, x.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(WD, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, x.jsx)(GD, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, x.jsx)(WD, { name: a ?? "" }),
+ /* @__PURE__ */ (0, x.jsx)(GD, { name: a ?? "" }),
/* @__PURE__ */ (0, x.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -67705,7 +67774,7 @@ function Tje({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, x.jsx)(GD, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -67715,7 +67784,7 @@ function Tje({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(GD, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -67727,11 +67796,11 @@ function Tje({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, x.jsx)(WD, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, x.jsx)(GD, { name: "eye-off" })
})
]
})]
- }, cU(e))), /* @__PURE__ */ (0, x.jsxs)("div", {
+ }, lU(e))), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -67747,13 +67816,13 @@ function Tje({ host: e }) {
ref: m,
onClick: S,
children: v ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(WD, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, x.jsx)(GD, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(WD, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, x.jsx)(GD, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(GD, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -67764,15 +67833,15 @@ function Tje({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": cU(e),
+ "data-sidebar-add-option": lU(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: C,
onClick: () => {
- s(cU(e)), y(), m.current?.focus();
+ s(lU(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, x.jsx)(WD, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
- }, cU(e)))
+ children: [/* @__PURE__ */ (0, x.jsx)(GD, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
+ }, lU(e)))
}) : null]
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -67789,13 +67858,13 @@ function Tje({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/settings-panel.tsx
-var lU = [
+var uU = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], Eje = [
+], Tje = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -67804,7 +67873,7 @@ var lU = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Dje = [["desc", "降序"], ["asc", "升序"]], Oje = [[
+], Eje = [["desc", "降序"], ["asc", "升序"]], Dje = [[
"cover",
"官方封面",
""
@@ -67812,7 +67881,7 @@ var lU = [
"thumbnail",
"预览图",
""
-]], kje = [
+]], Oje = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -67831,88 +67900,88 @@ var lU = [
"切片",
"隐藏切片"
]
-], Aje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", uU = null, dU = {
+], kje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", dU = null, fU = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, fU = 0, pU = null, mU = /* @__PURE__ */ new Set();
-function jje(e) {
- return mU.add(e), () => {
- mU.delete(e);
+}, pU = 0, mU = null, hU = /* @__PURE__ */ new Set();
+function Aje(e) {
+ return hU.add(e), () => {
+ hU.delete(e);
};
}
-function Mje() {
- for (let e of [...mU]) e();
+function jje() {
+ for (let e of [...hU]) e();
}
-function hU(e) {
- dU = {
- ...dU,
+function gU(e) {
+ fU = {
+ ...fU,
...e
- }, (0, pt.flushSync)(Mje);
+ }, (0, pt.flushSync)(jje);
}
-async function Nje(e) {
- let t = dU.epoch, n = await e.configurable();
- dU.open && dU.epoch === t && hU({ configurable: n });
+async function Mje(e) {
+ let t = fU.epoch, n = await e.configurable();
+ fU.open && fU.epoch === t && gU({ configurable: n });
}
-function Pje(e = "") {
- let t = uU;
+function Nje(e = "") {
+ let t = dU;
if (!t) return;
- let n = lU.findIndex(([t]) => t === e);
- if (dU.open && !dU.closing) {
- n >= 0 && n !== dU.tab && hU({ tab: n });
+ let n = uU.findIndex(([t]) => t === e);
+ if (fU.open && !fU.closing) {
+ n >= 0 && n !== fU.tab && gU({ tab: n });
return;
}
- za(), fU += 1, pU ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = gxe();
- hU({
+ za(), pU += 1, mU ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let r = hxe();
+ gU({
open: !0,
closing: !1,
configurable: null,
- epoch: dU.epoch + 1,
- tab: n >= 0 ? n : dU.tab
+ epoch: fU.epoch + 1,
+ tab: n >= 0 ? n : fU.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), Nje(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), Mje(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function gU(e = !0) {
- if (!dU.open || dU.closing) return;
- let t = ++fU;
- e && uU?.closed?.(), hU({ closing: !0 });
+function _U(e = !0) {
+ if (!fU.open || fU.closing) return;
+ let t = ++pU;
+ e && dU?.closed?.(), gU({ closing: !0 });
let n = () => {
- t === fU && dU.closing && (hU({
+ t === pU && fU.closing && (gU({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), pU instanceof HTMLElement && document.contains(pU) && pU.focus(), pU = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), mU instanceof HTMLElement && document.contains(mU) && mU.focus(), mU = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var Fje = {
- open: Pje,
- close: gU,
- isOpen: () => dU.open,
+var Pje = {
+ open: Nje,
+ close: _U,
+ isOpen: () => fU.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function Ije(e) {
- return uU = e, Fje;
+function Fje(e) {
+ return dU = e, Pje;
}
-function Lje() {
- let e = (0, b.useSyncExternalStore)(jje, () => dU);
- return uU ? /* @__PURE__ */ (0, x.jsx)(Bje, {
- host: uU,
+function Ije() {
+ let e = (0, b.useSyncExternalStore)(Aje, () => fU);
+ return dU ? /* @__PURE__ */ (0, x.jsx)(zje, {
+ host: dU,
view: e
}) : null;
}
-function Rje(e) {
+function Lje(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(Aje)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(kje)].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 _U = (e) => `settings-tab-${e}`, vU = (e) => `settings-group-${e}`;
-function zje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var vU = (e) => `settings-tab-${e}`, yU = (e) => `settings-group-${e}`;
+function Rje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(e), l = (0, b.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -67940,7 +68009,7 @@ function zje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
c.current = e, d.current(l.current[e], t);
}, [e, t]);
let f = (e, t) => {
- let n = lU.length, r = t;
+ let n = uU.length, r = t;
if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;
else if (e.key === "Home") r = 0;
@@ -67969,11 +68038,11 @@ function zje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- lU.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ uU.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "tab",
- id: _U(r),
- "aria-controls": vU(r),
+ id: vU(r),
+ "aria-controls": yU(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -67984,7 +68053,7 @@ function zje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onPointerEnter: (e) => {
e.pointerType !== "touch" && u(e.currentTarget, !0);
},
- children: [n === "jav" ? /* @__PURE__ */ (0, x.jsx)(WD, { name: n }) : /* @__PURE__ */ (0, x.jsx)(pfe, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, x.jsx)(GD, { name: n }) : /* @__PURE__ */ (0, x.jsx)(ffe, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-settings-service": "",
@@ -67995,26 +68064,26 @@ function zje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onClick: r,
title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(WD, { name: "folder-cog" }),
+ /* @__PURE__ */ (0, x.jsx)(GD, { name: "folder-cog" }),
"Peach 配置",
- /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-right" })
+ /* @__PURE__ */ (0, x.jsx)(GD, { name: "chevron-right" })
]
})
})
]
});
}
-function yU({ index: e, tab: t, children: n }) {
+function bU({ index: e, tab: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
"data-setting-group": "",
- id: vU(e),
+ id: yU(e),
role: "tabpanel",
- "aria-labelledby": _U(e),
+ "aria-labelledby": vU(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: lU[e][0] }), n]
+ children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: uU[e][0] }), n]
});
}
-function bU({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function xU({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, x.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, x.jsx)("small", {
@@ -68031,7 +68100,7 @@ function bU({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function xU({ title: e, description: t, kind: n, children: r }) {
+function SU({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -68039,7 +68108,7 @@ function xU({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, x.jsx)("small", { children: t }) : t] }), r]
});
}
-function Bje({ host: e, view: t }) {
+function zje({ host: e, view: t }) {
(0, b.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -68060,7 +68129,7 @@ function Bje({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== dU.tab && (hU({ tab: t }), e.selectSection?.(lU[t][0]));
+ t !== fU.tab && (gU({ tab: t }), e.selectSection?.(uU[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-settings-panel": "",
@@ -68071,9 +68140,9 @@ function Bje({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: Rje,
+ onKeyDown: Lje,
onClick: (e) => {
- e.target === e.currentTarget && gU();
+ e.target === e.currentTarget && _U();
},
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-settings-card": "",
@@ -68084,38 +68153,38 @@ function Bje({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
id: "settingsTitle",
- children: lU[t.tab][0]
+ children: uU[t.tab][0]
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
id: "settingsClose",
"aria-label": "关闭设置",
- onClick: () => gU(),
+ onClick: () => _U(),
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })
})
})]
}),
- /* @__PURE__ */ (0, x.jsx)(zje, {
+ /* @__PURE__ */ (0, x.jsx)(Rje, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- gU(!1), e.openConfiguration();
+ _U(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, x.jsxs)(yU, {
+ /* @__PURE__ */ (0, x.jsxs)(bU, {
index: 0,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(SU, {
title: "主题",
- children: /* @__PURE__ */ (0, x.jsx)(wH, {
+ children: /* @__PURE__ */ (0, x.jsx)(TH, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -68143,7 +68212,7 @@ function Bje({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, x.jsx)(bU, {
+ /* @__PURE__ */ (0, x.jsx)(xU, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -68151,7 +68220,7 @@ function Bje({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, x.jsx)(bU, {
+ /* @__PURE__ */ (0, x.jsx)(xU, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -68159,40 +68228,40 @@ function Bje({ host: e, view: t }) {
n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, x.jsx)(Sje, { host: e }),
+ /* @__PURE__ */ (0, x.jsx)(xje, { host: e }),
/* @__PURE__ */ (0, x.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: /* @__PURE__ */ (0, x.jsx)("b", {
id: "sidebarOrderTitle",
children: "导航入口与顺序"
- }) }), /* @__PURE__ */ (0, x.jsx)(Tje, { host: e })]
+ }) }), /* @__PURE__ */ (0, x.jsx)(wje, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(Hje, {
+ /* @__PURE__ */ (0, x.jsx)(Vje, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsx)(Uje, {
+ /* @__PURE__ */ (0, x.jsx)(Hje, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsxs)(yU, {
+ /* @__PURE__ */ (0, x.jsxs)(bU, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, x.jsx)(Kje, {
+ /* @__PURE__ */ (0, x.jsx)(Gje, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(SU, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, x.jsx)(aU, {
+ children: /* @__PURE__ */ (0, x.jsx)(oU, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -68202,24 +68271,24 @@ function Bje({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(SU, {
title: "口味与记录",
children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "secondary",
href: "/taste",
- onClick: () => gU(!1),
+ onClick: () => _U(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(yU, {
+ /* @__PURE__ */ (0, x.jsx)(bU, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, x.jsx)(bU, {
+ children: /* @__PURE__ */ (0, x.jsx)(xU, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -68234,7 +68303,7 @@ function Bje({ host: e, view: t }) {
})
});
}
-function Vje(e, t) {
+function Bje(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = ao("arrow-up", "arrow-down", "a", {
@@ -68244,17 +68313,17 @@ function Vje(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function Hje({ host: e, tab: t, epoch: n }) {
+function Vje({ 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, x.jsxs)(yU, {
+ return /* @__PURE__ */ (0, x.jsxs)(bU, {
index: 1,
tab: t,
children: [
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(SU, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, x.jsx)(aU, {
+ children: /* @__PURE__ */ (0, x.jsx)(oU, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -68264,24 +68333,24 @@ function Hje({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(SU, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, x.jsx)(TH, {
+ children: [/* @__PURE__ */ (0, x.jsx)(EH, {
id: "defaultSortSetting",
label: "默认排序",
- options: Eje,
+ options: Tje,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, x.jsx)(TH, {
+ }), /* @__PURE__ */ (0, x.jsx)(EH, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: Dje,
+ options: Eje,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -68289,13 +68358,13 @@ function Hje({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => Vje(e, o)
+ decorate: (e) => Bje(e, o)
})]
})
}),
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(SU, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, x.jsx)(wH, {
+ children: /* @__PURE__ */ (0, x.jsx)(TH, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -68308,16 +68377,16 @@ function Hje({ host: e, tab: t, epoch: n }) {
onChoose: (t) => e.setVideoLayout(t)
})
}),
- /* @__PURE__ */ (0, x.jsx)(Gje, {
+ /* @__PURE__ */ (0, x.jsx)(Wje, {
host: e,
epoch: n
})
]
});
}
-function Uje({ host: e, tab: t, epoch: n }) {
+function Hje({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, x.jsxs)(yU, {
+ return /* @__PURE__ */ (0, x.jsxs)(bU, {
index: 2,
tab: t,
children: [
@@ -68325,13 +68394,13 @@ function Uje({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(SU, {
title: "默认图片",
- children: /* @__PURE__ */ (0, x.jsx)(wH, {
+ children: /* @__PURE__ */ (0, x.jsx)(TH, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: Oje,
+ options: Dje,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -68359,7 +68428,7 @@ function Uje({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, x.jsx)(bU, {
+ /* @__PURE__ */ (0, x.jsx)(xU, {
id: "feedAutoScrollSetting",
title: "新作自动滚动",
checked: r.feedAutoScroll,
@@ -68367,7 +68436,7 @@ function Uje({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- kje.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(Wje, {
+ Oje.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(Uje, {
host: e,
id: t,
settingKey: n,
@@ -68377,8 +68446,8 @@ function Uje({ host: e, tab: t, epoch: n }) {
]
});
}
-function Wje({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = mI(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {
+function Uje({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = hI(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {
s(t), Xo(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -68402,14 +68471,14 @@ function Wje({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function Gje({ host: e, epoch: t }) {
+function Wje({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(SU, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, x.jsx)(aU, {
+ children: /* @__PURE__ */ (0, x.jsx)(oU, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: n.hoverDelaySeconds,
@@ -68419,7 +68488,7 @@ function Gje({ host: e, epoch: t }) {
}, t)
})
}),
- /* @__PURE__ */ (0, x.jsx)(bU, {
+ /* @__PURE__ */ (0, x.jsx)(xU, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -68427,7 +68496,7 @@ function Gje({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, x.jsx)(bU, {
+ /* @__PURE__ */ (0, x.jsx)(xU, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -68435,11 +68504,11 @@ function Gje({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(SU, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, x.jsx)(aU, {
+ children: /* @__PURE__ */ (0, x.jsx)(oU, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -68451,13 +68520,13 @@ function Gje({ host: e, epoch: t }) {
})
] });
}
-function Kje({ host: e, epoch: t }) {
- let n = e.store.value, r = mI();
- return /* @__PURE__ */ (0, x.jsx)(xU, {
+function Gje({ host: e, epoch: t }) {
+ let n = e.store.value, r = hI();
+ return /* @__PURE__ */ (0, x.jsx)(SU, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, x.jsx)(aU, {
+ children: /* @__PURE__ */ (0, x.jsx)(oU, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
@@ -68470,68 +68539,68 @@ function Kje({ host: e, epoch: t }) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var SU = "__home__", qje = {
+var CU = "__home__", Kje = {
creator: 26,
tag: 30,
tech: 16
-}, CU = 180, wU = null, TU = {
+}, wU = 180, TU = null, EU = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, EU = /* @__PURE__ */ new Set();
-function Jje(e) {
- return EU.add(e), () => {
- EU.delete(e);
+}, DU = /* @__PURE__ */ new Set();
+function qje(e) {
+ return DU.add(e), () => {
+ DU.delete(e);
};
}
-function DU() {
- for (let e of [...EU]) e();
+function OU() {
+ for (let e of [...DU]) e();
}
-var Yje = {
+var Jje = {
render(e) {
- TU = {
- ...TU,
+ EU = {
+ ...EU,
props: e
- }, (0, pt.flushSync)(DU);
+ }, (0, pt.flushSync)(OU);
},
navChanged() {
- TU = {
- ...TU,
- epoch: TU.epoch + 1
- }, (0, pt.flushSync)(DU);
+ EU = {
+ ...EU,
+ epoch: EU.epoch + 1
+ }, (0, pt.flushSync)(OU);
}
};
-function Xje(e) {
- return wU = e, TU = {
- ...TU,
+function Yje(e) {
+ return TU = e, EU = {
+ ...EU,
props: {
content: null,
filters: {},
latest: null
}
- }, Yje;
+ }, Jje;
}
-function Zje() {
- let e = (0, b.useSyncExternalStore)(Jje, () => TU);
- return wU ? /* @__PURE__ */ (0, x.jsx)(Qje, {
- host: wU,
+function Xje() {
+ let e = (0, b.useSyncExternalStore)(qje, () => EU);
+ return TU ? /* @__PURE__ */ (0, x.jsx)(Zje, {
+ host: TU,
props: e.props,
epoch: e.epoch
}) : null;
}
-function Qje({ host: e, props: t, epoch: n }) {
+function Zje({ host: e, props: t, epoch: n }) {
let r = (0, b.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, x.jsx)($je, {
+ /* @__PURE__ */ (0, x.jsx)(Qje, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, x.jsx)(tMe, {
+ t.content ? /* @__PURE__ */ (0, x.jsx)(eMe, {
host: e,
content: t.content,
filters: t.filters,
@@ -68539,8 +68608,8 @@ function Qje({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function $je({ host: e, epoch: t, version: n }) {
- let r = oU(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 = UA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || SU : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function Qje({ host: e, epoch: t, version: n }) {
+ let r = sU(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 = WA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || CU : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, b.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
return [
@@ -68558,7 +68627,7 @@ function $je({ host: e, epoch: t, version: n }) {
}, _ = (e) => ({
draggable: !0,
onDragStart: (t) => {
- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || SU);
+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || CU);
},
onDragOver: (t) => {
if (f === null || f === e) return;
@@ -68573,7 +68642,7 @@ function $je({ host: e, epoch: t, version: n }) {
t.preventDefault();
let n = f, a = m?.key === e && m.after;
g();
- let o = n === null ? null : sU(i, n, e, a);
+ let o = n === null ? null : cU(i, n, e, a);
o && r(o);
},
onDragEnd: g
@@ -68596,16 +68665,16 @@ function $je({ host: e, epoch: t, version: n }) {
"data-sidebar-home-logo": "",
src: "/peach-logo.png",
alt: ""
- }) : /* @__PURE__ */ (0, x.jsx)(WD, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
- }, t || SU))
+ }) : /* @__PURE__ */ (0, x.jsx)(GD, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ }, t || CU))
}), v ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
-var OU = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function eMe(e) {
+var kU = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function $je(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -68618,7 +68687,7 @@ function eMe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function tMe({ host: e, content: t, filters: n, latest: r }) {
+function eMe({ host: e, content: t, filters: n, latest: r }) {
let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;
(0, b.useLayoutEffect)(() => {
t.kind === "catalog" && fo(e.scroll, "drawer");
@@ -68627,8 +68696,8 @@ function tMe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? nMe(e, t.facets, n, r, i) : rMe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(iMe, {
+ let a = t.kind === "catalog" ? tMe(e, t.facets, n, r, i) : nMe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(rMe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -68637,11 +68706,11 @@ function tMe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function nMe(e, t, n, r, i) {
- let a = eMe(r), o = (t, r, i) => {
+function tMe(e, t, n, r, i) {
+ let a = $je(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = OU(n, r);
- return /* @__PURE__ */ (0, x.jsx)(jU, {
+ let o = kU(n, r);
+ return /* @__PURE__ */ (0, x.jsx)(MU, {
rows: t,
filterKey: r,
multi: i,
@@ -68651,7 +68720,7 @@ function nMe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = OU(n, l), p = c.some((e) => f.includes(e.value));
+ let f = kU(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -68663,12 +68732,12 @@ function nMe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, x.jsx)(oMe, {
+ body: /* @__PURE__ */ (0, x.jsx)(aMe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: qje[d],
+ limit: Kje[d],
filterKey: l,
selected: f,
counts: a,
@@ -68683,7 +68752,7 @@ function nMe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(PU, {
+ body: /* @__PURE__ */ (0, x.jsx)(FU, {
host: e,
filters: n
})
@@ -68697,7 +68766,7 @@ function nMe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(MU, {
+ body: /* @__PURE__ */ (0, x.jsx)(NU, {
rows: t.followTags,
host: e,
selected: null,
@@ -68706,14 +68775,14 @@ function nMe(e, t, n, r, i) {
} : null
];
}
-function rMe(e, t, n) {
- let r = t.providers || [], i = OU(n, "provider"), a = new Set(t.selected);
+function nMe(e, t, n) {
+ let r = t.providers || [], i = kU(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, x.jsx)(jU, {
+ body: /* @__PURE__ */ (0, x.jsx)(MU, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -68727,7 +68796,7 @@ function rMe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(PU, {
+ body: /* @__PURE__ */ (0, x.jsx)(FU, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -68737,7 +68806,7 @@ function rMe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, x.jsx)(MU, {
+ body: /* @__PURE__ */ (0, x.jsx)(NU, {
rows: t.tags,
host: e,
selected: a,
@@ -68746,19 +68815,19 @@ function rMe(e, t, n) {
} : null
];
}
-function kU(e, t) {
+function AU(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function iMe({ 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)(() => kU(e, n)), u = (0, b.useRef)(!1);
+function rMe({ 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)(() => AU(e, n)), u = (0, b.useRef)(!1);
(0, b.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? kU(e, n) : c;
+ let i = u.current ? AU(e, n) : c;
u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));
}, [i]);
let d = (t) => {
@@ -68779,7 +68848,7 @@ function iMe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, x.jsx)(GD, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, x.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -68790,7 +68859,7 @@ function iMe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, x.jsx)(AU.Provider, {
+ children: /* @__PURE__ */ (0, x.jsx)(jU.Provider, {
value: d,
children: a
})
@@ -68799,15 +68868,15 @@ function iMe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var AU = (0, b.createContext)(() => {});
-function aMe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(WD, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {
+var jU = (0, b.createContext)(() => {});
+function iMe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(GD, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, x.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function jU({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function MU({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -68824,7 +68893,7 @@ function jU({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
title: e.offline || e.label,
onClick: () => o(t, e.value, n),
children: [
- /* @__PURE__ */ (0, x.jsx)(aMe, { dot: e.dot }),
+ /* @__PURE__ */ (0, x.jsx)(iMe, { dot: e.dot }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -68839,8 +68908,8 @@ function jU({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function oMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, b.useContext)(AU), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);
+function aMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, b.useContext)(jU), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);
p !== e && (m(e), f(null));
let h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, b.useLayoutEffect)(() => {
@@ -68855,7 +68924,7 @@ function oMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), Ca(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(jU, {
+ }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(MU, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -68880,10 +68949,10 @@ function oMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(GD, { name: "chevron-down" })
}) : null] });
}
-function MU({ rows: e, host: t, selected: n, badges: r }) {
+function NU({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
@@ -68905,10 +68974,10 @@ function MU({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var NU = (e, t) => e ? Math.min(CU, Number(e) / 60) : t;
-function PU({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, b.useState)(r), [o, s] = (0, b.useState)(() => [NU(t.dur_min, 0), NU(t.dur_max, CU)]), [c, l] = (0, b.useState)("max");
- i !== r && (a(r), s([NU(t.dur_min, 0), NU(t.dur_max, CU)]));
+var PU = (e, t) => e ? Math.min(wU, Number(e) / 60) : t;
+function FU({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, b.useState)(r), [o, s] = (0, b.useState)(() => [PU(t.dur_min, 0), PU(t.dur_max, wU)]), [c, l] = (0, b.useState)("max");
+ i !== r && (a(r), s([PU(t.dur_min, 0), PU(t.dur_max, wU)]));
let [u, d] = o, f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -68921,11 +68990,11 @@ function PU({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, b.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / CU * 100}%`), e.style.setProperty("--hi", `${d / CU * 100}%`);
+ e.style.setProperty("--lo", `${u / wU * 100}%`), e.style.setProperty("--hi", `${d / wU * 100}%`);
let t = e.getBoundingClientRect();
e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {
let n = e.dataset.rangeEnd === "max" ? d : u;
- e.style.left = `${n / CU * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / wU * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;
i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);
});
@@ -68935,7 +69004,7 @@ function PU({ host: e, filters: t, commit: n = e.setDuration }) {
"data-range-end": e,
"data-range-active": c === e ? "" : void 0,
"aria-hidden": "true",
- children: e === "max" && t >= CU ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= wU ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-duration": "",
@@ -68950,7 +69019,7 @@ function PU({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: CU,
+ max: wU,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -68961,7 +69030,7 @@ function PU({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: CU,
+ max: wU,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -68976,23 +69045,23 @@ function PU({ host: e, filters: t, commit: n = e.setDuration }) {
}
//#endregion
//#region src/configuration-skeleton.ts
-var sMe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${QI({
+var oMe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${$I({
label: "保存配置",
attrs: "disabled data-skeleton-action"
-})}</div></div></section>`, FU = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;
-function cMe() {
+})}</div></div></section>`, IU = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;
+function sMe() {
return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${[
"媒体库与入库",
"来源与订阅",
"下载渠道",
"网络与访问",
"应用与维护"
- ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${sMe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${FU("媒体文件夹", "", "ui-configuration-skeleton-select")}${FU("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
+ ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${oMe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${IU("媒体文件夹", "", "ui-configuration-skeleton-select")}${IU("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
}
//#endregion
//#region src/management-skeletons.ts
-var IU = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", LU = (e = "60%") => `<span class="${IU} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, RU = "disabled data-skeleton-action", zU = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function lMe() {
+var LU = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", RU = (e = "60%") => `<span class="${LU} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, zU = "disabled data-skeleton-action", BU = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function cMe() {
let e = [
"馆藏视频",
"看过",
@@ -69000,27 +69069,27 @@ function lMe() {
"使用空间"
].map((e, t) => `
<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">
- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${IU} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${LU("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${LU("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${zU}" data-stats-chart>
- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${LU("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${LU} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${RU("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${RU("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${BU}" data-stats-chart>
+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${RU("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
<svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[
76,
54,
32
].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>
- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${LU()}</span><b class="text-title-2-medium">${LU("3em")}</b><small class="text-caption-1-regular">${LU()}</small></div>`).join("")}</div>
+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${RU()}</span><b class="text-title-2-medium">${RU("3em")}</b><small class="text-caption-1-regular">${RU()}</small></div>`).join("")}</div>
</section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${LU("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${RU("12em")}</p>
<div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div>
<div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div>
<div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${[
"时长",
"画质",
"文件类型"
- ].map((e) => `<section class="${zU}"><h3 class="text-title-2-medium">${e}</h3><div class="${IU} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${BU}"><h3 class="text-title-2-medium">${e}</h3><div class="${LU} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -69029,11 +69098,11 @@ function lMe() {
"最近看过",
"标签来源"
].map((e) => `<span>${e}</span>`).join("")}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${IU} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${LU} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function uMe() {
+function lMe() {
let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = [
"浏览记录",
"口味维度",
@@ -69041,20 +69110,20 @@ function uMe() {
"私有导出"
].map((e) => `
<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">
- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${IU} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${LU("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${LU("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${IU} h-6"></div>`).join(""), r = (e) => `<section class="${zU}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${IU} h-40"></div></section>`;
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${LU} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${RU("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${RU("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${LU} h-6"></div>`).join(""), r = (e) => `<section class="${BU}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${LU} h-40"></div></section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
<div class="flex flex-col gap-5">
<div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}
- <div class="flex flex-wrap items-center gap-2">${$I("全部时间")}<span data-button-group data-split-button data-variant="primary">${QI({
+ <div class="flex flex-wrap items-center gap-2">${eL("全部时间")}<span data-button-group data-split-button data-variant="primary">${$I({
glyph: "compass",
label: "读取浏览器历史",
- attrs: RU
- })}${QI({
+ attrs: zU
+ })}${$I({
glyph: "chevron-down",
- attrs: RU
+ attrs: zU
})}</span></div>
</div>
<div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>
@@ -69072,11 +69141,11 @@ function uMe() {
4,
5
].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>
- <small class="text-caption-1-regular">${LU("8em")}</small></div>
+ <small class="text-caption-1-regular">${RU("8em")}</small></div>
<div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div>
</section>
<div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>
- <section class="${zU}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${IU} h-72 max-sm:h-48"></div></section>
+ <section class="${BU}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${LU} h-72 max-sm:h-48"></div></section>
<section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col">
<div class="px-4 pt-3">${e([
"标签",
@@ -69084,128 +69153,128 @@ function uMe() {
"常访问网站",
"浏览候选"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${IU} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${LU} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function dMe() {
+function uMe() {
let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">
- <span class="${IU} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${LU("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${LU("3em")}</span>`).join("")}
- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${LU("75%")}</span>
+ <span class="${LU} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${RU("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${RU("3em")}</span>`).join("")}
+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${RU("75%")}</span>
</div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group>
<div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">
- <b class="text-title-2-medium">${LU("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${LU("8em")}</span>
+ <b class="text-title-2-medium">${RU("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${RU("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
"整组回收"
- ].map((e) => QI({
+ ].map((e) => $I({
variant: "secondary",
size: "small",
label: e,
- attrs: RU
+ attrs: zU
})).join("")}</span>
</div>${e.repeat(2)}</section>`;
return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5">
<div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">
- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${LU("4em")}</strong></div><p class="text-body-regular text-text-secondary">${LU("12em")}</p>
+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${RU("4em")}</strong></div><p class="text-body-regular text-text-secondary">${RU("12em")}</p>
</div>
- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${RU} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${zU} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
-function fMe() {
+function dMe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">
- <div class="flex min-w-0 gap-4"><span class="${IU} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${LU("80%")}</h3><p class="text-body-2-regular">${LU("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${LU} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${RU("80%")}</h3><p class="text-body-2-regular">${RU("60%")}</p></div>
</div>
- <footer class="flex justify-end">${QI({
+ <footer class="flex justify-end">${$I({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: RU
+ attrs: zU
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- ${eL("待升级")}
+ ${tL("待升级")}
<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul>
</div></div>`;
}
//#endregion
//#region src/board-skeleton.ts
-var BU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, VU = () => `${BU("80%")}${BU("48%")}`, HU = (e, t) => e.repeat(t), UU = "disabled data-skeleton-action", WU = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, GU = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, pMe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", KU = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var VU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, HU = () => `${VU("80%")}${VU("48%")}`, UU = (e, t) => e.repeat(t), WU = "disabled data-skeleton-action", GU = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, KU = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, fMe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", qU = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
"关注创作者",
"启用来源",
"检查失败",
"未看更新",
"JAV 订阅",
"未看新作"
-].map((e) => `<div class="${pMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${WU("3em")}</b></div>`).join("")}</div>`, qU = [
+].map((e) => `<div class="${fMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${GU("3em")}</b></div>`).join("")}</div>`, JU = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], mMe = (e = "") => qU.some(([t]) => t === e) ? e : "list", JU = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${qU.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, YU = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, hMe = ({ table: e, sort: t, dir: n }) => {
+], pMe = (e = "") => JU.some(([t]) => t === e) ? e : "list", YU = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${JU.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, XU = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, mMe = ({ table: e, sort: t, dir: n }) => {
let r = ln.find(([e]) => e === t)[1];
- return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${WU("132px")}</span></span>${QI({
+ return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${GU("132px")}</span></span>${$I({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: UU
- })}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${QI({
+ attrs: WU
+ })}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${$I({
variant: "ghost",
glyph: "layout-grid",
attrs: `aria-pressed="${!e}"`
- })}${QI({
+ })}${$I({
variant: "ghost",
glyph: "table",
attrs: `aria-pressed="${e}"`
- })}</span>${$I(r)}${QI({
+ })}</span>${eL(r)}${$I({
variant: "secondary",
glyph: n === "asc" ? "arrow-up" : "arrow-down"
- })}${e ? "" : QI({
+ })}${e ? "" : $I({
variant: "secondary",
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: UU
+ attrs: WU
})}</span></div>`;
-}, XU = () => `<span class="flex shrink-0 items-center gap-1">${QI({
+}, ZU = () => `<span class="flex shrink-0 items-center gap-1">${$I({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: UU
-})}${QI({
+ attrs: WU
+})}${$I({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: UU
-})}</span>`, gMe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${YU()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${WU("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${GU(14, 14)}</span>${GU(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${WU("113px")}</span>${XU()}</span></div>`, ZU = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${GU(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${WU("92px")}</b>${QI({
+ attrs: WU
+})}</span>`, hMe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${XU()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${GU("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${KU(14, 14)}</span>${KU(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${GU("113px")}</span>${ZU()}</span></div>`, QU = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${KU(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${GU("92px")}</b>${$I({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: UU
-})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${GU(14, 14)}${GU(14, 14)}</span>${QI({
+ attrs: WU
+})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${KU(14, 14)}${KU(14, 14)}</span>${$I({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: UU
-})}${QI({
+ attrs: WU
+})}${$I({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: UU
-})}</span></div><div data-source-divider>${HU(gMe(), e)}</div></section>`, _Me = () => {
+ attrs: WU
+})}</span></div><div data-source-divider>${UU(hMe(), e)}</div></section>`, gMe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, vMe = [
+}, _Me = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -69213,64 +69282,64 @@ var BU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, VU
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], yMe = {
+], vMe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, bMe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", xMe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${vMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${yMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${bMe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${HU(`<tr>${[
- YU(),
- `<span class="flex min-w-0 items-center gap-2">${GU(32, 32, !0)}${WU("5em")}</span>`,
- WU("10em"),
- `<span class="flex items-center gap-1.5">${GU(14, 14)}${WU("4em")}</span>`,
- GU(48, 24),
- WU("113px"),
- XU()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, SMe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${WU("111px")}</span>${$I(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${GU(204, 32)}</div>`, CMe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${WU("120px")}</h3>${[
+}, yMe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", bMe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${_Me.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${vMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${yMe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${UU(`<tr>${[
+ XU(),
+ `<span class="flex min-w-0 items-center gap-2">${KU(32, 32, !0)}${GU("5em")}</span>`,
+ GU("10em"),
+ `<span class="flex items-center gap-1.5">${KU(14, 14)}${GU("4em")}</span>`,
+ KU(48, 24),
+ GU("113px"),
+ ZU()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, xMe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${GU("111px")}</span>${eL(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${KU(204, 32)}</div>`, SMe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${GU("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${WU(e)}</span>`).join("")}</div>`, wMe = (e) => {
- let t = mMe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${KU()}<div class="flex flex-col gap-6">${JU(t)}<div class="flex flex-col gap-4">${CMe()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = pn(e.followSort, e.followDir), i = e.followPageSize || _Me(), a = n ? xMe(i, r) : `${YU("全选本页")}<div class="flex flex-col gap-3">${ZU(3)}${ZU(4)}${ZU(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${KU()}<div class="flex flex-col gap-6">${JU(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${hMe({
+].map((e) => `<span class="text-body-medium">${GU(e)}</span>`).join("")}</div>`, CMe = (e) => {
+ let t = pMe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${qU()}<div class="flex flex-col gap-6">${YU(t)}<div class="flex flex-col gap-4">${SMe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = pn(e.followSort, e.followDir), i = e.followPageSize || gMe(), a = n ? bMe(i, r) : `${XU("全选本页")}<div class="flex flex-col gap-3">${QU(3)}${QU(4)}${QU(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${qU()}<div class="flex flex-col gap-6">${YU(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${mMe({
table: n,
...r
- })}${a}${SMe(n, i)}</div></div></div></div></div>`;
+ })}${a}${xMe(n, i)}</div></div></div></div></div>`;
};
-function TMe() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${BU("85%")}${BU("65%")}${HU(VU(), 4)}</div></aside></div>`;
+function wMe() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${VU("85%")}${VU("65%")}${UU(HU(), 4)}</div></aside></div>`;
}
-function EMe(e, t = {}) {
+function TMe(e, t = {}) {
let n = "";
- if (e === "/stats") n = lMe();
- else if (e === "/jav") n = pOe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = uMe();
- else if (e === "/subscriptions") n = wMe(t);
- else if (e === "/settings/library") n = cMe();
+ if (e === "/stats") n = cMe();
+ else if (e === "/jav") n = fOe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = lMe();
+ else if (e === "/subscriptions") n = CMe(t);
+ else if (e === "/settings/library") n = sMe();
else if (e === "/tasks") n = `<div class="ui-activitypage">${[
"正在进行",
"被挡下的",
"最近完成"
- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${BU("35%")}${VU()}</div></article></div></section>`).join("")}</div>`;
- else if (e === "/duplicates") n = dMe();
- else if (e === "/quality-goals") n = fMe();
- else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${BU("200px")}</div></header><div class="ui-playlistcards">${HU(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${VU()}</div></div></article>`, 6)}</div></section>`;
+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${VU("35%")}${HU()}</div></article></div></section>`).join("")}</div>`;
+ else if (e === "/duplicates") n = uMe();
+ else if (e === "/quality-goals") n = dMe();
+ else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${VU("200px")}</div></header><div class="ui-playlistcards">${UU(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${HU()}</div></div></article>`, 6)}</div></section>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var QU = (e) => ["follow-item", e], DMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, OMe = "/api/follow/save", kMe = "/api/follow/media/hide", $U = class extends Error {
+var $U = (e) => ["follow-item", e], EMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, DMe = "/api/follow/save", OMe = "/api/follow/media/hide", eW = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function eW(e, t) {
- let n = await V(DMe(e), t);
+async function tW(e, t) {
+ let n = await V(EMe(e), t);
for (let t of n.groups || []) {
let r = ni(t).find((t) => t.id === e);
if (r) return {
@@ -69280,9 +69349,9 @@ async function eW(e, t) {
aliases: n.author_aliases || []
};
}
- throw new $U();
+ throw new eW();
}
-function AMe(e) {
+function kMe(e) {
for (let [, t] of U.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = ni(t.group).find((t) => t.id === e);
@@ -69293,20 +69362,20 @@ function AMe(e) {
}
return null;
}
-async function tW(e, t) {
- let n = QU(e.id), r = ri(e.id), i = U.getQueryData(Zr) ? null : U.fetchQuery({
+async function nW(e, t) {
+ let n = $U(e.id), r = ri(e.id), i = U.getQueryData(Zr) ? null : U.fetchQuery({
queryKey: Zr,
queryFn: () => Qr(t)
}), a = r ? {
...r,
item: r.item
- } : U.getQueryData(n) ?? AMe(e.id);
+ } : U.getQueryData(n) ?? kMe(e.id);
a ? U.setQueryData(n, a) : await U.fetchQuery({
queryKey: n,
- queryFn: () => eW(e.id, t)
+ queryFn: () => tW(e.id, t)
}), await i;
}
-function jMe(e, t, n, r) {
+function AMe(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 && di(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,
@@ -69321,32 +69390,32 @@ function jMe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var MMe = (e) => ni(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), NMe = {
+var jMe = (e) => ni(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), MMe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, PMe = {
+}, NMe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function FMe(e) {
+function PMe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return NMe[t] || t;
+ return MMe[t] || t;
} catch {
return "外部文件页";
}
}
-function nW(e, t) {
- return PMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function rW(e, t) {
+ return NMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function IMe(e, t, n = "") {
+function FMe(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;
@@ -69355,54 +69424,54 @@ function IMe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var LMe = (e) => String(e.name || "").trim(), rW = (e, t) => e.tag_types?.[t] || "unknown", RMe = /* @__PURE__ */ new Set([
+var IMe = (e) => String(e.name || "").trim(), iW = (e, t) => e.tag_types?.[t] || "unknown", LMe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function zMe(e, t) {
- let n = rW(e, t);
- return `r34-${RMe.has(n) ? n : "general"}`;
+function RMe(e, t) {
+ let n = iW(e, t);
+ return `r34-${LMe.has(n) ? n : "general"}`;
}
-var iW = [
+var aW = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function BMe(e, t) {
+function zMe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = iW.indexOf(rW(e, t));
- return n < 0 ? iW.length : n;
+ let n = aW.indexOf(iW(e, t));
+ return n < 0 ? aW.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function aW(e, t) {
+function oW(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 VMe = (e, t) => ({
+var BMe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), oW = (e) => e?.size ? { size: e.size } : {};
-function HMe(e, t) {
+}), sW = (e) => e?.size ? { size: e.size } : {};
+function VMe(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,
name: t.name || e.title,
- source: nW(t, e),
- ...oW(t)
+ source: rW(t, e),
+ ...sW(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: nW(a, e),
- ...oW(a)
+ source: rW(a, e),
+ ...sW(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -69410,7 +69479,7 @@ function HMe(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var UMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", sW = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => go(e, {
+var HMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", cW = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => go(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -69418,7 +69487,7 @@ var UMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", sW
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), WMe = [
+}), UMe = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -69428,41 +69497,41 @@ var UMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", sW
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], GMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
+], WMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${WMe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${UMe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
<div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>
- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, KMe = {
- ...Object.fromEntries(Object.keys(yO).map((e) => [`/settings/${e}`, () => ho()])),
- "/data-cleanup": () => cL(),
- "/resource-sync": () => cL(),
- "/review": () => GMe(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, GMe = {
+ ...Object.fromEntries(Object.keys(bO).map((e) => [`/settings/${e}`, () => ho()])),
+ "/data-cleanup": () => lL(),
+ "/resource-sync": () => lL(),
+ "/review": () => WMe(),
"/diagnostics": () => ho(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${sW("正在读取采集来源", {
+ ${cW("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function cW(e, { followLayout: t, followSort: n, followDir: r }) {
- return EMe(e, {
+function lW(e, { followLayout: t, followSort: n, followDir: r }) {
+ return TMe(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (KMe[e] ?? (() => sW("正在读取页面")))();
+ }) || (GMe[e] ?? (() => cW("正在读取页面")))();
}
-var lW = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function uW(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = lW(t);
+var uW = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function dW(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = uW(t);
(!r || r !== n) && (e.innerHTML = t, wo(e));
}
//#endregion
//#region src/react/components/related-section.tsx
-function dW({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {
+function fW({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {
let s = (0, b.useCallback)((e) => {
e && (wo(e), t(e));
}, [t]);
@@ -69475,15 +69544,15 @@ function dW({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
children: "接着看"
}), i ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, x.jsx)(DP, {
+ children: /* @__PURE__ */ (0, x.jsx)(OP, {
message: i,
onRetry: a || (() => {})
})
}) : r && !n ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, x.jsx)(qk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: ehe,
+ icon: $me,
title: "暂无接着看的内容",
children: "可以回到列表挑选其他作品。"
})
@@ -69497,14 +69566,14 @@ function dW({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
}
//#endregion
//#region src/react/components/detail-continuation.tsx
-function fW({ queue: e, children: t, editionCards: n }) {
+function pW({ queue: e, children: t, editionCards: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-detail-continuation": "",
"data-edition-cards": n == null ? void 0 : Math.min(3, n),
children: [e, t]
});
}
-function pW({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function mW({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
let a = (0, b.useRef)(null), [o, s] = (0, b.useState)(!0), c = e.some((e) => e.video), l = !!i;
if ((0, b.useEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]"), t = Fo(e, { fade: !1 });
@@ -69570,7 +69639,7 @@ function pW({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)(qMe, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)(KMe, {
item: e,
selected: r === t,
label: e.label || `第 ${r + 1} 张`,
@@ -69592,7 +69661,7 @@ function pW({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function qMe({ item: e, selected: t, label: n, onSelect: r, render: i }) {
+function KMe({ item: e, selected: t, label: n, onSelect: r, render: i }) {
let a = (0, b.useRef)(null), [o, s] = (0, b.useState)(typeof IntersectionObserver > "u");
return (0, b.useEffect)(() => {
if (!a.current || o) return;
@@ -69617,14 +69686,14 @@ function qMe({ item: e, selected: t, label: n, onSelect: r, render: i }) {
}
//#endregion
//#region src/react/follow-detail/follow-related.ts
-var JMe = (e, t, n) => [
+var qMe = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function mW(e, t, n, r) {
+function hW(e, t, n, r) {
let i = new Set((t.group ? ni(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));
return e.flatMap((e) => e.groups || []).filter((e) => {
let t = ni(e);
@@ -69639,7 +69708,7 @@ function mW(e, t, n, r) {
};
}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);
}
-async function YMe(e, t, n, r) {
+async function JMe(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...ui(i),
status: "new",
@@ -69653,29 +69722,29 @@ async function YMe(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return mW(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && mW(o, e, t, n).length < n && await s("", 0), {
+ return hW(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && hW(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
//#endregion
//#region src/react/follow-detail/follow-detail-page.tsx
-var hW = (e) => Number(e) > 0, XMe = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var gW = (e) => Number(e) > 0, YMe = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), gW = R("external-link", "ui-externalmark");
-function ZMe(e) {
+}), _W = R("external-link", "ui-externalmark");
+function XMe(e) {
let { id: t, actions: n } = e, r = ut({
- queryKey: QU(t),
- queryFn: ({ signal: e }) => eW(t, e)
+ queryKey: $U(t),
+ queryFn: ({ signal: e }) => tW(t, e)
}), i = ut({
queryKey: Zr,
queryFn: ({ signal: e }) => Qr(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, x.jsx)(eNe, {
+ return r.data ? /* @__PURE__ */ (0, x.jsx)($Me, {
...e,
data: r.data,
- context: VMe(r.data, a),
+ context: BMe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, x.jsx)("div", {
@@ -69684,9 +69753,9 @@ function ZMe(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, x.jsx)(_W, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(vW, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? QMe(r.error) ? /* @__PURE__ */ (0, x.jsx)($Me, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(DP, {
+ children: r.isError ? ZMe(r.error) ? /* @__PURE__ */ (0, x.jsx)(QMe, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(OP, {
message: Tt(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -69694,8 +69763,8 @@ function ZMe(e) {
})
});
}
-var QMe = (e) => e instanceof $U || e instanceof sn && e.status === 404;
-function $Me({ onBack: e }) {
+var ZMe = (e) => e instanceof eW || e instanceof sn && e.status === 404;
+function QMe({ onBack: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -69704,7 +69773,7 @@ function $Me({ onBack: e }) {
dangerouslySetInnerHTML: { __html: $a("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var _W = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var vW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -69713,8 +69782,8 @@ var _W = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function eNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = jMe(c, l, n, i), d = oNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
+function $Me({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = AMe(c, l, n, i), d = aNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
key: "",
kind: ""
}), h = {
@@ -69734,20 +69803,20 @@ function eNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? MMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(xW, {
+ let g = !u.embedded.length && u.collection ? jMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(SW, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, x.jsx)(xW, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, x.jsx)(SW, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, x.jsx)(rNe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nNe, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -69757,14 +69826,14 @@ function eNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
"data-stage-grid": "",
"data-with-queue": _ ? "" : void 0,
"data-follow-detail": "",
- children: [/* @__PURE__ */ (0, x.jsx)(nNe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(tNe, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, x.jsx)(iNe, {
+ }, f), /* @__PURE__ */ (0, x.jsx)(rNe, {
item: c,
data: e,
context: t,
@@ -69774,9 +69843,9 @@ function eNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, x.jsx)(fW, {
+ }), /* @__PURE__ */ (0, x.jsx)(pW, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, x.jsx)(tNe, {
+ children: a > 0 ? /* @__PURE__ */ (0, x.jsx)(eNe, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -69786,23 +69855,23 @@ function eNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function tNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function eNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = ut({
- queryKey: JMe(e.item.id, t, n),
- queryFn: ({ signal: r }) => YMe(e, t, n, r)
- }), [s] = (0, b.useState)(() => sW("正在读取推荐", {
+ queryKey: qMe(e.item.id, t, n),
+ queryFn: ({ signal: r }) => JMe(e, t, n, r)
+ }), [s] = (0, b.useState)(() => cW("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, b.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: () => !1
- }), [a]), l = mW(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
+ }), [a]), l = hW(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
...r,
sources: u,
aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases
};
- return /* @__PURE__ */ (0, x.jsx)(dW, {
+ return /* @__PURE__ */ (0, x.jsx)(fW, {
"data-follow-related": "",
wireDrag: i.wireDrag,
busy: o.isPending,
@@ -69811,11 +69880,11 @@ function tNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
onRetry: () => {
o.refetch();
},
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, x.jsx)(zR, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, x.jsx)(BR, {
variant: "next",
group: e,
media: t,
- authorSources: aW(e.primary, u),
+ authorSources: oW(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -69828,8 +69897,8 @@ function tNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function nNe({ 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 = HMe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, b.useState)(g), S = (0, b.useRef)({
+function tNe({ 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 = VMe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, b.useState)(g), S = (0, b.useRef)({
item: e,
selected: o
}), C = (0, b.useRef)(i.failed);
@@ -69843,14 +69912,14 @@ function nNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-framed": d ? "" : void 0,
style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },
children: [
- /* @__PURE__ */ (0, x.jsx)(_W, { onClose: n.close }),
+ /* @__PURE__ */ (0, x.jsx)(vW, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, x.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void AR(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void jR(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -69858,10 +69927,10 @@ function nNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: nP(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: rP(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, x.jsx)(pW, {
+ u ? /* @__PURE__ */ (0, x.jsx)(mW, {
items: c,
position: l,
onSelect: r
@@ -69869,11 +69938,11 @@ function nNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var vW = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var yW = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }
});
-function yW({ src: e }) {
+function bW({ src: e }) {
let [t, n] = (0, b.useState)(!1);
return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {
src: e,
@@ -69883,27 +69952,27 @@ function yW({ src: e }) {
onError: () => n(!0)
});
}
-function bW(e) {
+function xW(e) {
return (0, b.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function rNe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = di(e), a = bW(n);
- return /* @__PURE__ */ (0, x.jsx)(oF, {
+function nNe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = di(e), a = xW(n);
+ return /* @__PURE__ */ (0, x.jsx)(sF, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${iP(e.primary)} · ${i.length} 个视频`,
+ summary: `${aP(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = IMe(e, n, i ? n.provider_label : ""), o = i ? nP(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, x.jsxs)(sF, {
+ let i = e.duplicates.includes(n), a = FMe(e, n, i ? n.provider_label : ""), o = i ? rP(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, x.jsxs)(cF, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(yW, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(vW, { kind: "video" }), hW(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {
+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(bW, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(yW, { kind: "video" }), gW(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Jt(n.duration)
@@ -69921,15 +69990,15 @@ function rNe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, x.jsx)("time", {
dateTime: n.published_at || "",
- children: pP(n)
+ children: mP(n)
})]
})]
}, n.id);
})
});
}
-function xW({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = bW(r), c = [];
+function SW({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = xW(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -69939,26 +70008,26 @@ function xW({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, x.jsx)(oF, {
+ return /* @__PURE__ */ (0, x.jsx)(sF, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${iP(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(obe, {
+ summary: `${aP(e)} · ${o.length} 个媒体`,
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(abe, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(sF, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(cF, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(yW, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(vW, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(bW, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(yW, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, x.jsx)("b", {
"data-middle-truncate": "",
- children: LMe(n)
+ children: IMe(n)
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -69966,13 +70035,13 @@ function xW({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function rNe({ 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 = uP(d, e), p = cP(e, aW(e, t.sources), n), m = p.credited ? "" : e.author && Ut(e.author) !== Ut(p.author) ? e.author : "", h = dP(e, n), g = BMe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = dP(d, e), p = lP(e, oW(e, t.sources), n), m = p.credited ? "" : e.author && Ut(e.author) !== Ut(p.author) ? e.author : "", h = fP(e, n), g = zMe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -69988,7 +70057,7 @@ function iNe({ 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: lP(d, e) + z(iP(e)) }
+ dangerouslySetInnerHTML: { __html: uP(d, e) + z(aP(e)) }
}), e.url ? /* @__PURE__ */ (0, x.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -69996,7 +70065,7 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: gW }
+ dangerouslySetInnerHTML: { __html: _W }
}) : null]
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -70004,8 +70073,8 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, x.jsx)("span", { children: pP(e) }),
- hW(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Jt(e.duration) }) : null,
+ /* @__PURE__ */ (0, x.jsx)("span", { children: mP(e) }),
+ gW(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Jt(e.duration) }) : null,
f ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -70022,7 +70091,7 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, x.jsxs)(LR, {
+ children: p.entityName ? /* @__PURE__ */ (0, x.jsxs)(RR, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -70054,7 +70123,7 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, x.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, x.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, x.jsx)(aNe, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, x.jsx)(iNe, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -70077,9 +70146,9 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [FMe(e), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [PMe(e), /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: gW }
+ dangerouslySetInnerHTML: { __html: _W }
})]
}, e))
}) : null,
@@ -70179,7 +70248,7 @@ function iNe({ 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, x.jsx)(yW, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(XMe, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, x.jsx)(bW, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(YMe, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -70193,7 +70262,7 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-follow-detail-tags": "",
children: g.map((t) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
- "data-tag-cat": zMe(e, t),
+ "data-tag-cat": RMe(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -70203,7 +70272,7 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function aNe({ text: e }) {
+function iNe({ text: e }) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(!1);
return (0, b.useLayoutEffect)(() => {
let e = t.current;
@@ -70226,8 +70295,8 @@ function aNe({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function oNe(e, t, n) {
- let r = e.id, i = QU(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {
+function aNe(e, t, n) {
+ let r = e.id, i = $U(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -70246,7 +70315,7 @@ function oNe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && jV(), t.toast(UMe(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && MV(), t.toast(HMe(n), { undo: i === "saved" ? void 0 : async () => {
await H(jn, {
item: r,
to: i
@@ -70256,7 +70325,7 @@ function oNe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = dt({
- mutationFn: () => H(OMe, { item: r }),
+ mutationFn: () => H(DMe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
@@ -70264,7 +70333,7 @@ function oNe(e, t, n) {
onSettled: () => l("save", !1)
}), m = dt({
mutationFn: async ({ index: e, hidden: t }) => {
- await H(kMe, {
+ await H(OMe, {
item: r,
media: e,
hidden: t
@@ -70280,12 +70349,12 @@ function oNe(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = ut({
- queryKey: xOe(r),
- queryFn: ({ signal: e }) => wOe(r, e)
+ queryKey: bOe(r),
+ queryFn: ({ signal: e }) => COe(r, e)
}).data?.want ?? null, g = dt({
- mutationFn: async (e) => (e ? await AV([e.id]) : await kV({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await jV([e.id]) : await AV({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), jV();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), MV();
},
onError: d,
onSettled: () => l("want", !1)
@@ -70325,7 +70394,7 @@ function oNe(e, t, n) {
}
//#endregion
//#region src/react/components/identity-cell.tsx
-function SW({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+function CW({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${z($t(t.name))}</span>` + ia({
@@ -70368,7 +70437,7 @@ function SW({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: s
});
}
-function CW({ people: e, onOpen: t }) {
+function wW({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
@@ -70402,7 +70471,7 @@ function CW({ people: e, onOpen: t }) {
}
//#endregion
//#region src/react/components/folded-title.ts
-function wW(e) {
+function TW(e) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(!1);
return (0, b.useLayoutEffect)(() => {
let e = t.current;
@@ -70420,7 +70489,7 @@ function wW(e) {
}
//#endregion
//#region src/react/components/source-picture.tsx
-function TW({ item: e, image: t, thumbnail: n = !1 }) {
+function EW({ item: e, image: t, thumbnail: n = !1 }) {
let r = t === "cover" && e.has_cover, i = !r && (t !== "cover" || e.source_image), a = ut({
queryKey: [
"jav-image",
@@ -70463,9 +70532,9 @@ function TW({ item: e, image: t, thumbnail: n = !1 }) {
}
//#endregion
//#region src/react/item-detail/catalog-picture.tsx
-function EW({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {
+function DW({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {
let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(0);
- if (r && t > 0 && e.code) return /* @__PURE__ */ (0, x.jsx)(TW, {
+ if (r && t > 0 && e.code) return /* @__PURE__ */ (0, x.jsx)(EW, {
item: {
code: e.code,
has_cover: !1,
@@ -70494,47 +70563,47 @@ function EW({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {
}
//#endregion
//#region src/react/jav-detail/jav-detail.ts
-var DW = (e) => ["jav-detail", e], OW = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), sNe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), kW = (e, t) => U.ensureQueryData({
- queryKey: DW(e.code),
- queryFn: () => OW(e.code, t),
+var OW = (e) => ["jav-detail", e], kW = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), oNe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), AW = (e, t) => U.ensureQueryData({
+ queryKey: OW(e.code),
+ queryFn: () => kW(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function cNe(e, t) {
+function sNe(e, t) {
if (!e.ok || !e.more) return;
let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));
return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;
}
//#endregion
//#region src/react/item-detail/external-playback.tsx
-var AW = "peach.external-player.v1", jW = [
+var jW = "peach.external-player.v1", MW = [
["m3u", "M3U 播放列表"],
["vlc-ios", "VLC(iPhone / iPad)"],
["iina", "IINA(Mac)"]
];
-function lNe(e, t, n) {
+function cNe(e, t, n) {
return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;
}
-function uNe({ id: e }) {
+function lNe({ id: e }) {
let [t, n] = (0, b.useState)(() => {
try {
- return jW.find(([e]) => e === localStorage.getItem(AW))?.[0] || "m3u";
+ return MW.find(([e]) => e === localStorage.getItem(jW))?.[0] || "m3u";
} catch {
return "m3u";
}
- }), [r, i] = (0, b.useState)(null), a = Qk();
- return /* @__PURE__ */ (0, x.jsxs)("details", { children: [/* @__PURE__ */ (0, x.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- /* @__PURE__ */ (0, x.jsx)(TH, {
+ }), [r, i] = (0, b.useState)(null), a = $k();
+ return /* @__PURE__ */ (0, x.jsxs)("details", { children: [/* @__PURE__ */ (0, x.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(EH, {
id: `external-player-${e}`,
label: "此设备的外部播放器",
- options: jW,
+ options: MW,
value: t,
epoch: 0,
onPick: (e) => {
- let t = jW.find(([t]) => t === e)?.[0] || "m3u";
+ let t = MW.find(([t]) => t === e)?.[0] || "m3u";
n(t);
try {
- localStorage.setItem(AW, t);
+ localStorage.setItem(jW, t);
} catch {}
}
}),
@@ -70547,43 +70616,43 @@ function uNe({ id: e }) {
})),
children: "生成播放链接"
}),
- a.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: a.error }) : null,
+ a.error ? /* @__PURE__ */ (0, x.jsx)(cA, { children: a.error }) : null,
r ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("a", {
- href: lNe(t, r.url, r.playlist),
+ href: cNe(t, r.url, r.playlist),
rel: "noreferrer",
- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${jW.find(([e]) => e === t)?.[1]}`
+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${MW.find(([e]) => e === t)?.[1]}`
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "网络播放地址",
value: r.url,
isReadOnly: !0
}),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })
] }) : null
] })] }, e);
}
//#endregion
//#region src/react/components/overlay-host.ts
-function dNe(e) {
+function uNe(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 fNe(e) {
+function dNe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return dNe(n ?? t.body);
+ return uNe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var pNe = "/api/cover-crop", mNe = (e, t) => H(pNe, {
+var fNe = "/api/cover-crop", pNe = (e, t) => H(fNe, {
code: e,
box: t
});
//#endregion
//#region src/react/cover-crop/cover-crop-page.tsx
-function MW({ className: e }) {
+function NW({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -70596,7 +70665,7 @@ function MW({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-crop" })
});
}
-function hNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function mNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, b.useState)(!1), o = (0, b.useRef)(null);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("button", {
ref: o,
@@ -70607,15 +70676,15 @@ function hNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
title: "裁剪封面:框出正封那一块",
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, x.jsx)(MW, { className: "size-3.75" })
+ children: /* @__PURE__ */ (0, x.jsx)(NW, { className: "size-3.75" })
}), /* @__PURE__ */ (0, x.jsx)(Yx, {
- getContainer: () => fNe(o.current),
- children: /* @__PURE__ */ (0, x.jsx)(NN, {
+ getContainer: () => dNe(o.current),
+ children: /* @__PURE__ */ (0, x.jsx)(PN, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, x.jsx)(gNe, {
+ children: /* @__PURE__ */ (0, x.jsx)(hNe, {
code: e,
coverUrl: t,
box: n,
@@ -70625,9 +70694,9 @@ function hNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function gNe({ 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 = mL(), f = dt({
- mutationFn: (t) => mNe(e, t),
+function hNe({ 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 = hL(), f = dt({
+ mutationFn: (t) => pNe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -70639,19 +70708,19 @@ function gNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Mwe(e, Ji);
- c(YR(t, e, null));
+ } : jwe(e, Ji);
+ c(XR(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, x.jsx)(PN, { children: /* @__PURE__ */ (0, x.jsx)(MW, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(FN, { children: /* @__PURE__ */ (0, x.jsx)(NW, { className: "size-6" }) }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(dj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -70666,8 +70735,8 @@ function gNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(gL, {
- icon: ck,
+ /* @__PURE__ */ (0, x.jsx)(_L, {
+ icon: lk,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -70677,24 +70746,24 @@ function gNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, x.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, x.jsx)(ez, {
+ children: /* @__PURE__ */ (0, x.jsx)(tz, {
src: t,
aspect: l ? Ji : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- qR(e) && p(e);
+ JR(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, x.jsx)(HB, {
+ children: [/* @__PURE__ */ (0, x.jsx)(UB, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(YR(s, a, Ji));
+ u(e), e && s && a && c(XR(s, a, Ji));
},
children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -70723,21 +70792,21 @@ function gNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/item-detail/item-detail-page.tsx
-var NW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var PW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), PW = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+}), FW = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), FW = (e) => Number(e) > 0 ? Xt(Number(e)) : "大小未知";
-function _Ne(e) {
+}), IW = (e) => Number(e) > 0 ? Xt(Number(e)) : "大小未知";
+function gNe(e) {
let { queue: t, actions: n } = e, r = ut({
- queryKey: t ? eD(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => aD(t, e.helpers, n),
+ queryKey: t ? tD(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => oD(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? oD(i, e.id) : t ? null : e.id, o = ut({
- queryKey: $E(a ?? 0),
- queryFn: ({ signal: e }) => iD(a, e),
+ }), i = t && r.data || null, a = i ? sD(i, e.id) : t ? null : e.id, o = ut({
+ queryKey: eD(a ?? 0),
+ queryFn: ({ signal: e }) => aD(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -70748,9 +70817,9 @@ function _Ne(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, x.jsx)(IW, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(LW, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, x.jsx)(DP, {
+ children: e ? /* @__PURE__ */ (0, x.jsx)(OP, {
message: Tt(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -70760,13 +70829,13 @@ function _Ne(e) {
})
});
}
- return /* @__PURE__ */ (0, x.jsx)(vNe, {
+ return /* @__PURE__ */ (0, x.jsx)(_Ne, {
...e,
- item: Rue(o.data, i),
+ item: Lue(o.data, i),
queue: i
}, o.data.id);
}
-var IW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var LW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -70775,23 +70844,23 @@ var IW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function vNe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = PNe(t, r, i.tagLabel), o = (0, b.useRef)(t);
+function _Ne(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = NNe(t, r, i.tagLabel), o = (0, b.useRef)(t);
(0, b.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, b.useEffect)(() => {
- n?.kind === "playlist" && H(tD, {
+ n?.kind === "playlist" && H(nD, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = ide(t, i.sourceOffline(t.location || "")), c = zue(n, t.id);
+ let s = rde(t, i.sourceOffline(t.location || "")), c = Rue(n, t.id);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, x.jsx)(yNe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(vNe, {
item: t,
gate: s,
helpers: i,
@@ -70804,22 +70873,22 @@ function vNe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, x.jsx)(wNe, {
+ }), /* @__PURE__ */ (0, x.jsx)(CNe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, x.jsx)(fW, {
+ }), /* @__PURE__ */ (0, x.jsx)(pW, {
editionCards: n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, x.jsx)(xNe, {
+ queue: n ? /* @__PURE__ */ (0, x.jsx)(bNe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, x.jsx)(NNe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, x.jsx)(MNe, {
...e,
item: n ? {
...t,
@@ -70828,12 +70897,12 @@ function vNe(e) {
}) : null
})] });
}
-function yNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function vNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, b.useState)(t ? "" : "auto"), c = (0, b.useRef)(null), [l, u] = (0, b.useState)(-2), d = (0, b.useRef)(!1), f = ut({
- queryKey: DW(e.code || ""),
+ queryKey: OW(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, OW(e.code, t, n);
+ return d.current = !1, kW(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -70878,26 +70947,26 @@ function yNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-item-gallery": h ? "" : void 0,
"data-item-picture": l === -2 ? void 0 : "",
children: [
- /* @__PURE__ */ (0, x.jsx)(IW, { onClose: r.close }),
+ /* @__PURE__ */ (0, x.jsx)(LW, { onClose: r.close }),
h ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, x.jsx)(NW, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}),
- l === -2 ? null : /* @__PURE__ */ (0, x.jsx)(EW, {
+ l === -2 ? null : /* @__PURE__ */ (0, x.jsx)(DW, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
}, l),
- /* @__PURE__ */ (0, x.jsx)(pW, {
+ /* @__PURE__ */ (0, x.jsx)(mW, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, x.jsx)(EW, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, x.jsx)(DW, {
item: e,
image: t.index === -2 ? m[0].index : t.index,
source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,
@@ -70922,7 +70991,7 @@ function yNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "重试样图"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, x.jsx)(bNe, {
+ t === "offline" ? /* @__PURE__ */ (0, x.jsx)(yNe, {
item: e,
badge: y,
helpers: n,
@@ -70932,7 +71001,7 @@ function yNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, x.jsx)(PW, { html: y }),
+ /* @__PURE__ */ (0, x.jsx)(FW, { html: y }),
/* @__PURE__ */ (0, x.jsx)("b", { children: "在线资产" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -70947,12 +71016,12 @@ function yNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, x.jsx)(PW, { html: y }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", FW(e.size)] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(FW, { html: y }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", IW(e.size)] })]
}) : null
]
});
}
-function bNe({ item: e, badge: t, helpers: n, actions: r }) {
+function yNe({ 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);
@@ -70963,7 +71032,7 @@ function bNe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, x.jsx)(PW, { html: t }),
+ /* @__PURE__ */ (0, x.jsx)(FW, { html: t }),
/* @__PURE__ */ (0, x.jsx)("b", { children: "脱盘模式" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: n.offlineReason(e.location || "") }),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -70977,8 +71046,8 @@ function bNe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function xNe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = ede(e), a = (0, b.useRef)(null), o = CNe(e, t, r), s = (0, b.useRef)(o);
+function bNe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = $ue(e), a = (0, b.useRef)(null), o = SNe(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, {
@@ -70986,7 +71055,7 @@ function xNe({ 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 = SNe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {
+ }, [n, e.kind]), l = xNe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -71005,7 +71074,7 @@ function xNe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, x.jsx)(oF, {
+ return /* @__PURE__ */ (0, x.jsx)(sF, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -71014,11 +71083,11 @@ function xNe({ 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, x.jsx)("i", {
- className: `javedition ${Que[i.edition_label] || "censored"}`,
+ className: `javedition ${Zue[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && Lue(i);
- return /* @__PURE__ */ (0, x.jsxs)(sF, {
+ }) : null, s = e.kind === "playlist" && Iue(i);
+ return /* @__PURE__ */ (0, x.jsxs)(cF, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -71028,25 +71097,25 @@ function xNe({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(PW, { html: uee(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {
+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(FW, { html: uee(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Jt(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, x.jsx)(PW, { html: _a(i) }),
+ lead: /* @__PURE__ */ (0, x.jsx)(FW, { html: _a(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, x.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -71057,14 +71126,14 @@ function xNe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? lD(i.part_label) : va(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? uD(i.part_label) : va(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function SNe(e, t) {
- let n = dt({ mutationFn: (t) => H(tD, {
+function xNe(e, t) {
+ let n = dt({ mutationFn: (t) => H(nD, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -71077,11 +71146,11 @@ function SNe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function CNe(e, t, n) {
- let r = eD({
+function SNe(e, t, n) {
+ let r = tD({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (U.setQueryData(r, Iue(e)), e), a = (t) => H(tD, {
+ }), i = (e) => (U.setQueryData(r, Fue(e)), e), a = (t) => H(nD, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = dt({
@@ -71097,8 +71166,8 @@ function CNe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = nde(s, t, r, c);
- if (rde(l, s)) return;
+ let l = tde(s, t, r, c);
+ if (nde(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -71140,7 +71209,7 @@ function CNe(e, t, n) {
}
};
}
-function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function CNe({ 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, x.jsx)("div", {
"data-stage-side": "",
@@ -71148,7 +71217,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(TNe, {
+ /* @__PURE__ */ (0, x.jsx)(wNe, {
item: e,
queue: t,
helpers: r,
@@ -71160,7 +71229,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, x.jsx)(DNe, {
+ /* @__PURE__ */ (0, x.jsx)(ENe, {
item: e,
write: n
}),
@@ -71171,7 +71240,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, x.jsx)(NW, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -71179,11 +71248,11 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, x.jsx)(NW, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: FW(e.size) })]
+ children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: IW(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, x.jsx)(NW, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
@@ -71191,23 +71260,23 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"data-open-region": e.region || "",
title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",
onClick: () => i.openRegion(e.region || ""),
- children: [/* @__PURE__ */ (0, x.jsx)(NW, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(ONe, {
+ /* @__PURE__ */ (0, x.jsx)(DNe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, x.jsx)(kNe, {
+ /* @__PURE__ */ (0, x.jsx)(ONe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, x.jsx)(jNe, { item: e }),
- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, x.jsx)(uNe, { id: e.id }, e.id) : null,
+ /* @__PURE__ */ (0, x.jsx)(ANe, { item: e }),
+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, x.jsx)(lNe, { id: e.id }, e.id) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -71221,7 +71290,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.liked,
...o("like"),
onClick: () => n.preference({ liked: !e.liked }),
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71233,7 +71302,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-controls": "preferencePanel",
"data-has-reason": String(!!e.like_reason),
onClick: () => c((e) => !e),
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71244,7 +71313,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71255,7 +71324,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "eye" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "eye" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71266,7 +71335,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71275,7 +71344,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "playlist" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "playlist" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71286,7 +71355,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "sparkles" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71297,11 +71366,11 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "trash" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(MNe, {
+ /* @__PURE__ */ (0, x.jsx)(jNe, {
item: e,
open: s,
write: n
@@ -71312,7 +71381,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, x.jsx)(NW, { name: "sperm" }),
+ /* @__PURE__ */ (0, x.jsx)(PW, { name: "sperm" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "mono",
@@ -71325,8 +71394,8 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function TNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = wW(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + tde(e, t);
+function wNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = TW(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + ede(e, t);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -71353,23 +71422,23 @@ function TNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: o ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: o ? "chevron-up" : "chevron-down" })
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, x.jsx)(hNe, {
+ children: /* @__PURE__ */ (0, x.jsx)(mNe, {
code: e.cover_key || e.code || "",
coverUrl: ea(e),
box: e.poster_box || null,
onSaved: (t) => {
U.invalidateQueries({
- queryKey: $E(e.id),
+ queryKey: eD(e.id),
exact: !0
- }), Oue((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), Due((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(ENe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(TNe, {
id: e.id,
actions: r,
onStatus: i
@@ -71379,7 +71448,7 @@ function TNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function ENe({ id: e, actions: t, onStatus: n }) {
+function TNe({ 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 () => {
@@ -71409,17 +71478,17 @@ function ENe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "folder-sync" })
})] });
}
-function DNe({ item: e, write: t }) {
- let n = sD(e.rating);
+function ENe({ item: e, write: t }) {
+ let n = cD(e.rating);
return /* @__PURE__ */ (0, x.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": Hue(e.rating),
+ "data-value": Vue(e.rating),
children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -71436,19 +71505,19 @@ function DNe({ item: e, write: t }) {
"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,
...t.busyAttrs(`rate:${e}`),
onClick: () => t.rate(e),
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "star" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "star" })
}, e))
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Uue(e.rating)
+ children: Hue(e.rating)
})]
});
}
-function ONe({ item: e, actions: t }) {
- let n = (0, b.useMemo)(() => Vue(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function DNe({ item: e, actions: t }) {
+ let n = (0, b.useMemo)(() => Bue(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;
- return /* @__PURE__ */ (0, x.jsx)(SW, {
+ return /* @__PURE__ */ (0, x.jsx)(CW, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -71480,7 +71549,7 @@ function ONe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "user-round" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "user-round" })
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -71492,7 +71561,7 @@ function ONe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: ak,
+ trailingIcon: ok,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -71511,14 +71580,14 @@ function ONe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, x.jsx)(CW, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(wW, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function kNe({ item: e, write: t, helpers: n, actions: r }) {
- let i = Gue(e, n);
+function ONe({ item: e, write: t, helpers: n, actions: r }) {
+ let i = Wue(e, n);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -71538,16 +71607,16 @@ function kNe({ item: e, write: t, helpers: n, actions: r }) {
"aria-label": `删除标签 ${n.tagLabel(e.k)}`,
...t.busyAttrs(`tag:${e.k}`),
onClick: () => t.removeTag(e),
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, x.jsx)(ANe, {
+ }, e.k)), /* @__PURE__ */ (0, x.jsx)(kNe, {
item: e,
write: t,
helpers: n
})]
});
}
-function ANe({ item: e, write: t, helpers: n }) {
+function kNe({ item: e, write: t, helpers: n }) {
let r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(!1), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(-1), h = (0, b.useCallback)(() => {
i.current && Ha(i.current), c(!1);
}, []);
@@ -71561,7 +71630,7 @@ function ANe({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? Zue(d, n.tagCandidates(), Yue()) : {
+ let g = s ? Xue(d, n.tagCandidates(), Jue()) : {
recent: [],
results: [],
create: ""
@@ -71584,12 +71653,12 @@ function ANe({ item: e, write: t, helpers: n }) {
} else if (n.key === "Enter") {
n.preventDefault();
let r = p >= 0 ? _[p] : null;
- r ? v(r, r.n !== -1 && cD(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? v(r, r.n !== -1 && lD(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, S = -1, C = (t) => {
S += 1;
- let r = S, i = cD(e, t.k);
+ let r = S, i = lD(e, t.k);
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -71597,7 +71666,7 @@ function ANe({ item: e, write: t, helpers: n }) {
"aria-pressed": i,
onClick: () => v(t, i),
children: [
- /* @__PURE__ */ (0, x.jsx)(NW, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, x.jsx)(PW, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-pick-name": "",
children: n.tagLabel(t.k)
@@ -71620,7 +71689,7 @@ function ANe({ item: e, write: t, helpers: n }) {
onClick: () => {
i.current && (Va(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
- children: /* @__PURE__ */ (0, x.jsx)(NW, { name: "plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "plus" })
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: i,
id: "tagPicker",
@@ -71630,7 +71699,7 @@ function ANe({ item: e, write: t, helpers: n }) {
hidden: !0,
children: [/* @__PURE__ */ (0, x.jsxs)("label", {
"data-tag-search": "",
- children: [/* @__PURE__ */ (0, x.jsx)(NW, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {
+ children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {
ref: a,
id: "tagPickSearch",
maxLength: 80,
@@ -71671,7 +71740,7 @@ function ANe({ item: e, write: t, helpers: n }) {
onClick: () => {
h(), t.addTag(g.create);
},
- children: [/* @__PURE__ */ (0, x.jsx)(NW, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -71686,8 +71755,8 @@ function ANe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function jNe({ item: e }) {
- let t = ade(e);
+function ANe({ item: e }) {
+ let t = ide(e);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -71721,7 +71790,7 @@ function jNe({ item: e }) {
})]
});
}
-function MNe({ item: e, open: t, write: n }) {
+function jNe({ 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();
@@ -71760,12 +71829,12 @@ function MNe({ item: e, open: t, write: n }) {
})]
});
}
-function NNe(e) {
+function MNe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = ut({
- queryKey: kue(t.id, n),
- queryFn: async ({ signal: e }) => (await V(jue(t.id, n), e)).items || []
+ queryKey: Oue(t.id, n),
+ queryFn: async ({ signal: e }) => (await V(Aue(t.id, n), e)).items || []
}), [o] = (0, b.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, x.jsx)(dW, {
+ return /* @__PURE__ */ (0, x.jsx)(fW, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -71773,7 +71842,7 @@ function NNe(e) {
onRetry: () => {
a.refetch();
},
- children: a.data ? /* @__PURE__ */ (0, x.jsx)(dF, {
+ children: a.data ? /* @__PURE__ */ (0, x.jsx)(fF, {
mode: "items",
variant: "next",
items: a.data,
@@ -71786,11 +71855,11 @@ function NNe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, x.jsx)(PW, { html: o })
+ }) : /* @__PURE__ */ (0, x.jsx)(FW, { html: o })
});
}
-function PNe(e, t, n) {
- let r = e.id, i = $E(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 NNe(e, t, n) {
+ let r = e.id, i = eD(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 = () => U.getQueryData(i) || e, p = (e) => {
@@ -71806,7 +71875,7 @@ function PNe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return QE(r, n), t;
+ return $E(r, n), t;
}, m = (e, t) => H(e, {
id: r,
...t
@@ -71821,7 +71890,7 @@ function PNe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(Mue, t === void 0 ? { kind: e } : {
+ let n = await m(jue, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -71841,21 +71910,21 @@ function PNe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = Wue(n, e);
- await _("rate", r), t.toast(r ? `已评 ${sD(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = Uue(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${cD(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(ode(e, r), { undo: async () => {
+ t.toast(ade(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(Nue, {});
+ let e = await m(Mue, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(Nue, {})).watch_later });
+ p({ watch_later: (await m(Mue, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -71865,9 +71934,9 @@ function PNe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(Pue, { wanted: !e.wanted });
+ }), r = await m(Nue, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(Pue, e));
+ n(await m(Nue, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -71881,7 +71950,7 @@ function PNe(e, t, n) {
});
u("保存中…");
try {
- o(await m(Fue, {
+ o(await m(Pue, {
liked: a,
reason: i
}));
@@ -71891,7 +71960,7 @@ function PNe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(Fue, r));
+ o(await m(Pue, r));
} });
});
},
@@ -71900,30 +71969,30 @@ function PNe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => Kue(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(nD, {
+ p((t) => Gue(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(rD, {
operation: "add",
tag: e.k
- }), p((t) => que(t, e));
+ }), p((t) => Kue(t, e));
} });
}),
addTag: (e) => {
let r = e.trim();
r && g(`add:${r}`, "添加标签", async () => {
- let e = await m(nD, {
+ let e = await m(rD, {
operation: "add",
tag: r
});
if (!e.ok) return;
let i = e.tag || r;
- cD(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => que(e, {
+ lD(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => Kue(e, {
k: i,
cat: "general"
- })), Xue(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
- await m(nD, {
+ })), Yue(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ await m(rD, {
operation: "remove",
tag: i
- }), p((e) => Kue(e, i));
+ }), p((e) => Gue(e, i));
} }));
});
}
@@ -71931,10 +72000,10 @@ function PNe(e, t, n) {
}
//#endregion
//#region src/react/jav-detail/review-cache.ts
-var LW = "peach.jav-reviews.v1";
-function RW() {
+var RW = "peach.jav-reviews.v1";
+function zW() {
try {
- let e = localStorage.getItem(LW) || "[]";
+ let e = localStorage.getItem(RW) || "[]";
if (e.length > 2e6) return [];
let t = JSON.parse(e);
return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];
@@ -71942,21 +72011,21 @@ function RW() {
return [];
}
}
-function FNe(e, t) {
+function PNe(e, t) {
if (t.ok && !t.cache_stale) try {
let n = Date.parse(t.checked_at || ""), r = [{
code: e,
saved: Number.isFinite(n) ? n : Date.now(),
result: t
- }, ...RW().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(LW, i);
+ }, ...zW().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(RW, i);
} catch {}
}
-function INe(e, t) {
- let n = RW(), r = [], i = Infinity;
+function FNe(e, t) {
+ let n = zW(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !IV(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !LV(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -71964,17 +72033,17 @@ function INe(e, t) {
saved: i
} : void 0;
}
-function LNe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && IV(Date.parse(e.checked_at || "") || t, n));
+function INe(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && LV(Date.parse(e.checked_at || "") || t, n));
}
//#endregion
//#region src/react/jav-detail/jav-detail-page.tsx
-function RNe(e) {
+function LNe(e) {
let t = (0, b.useRef)(!1), n = ut({
- queryKey: DW(e.code),
+ queryKey: OW(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, OW(e.code, n, r);
+ return t.current = !1, kW(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -71984,21 +72053,21 @@ function RNe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, x.jsx)(zNe, {
+ children: n.data ? /* @__PURE__ */ (0, x.jsx)(RNe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, x.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, x.jsx)(zW, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, x.jsx)(DP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(BW, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, x.jsx)(OP, {
message: B(n.error),
onRetry: r
}) : null]
})
});
}
-var zW = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var BW = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -72007,7 +72076,7 @@ var zW = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function RNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, b.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, b.useEffect)(() => {
@@ -72027,13 +72096,13 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
label: "视频预览",
video: !0
}] : []
- ], [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(t.want_id), p = Qk(), m = () => {
- p.run("want", async (e) => d ? (await AV([d], e), null) : (await kV({ code: t.code }, e)).want.id, (t) => {
- f(t), U.setQueryData(DW(e), (e) => e && {
+ ], [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(t.want_id), p = $k(), m = () => {
+ p.run("want", async (e) => d ? (await jV([d], e), null) : (await AV({ code: t.code }, e)).want.id, (t) => {
+ f(t), U.setQueryData(OW(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), jV(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), MV(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
@@ -72042,24 +72111,24 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-jav-art": "",
"data-jav-playing": o === -2 ? "" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(zW, { close: n.close }),
+ /* @__PURE__ */ (0, x.jsx)(BW, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, x.jsx)(BW, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, x.jsx)(VW, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(HNe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(TW, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(VNe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(EW, {
item: t,
image: o === -1 ? "cover" : String(o)
}, o),
- /* @__PURE__ */ (0, x.jsx)(pW, {
+ /* @__PURE__ */ (0, x.jsx)(mW, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, x.jsx)(TW, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, x.jsx)(EW, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -72073,32 +72142,32 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(BNe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(HW, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, x.jsx)(zNe, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(UW, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
- children: [/* @__PURE__ */ (0, x.jsx)(VW, {
+ children: [/* @__PURE__ */ (0, x.jsx)(HW, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, x.jsx)(VW, {
+ }), /* @__PURE__ */ (0, x.jsx)(HW, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, x.jsx)(VNe, {
+ /* @__PURE__ */ (0, x.jsx)(BNe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, x.jsx)(VW, {
+ children: [/* @__PURE__ */ (0, x.jsx)(HW, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, x.jsx)(VW, {
+ }), /* @__PURE__ */ (0, x.jsx)(HW, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -72162,7 +72231,7 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
}),
t.source_url ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- trailingIcon: fk,
+ trailingIcon: pk,
onClick: () => window.open(t.source_url, "_blank", "noopener,noreferrer"),
children: "作品来源"
}) : null
@@ -72172,12 +72241,12 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, x.jsx)(UNe, {
+ /* @__PURE__ */ (0, x.jsx)(HNe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, x.jsx)(WNe, {
+ /* @__PURE__ */ (0, x.jsx)(UNe, {
item: t,
actions: n,
readOnly: r
@@ -72185,24 +72254,24 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, x.jsx)(TV, {
+ /* @__PURE__ */ (0, x.jsx)(EV, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var BW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var VW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: R(e) }
-}), VW = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, x.jsxs)("span", {
+}), HW = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, x.jsx)(BW, { name: e }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, x.jsx)(VW, { name: e }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
}) : null;
-function BNe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = wW(e.title), a = e.title === e.code ? "" : e.title;
+function zNe({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = TW(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, x.jsx)("h1", {
@@ -72228,12 +72297,12 @@ function BNe({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, x.jsx)(BW, { name: n ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(VW, { name: n ? "chevron-up" : "chevron-down" })
})
})]
});
}
-function HW({ score: e, review: t = !1 }) {
+function UW({ score: e, review: t = !1 }) {
let n = Math.max(0, Math.min(5, e));
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-rating": "",
@@ -72257,10 +72326,10 @@ function HW({ score: e, review: t = !1 }) {
"data-on": String(t === 1),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, x.jsx)(BW, { name: "star" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(VW, { name: "star" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-rating-fill": "",
style: { width: `${t * 100}%` },
- children: /* @__PURE__ */ (0, x.jsx)(BW, { name: "star" })
+ children: /* @__PURE__ */ (0, x.jsx)(VW, { name: "star" })
})]
})
}, e);
@@ -72271,7 +72340,7 @@ function HW({ score: e, review: t = !1 }) {
})]
});
}
-function VNe({ item: e, navigate: t }) {
+function BNe({ item: e, navigate: t }) {
let n = (e, n) => t(Ft(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, x.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -72280,14 +72349,14 @@ function VNe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, x.jsx)(SW, {
+ children: i.map((r) => /* @__PURE__ */ (0, x.jsx)(CW, {
kind: t,
person: {
...r,
id: r.id ?? null
},
onOpen: n,
- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, x.jsx)(mV, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, x.jsx)(hV, {
code: e.code,
person: r,
detail: !0
@@ -72304,7 +72373,7 @@ function VNe({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, x.jsx)(CW, {
+ }), /* @__PURE__ */ (0, x.jsx)(wW, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -72313,11 +72382,11 @@ function VNe({ item: e, navigate: t }) {
})]
});
}
-function HNe({ src: e }) {
+function VNe({ src: e }) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(0);
return (0, b.useLayoutEffect)(() => {
let n = t.current, i = document.createElement("video");
- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), fue(i, {
+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), due(i, {
src: e,
type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"
}, () => r(!0));
@@ -72337,8 +72406,8 @@ function HNe({ src: e }) {
}) : null
});
}
-function UNe({ code: e, count: t, released: n }) {
- let r = C(), [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => INe(e, n), [e, n]), s = (0, b.useRef)(!1), c = ft({
+function HNe({ code: e, count: t, released: n }) {
+ let r = C(), [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => FNe(e, n), [e, n]), s = (0, b.useRef)(!1), c = ft({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -72347,12 +72416,12 @@ function UNe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => LNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => INe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await sNe(e, n, t, s.current);
- if (FNe(e, i), !i.ok || i.cache_stale) {
+ let i = await oNe(e, n, t, s.current);
+ if (PNe(e, i), !i.ok || i.cache_stale) {
let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);
if (t?.ok) return {
...t,
@@ -72362,7 +72431,7 @@ function UNe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: cNe
+ getNextPageParam: sNe
});
(0, b.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -72370,10 +72439,10 @@ function UNe({ code: e, count: t, released: n }) {
let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? B(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-jav-reviews": "",
- children: /* @__PURE__ */ (0, x.jsxs)(fA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(pA, {
trailing: !0,
summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(kme, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, x.jsx)(Ome, { "aria-hidden": !0 }),
"评论",
t > 0 ? ` · ${t}` : ""
] }),
@@ -72390,7 +72459,7 @@ function UNe({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, x.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(HW, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(UW, {
score: Number(e.score),
review: !0
}) : null,
@@ -72445,21 +72514,21 @@ function UNe({ code: e, count: t, released: n }) {
})
});
}
-function WNe({ item: e, actions: t, readOnly: n }) {
+function UNe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, b.useState)(!1), a = ut({
- queryKey: OA,
+ queryKey: kA,
enabled: r,
- queryFn: ({ signal: e }) => V(`${DA}?limit=50`, e)
+ queryFn: ({ signal: e }) => V(`${OA}?limit=50`, e)
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-jav-resources": "",
- children: /* @__PURE__ */ (0, x.jsx)(fA, {
+ children: /* @__PURE__ */ (0, x.jsx)(pA, {
trailing: !0,
- summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(BW, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(VW, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, x.jsx)(HV, {
+ children: s ? /* @__PURE__ */ (0, x.jsx)(UV, {
want: {
id: 0,
code: e.code,
@@ -72477,31 +72546,31 @@ function WNe({ item: e, actions: t, readOnly: n }) {
}
//#endregion
//#region src/react/stage/stage-player.ts
-var UW = null, WW = null, GW = null, KW = null, qW = null, JW = !1, YW = 0, XW = null, ZW = () => !1, QW = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function GNe(e, t) {
- UW = e, ZW = () => t.isOpen(), XW = () => t.requestClose(), sle({
+var WW = null, GW = null, KW = null, qW = null, JW = null, YW = !1, XW = 0, ZW = null, QW = () => !1, $W = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function WNe(e, t) {
+ WW = e, QW = () => t.isOpen(), ZW = () => t.requestClose(), sle({
...e.player,
stage: () => document.getElementById("stage")
}), cle({
- inMiniplayer: (e) => WW?.player === e,
- kind: (e) => WW?.player === e ? WW.kind : GW?.kind ?? KW?.kind ?? "item",
- expand: () => vG(),
- toMiniplayer: () => yG()
- }), $W || ($W = !0, addEventListener("pagehide", () => VE()));
-}
-var $W = !1;
-function eG() {
- if (!UW) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return UW;
-}
-function tG(e) {
- KW = e;
-}
-var KNe = () => KW;
-function nG(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = QW(n, r.id, i?.index ?? null);
- if (WW && WW.key === a) return JNe(e, WW);
- WW && _G();
+ inMiniplayer: (e) => GW?.player === e,
+ kind: (e) => GW?.player === e ? GW.kind : KW?.kind ?? qW?.kind ?? "item",
+ expand: () => yG(),
+ toMiniplayer: () => bG()
+ }), eG || (eG = !0, addEventListener("pagehide", () => HE()));
+}
+var eG = !1;
+function tG() {
+ if (!WW) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return WW;
+}
+function nG(e) {
+ qW = e;
+}
+var GNe = () => qW;
+function rG(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = $W(n, r.id, i?.index ?? null);
+ if (GW && GW.key === a) return qNe(e, GW);
+ GW && vG();
let o = {
player: null,
kind: n,
@@ -72509,52 +72578,52 @@ function nG(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- GW = o;
+ KW = 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 = JE(s, {
+ let c = YE(s, {
kind: n,
item: r,
media: i,
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- GW === o && (o.player = e);
+ KW === o && (o.player = e);
},
- handedOff: (e) => WW?.player === e
+ handedOff: (e) => GW?.player === e
});
return () => {
- let e = !!o.player && WW?.player === o.player;
- GW === o && (GW = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), VE());
+ let e = !!o.player && GW?.player === o.player;
+ KW === o && (KW = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), HE());
};
}
-async function qNe(e, t, n) {
+async function KNe(e, t, n) {
let r = await Et(`/api/item?id=${e.id}`, { signal: n });
if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");
if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");
if (r.location === "online") throw Error("请打开详情播放在线作品");
if (r.cost === "metered") throw Error("请打开详情确认计费来源");
- let i = await eG().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(eG().player.offlineReason(String(r.location || "")));
+ let i = await tG().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(tG().player.offlineReason(String(r.location || "")));
let a = {
kind: "item",
item: r,
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- tG(a);
- let o = nG(t, {
+ nG(a);
+ let o = rG(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && KW === a && iG(!0), o(), KW === a && tG(null));
+ s || (s = !0, e && qW === a && aG(!0), o(), qW === a && nG(null));
};
}
-function JNe(e, t) {
+function qNe(e, t) {
let { player: n } = t;
- hG(t), WW = null, gG(), n.el().classList.remove("vjs-peach-mini"), lue(e), e.append(n.el()), TE(n);
+ gG(t), GW = null, _G(), n.el().classList.remove("vjs-peach-mini"), cue(e), e.append(n.el()), EE(n);
let r = {
player: n,
kind: t.kind,
@@ -72562,23 +72631,23 @@ function JNe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- GW = r;
- let i = uue(n, e);
- return EE(n), () => {
- GW === r && (GW = null), i(), WW?.player !== n && (wE() === n && TE(null), LE(n), VE());
+ KW = r;
+ let i = lue(n, e);
+ return DE(n), () => {
+ KW === r && (KW = null), i(), GW?.player !== n && (TE() === n && EE(null), RE(n), HE());
};
}
-var rG = () => {
- let e = GW?.player;
+var iG = () => {
+ let e = KW?.player;
return e && !e.isDisposed() ? e : null;
};
-function iG(e) {
- let t = JW;
- JW = !1, WW?.pending && _G();
- let n = GW, r = n?.player, i = KW;
- if (!n || !r || r.isDisposed() || !i || !qW) return;
- let a = eG().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && QNe({
+function aG(e) {
+ let t = YW;
+ YW = !1, GW?.pending && vG();
+ let n = KW, r = n?.player, i = qW;
+ if (!n || !r || r.isDisposed() || !i || !JW) return;
+ let a = tG().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && ZNe({
player: r,
kind: n.kind,
item: n.item,
@@ -72586,46 +72655,46 @@ function iG(e) {
key: n.key
}, i);
}
-function aG(e, t) {
- JW = !1, WW && (WW.kind === e && WW.item.id === t ? (WW.pending = !0, gG()) : _G());
+function oG(e, t) {
+ YW = !1, GW && (GW.kind === e && GW.item.id === t ? (GW.pending = !0, _G()) : vG());
}
-function oG(e) {
- qW = e, qW && pG();
+function sG(e) {
+ JW = e, JW && mG();
}
-var sG = () => !!WW && !WW.pending && !WW.player.isDisposed();
-function YNe() {
- return sG() ? qW?.frame.querySelector("video") ?? null : null;
+var cG = () => !!GW && !GW.pending && !GW.player.isDisposed();
+function JNe() {
+ return cG() ? JW?.frame.querySelector("video") ?? null : null;
}
-function XNe() {
- return ZW() ? document.getElementById("stage")?.querySelector("video") ?? null : rG()?.el().querySelector("video") ?? YNe();
+function YNe() {
+ return QW() ? document.getElementById("stage")?.querySelector("video") ?? null : iG()?.el().querySelector("video") ?? JNe();
}
-function cG(e) {
- qW && (qW.title.textContent = e.title || "", qW.sub.textContent = e.sub || "", qW.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function lG(e) {
+ JW && (JW.title.textContent = e.title || "", JW.sub.textContent = e.sub || "", JW.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function lG(e = WW?.item) {
- if (!qW) return;
- let t = qW.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- qW.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function uG(e = GW?.item) {
+ if (!JW) return;
+ let t = JW.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ JW.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function uG() {
- let e = WW?.player;
- if (!e || e.isDisposed() || !qW) return;
+function dG() {
+ let e = GW?.player;
+ if (!e || e.isDisposed() || !JW) return;
let t = e.paused();
- qW.play.setAttribute("aria-label", t ? "播放" : "暂停"), qW.play.querySelector("[data-icon-swap]") || (qW.play.innerHTML = ao("player-pause", "player-play", t ? "b" : "a")), oo(qW.play, t ? "b" : "a");
+ JW.play.setAttribute("aria-label", t ? "播放" : "暂停"), JW.play.querySelector("[data-icon-swap]") || (JW.play.innerHTML = ao("player-pause", "player-play", t ? "b" : "a")), oo(JW.play, t ? "b" : "a");
}
-function dG() {
- let e = WW?.player;
- if (!e || e.isDisposed() || !qW) return;
- let t = qt(WW?.item.duration) || qt(e.duration());
- qW.time.textContent = `${Yt(e.currentTime())} / ${t ? Yt(t) : "0:00"}`;
-}
-var fG = () => Math.max(1, Number(eG().player.settings().seekSeconds) || 10);
-function pG() {
- if (!qW || !UW) return;
- let e = fG();
- for (let [t, n] of [[qW.back, `后退 ${e} 秒`], [qW.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function mG(e) {
+function fG() {
+ let e = GW?.player;
+ if (!e || e.isDisposed() || !JW) return;
+ let t = qt(GW?.item.duration) || qt(e.duration());
+ JW.time.textContent = `${Yt(e.currentTime())} / ${t ? Yt(t) : "0:00"}`;
+}
+var pG = () => Math.max(1, Number(tG().player.settings().seekSeconds) || 10);
+function mG() {
+ if (!JW || !WW) return;
+ let e = pG();
+ for (let [t, n] of [[JW.back, `后退 ${e} 秒`], [JW.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function hG(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -72637,17 +72706,17 @@ function mG(e) {
"play",
"pause",
"ended"
- ], uG), t([
+ ], dG), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], dG), t("loadedmetadata", () => lG()), uG(), dG(), lG(), pG();
+ ], fG), t("loadedmetadata", () => uG()), dG(), fG(), uG(), mG();
}
-function hG(e) {
+function gG(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function ZNe() {
- let e = qW?.root;
+function XNe() {
+ let e = JW?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -72655,8 +72724,8 @@ function ZNe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function gG() {
- let e = qW?.root;
+function _G() {
+ let e = JW?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -72667,73 +72736,73 @@ function gG() {
e.style.transform = "";
}
}
-function QNe(e, t) {
- if (!qW) return;
+function ZNe(e, t) {
+ if (!JW) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- WW = n, YW++, e.player.el().classList.add("vjs-peach-mini"), qW.frame.prepend(e.player.el()), cG(t), mG(n), ZNe(), EE(e.player);
-}
-function _G() {
- let e = WW;
- e && hG(e), WW = null, YW++;
- let t = e?.player ?? null;
- t && wE() === t && TE(null), LE(t), t && VE(), qW?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), CE(), gG();
+ GW = n, XW++, e.player.el().classList.add("vjs-peach-mini"), JW.frame.prepend(e.player.el()), lG(t), hG(n), XNe(), DE(e.player);
}
function vG() {
- if (!sG() || !WW) return;
- let { kind: e, item: t, mediaIndex: n } = WW;
- eG().expand(e, t.id, n);
+ let e = GW;
+ e && gG(e), GW = null, XW++;
+ let t = e?.player ?? null;
+ t && TE() === t && EE(null), RE(t), t && HE(), JW?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), CE(), _G();
}
function yG() {
- sG() && !ZW() ? vG() : ZW() && rG() && XW && (JW = !0, XW());
+ if (!cG() || !GW) return;
+ let { kind: e, item: t, mediaIndex: n } = GW;
+ tG().expand(e, t.id, n);
+}
+function bG() {
+ cG() && !QW() ? yG() : QW() && iG() && ZW && (YW = !0, ZW());
}
-function $Ne() {
- let e = WW?.player;
+function QNe() {
+ let e = GW?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function bG(e) {
- let t = WW?.player;
+function xG(e) {
+ let t = GW?.player;
if (!t || t.isDisposed()) return;
- let n = qt(t.duration()) || qt(WW?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + fG() * e);
+ let n = qt(t.duration()) || qt(GW?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + pG() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function xG(e) {
- return !(!sG() || !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 || eG().sourceOffline(String(e.location ?? "")));
-}
-async function ePe(e) {
- if (!sG() || !WW || !qW) return;
- let t = ++YW, n = await Et(`/api/item?id=${e}`).catch(() => null);
- if (t !== YW || !sG() || !WW || !qW || !n || n.error) return;
- if (!xG(n)) {
- eG().openItem(e);
+function SG(e) {
+ return !(!cG() || !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 || tG().sourceOffline(String(e.location ?? "")));
+}
+async function $Ne(e) {
+ if (!cG() || !GW || !JW) return;
+ let t = ++XW, n = await Et(`/api/item?id=${e}`).catch(() => null);
+ if (t !== XW || !cG() || !GW || !JW || !n || n.error) return;
+ if (!SG(n)) {
+ tG().openItem(e);
return;
}
- let r = WW;
- hG(r), wE() === r.player && TE(null), LE(r.player), VE(), qW.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = GW;
+ gG(r), TE() === r.player && EE(null), RE(r.player), HE(), JW.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", qW.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", JW.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- cG(a), JE(i, {
+ lG(a), YE(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== YW) {
- r && wE() === r && TE(null), LE(r);
+ if (t !== XW) {
+ r && TE() === r && EE(null), RE(r);
return;
}
if (!r) {
- _G(), eG().openItem(e);
+ vG(), tG().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -72742,26 +72811,26 @@ async function ePe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: QW("item", n.id, null),
+ key: $W("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- WW = i, mG(i);
+ GW = i, hG(i);
}
- }), lG(n);
+ }), uG(n);
}
//#endregion
//#region src/react/stage/miniplayer.tsx
-var SG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+var CG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
-}), tPe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, CG = (e) => (t) => {
+}), ePe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, wG = (e) => (t) => {
t.stopPropagation(), e();
-}, nPe = (0, b.memo)(function() {
+}, tPe = (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)(() => (oG({
+ return (0, b.useLayoutEffect)(() => (sG({
root: e.current,
frame: n.current,
play: r.current,
@@ -72771,7 +72840,7 @@ var SG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => oG(null)), []), (0, b.useEffect)(() => iPe(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {
+ }), () => sG(null)), []), (0, b.useEffect)(() => rPe(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -72795,24 +72864,24 @@ var SG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: CG(vG),
- children: /* @__PURE__ */ (0, x.jsx)(SG, { name: "maximize-2" })
+ onClick: wG(yG),
+ children: /* @__PURE__ */ (0, x.jsx)(CG, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: CG(_G),
- children: /* @__PURE__ */ (0, x.jsx)(SG, { name: "x" })
+ onClick: wG(vG),
+ children: /* @__PURE__ */ (0, x.jsx)(CG, { name: "x" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: CG(() => bG(-1)),
- children: /* @__PURE__ */ (0, x.jsx)(SG, { name: "rotate-ccw" })
+ onClick: wG(() => xG(-1)),
+ children: /* @__PURE__ */ (0, x.jsx)(CG, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: r,
@@ -72821,16 +72890,16 @@ var SG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: CG($Ne),
- dangerouslySetInnerHTML: tPe
+ onClick: wG(QNe),
+ dangerouslySetInnerHTML: ePe
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: CG(() => bG(1)),
- children: /* @__PURE__ */ (0, x.jsx)(SG, { name: "rotate-cw" })
+ onClick: wG(() => xG(1)),
+ children: /* @__PURE__ */ (0, x.jsx)(CG, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, x.jsx)("span", {
ref: i,
@@ -72847,7 +72916,7 @@ var SG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => vG(),
+ onClick: () => yG(),
children: [/* @__PURE__ */ (0, x.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -72861,7 +72930,7 @@ var SG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
})
});
});
-function rPe(e, t, n) {
+function nPe(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
@@ -72883,7 +72952,7 @@ function rPe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function iPe(e, t) {
+function rPe(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 = {
@@ -72909,7 +72978,7 @@ function iPe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), rPe(e, i.dx, i.dy));
+ }, 0), nPe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -72921,49 +72990,49 @@ function iPe(e, t) {
}
//#endregion
//#region src/react/stage/stage.tsx
-var wG = null, TG = null, EG = /* @__PURE__ */ new Set(), DG = 0, OG = null, kG = !1, AG = !1, jG = () => {
+var TG = null, EG = null, DG = /* @__PURE__ */ new Set(), OG = 0, kG = null, AG = !1, jG = !1, MG = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function MG() {
- if (!wG) throw Error("舞台还没有接上宿主(configureStage)");
- return wG;
+function NG() {
+ if (!TG) throw Error("舞台还没有接上宿主(configureStage)");
+ return TG;
}
-function aPe(e) {
- return EG.add(e), () => {
- EG.delete(e);
+function iPe(e) {
+ return DG.add(e), () => {
+ DG.delete(e);
};
}
-function oPe() {
- for (let e of [...EG]) e();
+function aPe() {
+ for (let e of [...DG]) e();
}
-function NG() {
- (0, pt.flushSync)(oPe);
+function PG() {
+ (0, pt.flushSync)(aPe);
}
-function sPe({ view: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(cPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(nPe, {})] });
+function oPe({ view: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(sPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(tPe, {})] });
}
-var PG = () => /* @__PURE__ */ (0, x.jsx)("div", {
+var FG = () => /* @__PURE__ */ (0, x.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: TMe() }
+ dangerouslySetInnerHTML: { __html: wMe() }
});
-function FG(e) {
+function IG(e) {
let t = e.currentTarget;
if (e.target !== t) return !1;
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function cPe({ view: e }) {
+function sPe({ view: e }) {
let t = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
- e.preventDefault(), IG();
+ e.preventDefault(), LG();
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(_Ne, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, x.jsx)(RNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, x.jsx)(ZMe, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(gNe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, x.jsx)(LNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, x.jsx)(XMe, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, x.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -72971,20 +73040,20 @@ function cPe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), IG());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), LG());
},
onPointerDown: (e) => {
- AG = FG(e);
+ jG = IG(e);
},
onClick: (e) => {
- AG && FG(e) && IG();
+ jG && IG(e) && LG();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(PG, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(FG, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(PG, {})
+ children: /* @__PURE__ */ (0, x.jsx)(FG, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, x.jsx)("div", {
"data-stage-scroll": "",
@@ -72996,14 +73065,14 @@ function cPe({ view: e }) {
]
});
}
-function IG() {
- TG && !kG && (kG = !0, TG.request.actions.close());
+function LG() {
+ EG && !AG && (AG = !0, EG.request.actions.close());
}
-function LG(e, t) {
- let n = jG();
+function RG(e, t) {
+ let n = MG();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function RG(e) {
+function zG(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -73011,30 +73080,30 @@ function RG(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: IG
+ close: LG
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => MG().player.settings(), i = () => TG?.request === e;
+ }, r = () => NG().player.settings(), i = () => EG?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: IG,
+ close: LG,
present: (e, t) => {
let n = e.performers;
- tG({
+ nG({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), LG(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), RG(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => nG(e, {
+ mountPlayer: (e, t, r, i) => rG(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -73052,18 +73121,18 @@ function RG(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: IG,
+ close: LG,
present: (e, t) => {
- tG({
+ nG({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), LG(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), RG(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => nG(e, {
+ mountPlayer: (e, t, r, i) => rG(e, {
kind: "follow",
item: t,
media: r,
@@ -73080,78 +73149,78 @@ function RG(e) {
}
};
}
-function lPe(e, t) {
+function cPe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), TG?.generation === t && TG.phase === "reveal" && (TG = {
- ...TG,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), EG?.generation === t && EG.phase === "reveal" && (EG = {
+ ...EG,
phase: "content"
- }, NG());
+ }, PG());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function zG(e) {
- let t = jG();
- return !TG || TG.content.kind !== e || kG || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function BG(e) {
+ let t = MG();
+ return !EG || EG.content.kind !== e || AG || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function uPe(e) {
- let t = zG(e.kind);
+async function lPe(e) {
+ let t = BG(e.kind);
if (t) {
- await dPe(e, t);
+ await uPe(e, t);
return;
}
- TG && BG({ miniplayer: !1 });
- let n = ++DG, r = new AbortController();
- OG = r, kG = !1, AG = !1, e.kind === "jav" ? _G() : aG(e.kind, e.id ?? NaN), TG = {
+ EG && VG({ miniplayer: !1 });
+ let n = ++OG, r = new AbortController();
+ kG = r, AG = !1, jG = !1, e.kind === "jav" ? vG() : oG(e.kind, e.id ?? NaN), EG = {
generation: n,
request: e,
- content: RG(e),
+ content: zG(e),
phase: "skeleton"
- }, NG();
- let i = jG();
+ }, PG();
+ let i = MG();
if (!i) return;
wo(i), document.body.setAttribute("data-detail-open", ""), i.open || i.showModal();
- let a = TG.content;
+ let a = EG.content;
try {
- a.kind === "item" ? await Bue(a.props, r.signal) : a.kind === "jav" ? await kW(a.props, r.signal) : await tW(a.props, r.signal);
+ a.kind === "item" ? await zue(a.props, r.signal) : a.kind === "jav" ? await AW(a.props, r.signal) : await nW(a.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== DG || !TG) return;
+ if (n !== OG || !EG) return;
let o = !!i.querySelector(".skeleton-awaiting");
- TG = {
- ...TG,
+ EG = {
+ ...EG,
phase: o ? "content" : "reveal"
- }, NG(), o || lPe(i, n), po(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, PG(), o || cPe(i, n), po(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let s = document.activeElement;
(s === i || !i.contains(s)) && i.querySelector("#closeStage")?.focus();
}
-async function dPe(e, t) {
- let n = ++DG;
- OG?.abort();
+async function uPe(e, t) {
+ let n = ++OG;
+ kG?.abort();
let r = new AbortController();
- OG = r, AG = !1;
- let i = RG(e);
+ kG = r, jG = !1;
+ let i = zG(e);
try {
- i.kind === "item" ? await Bue(i.props, r.signal) : i.kind === "jav" ? await kW(i.props, r.signal) : await tW(i.props, r.signal);
+ i.kind === "item" ? await zue(i.props, r.signal) : i.kind === "jav" ? await AW(i.props, r.signal) : await nW(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== DG || !TG || zG(e.kind) !== t) return;
- e.kind === "jav" ? _G() : aG(e.kind, e.id ?? NaN), Js(t), CE(), TG = {
- ...TG,
+ if (n !== OG || !EG || BG(e.kind) !== t) return;
+ e.kind === "jav" ? vG() : oG(e.kind, e.id ?? NaN), Js(t), CE(), EG = {
+ ...EG,
request: e,
content: i,
phase: "content"
- }, NG(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), po(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, PG(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), po(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let a = document.activeElement;
(a === t || !t.contains(a)) && (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });
}
-function fPe() {
- let e = jG();
+function dPe() {
+ let e = MG();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
clearTimeout(n), e.removeEventListener("animationend", i), t();
@@ -73161,85 +73230,85 @@ function fPe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function BG({ miniplayer: e = !0 } = {}) {
- if (DG++, OG?.abort(), OG = null, iG(e), !TG) return;
- let t = jG();
- t && Js(t), CE(), t?.open && t.close(), TG = null, kG = !1, AG = !1, NG(), tG(null), document.body.removeAttribute("data-detail-open");
+function VG({ miniplayer: e = !0 } = {}) {
+ if (OG++, kG?.abort(), kG = null, aG(e), !EG) return;
+ let t = MG();
+ t && Js(t), CE(), t?.open && t.close(), EG = null, AG = !1, jG = !1, PG(), nG(null), document.body.removeAttribute("data-detail-open");
}
-function pPe(e) {
- TG && (TG = {
- ...TG,
- content: TG.content.kind === "item" ? {
+function fPe(e) {
+ EG && (EG = {
+ ...EG,
+ content: EG.content.kind === "item" ? {
kind: "item",
props: {
- ...TG.content.props,
+ ...EG.content.props,
...e
}
- } : TG.content.kind === "jav" ? TG.content : {
+ } : EG.content.kind === "jav" ? EG.content : {
kind: "follow",
props: {
- ...TG.content.props,
+ ...EG.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, NG());
+ }, PG());
}
-function mPe() {
- let e = KNe(), t = e?.kind === "item" ? e.item : null, n = t ? ha(t, MG().player.settings().javImage) : "";
+function pPe() {
+ let e = GNe(), t = e?.kind === "item" ? e.item : null, n = t ? ha(t, NG().player.settings().javImage) : "";
if (!n) return;
- let r = rG();
+ let r = iG();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var hPe = {
- open: uPe,
- update: pPe,
- exit: fPe,
- dispose: BG,
- requestClose: IG,
- repaintPoster: mPe,
- isOpen: () => !!TG,
- showing: () => TG && zG(TG.content.kind) ? TG.content.kind : null,
- activeVideo: () => XNe(),
- mountWallPlayer: qNe,
+var mPe = {
+ open: lPe,
+ update: fPe,
+ exit: dPe,
+ dispose: VG,
+ requestClose: LG,
+ repaintPoster: pPe,
+ isOpen: () => !!EG,
+ showing: () => EG && BG(EG.content.kind) ? EG.content.kind : null,
+ activeVideo: () => YNe(),
+ mountWallPlayer: KNe,
toggleTheater: () => {
- TG && kle(!MG().player.settings().theaterMode);
+ EG && Ole(!NG().player.settings().theaterMode);
},
- toggleMiniplayer: () => yG(),
- closeMiniplayer: () => _G(),
- miniplayerActive: () => sG(),
- miniplayerTakesCard: (e) => xG(e),
+ toggleMiniplayer: () => bG(),
+ closeMiniplayer: () => vG(),
+ miniplayerActive: () => cG(),
+ miniplayerTakesCard: (e) => SG(e),
miniplayerPlay: (e) => {
- ePe(e);
+ $Ne(e);
}
};
-function gPe(e) {
- return wG = e, GNe(e, {
- isOpen: () => !!TG,
- requestClose: IG
- }), hPe;
+function hPe(e) {
+ return TG = e, WNe(e, {
+ isOpen: () => !!EG,
+ requestClose: LG
+ }), mPe;
}
-function _Pe() {
- let e = (0, b.useSyncExternalStore)(aPe, () => TG);
- return wG ? /* @__PURE__ */ (0, x.jsx)(sPe, { view: e }) : null;
+function gPe() {
+ let e = (0, b.useSyncExternalStore)(iPe, () => EG);
+ return TG ? /* @__PURE__ */ (0, x.jsx)(oPe, { view: e }) : null;
}
//#endregion
//#region src/react/stats/stats.ts
-var vPe = "/api/stats", VG = ["stats"], HG = (e) => V(vPe, e);
-async function yPe(e) {
+var _Pe = "/api/stats", HG = ["stats"], UG = (e) => V(_Pe, e);
+async function vPe(e) {
await U.fetchQuery({
- queryKey: VG,
- queryFn: () => HG(e)
+ queryKey: HG,
+ queryFn: () => UG(e)
});
}
-var UG = (e) => e != null && Number.isFinite(e), WG = (e) => UG(e) ? e.toLocaleString() : "未取得", bPe = (e, t) => UG(e) && UG(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, GG = (e, t) => {
- let n = bPe(e, t);
- return !n && UG(e) && e > 0 && UG(t) && t > 0 ? "<1%" : `${n}%`;
-}, KG = (e) => {
- if (!UG(e)) return "未取得";
+var WG = (e) => e != null && Number.isFinite(e), GG = (e) => WG(e) ? e.toLocaleString() : "未取得", yPe = (e, t) => WG(e) && WG(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, KG = (e, t) => {
+ let n = yPe(e, t);
+ return !n && WG(e) && e > 0 && WG(t) && t > 0 ? "<1%" : `${n}%`;
+}, qG = (e) => {
+ if (!WG(e)) return "未取得";
let t = Math.max(0, e);
return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;
-}, qG = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, JG = (e) => (e.max_reached || 0) * 100, xPe = (e) => e.kind === "online" ? "在线直接观看" : qG(e) < JG(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", SPe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function CPe(e, t = 6) {
+}, JG = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, YG = (e) => (e.max_reached || 0) * 100, bPe = (e) => e.kind === "online" ? "在线直接观看" : JG(e) < YG(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", xPe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function SPe(e, t = 6) {
let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (n.length <= t) return n;
let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);
@@ -73249,7 +73318,7 @@ function CPe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var wPe = (e) => Math.max(1, ...e) * 1.1, TPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, EPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), DPe = {
+var CPe = (e) => Math.max(1, ...e) * 1.1, wPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, TPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), EPe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -73257,18 +73326,18 @@ var wPe = (e) => Math.max(1, ...e) * 1.1, TPe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, OPe = (e) => e.map((e) => ({
- name: DPe[e.k] ?? e.k,
+}, DPe = (e) => e.map((e) => ({
+ name: EPe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), kPe = {
+})).sort((e, t) => t.value - e.value), OPe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, YG = (e, t = {}) => e.map((e) => ({
+}, XG = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), APe = (e) => YG(e, kPe), jPe = [
+})), kPe = (e) => XG(e, OPe), APe = [
[
1,
1,
@@ -73304,49 +73373,49 @@ var wPe = (e) => Math.max(1, ...e) * 1.1, TPe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], MPe = (e) => jPe.map(([t, n, r]) => ({
+], jPe = (e) => APe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), NPe = /* @__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 XG(e) {
- return typeof e == "string" && NPe.includes(e);
+})), MPe = /* @__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 ZG(e) {
+ return typeof e == "string" && MPe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var PPe = /* @__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 ZG(e) {
- return typeof e == "string" && PPe.has(e);
-}
+var NPe = /* @__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 QG(e) {
- return typeof e == "string" && e.startsWith("data-");
+ return typeof e == "string" && NPe.has(e);
}
function $G(e) {
+ return typeof e == "string" && e.startsWith("data-");
+}
+function eK(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (ZG(n) || QG(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (QG(n) || $G(n)) && (t[n] = e[n]);
return t;
}
-function eK(e) {
+function tK(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, b.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return $G(t);
+ return eK(t);
}
- return typeof e == "object" && !Array.isArray(e) ? $G(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? eK(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function tK(e) {
+function nK(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (ZG(n) || QG(n) || XG(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (QG(n) || $G(n) || ZG(n)) && (t[n] = e[n]);
return t;
}
-function FPe(e) {
- return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? tK(e.props) : typeof e == "object" && !Array.isArray(e) ? tK(e) : null;
+function PPe(e) {
+ return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? nK(e.props) : typeof e == "object" && !Array.isArray(e) ? nK(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var IPe = [
+var FPe = [
"children",
"width",
"height",
@@ -73356,25 +73425,25 @@ var IPe = [
"title",
"desc"
];
-function nK() {
- return nK = Object.assign ? Object.assign.bind() : function(e) {
+function rK() {
+ return rK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, nK.apply(null, arguments);
+ }, rK.apply(null, arguments);
}
-function LPe(e, t) {
+function IPe(e, t) {
if (e == null) return {};
- var n, r, i = RPe(e, t);
+ var n, r, i = LPe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function RPe(e, t) {
+function LPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -73383,14 +73452,14 @@ function RPe(e, t) {
}
return n;
}
-var rK = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = LPe(e, IPe), d = a || {
+var iK = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = IPe(e, FPe), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = wv("recharts-surface", o);
- return /*#__PURE__*/ b.createElement("svg", nK({}, tK(u), {
+ return /*#__PURE__*/ b.createElement("svg", rK({}, nK(u), {
className: f,
width: r,
height: i,
@@ -73398,26 +73467,26 @@ var rK = /*#__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);
-}), zPe = ["children", "className"];
-function iK() {
- return iK = Object.assign ? Object.assign.bind() : function(e) {
+}), RPe = ["children", "className"];
+function aK() {
+ return aK = 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;
- }, iK.apply(null, arguments);
+ }, aK.apply(null, arguments);
}
-function BPe(e, t) {
+function zPe(e, t) {
if (e == null) return {};
- var n, r, i = VPe(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 VPe(e, t) {
+function BPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -73426,54 +73495,54 @@ function VPe(e, t) {
}
return n;
}
-var aK = /*#__PURE__*/ b.forwardRef((e, t) => {
- var n = e.children, r = e.className, i = BPe(e, zPe), a = wv("recharts-layer", r);
- return /*#__PURE__*/ b.createElement("g", iK({ className: a }, tK(i), { ref: t }), n);
+var oK = /*#__PURE__*/ b.forwardRef((e, t) => {
+ var n = e.children, r = e.className, i = zPe(e, RPe), a = wv("recharts-layer", r);
+ return /*#__PURE__*/ b.createElement("g", aK({ className: a }, nK(i), { ref: t }), n);
});
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function oK(e) {
+function sK(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var HPe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function sK(e) {
+var VPe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function cK(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : HPe.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : VPe.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function cK(e) {
+function lK(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 lK(e) {
+function uK(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function UPe(e) {
- return e == null ? "" : uK(e);
+function HPe(e) {
+ return e == null ? "" : dK(e);
}
-function uK(e) {
+function dK(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(uK).join(",");
- if (lK(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(dK).join(",");
+ if (uK(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 dK(e) {
- if (Array.isArray(e)) return e.map(cK);
+function fK(e) {
+ if (Array.isArray(e)) return e.map(lK);
if (typeof e == "symbol") return [e];
- e = UPe(e);
+ e = HPe(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -73501,86 +73570,86 @@ function dK(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function fK(e, t, n) {
+function pK(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (oK(t)) return n;
+ if (sK(t)) return n;
let r = e[t];
- return r === void 0 ? sK(t) && !Object.hasOwn(e, t) ? fK(e, dK(t), n) : n : r;
+ return r === void 0 ? cK(t) && !Object.hasOwn(e, t) ? pK(e, fK(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = cK(t));
+ typeof t == "number" && (t = lK(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return WPe(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), oK(t)) return n;
+ if (Array.isArray(t)) return UPe(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), sK(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function WPe(e, t, n) {
+function UPe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || oK(t[e])) return n;
+ if (r == null || sK(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var GPe = 4;
-function pK(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : GPe), n = Math.round(e * t) / t;
+var WPe = 4;
+function mK(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : WPe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function mK(e) {
+function hK(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 + pK(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + mK(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var hK = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, gK = (e) => typeof e == "number" && e != +e, _K = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, vK = (e) => (typeof e == "number" || e instanceof Number) && !gK(e), yK = (e) => vK(e) || typeof e == "string", KPe = 0, bK = (e) => {
- var t = ++KPe;
+var gK = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, _K = (e) => typeof e == "number" && e != +e, vK = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, yK = (e) => (typeof e == "number" || e instanceof Number) && !_K(e), bK = (e) => yK(e) || typeof e == "string", GPe = 0, xK = (e) => {
+ var t = ++GPe;
return `${e || ""}${t}`;
-}, xK = function(e, t) {
+}, SK = 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 (!vK(e) && typeof e != "string") return n;
+ if (!yK(e) && typeof e != "string") return n;
var i;
- if (_K(e)) {
+ if (vK(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return gK(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, SK = (e) => {
+ return _K(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, CK = (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 CK(e, t, n) {
- return vK(e) && vK(t) ? pK(e + n * (t - e)) : t;
-}
function wK(e, t, n) {
- if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : fK(e, t)) === n);
+ return yK(e) && yK(t) ? mK(e + n * (t - e)) : t;
+}
+function TK(e, t, n) {
+ if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : pK(e, t)) === n);
}
-var TK = (e) => e == null, EK = (e) => TK(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function DK(e) {
+var EK = (e) => e == null, DK = (e) => EK(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function OK(e) {
return e != null;
}
-function OK() {}
+function kK() {}
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js
-function kK(e) {
+function AK(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -73592,7 +73661,7 @@ function kK(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function AK(e, t) {
+function jK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -73602,30 +73671,30 @@ function AK(e, t) {
}
return n;
}
-function jK(e) {
+function MK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? AK(Object(n), !0).forEach(function(t) {
- qPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AK(Object(n)).forEach(function(t) {
+ t % 2 ? jK(Object(n), !0).forEach(function(t) {
+ KPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qPe(e, t, n) {
- return (t = JPe(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 JPe(e) {
- var t = YPe(e, "string");
+function qPe(e) {
+ var t = JPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YPe(e, t) {
+function JPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -73635,8 +73704,8 @@ function YPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var MK = (e) => {
- var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = kK(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
+var NK = (e) => {
+ var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = AK(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
if (n === "top") {
var D = {
x: p + d / 2,
@@ -73677,98 +73746,98 @@ var MK = (e) => {
width: g,
height: u
} : {};
- return n === "insideLeft" ? jK({
+ return n === "insideLeft" ? MK({
x: h + C,
y: l + u / 2,
horizontalAnchor: T,
verticalAnchor: "middle"
- }, j) : n === "insideRight" ? jK({
+ }, j) : n === "insideRight" ? MK({
x: h + g - C,
y: l + u / 2,
horizontalAnchor: w,
verticalAnchor: "middle"
- }, j) : n === "insideTop" ? jK({
+ }, j) : n === "insideTop" ? MK({
x: p + d / 2,
y: l + y,
horizontalAnchor: "middle",
verticalAnchor: x
- }, j) : n === "insideBottom" ? jK({
+ }, j) : n === "insideBottom" ? MK({
x: m + f / 2,
y: l + u - y,
horizontalAnchor: "middle",
verticalAnchor: b
- }, j) : n === "insideTopLeft" ? jK({
+ }, j) : n === "insideTopLeft" ? MK({
x: p + C,
y: l + y,
horizontalAnchor: T,
verticalAnchor: x
- }, j) : n === "insideTopRight" ? jK({
+ }, j) : n === "insideTopRight" ? MK({
x: p + d - C,
y: l + y,
horizontalAnchor: w,
verticalAnchor: x
- }, j) : n === "insideBottomLeft" ? jK({
+ }, j) : n === "insideBottomLeft" ? MK({
x: m + C,
y: l + u - y,
horizontalAnchor: T,
verticalAnchor: b
- }, j) : n === "insideBottomRight" ? jK({
+ }, j) : n === "insideBottomRight" ? MK({
x: m + f - C,
y: l + u - y,
horizontalAnchor: w,
verticalAnchor: b
- }, j) : n && typeof n == "object" && (vK(n.x) || _K(n.x)) && (vK(n.y) || _K(n.y)) ? jK({
- x: c + xK(n.x, g),
- y: l + xK(n.y, u),
+ }, j) : n && typeof n == "object" && (yK(n.x) || vK(n.x)) && (yK(n.y) || vK(n.y)) ? MK({
+ x: c + SK(n.x, g),
+ y: l + SK(n.y, u),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, j) : jK({
+ }, j) : MK({
x: _,
y: l + u / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, j);
-}, XPe = [
+}, YPe = [
"top",
"left",
"right",
"bottom"
];
-function NK(e) {
- return e == null ? !1 : typeof e == "object" || XPe.includes(e);
+function PK(e) {
+ return e == null ? !1 : typeof e == "object" || YPe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/context/legendPortalContext.js
-var PK = /*#__PURE__*/ (0, b.createContext)(null), ZPe = () => (0, b.useContext)(PK);
+var FK = /*#__PURE__*/ (0, b.createContext)(null), XPe = () => (0, b.useContext)(FK);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function FK(e) {
+function IK(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var IK = Math.cos, LK = Math.sin, RK = Math.sqrt, zK = Math.PI;
-zK / 2;
-var BK = 2 * zK, VK = Math.PI, HK = 2 * VK, UK = 1e-6, QPe = HK - UK;
-function WK(e) {
+var LK = Math.cos, RK = Math.sin, zK = Math.sqrt, BK = Math.PI;
+BK / 2;
+var VK = 2 * BK, HK = Math.PI, UK = 2 * HK, WK = 1e-6, ZPe = UK - WK;
+function GK(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function $Pe(e) {
+function QPe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return WK;
+ if (t > 15) return GK;
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 GK = class {
+var KK = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? WK : $Pe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? GK : QPe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -73789,18 +73858,18 @@ var GK = 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 > UK) {
- if (!(Math.abs(u * s - c * l) > UK) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > WK) {
+ if (!(Math.abs(u * s - c * l) > WK) || !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((VK - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > UK && 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((HK - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > WK && 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) > UK || Math.abs(this._y1 - l) > UK) && this._append`L${c},${l}`, n && (d < 0 && (d = d % HK + HK), d > QPe ? 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 > UK && this._append`A${n},${n},0,${+(d >= VK)},${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) > WK || Math.abs(this._y1 - l) > WK) && this._append`L${c},${l}`, n && (d < 0 && (d = d % UK + UK), d > ZPe ? 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 > WK && this._append`A${n},${n},0,${+(d >= HK)},${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`;
@@ -73809,10 +73878,10 @@ var GK = class {
return this._;
}
};
-GK.prototype;
+KK.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function KK(e) {
+function qK(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -73823,18 +73892,18 @@ function KK(e) {
t = e;
}
return e;
- }, () => new GK(t);
+ }, () => new KK(t);
}
Array.prototype.slice;
-function qK(e) {
+function JK(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 JK(e) {
+function YK(e) {
this._context = e;
}
-JK.prototype = {
+YK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -73857,33 +73926,33 @@ JK.prototype = {
}
}
};
-function YK(e) {
- return new JK(e);
+function XK(e) {
+ return new YK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function XK(e) {
+function ZK(e) {
return e[0];
}
-function ZK(e) {
+function QK(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function QK(e, t) {
- var n = FK(!0), r = null, i = YK, a = null, o = KK(s);
- e = typeof e == "function" ? e : e === void 0 ? XK : FK(e), t = typeof t == "function" ? t : t === void 0 ? ZK : FK(t);
+function $K(e, t) {
+ var n = IK(!0), r = null, i = XK, a = null, o = qK(s);
+ e = typeof e == "function" ? e : e === void 0 ? ZK : IK(e), t = typeof t == "function" ? t : t === void 0 ? QK : IK(t);
function s(s) {
- var c, l = (s = qK(s)).length, u, d = !1, f;
+ var c, l = (s = JK(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 : FK(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : IK(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : FK(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : IK(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : FK(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : IK(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -73892,11 +73961,11 @@ function QK(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function $K(e, t, n) {
- var r = null, i = FK(!0), a = null, o = YK, s = null, c = KK(l);
- e = typeof e == "function" ? e : e === void 0 ? XK : FK(+e), t = typeof t == "function" ? t : FK(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? ZK : FK(+n);
+function eq(e, t, n) {
+ var r = null, i = IK(!0), a = null, o = XK, s = null, c = qK(l);
+ e = typeof e == "function" ? e : e === void 0 ? ZK : IK(+e), t = typeof t == "function" ? t : IK(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? QK : IK(+n);
function l(l) {
- var u, d, f, p = (l = qK(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = JK(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();
@@ -73910,20 +73979,20 @@ function $K(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return QK().defined(i).curve(o).context(a);
+ return $K().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : FK(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : IK(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : FK(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : IK(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : FK(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : IK(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : FK(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : IK(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : FK(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : IK(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : FK(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : IK(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -73931,7 +74000,7 @@ function $K(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : FK(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : IK(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -73940,7 +74009,7 @@ function $K(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var eq = class {
+var tq = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -73967,70 +74036,70 @@ var eq = class {
this._x0 = e, this._y0 = t;
}
};
-function eFe(e) {
- return new eq(e, !0);
+function $Pe(e) {
+ return new tq(e, !0);
}
-function tFe(e) {
- return new eq(e, !1);
+function eFe(e) {
+ return new tq(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var tq = { draw(e, t) {
- let n = RK(t / zK);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, BK);
-} }, nFe = { draw(e, t) {
- let n = RK(t / 5) / 2;
+var nq = { draw(e, t) {
+ let n = zK(t / BK);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, VK);
+} }, tFe = { draw(e, t) {
+ let n = zK(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();
-} }, nq = RK(1 / 3), rFe = nq * 2, iFe = { draw(e, t) {
- let n = RK(t / rFe), r = n * nq;
+} }, rq = zK(1 / 3), nFe = rq * 2, rFe = { draw(e, t) {
+ let n = zK(t / nFe), r = n * rq;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, aFe = { draw(e, t) {
- let n = RK(t), r = -n / 2;
+} }, iFe = { draw(e, t) {
+ let n = zK(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, oFe = .8908130915292852, rq = LK(zK / 10) / LK(7 * zK / 10), sFe = LK(BK / 10) * rq, cFe = -IK(BK / 10) * rq, lFe = { draw(e, t) {
- let n = RK(t * oFe), r = sFe * n, i = cFe * n;
+} }, aFe = .8908130915292852, iq = RK(BK / 10) / RK(7 * BK / 10), oFe = RK(VK / 10) * iq, sFe = -LK(VK / 10) * iq, cFe = { draw(e, t) {
+ let n = zK(t * aFe), r = oFe * n, i = sFe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = BK * t / 5, o = IK(a), s = LK(a);
+ let a = VK * t / 5, o = LK(a), s = RK(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, iq = RK(3), uFe = { draw(e, t) {
- let n = -RK(t / (iq * 3));
- e.moveTo(0, n * 2), e.lineTo(-iq * n, -n), e.lineTo(iq * n, -n), e.closePath();
-} }, aq = -.5, oq = RK(3) / 2, sq = 1 / RK(12), dFe = (sq / 2 + 1) * 3, fFe = { draw(e, t) {
- let n = RK(t / dFe), r = n / 2, i = n * sq, a = r, o = n * sq + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(aq * r - oq * i, oq * r + aq * i), e.lineTo(aq * a - oq * o, oq * a + aq * o), e.lineTo(aq * s - oq * c, oq * s + aq * c), e.lineTo(aq * r + oq * i, aq * i - oq * r), e.lineTo(aq * a + oq * o, aq * o - oq * a), e.lineTo(aq * s + oq * c, aq * c - oq * s), e.closePath();
+} }, aq = zK(3), lFe = { draw(e, t) {
+ let n = -zK(t / (aq * 3));
+ e.moveTo(0, n * 2), e.lineTo(-aq * n, -n), e.lineTo(aq * n, -n), e.closePath();
+} }, oq = -.5, sq = zK(3) / 2, cq = 1 / zK(12), uFe = (cq / 2 + 1) * 3, dFe = { draw(e, t) {
+ let n = zK(t / uFe), r = n / 2, i = n * cq, a = r, o = n * cq + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(oq * r - sq * i, sq * r + oq * i), e.lineTo(oq * a - sq * o, sq * a + oq * o), e.lineTo(oq * s - sq * c, sq * s + oq * c), e.lineTo(oq * r + sq * i, oq * i - sq * r), e.lineTo(oq * a + sq * o, oq * o - sq * a), e.lineTo(oq * s + sq * c, oq * c - sq * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function pFe(e, t) {
- let n = null, r = KK(i);
- e = typeof e == "function" ? e : FK(e || tq), t = typeof t == "function" ? t : FK(t === void 0 ? 64 : +t);
+function fFe(e, t) {
+ let n = null, r = qK(i);
+ e = typeof e == "function" ? e : IK(e || nq), t = typeof t == "function" ? t : IK(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 : FK(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : IK(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : FK(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : IK(+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 cq() {}
+function lq() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function lq(e, t, n) {
+function uq(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 uq(e) {
+function dq(e) {
this._context = e;
}
-uq.prototype = {
+dq.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -74042,7 +74111,7 @@ uq.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: lq(this, this._x1, this._y1);
+ case 3: uq(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;
@@ -74056,22 +74125,22 @@ uq.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: lq(this, e, t);
+ default: uq(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function mFe(e) {
- return new uq(e);
+function pFe(e) {
+ return new dq(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function dq(e) {
+function fq(e) {
this._context = e;
}
-dq.prototype = {
- areaStart: cq,
- areaEnd: cq,
+fq.prototype = {
+ areaStart: lq,
+ areaEnd: lq,
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;
},
@@ -74097,20 +74166,20 @@ dq.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: lq(this, e, t);
+ default: uq(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function hFe(e) {
- return new dq(e);
+function mFe(e) {
+ return new fq(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function fq(e) {
+function pq(e) {
this._context = e;
}
-fq.prototype = {
+pq.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -74137,22 +74206,22 @@ fq.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: lq(this, e, t);
+ default: uq(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function gFe(e) {
- return new fq(e);
+function hFe(e) {
+ return new pq(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function pq(e) {
+function mq(e) {
this._context = e;
}
-pq.prototype = {
- areaStart: cq,
- areaEnd: cq,
+mq.prototype = {
+ areaStart: lq,
+ areaEnd: lq,
lineStart: function() {
this._point = 0;
},
@@ -74163,30 +74232,30 @@ pq.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function _Fe(e) {
- return new pq(e);
+function gFe(e) {
+ return new mq(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function mq(e) {
+function hq(e) {
return e < 0 ? -1 : 1;
}
-function hq(e, t, n) {
+function gq(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 (mq(a) + mq(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (hq(a) + hq(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function gq(e, t) {
+function _q(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function _q(e, t, n) {
+function vq(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 vq(e) {
+function yq(e) {
this._context = e;
}
-vq.prototype = {
+yq.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -74201,7 +74270,7 @@ vq.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: _q(this, this._t0, gq(this, this._t0));
+ case 3: vq(this, this._t0, _q(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -74216,24 +74285,24 @@ vq.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, _q(this, gq(this, n = hq(this, e, t)), n);
+ this._point = 3, vq(this, _q(this, n = gq(this, e, t)), n);
break;
- default: _q(this, this._t0, n = hq(this, e, t));
+ default: vq(this, this._t0, n = gq(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function yq(e) {
- this._context = new bq(e);
+function bq(e) {
+ this._context = new xq(e);
}
-(yq.prototype = Object.create(vq.prototype)).point = function(e, t) {
- vq.prototype.point.call(this, t, e);
+(bq.prototype = Object.create(yq.prototype)).point = function(e, t) {
+ yq.prototype.point.call(this, t, e);
};
-function bq(e) {
+function xq(e) {
this._context = e;
}
-bq.prototype = {
+xq.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -74247,18 +74316,18 @@ bq.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function vFe(e) {
- return new vq(e);
-}
-function yFe(e) {
+function _Fe(e) {
return new yq(e);
}
+function vFe(e) {
+ return new bq(e);
+}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function xq(e) {
+function Sq(e) {
this._context = e;
}
-xq.prototype = {
+Sq.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -74272,7 +74341,7 @@ xq.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 = Sq(e), i = Sq(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 = Cq(e), i = Cq(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;
},
@@ -74280,7 +74349,7 @@ xq.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function Sq(e) {
+function Cq(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];
@@ -74288,15 +74357,15 @@ function Sq(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 bFe(e) {
- return new xq(e);
+function yFe(e) {
+ return new Sq(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function Cq(e, t) {
+function wq(e, t) {
this._context = e, this._t = t;
}
-Cq.prototype = {
+wq.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -74324,78 +74393,78 @@ Cq.prototype = {
this._x = e, this._y = t;
}
};
+function bFe(e) {
+ return new wq(e, .5);
+}
function xFe(e) {
- return new Cq(e, .5);
+ return new wq(e, 0);
}
function SFe(e) {
- return new Cq(e, 0);
-}
-function CFe(e) {
- return new Cq(e, 1);
+ return new wq(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function wq(e, t) {
+function Tq(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 Tq(e) {
+function Eq(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 wFe(e, t) {
+function CFe(e, t) {
return e[t];
}
-function TFe(e) {
+function wFe(e) {
let t = [];
return t.key = e, t;
}
-function EFe() {
- var e = FK([]), t = Tq, n = wq, r = wFe;
+function TFe() {
+ var e = IK([]), t = Eq, n = Tq, r = CFe;
function i(i) {
- var a = Array.from(e.apply(this, arguments), TFe), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), wFe), 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 = qK(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = JK(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 : FK(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : IK(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : FK(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : IK(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? Tq : typeof e == "function" ? e : FK(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? Eq : typeof e == "function" ? e : IK(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? wq, i) : n;
+ return arguments.length ? (n = e ?? Tq, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function DFe(e, t) {
+function EFe(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;
}
- wq(e, t);
+ Tq(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function OFe(e, t) {
+function DFe(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;
}
- wq(e, t);
+ Tq(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function kFe(e, t) {
+function OFe(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) {
@@ -74407,26 +74476,26 @@ function kFe(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, wq(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, Tq(e, t);
}
}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var AFe = [
+var kFe = [
"type",
"size",
"sizeType"
];
-function Eq() {
- return Eq = Object.assign ? Object.assign.bind() : function(e) {
+function Dq() {
+ return Dq = 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;
- }, Eq.apply(null, arguments);
+ }, Dq.apply(null, arguments);
}
-function Dq(e, t) {
+function Oq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -74436,30 +74505,30 @@ function Dq(e, t) {
}
return n;
}
-function Oq(e) {
+function kq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Dq(Object(n), !0).forEach(function(t) {
- jFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Dq(Object(n)).forEach(function(t) {
+ t % 2 ? Oq(Object(n), !0).forEach(function(t) {
+ AFe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Oq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jFe(e, t, n) {
- return (t = MFe(t)) in e ? Object.defineProperty(e, t, {
+function AFe(e, t, n) {
+ return (t = jFe(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 jFe(e) {
+ var t = MFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NFe(e, t) {
+function MFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -74469,16 +74538,16 @@ function NFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function PFe(e, t) {
+function NFe(e, t) {
if (e == null) return {};
- var n, r, i = FFe(e, t);
+ var n, r, i = PFe(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 FFe(e, t) {
+function PFe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -74487,68 +74556,68 @@ function FFe(e, t) {
}
return n;
}
-var kq = {
- symbolCircle: tq,
- symbolCross: nFe,
- symbolDiamond: iFe,
- symbolSquare: aFe,
- symbolStar: lFe,
- symbolTriangle: uFe,
- symbolWye: fFe
-}, IFe = Math.PI / 180, LFe = (e) => kq[`symbol${EK(e)}`] || tq, RFe = (e, t, n) => {
+var Aq = {
+ symbolCircle: nq,
+ symbolCross: tFe,
+ symbolDiamond: rFe,
+ symbolSquare: iFe,
+ symbolStar: cFe,
+ symbolTriangle: lFe,
+ symbolWye: dFe
+}, FFe = Math.PI / 180, IFe = (e) => Aq[`symbol${DK(e)}`] || nq, LFe = (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 * IFe;
+ var r = 18 * FFe;
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;
}
-}, zFe = (e, t) => {
- kq[`symbol${EK(e)}`] = t;
-}, Aq = (e) => {
- var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = Oq(Oq({}, PFe(e, AFe)), {}, {
+}, RFe = (e, t) => {
+ Aq[`symbol${DK(e)}`] = t;
+}, jq = (e) => {
+ var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = kq(kq({}, NFe(e, kFe)), {}, {
type: n,
size: i,
sizeType: o
}), c = "circle";
typeof n == "string" && (c = n);
var l = () => {
- var e = LFe(c), t = pFe().type(e).size(RFe(i, o, c))();
+ var e = IFe(c), t = fFe().type(e).size(LFe(i, o, c))();
if (t !== null) return t;
- }, u = s.className, d = s.cx, f = s.cy, p = tK(s);
- return vK(d) && vK(f) && vK(i) ? /*#__PURE__*/ b.createElement("path", Eq({}, p, {
+ }, u = s.className, d = s.cx, f = s.cy, p = nK(s);
+ return yK(d) && yK(f) && yK(i) ? /*#__PURE__*/ b.createElement("path", Dq({}, p, {
className: wv("recharts-symbols", u),
transform: `translate(${d}, ${f})`,
d: l()
})) : null;
};
-Aq.registerSymbol = zFe;
+jq.registerSymbol = RFe;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var jq = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, Mq = (e, t) => {
+var Mq = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, Nq = (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) => {
- XG(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ ZG(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, BFe = (e, t, n) => (r) => (e(t, n, r), null), Nq = (e, t, n) => {
+}, zFe = (e, t, n) => (r) => (e(t, n, r), null), Pq = (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];
- XG(i) && typeof a == "function" && (r ||= {}, r[i] = BFe(a, t, n));
+ ZG(i) && typeof a == "function" && (r ||= {}, r[i] = zFe(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function Pq(e, t) {
+function Fq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -74558,30 +74627,30 @@ function Pq(e, t) {
}
return n;
}
-function VFe(e) {
+function BFe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Pq(Object(n), !0).forEach(function(t) {
- HFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Pq(Object(n)).forEach(function(t) {
+ t % 2 ? Fq(Object(n), !0).forEach(function(t) {
+ VFe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Fq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HFe(e, t, n) {
- return (t = UFe(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 UFe(e) {
- var t = WFe(e, "string");
+function HFe(e) {
+ var t = UFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WFe(e, t) {
+function UFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -74591,22 +74660,22 @@ function WFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Fq(e, t) {
- var n = VFe({}, e), r = t;
+function Iq(e, t) {
+ var n = BFe({}, 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 Iq() {
- return Iq = Object.assign ? Object.assign.bind() : function(e) {
+function Lq() {
+ return Lq = 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;
- }, Iq.apply(null, arguments);
+ }, Lq.apply(null, arguments);
}
-function Lq(e, t) {
+function Rq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -74616,30 +74685,30 @@ function Lq(e, t) {
}
return n;
}
-function Rq(e) {
+function zq(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) {
- GFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Lq(Object(n)).forEach(function(t) {
+ t % 2 ? Rq(Object(n), !0).forEach(function(t) {
+ WFe(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 GFe(e, t, n) {
- return (t = KFe(t)) in e ? Object.defineProperty(e, t, {
+function WFe(e, t, n) {
+ return (t = GFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KFe(e) {
- var t = qFe(e, "string");
+function GFe(e) {
+ var t = KFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qFe(e, t) {
+function KFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -74649,7 +74718,7 @@ function qFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var zq = 32, JFe = {
+var Bq = 32, qFe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -74657,20 +74726,20 @@ var zq = 32, JFe = {
verticalAlign: "middle",
labelStyle: {}
};
-function YFe(e) {
+function JFe(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function XFe(e) {
- var t = e.data, n = e.iconType, r = e.inactiveColor, i = zq / 2, a = zq / 6, o = zq / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function YFe(e) {
+ var t = e.data, n = e.iconType, r = e.inactiveColor, i = Bq / 2, a = Bq / 6, o = Bq / 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: YFe(t.payload),
+ strokeDasharray: JFe(t.payload),
x1: 0,
y1: i,
- x2: zq,
+ x2: Bq,
y2: i,
className: "recharts-legend-icon"
});
@@ -74680,35 +74749,35 @@ function XFe(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${zq}M${2 * o},${i}
+ H${Bq}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,${zq / 8}h${zq}v${zq * 3 / 4}h${-zq}z`,
+ d: `M0,${Bq / 8}h${Bq}v${Bq * 3 / 4}h${-Bq}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ b.isValidElement(t.legendIcon)) {
- var l = Rq({}, t);
+ var l = zq({}, t);
return delete l.legendIcon, /*#__PURE__*/ b.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ b.createElement(Aq, {
+ return /*#__PURE__*/ b.createElement(jq, {
fill: s,
cx: i,
cy: i,
- size: zq,
+ size: Bq,
sizeType: "diameter",
type: c
});
}
-function ZFe(e) {
+function XFe(e) {
var t = e.payload, n = e.iconSize, r = e.layout, i = e.formatter, a = e.inactiveColor, o = e.iconType, s = e.labelStyle, c = {
x: 0,
y: 0,
- width: zq,
- height: zq
+ width: Bq,
+ height: Bq
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10,
@@ -74725,20 +74794,20 @@ function ZFe(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? Rq({}, s) : {};
+ var p = typeof s == "object" ? zq({}, s) : {};
p.color = t.inactive ? a : p.color || t.color, p.whiteSpace ??= "normal", p.overflowWrap ??= "break-word";
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ b.createElement("li", Iq({
+ return /*#__PURE__*/ b.createElement("li", Lq({
className: f,
style: l,
key: `legend-item-${r}`
- }, Nq(e, t, r)), /*#__PURE__*/ b.createElement(rK, {
+ }, Pq(e, t, r)), /*#__PURE__*/ b.createElement(iK, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": t.value == null ? "legend icon" : `${t.value} legend icon`
- }, /*#__PURE__*/ b.createElement(XFe, {
+ }, /*#__PURE__*/ b.createElement(YFe, {
data: t,
iconType: o,
inactiveColor: a
@@ -74748,8 +74817,8 @@ function ZFe(e) {
}, m));
});
}
-var QFe = (e) => {
- var t = Fq(e, JFe), n = t.payload, r = t.layout, i = t.align;
+var ZFe = (e) => {
+ var t = Iq(e, qFe), n = t.payload, r = t.layout, i = t.align;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -74759,11 +74828,11 @@ var QFe = (e) => {
return /*#__PURE__*/ b.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ b.createElement(ZFe, Iq({}, t, { payload: n })));
+ }, /*#__PURE__*/ b.createElement(XFe, Lq({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function $Fe(e, t) {
+function QFe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -74773,77 +74842,77 @@ function $Fe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function eIe(e, t) {
+function $Fe(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function Bq(e) {
+function Vq(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function tIe(e) {
+function eIe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function Vq(e) {
- return e != null && typeof e != "function" && tIe(e.length);
+function Hq(e) {
+ return e != null && typeof e != "function" && eIe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function nIe(e) {
+function tIe(e) {
return function(t) {
- return fK(t, e);
+ return pK(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function Hq(e) {
+function Uq(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function rIe(e) {
+function nIe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function Uq(e) {
+function Wq(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 Wq(e) {
+function Gq(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 Gq = "[object RegExp]", Kq = "[object String]", qq = "[object Number]", Jq = "[object Boolean]", Yq = "[object Arguments]", Xq = "[object Symbol]", Zq = "[object Date]", Qq = "[object Map]", $q = "[object Set]", eJ = "[object Array]", iIe = "[object Function]", tJ = "[object ArrayBuffer]", nJ = "[object Object]", aIe = "[object Error]", rJ = "[object DataView]", iJ = "[object Uint8Array]", aJ = "[object Uint8ClampedArray]", oJ = "[object Uint16Array]", sJ = "[object Uint32Array]", oIe = "[object BigUint64Array]", cJ = "[object Int8Array]", lJ = "[object Int16Array]", uJ = "[object Int32Array]", sIe = "[object BigInt64Array]", dJ = "[object Float32Array]", fJ = "[object Float64Array]", pJ = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var Kq = "[object RegExp]", qq = "[object String]", Jq = "[object Number]", Yq = "[object Boolean]", Xq = "[object Arguments]", Zq = "[object Symbol]", Qq = "[object Date]", $q = "[object Map]", eJ = "[object Set]", tJ = "[object Array]", rIe = "[object Function]", nJ = "[object ArrayBuffer]", rJ = "[object Object]", iIe = "[object Error]", iJ = "[object DataView]", aJ = "[object Uint8Array]", oJ = "[object Uint8ClampedArray]", sJ = "[object Uint16Array]", cJ = "[object Uint32Array]", aIe = "[object BigUint64Array]", lJ = "[object Int8Array]", uJ = "[object Int16Array]", dJ = "[object Int32Array]", oIe = "[object BigInt64Array]", fJ = "[object Float32Array]", pJ = "[object Float64Array]", mJ = 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 mJ(e) {
- return pJ.Buffer !== void 0 && pJ.Buffer.isBuffer(e);
+function hJ(e) {
+ return mJ.Buffer !== void 0 && mJ.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function cIe(e, t) {
- return hJ(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function sIe(e, t) {
+ return gJ(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function hJ(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function gJ(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (Hq(e)) return e;
+ if (Uq(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] = hJ(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = gJ(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());
@@ -74854,132 +74923,132 @@ function hJ(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, hJ(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, gJ(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(hJ(a, void 0, n, r, i));
+ for (let a of e) t.add(gJ(a, void 0, n, r, i));
return t;
}
- if (mJ(e)) return e.subarray();
- if (rIe(e)) {
+ if (hJ(e)) return e.subarray();
+ if (nIe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = hJ(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = gJ(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), gJ(t, e, n, r, i), t;
+ return r.set(e, t), _J(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), gJ(t, e, n, r, i), t;
+ return r.set(e, t), _J(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), gJ(t, e, n, r, i), t;
+ return r.set(e, t), _J(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, gJ(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, _J(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), gJ(t, e, n, r, i), t;
+ return r.set(e, t), _J(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), gJ(t, e, n, r, i), t;
+ return r.set(e, t), _J(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), gJ(t, e, n, r, i), t;
+ return r.set(e, t), _J(t, e, n, r, i), t;
}
- if (typeof e == "object" && lIe(e)) {
+ if (typeof e == "object" && cIe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), gJ(t, e, n, r, i), t;
+ return r.set(e, t), _J(t, e, n, r, i), t;
}
return e;
}
-function gJ(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...Uq(t)];
+function _J(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...Wq(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = hJ(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = gJ(t[s], s, n, r, i));
}
}
-function lIe(e) {
- switch (Wq(e)) {
- case Yq:
- case eJ:
+function cIe(e) {
+ switch (Gq(e)) {
+ case Xq:
case tJ:
- case rJ:
- case Jq:
- case Zq:
- case dJ:
+ case nJ:
+ case iJ:
+ case Yq:
+ case Qq:
case fJ:
- case cJ:
+ case pJ:
case lJ:
case uJ:
- case Qq:
- case qq:
- case nJ:
- case Gq:
+ case dJ:
case $q:
+ case Jq:
+ case rJ:
case Kq:
- case Xq:
- case iJ:
+ case eJ:
+ case qq:
+ case Zq:
case aJ:
case oJ:
- case sJ: return !0;
+ case sJ:
+ case cJ: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function uIe(e) {
- return hJ(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function lIe(e) {
+ return gJ(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function _J(e, t) {
+function vJ(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function vJ(e) {
+function yJ(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function yJ(e, t, n) {
- return typeof n == "function" ? bJ(e, t, function e(t, r, i, a, o, s) {
+function bJ(e, t, n) {
+ return typeof n == "function" ? xJ(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? bJ(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : yJ(e, t, () => void 0);
+ return c === void 0 ? xJ(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : bJ(e, t, () => void 0);
}
-function bJ(e, t, n, r, i = !1) {
+function xJ(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return dIe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? bJ(e, { ...t }, n, r, i) : _J(e, t);
- default: return vJ(e) && i ? typeof t != "string" || t === "" : _J(e, t);
+ case "object": return uIe(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? xJ(e, { ...t }, n, r, i) : vJ(e, t);
+ default: return yJ(e) && i ? typeof t != "string" || t === "" : vJ(e, t);
}
}
-function dIe(e, t, n, r, i = !1) {
+function uIe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return xJ(e, t, n, r);
- if (t instanceof Map) return fIe(e, t, n, r);
- if (t instanceof Set) return pIe(e, t, n, r);
+ if (Array.isArray(t)) return SJ(e, t, n, r);
+ if (t instanceof Map) return dIe(e, t, n, r);
+ if (t instanceof Set) return fIe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) Hq(e) && (e = Object(e));
+ if (i) Uq(e) && (e = Object(e));
else {
- let t = Wq(e);
+ let t = Gq(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -74995,13 +75064,13 @@ function dIe(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function fIe(e, t, n, r) {
+function dIe(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 xJ(e, t, n, r) {
+function SJ(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -75019,40 +75088,40 @@ function xJ(e, t, n, r) {
}
return !0;
}
-function pIe(e, t, n, r) {
- return t.size === 0 || e instanceof Set && xJ([...e], [...t], n, r);
+function fIe(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && SJ([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function SJ(e, t) {
- return yJ(e, t, () => void 0);
+function CJ(e, t) {
+ return bJ(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function mIe(e) {
- return e = uIe(e), (t) => SJ(t, e);
+function pIe(e) {
+ return e = lIe(e), (t) => CJ(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function hIe(e, t) {
- return cIe(e, (n, r, i, a) => {
+function mIe(e, t) {
+ return sIe(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (Wq(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (Gq(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), gJ(t, e, i, a), t;
+ return a.set(e, t), _J(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
+ case Jq:
case qq:
- case Kq:
- case Jq: {
+ case Yq: {
let t = new e.constructor(e?.valueOf());
- return gJ(t, e), t;
+ return _J(t, e), t;
}
- case Yq: {
+ case Xq: {
let t = {};
- return gJ(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return _J(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -75061,79 +75130,79 @@ function hIe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function gIe(e) {
- return hIe(e);
+function hIe(e) {
+ return mIe(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var _Ie = /^(?:0|[1-9]\d*)$/;
-function CJ(e, t = 2 ** 53 - 1) {
+var gIe = /^(?:0|[1-9]\d*)$/;
+function wJ(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 _Ie.test(e);
+ case "string": return gIe.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function vIe(e) {
- return typeof e == "object" && !!e && Wq(e) === "[object Arguments]";
+function _Ie(e) {
+ return typeof e == "object" && !!e && Gq(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function yIe(e, t) {
+function vIe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && sK(t) && !(t in Object(e)) ? dK(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && cK(t) && !(t in Object(e)) ? fK(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = cK(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || vIe(r)) && CJ(t) && Number(t) < r.length)) return !1;
+ let t = lK(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || _Ie(r)) && wJ(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function bIe(e, t) {
+function yIe(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = cK(e);
+ case "number": e = lK(e);
}
- return t = gIe(t), function(n) {
- let r = fK(n, e);
- return r === void 0 ? yIe(n, e) : t === void 0 ? r === void 0 : SJ(r, t);
+ return t = hIe(t), function(n) {
+ let r = pK(n, e);
+ return r === void 0 ? vIe(n, e) : t === void 0 ? r === void 0 : CJ(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function wJ(e) {
- if (e == null) return Bq;
+function TJ(e) {
+ if (e == null) return Vq;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? bIe(e[0], e[1]) : mIe(e);
- default: return nIe(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? yIe(e[0], e[1]) : pIe(e);
+ default: return tIe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function xIe(e) {
+function bIe(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function TJ(e, t = Bq) {
- return Vq(e) ? $Fe(Array.from(e), eIe(wJ(t), 1)).map(xIe) : [];
+function EJ(e, t = Vq) {
+ return Hq(e) ? QFe(Array.from(e), $Fe(TJ(t), 1)).map(bIe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function EJ(e, t, n) {
- return t === !0 ? TJ(e, n) : typeof t == "function" ? TJ(e, t) : e;
+function DJ(e, t, n) {
+ return t === !0 ? EJ(e, n) : typeof t == "function" ? EJ(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var SIe = /* @__PURE__ */ o(((e) => {
+var xIe = /* @__PURE__ */ o(((e) => {
var t = d(), n = Iv();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -75178,60 +75247,60 @@ var SIe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), CIe = /* @__PURE__ */ o(((e, t) => {
- t.exports = SIe();
-})), DJ = /*#__PURE__*/ (0, b.createContext)(null), wIe = CIe(), TIe = (e) => e, OJ = () => {
- var e = (0, b.useContext)(DJ);
- return e ? e.store.dispatch : TIe;
-}, kJ = () => {}, EIe = () => kJ, DIe = (e, t) => e === t;
+})), SIe = /* @__PURE__ */ o(((e, t) => {
+ t.exports = xIe();
+})), OJ = /*#__PURE__*/ (0, b.createContext)(null), CIe = SIe(), wIe = (e) => e, kJ = () => {
+ var e = (0, b.useContext)(OJ);
+ return e ? e.store.dispatch : wIe;
+}, AJ = () => {}, TIe = () => AJ, EIe = (e, t) => e === t;
function J(e) {
- var t = (0, b.useContext)(DJ), n = (0, b.useMemo)(() => t ? (t) => {
+ var t = (0, b.useContext)(OJ), n = (0, b.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : kJ, [t, e]);
- return (0, wIe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : EIe, t ? t.store.getState : kJ, t ? t.store.getState : kJ, n, DIe);
+ } : AJ, [t, e]);
+ return (0, CIe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : TIe, t ? t.store.getState : AJ, t ? t.store.getState : AJ, n, EIe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function OIe(e, t = `expected a function, instead received ${typeof e}`) {
+function DIe(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function kIe(e, t = "expected all items to be functions, instead received the following types: ") {
+function OIe(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 AJ = (e) => Array.isArray(e) ? e : [e];
-function AIe(e) {
+var jJ = (e) => Array.isArray(e) ? e : [e];
+function kIe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return kIe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return OIe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function jIe(e, t) {
+function AIe(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var MIe = class {
+var jIe = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, jJ = typeof WeakRef > "u" ? MIe : WeakRef, NIe = 0, MJ = 1;
-function NJ() {
+}, MJ = typeof WeakRef > "u" ? jIe : WeakRef, MIe = 0, NJ = 1;
+function PJ() {
return {
- s: NIe,
+ s: MIe,
v: void 0,
o: null,
p: null
};
}
-function PIe(e) {
- return e instanceof jJ ? e.deref() : e;
+function NIe(e) {
+ return e instanceof MJ ? e.deref() : e;
}
-function PJ(e, t = {}) {
- let n = NJ(), { resultEqualityCheck: r } = t, i, a = 0;
+function FJ(e, t = {}) {
+ let n = PJ(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -75240,43 +75309,43 @@ function PJ(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = NJ(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = PJ(), 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 = NJ(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = PJ(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === MJ) c = t.v;
+ if (t.s === NJ) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
- let e = PIe(i);
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new jJ(c) : c;
+ let e = NIe(i);
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new MJ(c) : c;
}
- return s.s = MJ, s.v = c, c;
+ return s.s = NJ, s.v = c, c;
}
return o.clearCache = () => {
- n = NJ(), o.resetResultsCount();
+ n = PJ(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function FIe(e, ...t) {
+function PIe(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()), OIe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = PJ, argsMemoizeOptions: u = [] } = {
+ typeof o == "object" && (a = o, o = e.pop()), DIe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = FJ, argsMemoizeOptions: u = [] } = {
...n,
...a
- }, d = AJ(c), f = AJ(u), p = AIe(e), m = s(function() {
+ }, d = jJ(c), f = jJ(u), p = kIe(e), m = s(function() {
return t++, o.apply(null, arguments);
}, ...d), h = l(function() {
r++;
- let e = jIe(p, arguments);
+ let e = AIe(p, arguments);
return i = m.apply(null, e), i;
}, ...f);
return Object.assign(h, {
@@ -75298,10 +75367,10 @@ function FIe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var Y = /* @__PURE__ */ FIe(PJ);
+var Y = /* @__PURE__ */ PIe(FJ);
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function IIe(e, t = 1) {
+function FIe(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -75312,17 +75381,17 @@ function IIe(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function FJ(e, t, n) {
- return vJ(n) && (typeof t == "number" && Vq(n) && CJ(t) && t < n.length || typeof t == "string" && t in n) ? _J(n[t], e) : !1;
+function IJ(e, t, n) {
+ return yJ(n) && (typeof t == "number" && Hq(n) && wJ(t) && t < n.length || typeof t == "string" && t in n) ? vJ(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function IJ(e) {
+function LJ(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var LIe = (e, t, n) => {
+var IIe = (e, t, n) => {
if (e !== t) {
- let r = IJ(e), i = IJ(t);
+ let r = LJ(e), i = LJ(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -75330,15 +75399,15 @@ var LIe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, RIe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, zIe = /^\w*$/;
-function BIe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || lK(e) ? !0 : typeof e == "string" && (zIe.test(e) || !RIe.test(e)) || t != null && Object.hasOwn(t, e);
+}, LIe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, RIe = /^\w*$/;
+function zIe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || uK(e) ? !0 : typeof e == "string" && (RIe.test(e) || !LIe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function VIe(e, t, n, r) {
+function BIe(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = Vq(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 = Hq(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]];
@@ -75346,16 +75415,16 @@ function VIe(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) || BIe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || zIe(e) ? e : {
key: e,
- path: dK(e)
+ path: fK(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 = LIe(e.criteria[r], t.criteria[r], n[r]);
+ let i = IIe(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -75363,42 +75432,42 @@ function VIe(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function LJ(e, ...t) {
+function RJ(e, ...t) {
let n = t.length;
- return n > 1 && FJ(e, t[0], t[1]) ? t = [] : n > 2 && FJ(t[0], t[1], t[2]) && (t = [t[0]]), VIe(e, IIe(t), ["asc"]);
+ return n > 1 && IJ(e, t[0], t[1]) ? t = [] : n > 2 && IJ(t[0], t[1], t[2]) && (t = [t[0]]), BIe(e, FIe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var RJ = (e) => e.legend.settings, HIe = (e) => e.legend.size, UIe = Y([(e) => e.legend.payload, RJ], (e, t) => {
+var zJ = (e) => e.legend.settings, VIe = (e) => e.legend.size, HIe = Y([(e) => e.legend.payload, zJ], (e, t) => {
var n = t.itemSorter, r = e.flat(1);
- return n ? LJ(r, n) : r;
+ return n ? RJ(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function WIe() {
- return J(UIe);
+function UIe() {
+ return J(HIe);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-function GIe(e, t) {
- return YIe(e) || JIe(e, t) || qIe(e, t) || KIe();
+function WIe(e, t) {
+ return JIe(e) || qIe(e, t) || KIe(e, t) || GIe();
}
-function KIe() {
+function GIe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function qIe(e, t) {
+function KIe(e, t) {
if (e) {
- if (typeof e == "string") return zJ(e, t);
+ if (typeof e == "string") return BJ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? zJ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? BJ(e, t) : void 0;
}
}
-function zJ(e, t) {
+function BJ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function JIe(e, t) {
+function qIe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -75419,14 +75488,14 @@ function JIe(e, t) {
return s;
}
}
-function YIe(e) {
+function JIe(e) {
if (Array.isArray(e)) return e;
}
-var BJ = 1;
-function VJ(e, t) {
- return Math.abs(e.height - t.height) > BJ || Math.abs(e.left - t.left) > BJ || Math.abs(e.top - t.top) > BJ || Math.abs(e.width - t.width) > BJ;
+var VJ = 1;
+function HJ(e, t) {
+ return Math.abs(e.height - t.height) > VJ || Math.abs(e.left - t.left) > VJ || Math.abs(e.top - t.top) > VJ || Math.abs(e.width - t.width) > VJ;
}
-function HJ(e) {
+function UJ(e) {
var t = e.getBoundingClientRect();
return {
height: t.height,
@@ -75435,8 +75504,8 @@ function HJ(e) {
width: t.width
};
}
-function UJ() {
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = GIe((0, b.useState)({
+function WJ() {
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = WIe((0, b.useState)({
height: 0,
left: 0,
top: 0,
@@ -75445,11 +75514,11 @@ function UJ() {
a.current = n;
var o = (0, b.useCallback)((e) => {
if (i.current != null && (i.current.disconnect(), i.current = null), e != null) {
- var t = HJ(e);
- if (VJ(t, a.current) && r(t), typeof ResizeObserver < "u") {
+ var t = UJ(e);
+ if (HJ(t, a.current) && r(t), typeof ResizeObserver < "u") {
var n = new ResizeObserver(() => {
- var t = HJ(e);
- VJ(t, a.current) && r(t);
+ var t = UJ(e);
+ HJ(t, a.current) && r(t);
});
n.observe(e), i.current = n;
}
@@ -75462,26 +75531,26 @@ function UJ() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function WJ(e) {
+function GJ(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 GJ = typeof Symbol == "function" && Symbol.observable || "@@observable", KJ = () => Math.random().toString(36).substring(7).split("").join("."), qJ = {
- INIT: `@@redux/INIT${/* @__PURE__ */ KJ()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ KJ()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${KJ()}`
+var KJ = typeof Symbol == "function" && Symbol.observable || "@@observable", qJ = () => Math.random().toString(36).substring(7).split("").join("."), JJ = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ qJ()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ qJ()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${qJ()}`
};
-function JJ(e) {
+function YJ(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 YJ(e, t, n) {
- if (typeof e != "function") throw Error(WJ(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(WJ(0));
+function XJ(e, t, n) {
+ if (typeof e != "function") throw Error(GJ(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(GJ(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(WJ(1));
- return n(YJ)(e, t);
+ if (typeof n != "function") throw Error(GJ(1));
+ return n(XJ)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -75490,27 +75559,27 @@ function YJ(e, t, n) {
}));
}
function u() {
- if (c) throw Error(WJ(3));
+ if (c) throw Error(GJ(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(WJ(4));
- if (c) throw Error(WJ(5));
+ if (typeof e != "function") throw Error(GJ(4));
+ if (c) throw Error(GJ(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(WJ(6));
+ if (c) throw Error(GJ(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!JJ(e)) throw Error(WJ(7));
- if (e.type === void 0) throw Error(WJ(8));
- if (typeof e.type != "string") throw Error(WJ(17));
- if (c) throw Error(WJ(9));
+ if (!YJ(e)) throw Error(GJ(7));
+ if (e.type === void 0) throw Error(GJ(8));
+ if (typeof e.type != "string") throw Error(GJ(17));
+ if (c) throw Error(GJ(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -75521,41 +75590,41 @@ function YJ(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(WJ(10));
- r = e, f({ type: qJ.REPLACE });
+ if (typeof e != "function") throw Error(GJ(10));
+ r = e, f({ type: JJ.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(WJ(11));
+ if (typeof t != "object" || !t) throw Error(GJ(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [GJ]() {
+ [KJ]() {
return this;
}
};
}
- return f({ type: qJ.INIT }), {
+ return f({ type: JJ.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [GJ]: m
+ [KJ]: m
};
}
-function XIe(e) {
+function YIe(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: qJ.INIT }) === void 0) throw Error(WJ(12));
- if (n(void 0, { type: qJ.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(WJ(13));
+ if (n(void 0, { type: JJ.INIT }) === void 0) throw Error(GJ(12));
+ if (n(void 0, { type: JJ.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(GJ(13));
});
}
-function XJ(e) {
+function ZJ(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -75563,7 +75632,7 @@ function XJ(e) {
}
let r = Object.keys(n), i;
try {
- XIe(n);
+ YIe(n);
} catch (e) {
i = e;
}
@@ -75572,124 +75641,124 @@ function XJ(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(WJ(14));
+ if (u === void 0) throw t && t.type, Error(GJ(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function ZJ(...e) {
+function QJ(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function ZIe(...e) {
+function XIe(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(WJ(15));
+ throw Error(GJ(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = ZJ(...e.map((e) => e(o)))(i.dispatch), {
+ return a = QJ(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function QJ(e) {
- return JJ(e) && "type" in e && typeof e.type == "string";
+function $J(e) {
+ return YJ(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/immer/dist/immer.mjs
-var $J = Symbol.for("immer-nothing"), eY = Symbol.for("immer-draftable"), tY = Symbol.for("immer-state");
-function nY(e, ...t) {
+var eY = Symbol.for("immer-nothing"), tY = Symbol.for("immer-draftable"), nY = Symbol.for("immer-state");
+function rY(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var rY = Object, iY = rY.getPrototypeOf, aY = "constructor", oY = "prototype", sY = "configurable", cY = "enumerable", lY = "writable", uY = "value", dY = (e) => !!e && !!e[tY];
-function fY(e) {
- return e ? mY(e) || bY(e) || !!e[eY] || !!e[aY]?.[eY] || xY(e) || SY(e) : !1;
+var iY = Object, aY = iY.getPrototypeOf, oY = "constructor", sY = "prototype", cY = "configurable", lY = "enumerable", uY = "writable", dY = "value", fY = (e) => !!e && !!e[nY];
+function pY(e) {
+ return e ? hY(e) || xY(e) || !!e[tY] || !!e[oY]?.[tY] || SY(e) || CY(e) : !1;
}
-var QIe = rY[oY][aY].toString(), pY = /* @__PURE__ */ new WeakMap();
-function mY(e) {
- if (!e || !CY(e)) return !1;
- let t = iY(e);
- if (t === null || t === rY[oY]) return !0;
- let n = rY.hasOwnProperty.call(t, aY) && t[aY];
+var ZIe = iY[sY][oY].toString(), mY = /* @__PURE__ */ new WeakMap();
+function hY(e) {
+ if (!e || !wY(e)) return !1;
+ let t = aY(e);
+ if (t === null || t === iY[sY]) return !0;
+ let n = iY.hasOwnProperty.call(t, oY) && t[oY];
if (n === Object) return !0;
- if (!wY(n)) return !1;
- let r = pY.get(n);
- return r === void 0 && (r = Function.toString.call(n), pY.set(n, r)), r === QIe;
+ if (!TY(n)) return !1;
+ let r = mY.get(n);
+ return r === void 0 && (r = Function.toString.call(n), mY.set(n, r)), r === ZIe;
}
-function hY(e, t, n = !0) {
- gY(e) === 0 ? (n ? Reflect.ownKeys(e) : rY.keys(e)).forEach((n) => {
+function gY(e, t, n = !0) {
+ _Y(e) === 0 ? (n ? Reflect.ownKeys(e) : iY.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function gY(e) {
- let t = e[tY];
- return t ? t.type_ : bY(e) ? 1 : xY(e) ? 2 : SY(e) ? 3 : 0;
+function _Y(e) {
+ let t = e[nY];
+ return t ? t.type_ : xY(e) ? 1 : SY(e) ? 2 : CY(e) ? 3 : 0;
}
-var _Y = (e, t, n = gY(e)) => n === 2 ? e.has(t) : rY[oY].hasOwnProperty.call(e, t), vY = (e, t, n = gY(e)) => n === 2 ? e.get(t) : e[t], yY = (e, t, n, r = gY(e)) => {
+var vY = (e, t, n = _Y(e)) => n === 2 ? e.has(t) : iY[sY].hasOwnProperty.call(e, t), yY = (e, t, n = _Y(e)) => n === 2 ? e.get(t) : e[t], bY = (e, t, n, r = _Y(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function $Ie(e, t) {
+function QIe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var bY = Array.isArray, xY = (e) => e instanceof Map, SY = (e) => e instanceof Set, CY = (e) => typeof e == "object", wY = (e) => typeof e == "function", TY = (e) => typeof e == "boolean";
-function eLe(e) {
+var xY = Array.isArray, SY = (e) => e instanceof Map, CY = (e) => e instanceof Set, wY = (e) => typeof e == "object", TY = (e) => typeof e == "function", EY = (e) => typeof e == "boolean";
+function $Ie(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var EY = (e) => e.copy_ || e.base_, DY = (e) => e.modified_ ? e.copy_ : e.base_;
-function OY(e, t) {
- if (xY(e)) return new Map(e);
- if (SY(e)) return new Set(e);
- if (bY(e)) return Array[oY].slice.call(e);
- let n = mY(e);
+var DY = (e) => e.copy_ || e.base_, OY = (e) => e.modified_ ? e.copy_ : e.base_;
+function kY(e, t) {
+ if (SY(e)) return new Map(e);
+ if (CY(e)) return new Set(e);
+ if (xY(e)) return Array[sY].slice.call(e);
+ let n = hY(e);
if (t === !0 || t === "class_only" && !n) {
- let t = rY.getOwnPropertyDescriptors(e);
- delete t[tY];
+ let t = iY.getOwnPropertyDescriptors(e);
+ delete t[nY];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[lY] === !1 && (a[lY] = !0, a[sY] = !0), (a.get || a.set) && (t[i] = {
- [sY]: !0,
- [lY]: !0,
- [cY]: a[cY],
- [uY]: e[i]
+ a[uY] === !1 && (a[uY] = !0, a[cY] = !0), (a.get || a.set) && (t[i] = {
+ [cY]: !0,
+ [uY]: !0,
+ [lY]: a[lY],
+ [dY]: e[i]
});
}
- return rY.create(iY(e), t);
+ return iY.create(aY(e), t);
}
{
- let t = iY(e);
+ let t = aY(e);
if (t !== null && n) return { ...e };
- let r = rY.create(t);
- return rY.assign(r, e);
- }
-}
-function kY(e, t = !1) {
- return jY(e) || dY(e) || !fY(e) || (gY(e) > 1 && rY.defineProperties(e, {
- set: AY,
- add: AY,
- clear: AY,
- delete: AY
- }), rY.freeze(e), t && hY(e, (e, t) => {
- kY(t, !0);
+ let r = iY.create(t);
+ return iY.assign(r, e);
+ }
+}
+function AY(e, t = !1) {
+ return MY(e) || fY(e) || !pY(e) || (_Y(e) > 1 && iY.defineProperties(e, {
+ set: jY,
+ add: jY,
+ clear: jY,
+ delete: jY
+ }), iY.freeze(e), t && gY(e, (e, t) => {
+ AY(t, !0);
}, !1)), e;
}
-function tLe() {
- nY(2);
+function eLe() {
+ rY(2);
}
-var AY = { [uY]: tLe };
-function jY(e) {
- return e === null || !CY(e) || rY.isFrozen(e);
+var jY = { [dY]: eLe };
+function MY(e) {
+ return e === null || !wY(e) || iY.isFrozen(e);
}
-var MY = "MapSet", NY = "Patches", PY = "ArrayMethods", FY = {};
-function IY(e) {
- let t = FY[e];
- return t || nY(0, e), t;
+var NY = "MapSet", PY = "Patches", FY = "ArrayMethods", IY = {};
+function LY(e) {
+ let t = IY[e];
+ return t || rY(0, e), t;
}
-var LY = (e) => !!FY[e], RY, zY = () => RY, nLe = (e, t) => ({
+var RY = (e) => !!IY[e], zY, BY = () => zY, tLe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -75697,114 +75766,114 @@ var LY = (e) => !!FY[e], RY, zY = () => RY, nLe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: LY(MY) ? IY(MY) : void 0,
- arrayMethodsPlugin_: LY(PY) ? IY(PY) : void 0
+ mapSetPlugin_: RY(NY) ? LY(NY) : void 0,
+ arrayMethodsPlugin_: RY(FY) ? LY(FY) : void 0
});
-function BY(e, t) {
- t && (e.patchPlugin_ = IY(NY), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function VY(e) {
- HY(e), e.drafts_.forEach(rLe), e.drafts_ = null;
+function VY(e, t) {
+ t && (e.patchPlugin_ = LY(PY), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function HY(e) {
- e === RY && (RY = e.parent_);
+ UY(e), e.drafts_.forEach(nLe), e.drafts_ = null;
}
-var UY = (e) => RY = nLe(RY, e);
-function rLe(e) {
- let t = e[tY];
+function UY(e) {
+ e === zY && (zY = e.parent_);
+}
+var WY = (e) => zY = tLe(zY, e);
+function nLe(e) {
+ let t = e[nY];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function WY(e, t) {
+function GY(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[tY].modified_ && (VY(t), nY(4)), fY(e) && (e = GY(t, e));
+ n[nY].modified_ && (HY(t), rY(4)), pY(e) && (e = KY(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[tY].base_, e, t);
- } else e = GY(t, n);
- return iLe(t, e, !0), VY(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === $J ? void 0 : e;
-}
-function GY(e, t) {
- if (jY(t)) return t;
- let n = t[tY];
- if (!n) return XY(t, e.handledSet_, e);
- if (!qY(n, e)) return t;
+ r && r.generateReplacementPatches_(n[nY].base_, e, t);
+ } else e = KY(t, n);
+ return rLe(t, e, !0), HY(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === eY ? void 0 : e;
+}
+function KY(e, t) {
+ if (MY(t)) return t;
+ let n = t[nY];
+ if (!n) return ZY(t, e.handledSet_, e);
+ if (!JY(n, e)) return t;
if (!n.modified_) return n.base_;
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- YY(n, e);
+ XY(n, e);
}
return n.copy_;
}
-function iLe(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && kY(t, n);
+function rLe(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && AY(t, n);
}
-function KY(e) {
+function qY(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var qY = (e, t) => e.scope_ === t, aLe = [];
-function JY(e, t, n, r) {
- let i = EY(e), a = e.type_;
- if (r !== void 0 && vY(i, r, a) === t) {
- yY(i, r, n, a);
+var JY = (e, t) => e.scope_ === t, iLe = [];
+function YY(e, t, n, r) {
+ let i = DY(e), a = e.type_;
+ if (r !== void 0 && yY(i, r, a) === t) {
+ bY(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- hY(i, (e, n) => {
- if (dY(n)) {
+ gY(i, (e, n) => {
+ if (fY(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? aLe;
- for (let e of o) yY(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? iLe;
+ for (let e of o) bY(i, e, n, a);
}
-function oLe(e, t, n) {
+function aLe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !qY(i, r)) return;
+ if (!i || !JY(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = DY(i);
- JY(e, i.draft_ ?? i, a, n), YY(i, r);
+ let a = OY(i);
+ YY(e, i.draft_ ?? i, a, n), XY(i, r);
});
}
-function YY(e, t) {
+function XY(e, t) {
if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
let { patchPlugin_: n } = t;
if (n) {
let r = n.getPath(e);
r && n.generatePatches_(e, r, t);
}
- KY(e);
+ qY(e);
}
}
-function sLe(e, t, n) {
+function oLe(e, t, n) {
let { scope_: r } = e;
- if (dY(n)) {
- let i = n[tY];
- qY(i, r) && i.callbacks_.push(function() {
- nX(e), JY(e, n, DY(i), t);
+ if (fY(n)) {
+ let i = n[nY];
+ JY(i, r) && i.callbacks_.push(function() {
+ rX(e), YY(e, n, OY(i), t);
});
- } else fY(n) && e.callbacks_.push(function() {
- let i = EY(e);
- e.type_ === 3 ? i.has(n) && XY(n, r.handledSet_, r) : vY(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && XY(vY(e.copy_, t, e.type_), r.handledSet_, r);
+ } else pY(n) && e.callbacks_.push(function() {
+ let i = DY(e);
+ e.type_ === 3 ? i.has(n) && ZY(n, r.handledSet_, r) : yY(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && ZY(yY(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function XY(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || dY(e) || t.has(e) || !fY(e) || jY(e) || (t.add(e), hY(e, (r, i) => {
- if (dY(i)) {
- let t = i[tY];
- qY(t, n) && (yY(e, r, DY(t), e.type_), KY(t));
- } else fY(i) && XY(i, t, n);
+function ZY(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || fY(e) || t.has(e) || !pY(e) || MY(e) || (t.add(e), gY(e, (r, i) => {
+ if (fY(i)) {
+ let t = i[nY];
+ JY(t, n) && (bY(e, r, OY(t), e.type_), qY(t));
+ } else pY(i) && ZY(i, t, n);
})), e;
}
-function cLe(e, t) {
- let n = bY(e), r = {
+function sLe(e, t) {
+ let n = xY(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : zY(),
+ scope_: t ? t.scope_ : BY(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -75815,108 +75884,108 @@ function cLe(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = ZY;
- n && (i = [r], a = QY);
+ }, i = r, a = QY;
+ n && (i = [r], a = $Y);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var ZY = {
+var QY = {
get(e, t) {
- if (t === tY) return e;
+ if (t === nY) 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 = EY(e);
- if (!_Y(i, t, e.type_)) return uLe(e, i, t);
+ let i = DY(e);
+ if (!vY(i, t, e.type_)) return lLe(e, i, t);
let a = i[t];
- if (e.finalized_ || !fY(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && eLe(t)) return a;
- if (a === $Y(e.base_, t) || lLe(e, t, a)) {
- nX(e);
- let n = e.type_ === 1 ? +t : t, r = rX(e.scope_, a, e, n);
+ if (e.finalized_ || !pY(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && $Ie(t)) return a;
+ if (a === eX(e.base_, t) || cLe(e, t, a)) {
+ rX(e);
+ let n = e.type_ === 1 ? +t : t, r = iX(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in EY(e);
+ return t in DY(e);
},
ownKeys(e) {
- return Reflect.ownKeys(EY(e));
+ return Reflect.ownKeys(DY(e));
},
set(e, t, n) {
- let r = eX(EY(e), t);
+ let r = tX(DY(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = $Y(EY(e), t), i = r?.[tY];
+ let r = eX(DY(e), t), i = r?.[nY];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;
- if ($Ie(n, r) && (n !== void 0 || _Y(e.base_, t, e.type_))) return !0;
- nX(e), tX(e);
+ if (QIe(n, r) && (n !== void 0 || vY(e.base_, t, e.type_))) return !0;
+ rX(e), nX(e);
}
- return e.copy_[t] === n && (n !== void 0 || _Y(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), sLe(e, t, n)), !0;
+ return e.copy_[t] === n && (n !== void 0 || vY(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), oLe(e, t, n)), !0;
},
deleteProperty(e, t) {
- return nX(e), $Y(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), tX(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return rX(e), eX(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), nX(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = EY(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = DY(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [lY]: !0,
- [sY]: e.type_ !== 1 || t !== "length",
- [cY]: r[cY],
- [uY]: n[t]
+ [uY]: !0,
+ [cY]: e.type_ !== 1 || t !== "length",
+ [lY]: r[lY],
+ [dY]: n[t]
};
},
defineProperty() {
- nY(11);
+ rY(11);
},
getPrototypeOf(e) {
- return iY(e.base_);
+ return aY(e.base_);
},
setPrototypeOf() {
- nY(12);
+ rY(12);
}
-}, QY = {};
-for (let e in ZY) {
- let t = ZY[e];
- QY[e] = function() {
+}, $Y = {};
+for (let e in QY) {
+ let t = QY[e];
+ $Y[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-QY.deleteProperty = function(e, t) {
- return QY.set.call(this, e, t, void 0);
-}, QY.set = function(e, t, n) {
- return ZY.set.call(this, e[0], t, n, e[0]);
+$Y.deleteProperty = function(e, t) {
+ return $Y.set.call(this, e, t, void 0);
+}, $Y.set = function(e, t, n) {
+ return QY.set.call(this, e[0], t, n, e[0]);
};
-function $Y(e, t) {
- let n = e[tY];
- return (n ? EY(n) : e)[t];
+function eX(e, t) {
+ let n = e[nY];
+ return (n ? DY(n) : e)[t];
}
-function lLe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !fY(n) || n[tY] ? !1 : e.baseRefs_.has(n);
+function cLe(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !pY(n) || n[nY] ? !1 : e.baseRefs_.has(n);
}
-function uLe(e, t, n) {
- let r = eX(t, n);
- return r ? uY in r ? r[uY] : r.get?.call(e.draft_) : void 0;
+function lLe(e, t, n) {
+ let r = tX(t, n);
+ return r ? dY in r ? r[dY] : r.get?.call(e.draft_) : void 0;
}
-function eX(e, t) {
+function tX(e, t) {
if (!(t in e)) return;
- let n = iY(e);
+ let n = aY(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = iY(n);
+ n = aY(n);
}
}
-function tX(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && tX(e.parent_));
-}
function nX(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), OY(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+ e.modified_ || (e.modified_ = !0, e.parent_ && nX(e.parent_));
+}
+function rX(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), kY(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var dLe = class {
+var uLe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (wY(e) && !wY(t)) {
+ if (TY(e) && !TY(t)) {
let n = t;
t = e;
let r = this;
@@ -75924,30 +75993,30 @@ var dLe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- wY(t) || nY(6), n !== void 0 && !wY(n) && nY(7);
+ TY(t) || rY(6), n !== void 0 && !TY(n) && rY(7);
let r;
- if (fY(e)) {
- let i = UY(this), a = rX(i, e, void 0), o = !0;
+ if (pY(e)) {
+ let i = WY(this), a = iX(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? VY(i) : HY(i);
+ o ? HY(i) : UY(i);
}
- return BY(i, n), WY(r, i);
+ return VY(i, n), GY(r, i);
}
- if (!e || !CY(e)) {
- if (r = t(e), r === void 0 && (r = e), r === $J && (r = void 0), this.autoFreeze_ && kY(r, !0), n) {
+ if (!e || !wY(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === eY && (r = void 0), this.autoFreeze_ && AY(r, !0), n) {
let t = [], i = [];
- IY(NY).generateReplacementPatches_(e, r, {
+ LY(PY).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- nY(1, e);
+ rY(1, e);
}, this.produceWithPatches = (e, t) => {
- if (wY(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (TY(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -75956,18 +76025,18 @@ var dLe = class {
n,
r
];
- }, TY(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), TY(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), TY(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, EY(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), EY(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), EY(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- fY(e) || nY(8), dY(e) && (e = iX(e));
- let t = UY(this), n = rX(t, e, void 0);
- return n[tY].isManual_ = !0, HY(t), n;
+ pY(e) || rY(8), fY(e) && (e = aX(e));
+ let t = WY(this), n = iX(t, e, void 0);
+ return n[nY].isManual_ = !0, UY(t), n;
}
finishDraft(e, t) {
- let n = e && e[tY];
- (!n || !n.isManual_) && nY(9);
+ let n = e && e[nY];
+ (!n || !n.isManual_) && rY(9);
let { scope_: r } = n;
- return BY(r, t), WY(void 0, r);
+ return VY(r, t), GY(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -75991,48 +76060,48 @@ var dLe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = IY(NY).applyPatches_;
- return dY(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = LY(PY).applyPatches_;
+ return fY(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function rX(e, t, n, r) {
- let [i, a] = xY(t) ? IY(MY).proxyMap_(t, n) : SY(t) ? IY(MY).proxySet_(t, n) : cLe(t, n);
- return (n?.scope_ ?? zY()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? oLe(n, a, r) : a.callbacks_.push(function(e) {
+function iX(e, t, n, r) {
+ let [i, a] = SY(t) ? LY(NY).proxyMap_(t, n) : CY(t) ? LY(NY).proxySet_(t, n) : sLe(t, n);
+ return (n?.scope_ ?? BY()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? aLe(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 iX(e) {
- return dY(e) || nY(10, e), aX(e);
-}
function aX(e) {
- if (!fY(e) || jY(e)) return e;
- let t = e[tY], n, r = !0;
+ return fY(e) || rY(10, e), oX(e);
+}
+function oX(e) {
+ if (!pY(e) || MY(e)) return e;
+ let t = e[nY], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = OY(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = OY(e, !0);
- return hY(n, (e, t) => {
- yY(n, e, aX(t));
+ t.finalized_ = !0, n = kY(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = kY(e, !0);
+ return gY(n, (e, t) => {
+ bY(n, e, oX(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var oX = new dLe().produce, sX = (e) => e;
+var sX = new uLe().produce, cX = (e) => e;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function cX(e) {
+function lX(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var fLe = cX(), pLe = cX, mLe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? ZJ : ZJ.apply(null, arguments);
+var dLe = lX(), fLe = lX, pLe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? QJ : QJ.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function lX(e, t) {
+function uX(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(WX(0));
+ if (!r) throw Error(GX(0));
return {
type: e,
payload: r.payload,
@@ -76045,9 +76114,9 @@ function lX(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => QJ(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => $J(t) && t.type === e, n;
}
-var uX = class e extends Array {
+var dX = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -76061,29 +76130,29 @@ var uX = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function dX(e) {
- return fY(e) ? oX(e, () => {}) : e;
+function fX(e) {
+ return pY(e) ? sX(e, () => {}) : e;
}
-function fX(e, t, n) {
+function pX(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function hLe(e) {
+function mLe(e) {
return typeof e == "boolean";
}
-var gLe = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new uX();
- return t && (hLe(t) ? a.push(fLe) : a.push(pLe(t.extraArgument))), a;
-}, pX = "RTK_autoBatch", mX = () => (e) => ({
+var hLe = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new dX();
+ return t && (mLe(t) ? a.push(dLe) : a.push(fLe(t.extraArgument))), a;
+}, mX = "RTK_autoBatch", hX = () => (e) => ({
payload: e,
- meta: { [pX]: !0 }
-}), hX = (e) => (t) => {
+ meta: { [mX]: !0 }
+}), gX = (e) => (t) => {
setTimeout(t, e);
-}, _Le = (e, t) => (n) => {
+}, gLe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, gX = (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 ? _Le(window.requestAnimationFrame, 100) : hX(10) : e.type === "callback" ? e.queueNotification : hX(e.timeout), l = () => {
+}, _X = (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 ? gLe(window.requestAnimationFrame, 100) : gX(10) : e.type === "callback" ? e.queueNotification : gX(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -76095,37 +76164,37 @@ var gLe = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[pX], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[mX], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, vLe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new uX(e);
- return n && r.push(gX(typeof n == "object" ? n : void 0)), r;
+}, _Le = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new dX(e);
+ return n && r.push(_X(typeof n == "object" ? n : void 0)), r;
};
-function yLe(e) {
- let t = gLe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function vLe(e) {
+ let t = hLe(), { 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 (JJ(n)) c = XJ(n);
- else throw Error(WX(1));
+ else if (YJ(n)) c = ZJ(n);
+ else throw Error(GX(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = ZJ;
- i && (u = mLe({
+ let u = QJ;
+ i && (u = pLe({
trace: !1,
...typeof i == "object" && i
}));
- let d = vLe(ZIe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return YJ(c, o, p);
+ let d = _Le(XIe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return XJ(c, o, p);
}
-function _X(e) {
+function vX(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(WX(28));
- if (r in t) throw Error(WX(29));
+ if (!r) throw Error(GX(28));
+ if (r in t) throw Error(GX(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -76150,25 +76219,25 @@ function _X(e) {
r
];
}
-function bLe(e) {
+function yLe(e) {
return typeof e == "function";
}
-function xLe(e, t) {
- let [n, r, i] = _X(t), a;
- if (bLe(e)) a = () => dX(e());
+function bLe(e, t) {
+ let [n, r, i] = vX(t), a;
+ if (yLe(e)) a = () => fX(e());
else {
- let t = dX(e);
+ let t = fX(e);
a = () => t;
}
function o(e = a(), t) {
let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];
return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {
if (n) {
- if (dY(e)) {
+ if (fY(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (fY(e)) return oX(e, (e) => n(e, t));
+ if (pY(e)) return sX(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -76183,20 +76252,20 @@ function xLe(e, t) {
}
return o.getInitialState = a, o;
}
-var SLe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", CLe = (e = 21) => {
+var xLe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", SLe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += SLe[Math.random() * 64 | 0];
+ for (; n--;) t += xLe[Math.random() * 64 | 0];
return t;
-}, wLe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function TLe(e, t) {
+}, CLe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function wLe(e, t) {
return `${e}/${t}`;
}
-function ELe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[wLe];
+function TLe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[CLe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(WX(11));
- let i = (typeof e.reducers == "function" ? e.reducers(OLe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(GX(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(DLe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -76204,8 +76273,8 @@ function ELe({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(WX(12));
- if (n in o.sliceCaseReducersByType) throw Error(WX(13));
+ if (!n) throw Error(GX(12));
+ if (n in o.sliceCaseReducersByType) throw Error(GX(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -76224,17 +76293,17 @@ function ELe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: TLe(n, r),
+ type: wLe(n, r),
createNotation: typeof e.reducers == "function"
};
- ALe(a) ? MLe(o, a, s, t) : kLe(o, a, s);
+ kLe(a) ? jLe(o, a, s, t) : OLe(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? _X(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? vX(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return xLe(e.initialState, (e) => {
+ return bLe(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);
@@ -76251,12 +76320,12 @@ function ELe({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = fX(d, r, m)), i;
+ return i === void 0 && n && (i = pX(d, r, m)), i;
}
function i(t = l) {
- return fX(fX(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return pX(pX(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = DLe(a, t, () => fX(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = ELe(a, t, () => pX(d, t, m), n);
return r;
});
}
@@ -76290,15 +76359,15 @@ function ELe({ creators: e } = {}) {
return g;
};
}
-function DLe(e, t, n, r) {
+function ELe(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 vX = /* @__PURE__ */ ELe();
-function OLe() {
+var yX = /* @__PURE__ */ TLe();
+function DLe() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -76322,53 +76391,53 @@ function OLe() {
asyncThunk: e
};
}
-function kLe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function OLe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !jLe(r)) throw Error(WX(17));
+ if (n && !ALe(r)) throw Error(GX(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? lX(e, o) : lX(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? uX(e, o) : uX(e));
}
-function ALe(e) {
+function kLe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function jLe(e) {
+function ALe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function MLe({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(WX(18));
+function jLe({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(GX(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
- fulfilled: o || yX,
- pending: s || yX,
- rejected: c || yX,
- settled: l || yX
+ fulfilled: o || bX,
+ pending: s || bX,
+ rejected: c || bX,
+ settled: l || bX
});
}
-function yX() {}
-var NLe = "task", bX = "listener", xX = "completed", SX = "cancelled", PLe = `task-${SX}`, FLe = `task-${xX}`, CX = `${bX}-${SX}`, ILe = `${bX}-${xX}`, wX = class {
+function bX() {}
+var MLe = "task", xX = "listener", SX = "completed", CX = "cancelled", NLe = `task-${CX}`, PLe = `task-${SX}`, wX = `${xX}-${CX}`, FLe = `${xX}-${SX}`, TX = class {
constructor(e) {
- this.code = e, this.message = `${NLe} ${SX} (reason: ${e})`;
+ this.code = e, this.message = `${MLe} ${CX} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, TX = (e, t) => {
- if (typeof e != "function") throw TypeError(WX(32));
-}, EX = () => {}, DX = (e, t = EX) => (e.catch(t), e), OX = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), kX = (e) => {
- if (e.aborted) throw new wX(e.reason);
+}, EX = (e, t) => {
+ if (typeof e != "function") throw TypeError(GX(32));
+}, DX = () => {}, OX = (e, t = DX) => (e.catch(t), e), kX = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), AX = (e) => {
+ if (e.aborted) throw new TX(e.reason);
};
-function AX(e, t) {
- let n = EX;
+function jX(e, t) {
+ let n = DX;
return new Promise((r, i) => {
- let a = () => i(new wX(e.reason));
- e.aborted ? a() : (n = OX(e, a), t.finally(() => n()).then(r, i));
+ let a = () => i(new TX(e.reason));
+ e.aborted ? a() : (n = kX(e, a), t.finally(() => n()).then(r, i));
}).finally(() => {
- n = EX;
+ n = DX;
});
}
-var LLe = async (e, t) => {
+var ILe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -76376,40 +76445,40 @@ var LLe = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof wX ? "cancelled" : "rejected",
+ status: e instanceof TX ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, jX = (e) => (t) => DX(AX(e, t).then((t) => (kX(e), t))), MX = (e) => {
- let t = jX(e);
+}, MX = (e) => (t) => OX(jX(e, t).then((t) => (AX(e), t))), NX = (e) => {
+ let t = MX(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: NX } = Object, PX = {}, FX = "listenerMiddleware", RLe = (e, t) => {
- let n = (t) => OX(e, () => t.abort(e.reason));
+}, { assign: PX } = Object, FX = {}, IX = "listenerMiddleware", LLe = (e, t) => {
+ let n = (t) => kX(e, () => t.abort(e.reason));
return (r, i) => {
- TX(r, "taskExecutor");
+ EX(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = LLe(async () => {
- kX(e), kX(a.signal);
+ let o = ILe(async () => {
+ AX(e), AX(a.signal);
let t = await r({
- pause: jX(a.signal),
- delay: MX(a.signal),
+ pause: MX(a.signal),
+ delay: NX(a.signal),
signal: a.signal
});
- return kX(a.signal), t;
- }, () => a.abort(FLe));
- return i?.autoJoin && t.push(o.catch(EX)), {
- result: jX(e)(o),
+ return AX(a.signal), t;
+ }, () => a.abort(PLe));
+ return i?.autoJoin && t.push(o.catch(DX)), {
+ result: MX(e)(o),
cancel() {
- a.abort(PLe);
+ a.abort(NLe);
}
};
};
-}, zLe = (e, t) => {
+}, RLe = (e, t) => {
let n = async (n, r) => {
- kX(t);
+ AX(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -76427,47 +76496,47 @@ var LLe = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await AX(t, Promise.race(a));
- return kX(t), e;
+ let e = await jX(t, Promise.race(a));
+ return AX(t), e;
} finally {
i();
}
};
- return ((e, t) => DX(n(e, t)));
-}, IX = (e) => {
+ return ((e, t) => OX(n(e, t)));
+}, LX = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = lX(t).match;
+ if (t) i = uX(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(WX(21));
- return TX(a, "options.listener"), {
+ else if (!i) throw Error(GX(21));
+ return EX(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, LX = /* @__PURE__ */ NX((e) => {
- let { type: t, predicate: n, effect: r } = IX(e);
+}, RX = /* @__PURE__ */ PX((e) => {
+ let { type: t, predicate: n, effect: r } = LX(e);
return {
- id: CLe(),
+ id: SLe(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(WX(22));
+ throw Error(GX(22));
}
};
-}, { withTypes: () => LX }), RX = (e, t) => {
- let { type: n, effect: r, predicate: i } = IX(t);
+}, { withTypes: () => RX }), zX = (e, t) => {
+ let { type: n, effect: r, predicate: i } = LX(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, zX = (e) => {
+}, BX = (e) => {
e.pending.forEach((e) => {
- e.abort(CX);
+ e.abort(wX);
});
-}, BLe = (e, t) => () => {
- for (let e of t.keys()) zX(e);
+}, zLe = (e, t) => () => {
+ for (let e of t.keys()) BX(e);
e.clear();
-}, BX = (e, t, n) => {
+}, VX = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -76475,74 +76544,74 @@ var LLe = async (e, t) => {
throw e;
}, 0);
}
-}, VX = /* @__PURE__ */ NX(/* @__PURE__ */ lX(`${FX}/add`), { withTypes: () => VX }), VLe = /* @__PURE__ */ lX(`${FX}/removeAll`), HX = /* @__PURE__ */ NX(/* @__PURE__ */ lX(`${FX}/remove`), { withTypes: () => HX }), HLe = (...e) => {
- console.error(`${FX}/error`, ...e);
-}, UX = (e = {}) => {
+}, HX = /* @__PURE__ */ PX(/* @__PURE__ */ uX(`${IX}/add`), { withTypes: () => HX }), BLe = /* @__PURE__ */ uX(`${IX}/removeAll`), UX = /* @__PURE__ */ PX(/* @__PURE__ */ uX(`${IX}/remove`), { withTypes: () => UX }), VLe = (...e) => {
+ console.error(`${IX}/error`, ...e);
+}, WX = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
let t = n.get(e) ?? 0;
n.set(e, t + 1);
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = HLe } = e;
- TX(o, "onError");
+ }, { extra: a, onError: o = VLe } = e;
+ EX(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && zX(e);
+ e.unsubscribe(), t?.cancelActive && BX(e);
}), c = ((e) => {
- let n = RX(t, e) ?? LX(e);
+ let n = zX(t, e) ?? RX(e);
return s(n);
});
- NX(c, { withTypes: () => c });
+ PX(c, { withTypes: () => c });
let l = (e) => {
- let n = RX(t, e);
- return n && (n.unsubscribe(), e.cancelActive && zX(n)), !!n;
+ let n = zX(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && BX(n)), !!n;
};
- NX(l, { withTypes: () => l });
+ PX(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = zLe(c, u.signal), f = [];
+ let u = new AbortController(), d = RLe(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, NX({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, PX({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: MX(u.signal),
- pause: jX(u.signal),
+ delay: NX(u.signal),
+ pause: MX(u.signal),
extra: a,
signal: u.signal,
- fork: RLe(u.signal, f),
+ fork: LLe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(CX), n.delete(e));
+ e !== u && (e.abort(wX), n.delete(e));
});
},
cancel: () => {
- u.abort(CX), e.pending.delete(u);
+ u.abort(wX), e.pending.delete(u);
},
throwIfCancelled: () => {
- kX(u.signal);
+ AX(u.signal);
}
})));
} catch (e) {
- e instanceof wX || BX(o, e, { raisedBy: "effect" });
+ e instanceof TX || VX(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(ILe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(FLe), i(e), e.pending.delete(u);
}
- }, d = BLe(t, n);
+ }, d = zLe(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!QJ(r)) return n(r);
- if (VX.match(r)) return c(r.payload);
- if (VLe.match(r)) {
+ if (!$J(r)) return n(r);
+ if (HX.match(r)) return c(r.payload);
+ if (BLe.match(r)) {
d();
return;
}
- if (HX.match(r)) return l(r.payload);
+ if (UX.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === PX) throw Error(WX(23));
+ if (i === FX) throw Error(GX(23));
return i;
}, s;
try {
@@ -76553,13 +76622,13 @@ var LLe = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, BX(o, e, { raisedBy: "predicate" });
+ s = !1, VX(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = PX;
+ i = FX;
}
return s;
},
@@ -76568,12 +76637,12 @@ var LLe = async (e, t) => {
clearListeners: d
};
};
-function WX(e) {
+function GX(e) {
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var GX = vX({
+var KX = yX({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -76601,23 +76670,23 @@ var GX = vX({
e.scale = t.payload;
}
}
-}), KX = GX.actions, ULe = KX.setMargin, WLe = KX.setLayout, GLe = KX.setChartSize, KLe = KX.setScale, qLe = GX.reducer;
+}), qX = KX.actions, HLe = qX.setMargin, ULe = qX.setLayout, WLe = qX.setChartSize, GLe = qX.setScale, KLe = KX.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function qX(e, t, n) {
+function JX(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
//#region node_modules/recharts/es6/util/isWellBehavedNumber.js
-function JX(e) {
+function YX(e) {
return Number.isFinite(e);
}
-function YX(e) {
+function XX(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function XX(e, t) {
+function ZX(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -76627,30 +76696,30 @@ function XX(e, t) {
}
return n;
}
-function ZX(e) {
+function QX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? XX(Object(n), !0).forEach(function(t) {
- JLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XX(Object(n)).forEach(function(t) {
+ t % 2 ? ZX(Object(n), !0).forEach(function(t) {
+ qLe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function JLe(e, t, n) {
- return (t = YLe(t)) in e ? Object.defineProperty(e, t, {
+function qLe(e, t, n) {
+ return (t = JLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function YLe(e) {
- var t = XLe(e, "string");
+function JLe(e) {
+ var t = YLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function XLe(e, t) {
+function YLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -76660,72 +76729,72 @@ function XLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function QX(e, t, n) {
- return TK(e) || TK(t) ? n : yK(t) ? fK(e, t, n) : typeof t == "function" ? t(e) : n;
+function $X(e, t, n) {
+ return EK(e) || EK(t) ? n : bK(t) ? pK(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var ZLe = (e, t, n) => {
+var XLe = (e, t, n) => {
if (t && n) {
var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;
if (c != null) {
- if (NK(c)) {
- if (c === "top" && vK(e.top)) return ZX(ZX({}, e), {}, { top: e.top + (i || 0) + u });
- if (c === "bottom" && vK(e.bottom)) return ZX(ZX({}, e), {}, { bottom: e.bottom + (i || 0) + u });
- if (c === "left" && vK(e.left)) return ZX(ZX({}, e), {}, { left: e.left + (r || 0) + u });
- if (c === "right" && vK(e.right)) return ZX(ZX({}, e), {}, { right: e.right + (r || 0) + u });
+ if (PK(c)) {
+ if (c === "top" && yK(e.top)) return QX(QX({}, e), {}, { top: e.top + (i || 0) + u });
+ if (c === "bottom" && yK(e.bottom)) return QX(QX({}, e), {}, { bottom: e.bottom + (i || 0) + u });
+ if (c === "left" && yK(e.left)) return QX(QX({}, e), {}, { left: e.left + (r || 0) + u });
+ if (c === "right" && yK(e.right)) return QX(QX({}, e), {}, { right: e.right + (r || 0) + u });
}
return e;
}
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && vK(e[a])) return ZX(ZX({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && vK(e[o])) return ZX(ZX({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && yK(e[a])) return QX(QX({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && yK(e[o])) return QX(QX({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, $X = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", eZ = (e, t, n, r) => {
+}, eZ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", tZ = (e, t, n, r) => {
if (r) return e.map((e) => e.coordinate);
var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));
return i || o.push(t), a || o.push(n), o;
-}, tZ = (e, t, n) => {
+}, nZ = (e, t, n) => {
if (!e) return null;
var r = e.duplicateDomain, i = e.type, a = e.range, o = e.scale, s = e.realScaleType, c = e.isCategorical, l = e.categoricalDomain, u = e.tickCount, d = e.ticks, f = e.niceTicks, p = e.axisType;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? hK(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? gK(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 JX(i) ? {
+ return YX(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(DK) : c && l ? l.map((e, t) => {
+ }).filter(OK) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return JX(n) ? {
+ return YX(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(DK) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(OK) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return JX(n) ? {
+ return YX(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(DK) : o.domain().map((e, t) => {
+ }).filter(OK) : o.domain().map((e, t) => {
var n = o.map(e);
- return JX(n) ? {
+ return YX(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(DK);
-}, nZ = (e, t) => {
- if (!t || t.length !== 2 || !vK(t[0]) || !vK(t[1])) return e;
+ }).filter(OK);
+}, rZ = (e, t) => {
+ if (!t || t.length !== 2 || !yK(t[0]) || !yK(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 (!vK(e[0]) || e[0] < n) && (i[0] = n), (!vK(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, QLe = {
+ return (!yK(e[0]) || e[0] < n) && (i[0] = n), (!yK(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
+}, ZLe = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -76733,16 +76802,16 @@ var ZLe = (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 = gK(c) ? l : c;
+ var c = s[1], l = s[0], u = _K(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: DFe,
- none: wq,
- silhouette: OFe,
- wiggle: kFe,
+ expand: EFe,
+ none: Tq,
+ silhouette: DFe,
+ wiggle: OFe,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -76750,70 +76819,70 @@ var ZLe = (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 = gK(o[1]) ? o[0] : o[1];
+ var s = _K(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, $Le = (e, t, n) => {
- var r = QLe[n] ?? wq, i = EFe().keys(t).value((e, t) => Number(QX(e, t, 0))).order(Tq).offset(r)(e);
+}, QLe = (e, t, n) => {
+ var r = ZLe[n] ?? Tq, i = TFe().keys(t).value((e, t) => Number($X(e, t, 0))).order(Eq).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = QX(e[i], t[r], 0);
- Array.isArray(a) && a.length === 2 && vK(a[0]) && vK(a[1]) && (n[0] = a[0], n[1] = a[1]);
+ var a = $X(e[i], t[r], 0);
+ Array.isArray(a) && a.length === 2 && yK(a[0]) && yK(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function rZ(e) {
+function iZ(e) {
return e == null ? void 0 : String(e);
}
-function iZ(e) {
+function aZ(e) {
var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !TK(i[t.dataKey])) {
- var s = wK(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !EK(i[t.dataKey])) {
+ var s = TK(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 = QX(i, TK(o) ? t.dataKey : o), l = t.scale.map(c);
- return vK(l) ? l : null;
+ var c = $X(i, EK(o) ? t.dataKey : o), l = t.scale.map(c);
+ return yK(l) ? l : null;
}
-var aZ = (e) => {
+var oZ = (e) => {
var t = e.axis, n = e.ticks, r = e.offset, i = e.bandSize, a = e.entry, o = e.index;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
- var s = QX(a, t.dataKey, t.scale.domain()[o]);
- if (TK(s)) return null;
+ var s = $X(a, t.dataKey, t.scale.domain()[o]);
+ if (EK(s)) return null;
var c = t.scale.map(s);
- return vK(c) ? c - i / 2 + r : null;
-}, oZ = (e) => {
+ return yK(c) ? c - i / 2 + r : null;
+}, sZ = (e) => {
var t = e.numericAxis, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, eRe = (e) => {
- var t = e.flat(2).filter(vK);
+}, $Le = (e) => {
+ var t = e.flat(2).filter(yK);
return [Math.min(...t), Math.max(...t)];
-}, tRe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], nRe = (e, t, n) => {
- if (e != null && Object.keys(e).length !== 0) return tRe(Object.keys(e).reduce((r, i) => {
+}, eRe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], tRe = (e, t, n) => {
+ if (e != null && Object.keys(e).length !== 0) return eRe(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var o = a.stackedData.reduce((e, r) => {
- var i = eRe(qX(r, t, n));
- return !JX(i[0]) || !JX(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = $Le(JX(r, t, n));
+ return !YX(i[0]) || !YX(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(o[0], r[0]), Math.max(o[1], r[1])];
}, [Infinity, -Infinity]));
-}, sZ = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, cZ = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, lZ = (e, t, n) => {
+}, cZ = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, lZ = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, uZ = (e, t, n) => {
if (e && e.scale && e.scale.bandwidth) {
var r = e.scale.bandwidth();
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = LJ(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {
+ for (var i = RJ(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {
var l = (i[s]?.coordinate || 0) - (i[s - 1]?.coordinate || 0);
a.push(l), o = Math.max(l, o);
}
@@ -76823,26 +76892,26 @@ var aZ = (e) => {
}
return n ? void 0 : 0;
};
-function uZ(e) {
+function dZ(e) {
var t = e.tooltipEntrySettings, n = e.dataKey, r = e.payload, i = e.value, a = e.name;
- return ZX(ZX({}, t), {}, {
+ return QX(QX({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function dZ(e, t) {
+function fZ(e, t) {
if (e != null) return String(e);
if (typeof t == "string") return t;
}
-var rRe = (e, t) => {
+var nRe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, iRe = (e, t) => t === "centric" ? e.angle : e.radius, fZ = (e) => e.layout.width, pZ = (e) => e.layout.height, aRe = (e) => e.layout.scale, mZ = (e) => e.layout.margin, hZ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), gZ = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), oRe = "data-recharts-item-index";
+}, rRe = (e, t) => t === "centric" ? e.angle : e.radius, pZ = (e) => e.layout.width, mZ = (e) => e.layout.height, iRe = (e) => e.layout.scale, hZ = (e) => e.layout.margin, gZ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), _Z = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), aRe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function _Z(e, t) {
+function vZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -76852,30 +76921,30 @@ function _Z(e, t) {
}
return n;
}
-function vZ(e) {
+function yZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? _Z(Object(n), !0).forEach(function(t) {
- sRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _Z(Object(n)).forEach(function(t) {
+ t % 2 ? vZ(Object(n), !0).forEach(function(t) {
+ oRe(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 sRe(e, t, n) {
- return (t = cRe(t)) in e ? Object.defineProperty(e, t, {
+function oRe(e, t, n) {
+ return (t = sRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cRe(e) {
- var t = lRe(e, "string");
+function sRe(e) {
+ var t = cRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lRe(e, t) {
+function cRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -76885,67 +76954,67 @@ function lRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var uRe = (e) => e.brush.height;
+var lRe = (e) => e.brush.height;
+function uRe(e) {
+ return _Z(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+}
function dRe(e) {
- return gZ(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+ return _Z(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
function fRe(e) {
- return gZ(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+ return gZ(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
function pRe(e) {
- return hZ(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
-}
-function mRe(e) {
- return hZ(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
+ return gZ(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
-var yZ = Y([
- fZ,
+var bZ = Y([
pZ,
mZ,
+ hZ,
+ lRe,
uRe,
dRe,
fRe,
pRe,
- mRe,
- RJ,
- HIe
+ zJ,
+ VIe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = vZ(vZ({}, {
+ }, d = yZ(yZ({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = ZLe(d, c, l);
+ d.bottom += r, d = XLe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return vZ(vZ({ brushBottom: f }, d), {}, {
+ return yZ(yZ({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), bZ = Y(yZ, (e) => ({
+}), xZ = Y(bZ, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), xZ = Y(fZ, pZ, (e, t) => ({
+})), SZ = Y(pZ, mZ, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), hRe = /*#__PURE__*/ (0, b.createContext)(null), SZ = () => (0, b.useContext)(hRe) != null, CZ = (e) => e.brush, wZ = Y([
- CZ,
- yZ,
- mZ
+})), mRe = /*#__PURE__*/ (0, b.createContext)(null), CZ = () => (0, b.useContext)(mRe) != null, wZ = (e) => e.brush, TZ = Y([
+ wZ,
+ bZ,
+ hZ
], (e, t, n) => ({
height: e.height,
- x: vK(e.x) ? e.x : t.left,
- y: vK(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
- width: vK(e.width) ? e.width : t.width
+ x: yK(e.x) ? e.x : t.left,
+ y: yK(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
+ width: yK(e.width) ? e.width : t.width
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function gRe(e, t, { signal: n, edges: r } = {}) {
+function hRe(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 = () => {
@@ -76970,11 +77039,11 @@ function gRe(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function _Re(e, t = 0, n = {}) {
+function gRe(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 = gRe(function(...t) {
+ let s, c = null, l = hRe(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);
@@ -76983,9 +77052,9 @@ function _Re(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function vRe(e, t = 0, n = {}) {
+function _Re(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return _Re(e, t, {
+ return gRe(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -76993,7 +77062,7 @@ function vRe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var TZ = function(e, t) {
+var EZ = function(e, t) {
var n = [...arguments].slice(2);
if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {
if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
@@ -77002,7 +77071,7 @@ var TZ = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, EZ = {
+}, DZ = {
width: "100%",
height: "100%",
debounce: 0,
@@ -77011,36 +77080,36 @@ var TZ = function(e, t) {
width: -1,
height: -1
}
-}, DZ = (e, t, n) => {
- var r = n.width, i = r === void 0 ? EZ.width : r, a = n.height, o = a === void 0 ? EZ.height : a, s = n.aspect, c = n.maxHeight, l = _K(i) ? e : Number(i), u = _K(o) ? t : Number(o);
+}, OZ = (e, t, n) => {
+ var r = n.width, i = r === void 0 ? DZ.width : r, a = n.height, o = a === void 0 ? DZ.height : a, s = n.aspect, c = n.maxHeight, l = vK(i) ? e : Number(i), u = vK(o) ? t : Number(o);
return s && s > 0 && (l ? u = l / s : u && (l = u * s), c && u != null && u > c && (u = c)), {
calculatedWidth: l,
calculatedHeight: u
};
-}, yRe = {
+}, vRe = {
width: 0,
height: 0,
overflow: "visible"
-}, bRe = {
+}, yRe = {
width: 0,
overflowX: "visible"
-}, xRe = {
+}, bRe = {
height: 0,
overflowY: "visible"
-}, SRe = {}, CRe = (e) => {
- var t = e.width, n = e.height, r = _K(t), i = _K(n);
- return r && i ? yRe : r ? bRe : i ? xRe : SRe;
+}, xRe = {}, SRe = (e) => {
+ var t = e.width, n = e.height, r = vK(t), i = vK(n);
+ return r && i ? vRe : r ? yRe : i ? bRe : xRe;
};
-function wRe(e) {
+function CRe(e) {
var t = e.width, n = e.height, r = e.aspect, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = EZ.width, a = EZ.height) : i === void 0 ? i = r && r > 0 ? void 0 : EZ.width : a === void 0 && (a = r && r > 0 ? void 0 : EZ.height), {
+ return i === void 0 && a === void 0 ? (i = DZ.width, a = DZ.height) : i === void 0 ? i = r && r > 0 ? void 0 : DZ.width : a === void 0 && (a = r && r > 0 ? void 0 : DZ.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-var TRe = [
+var wRe = [
"aspect",
"initialDimension",
"width",
@@ -77055,16 +77124,16 @@ var TRe = [
"onResize",
"style"
];
-function OZ() {
- return OZ = Object.assign ? Object.assign.bind() : function(e) {
+function kZ() {
+ return kZ = 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;
- }, OZ.apply(null, arguments);
+ }, kZ.apply(null, arguments);
}
-function kZ(e, t) {
+function AZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77074,30 +77143,30 @@ function kZ(e, t) {
}
return n;
}
-function AZ(e) {
+function jZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? kZ(Object(n), !0).forEach(function(t) {
- ERe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kZ(Object(n)).forEach(function(t) {
+ t % 2 ? AZ(Object(n), !0).forEach(function(t) {
+ TRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ERe(e, t, n) {
- return (t = DRe(t)) in e ? Object.defineProperty(e, t, {
+function TRe(e, t, n) {
+ return (t = ERe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DRe(e) {
- var t = ORe(e, "string");
+function ERe(e) {
+ var t = DRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ORe(e, t) {
+function DRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77107,25 +77176,25 @@ function ORe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function kRe(e, t) {
- return NRe(e) || MRe(e, t) || jRe(e, t) || ARe();
+function ORe(e, t) {
+ return MRe(e) || jRe(e, t) || ARe(e, t) || kRe();
}
-function ARe() {
+function kRe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function jRe(e, t) {
+function ARe(e, t) {
if (e) {
- if (typeof e == "string") return jZ(e, t);
+ if (typeof e == "string") return MZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? jZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? MZ(e, t) : void 0;
}
}
-function jZ(e, t) {
+function MZ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function MRe(e, t) {
+function jRe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -77146,19 +77215,19 @@ function MRe(e, t) {
return s;
}
}
-function NRe(e) {
+function MRe(e) {
if (Array.isArray(e)) return e;
}
-function PRe(e, t) {
+function NRe(e, t) {
if (e == null) return {};
- var n, r, i = FRe(e, t);
+ var n, r, i = PRe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function FRe(e, t) {
+function PRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -77167,21 +77236,21 @@ function FRe(e, t) {
}
return n;
}
-var MZ = /*#__PURE__*/ (0, b.createContext)(EZ.initialDimension);
-function IRe(e) {
- return YX(e.width) && YX(e.height);
+var NZ = /*#__PURE__*/ (0, b.createContext)(DZ.initialDimension);
+function FRe(e) {
+ return XX(e.width) && XX(e.height);
}
-function NZ(e) {
+function PZ(e) {
var t = e.children, n = e.width, r = e.height, i = (0, b.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return IRe(i) ? /*#__PURE__*/ b.createElement(MZ.Provider, { value: i }, t) : null;
+ return FRe(i) ? /*#__PURE__*/ b.createElement(NZ.Provider, { value: i }, t) : null;
}
-var PZ = () => (0, b.useContext)(MZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.aspect, r = e.initialDimension, i = r === void 0 ? EZ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? EZ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? EZ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = PRe(e, TRe), x = (0, b.useRef)(null), S = (0, b.useRef)();
+var FZ = () => (0, b.useContext)(NZ), IRe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.aspect, r = e.initialDimension, i = r === void 0 ? DZ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? DZ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? DZ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = NRe(e, wRe), x = (0, b.useRef)(null), S = (0, b.useRef)();
S.current = g, (0, b.useImperativeHandle)(t, () => x.current);
- var C = kRe((0, b.useState)({
+ var C = ORe((0, b.useState)({
containerWidth: i.width,
containerHeight: i.height
}), 2), w = C[0], T = C[1], E = (0, b.useCallback)((e, t) => {
@@ -77194,7 +77263,7 @@ var PZ = () => (0, b.useContext)(MZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
});
}, []);
(0, b.useEffect)(() => {
- if (x.current == null || typeof ResizeObserver > "u") return OK;
+ if (x.current == null || typeof ResizeObserver > "u") return kK;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -77202,7 +77271,7 @@ var PZ = () => (0, b.useContext)(MZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
E(i, a), (t = S.current) == null || t.call(S, i, a);
}
};
- p > 0 && (e = vRe(e, p, {
+ p > 0 && (e = _Re(e, p, {
trailing: !0,
leading: !1
}));
@@ -77212,17 +77281,17 @@ var PZ = () => (0, b.useContext)(MZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
};
}, [E, p]);
var D = w.containerWidth, O = w.containerHeight;
- TZ(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var k = DZ(D, O, {
+ EZ(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var k = OZ(D, O, {
width: a,
height: o,
aspect: n,
maxHeight: u
}), A = k.calculatedWidth, j = k.calculatedHeight;
- return TZ(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ b.createElement("div", OZ({
+ return EZ(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ b.createElement("div", kZ({
id: m ? `${m}` : void 0,
className: wv("recharts-responsive-container", h),
- style: AZ(AZ({}, v), {}, {
+ style: jZ(jZ({}, v), {}, {
width: a,
height: o,
minWidth: c,
@@ -77230,43 +77299,43 @@ var PZ = () => (0, b.useContext)(MZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
maxHeight: u
}),
ref: x
- }, y), /*#__PURE__*/ b.createElement("div", { style: CRe({
+ }, y), /*#__PURE__*/ b.createElement("div", { style: SRe({
width: a,
height: o
- }) }, /*#__PURE__*/ b.createElement(NZ, {
+ }) }, /*#__PURE__*/ b.createElement(PZ, {
width: A,
height: j
}, d)));
-}), FZ = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = PZ();
- if (YX(n.width) && YX(n.height)) return e.children;
- var r = wRe({
+}), IZ = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = FZ();
+ if (XX(n.width) && XX(n.height)) return e.children;
+ var r = CRe({
width: e.width,
height: e.height,
aspect: e.aspect
- }), i = r.width, a = r.height, o = DZ(void 0, void 0, {
+ }), i = r.width, a = r.height, o = OZ(void 0, void 0, {
width: i,
height: a,
aspect: e.aspect,
maxHeight: e.maxHeight
}), s = o.calculatedWidth, c = o.calculatedHeight;
- return vK(s) && vK(c) ? /*#__PURE__*/ b.createElement(NZ, {
+ return yK(s) && yK(c) ? /*#__PURE__*/ b.createElement(PZ, {
width: s,
height: c
- }, e.children) : /*#__PURE__*/ b.createElement(LRe, OZ({}, e, {
+ }, e.children) : /*#__PURE__*/ b.createElement(IRe, kZ({}, e, {
width: i,
height: a,
ref: t
}));
-}), IZ = () => {
- var e = SZ(), t = J(bZ), n = J(wZ), r = J(CZ)?.padding;
+}), LZ = () => {
+ var e = CZ(), t = J(xZ), n = J(TZ), r = J(wZ)?.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
};
-}, RRe = {
+}, LRe = {
top: 0,
bottom: 0,
left: 0,
@@ -77274,16 +77343,16 @@ var PZ = () => (0, b.useContext)(MZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
width: 0,
height: 0,
brushBottom: 0
-}, LZ = () => J(yZ) ?? RRe, RZ = () => J(fZ), zZ = () => J(pZ), zRe = () => J((e) => e.layout.margin), BZ = (e) => e.layout.layoutType, VZ = () => J(BZ), HZ = () => {
- var e = VZ();
+}, RZ = () => J(bZ) ?? LRe, zZ = () => J(pZ), BZ = () => J(mZ), RRe = () => J((e) => e.layout.margin), VZ = (e) => e.layout.layoutType, HZ = () => J(VZ), UZ = () => {
+ var e = HZ();
if (e === "horizontal" || e === "vertical") return e;
-}, UZ = (e) => {
+}, WZ = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, WZ = () => J(UZ), BRe = () => VZ() !== void 0, GZ = (e) => {
- var t = OJ(), n = SZ(), r = e.width, i = e.height, a = PZ(), o = r, s = i;
+}, GZ = () => J(WZ), zRe = () => HZ() !== void 0, KZ = (e) => {
+ var t = kJ(), n = CZ(), r = e.width, i = e.height, a = FZ(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, b.useEffect)(() => {
- !n && YX(o) && YX(s) && t(GLe({
+ !n && XX(o) && XX(s) && t(WLe({
width: o,
height: s
}));
@@ -77293,7 +77362,7 @@ var PZ = () => (0, b.useContext)(MZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
o,
s
]), null;
-}, KZ = vX({
+}, qZ = yX({
name: "legend",
initialState: {
settings: {
@@ -77319,43 +77388,43 @@ var PZ = () => (0, b.useContext)(MZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(sX(t.payload));
+ e.payload.push(cX(t.payload));
},
- prepare: mX()
+ prepare: hX()
},
replaceLegendPayload: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = iX(e).payload.indexOf(sX(r));
- a > -1 && (e.payload[a] = sX(i));
+ var n = t.payload, r = n.prev, i = n.next, a = aX(e).payload.indexOf(cX(r));
+ a > -1 && (e.payload[a] = cX(i));
},
- prepare: mX()
+ prepare: hX()
},
removeLegendPayload: {
reducer(e, t) {
- var n = iX(e).payload.indexOf(sX(t.payload));
+ var n = aX(e).payload.indexOf(cX(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: mX()
+ prepare: hX()
}
}
-}), qZ = KZ.actions, JZ = qZ.setLegendSize, VRe = qZ.setLegendSettings, YZ = qZ.addLegendPayload, XZ = qZ.replaceLegendPayload, ZZ = qZ.removeLegendPayload, HRe = KZ.reducer, URe = /* @__PURE__ */ o(((e) => {
+}), JZ = qZ.actions, YZ = JZ.setLegendSize, BRe = JZ.setLegendSettings, XZ = JZ.addLegendPayload, ZZ = JZ.replaceLegendPayload, QZ = JZ.removeLegendPayload, VRe = qZ.reducer, HRe = /* @__PURE__ */ o(((e) => {
var t = d();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ o(((e, t) => {
- t.exports = URe();
+ t.exports = HRe();
})))();
-function WRe(e) {
+function URe(e) {
e();
}
-function GRe() {
+function WRe() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- WRe(() => {
+ URe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -77377,12 +77446,12 @@ function GRe() {
}
};
}
-var QZ = {
+var $Z = {
notify() {},
get: () => []
};
-function KRe(e, t) {
- let n, r = QZ, i = 0, a = !1;
+function GRe(e, t) {
+ let n, r = $Z, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -77400,10 +77469,10 @@ function KRe(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = GRe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = WRe());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = QZ);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = $Z);
}
function f() {
a || (a = !0, u());
@@ -77422,44 +77491,44 @@ function KRe(e, t) {
};
return m;
}
-var qRe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, JRe = typeof navigator < "u" && navigator.product === "ReactNative", YRe = qRe || JRe ? b.useLayoutEffect : b.useEffect;
-function $Z(e, t) {
+var KRe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, qRe = typeof navigator < "u" && navigator.product === "ReactNative", JRe = KRe || qRe ? b.useLayoutEffect : b.useEffect;
+function eQ(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function XRe(e, t) {
- if ($Z(e, t)) return !0;
+function YRe(e, t) {
+ if (eQ(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !$Z(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !eQ(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var ZRe = /* @__PURE__ */ Symbol.for("react-redux-context"), QRe = typeof globalThis < "u" ? globalThis : {};
-function $Re() {
+var XRe = /* @__PURE__ */ Symbol.for("react-redux-context"), ZRe = typeof globalThis < "u" ? globalThis : {};
+function QRe() {
if (!b.createContext) return {};
- let e = QRe[ZRe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);
+ let e = ZRe[XRe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);
return t || (t = b.createContext(null), e.set(b.createContext, t)), t;
}
-var eze = /* @__PURE__ */ $Re();
-function tze(e) {
+var $Re = /* @__PURE__ */ QRe();
+function eze(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = b.useMemo(() => {
- let e = KRe(i);
+ let e = GRe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = b.useMemo(() => i.getState(), [i]);
- YRe(() => {
+ JRe(() => {
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 || eze;
+ let s = n || $Re;
return /* @__PURE__ */ b.createElement(s.Provider, { value: a }, t);
}
-var nze = tze, rze = /* @__PURE__ */ new Set([
+var tze = eze, nze = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -77482,22 +77551,22 @@ var nze = tze, rze = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function ize(e, t) {
+function rze(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function eQ(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (rze.has(n)) {
+function tQ(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (nze.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!XRe(e[n], t[n])) return !1;
- } else if (!ize(e[n], t[n])) return !1;
+ if (!YRe(e[n], t[n])) return !1;
+ } else if (!rze(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectLegendArea.js
-var aze = Y([
- fZ,
+var ize = Y([
pZ,
- mZ
+ mZ,
+ hZ
], (e, t, n) => ({
x: n.left || 0,
y: n.top || 0,
@@ -77506,7 +77575,7 @@ var aze = Y([
}));
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js
-function oze(e, t) {
+function aze(e, t) {
return e === "start" && t === "start" ? "" : `translate(${e === "inherit" ? "0" : {
start: "0",
middle: "-50%",
@@ -77519,35 +77588,35 @@ function oze(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var sze = ["contextPayload"];
-function tQ() {
- return tQ = Object.assign ? Object.assign.bind() : function(e) {
+var oze = ["contextPayload"];
+function nQ() {
+ return nQ = 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;
- }, tQ.apply(null, arguments);
+ }, nQ.apply(null, arguments);
}
-function cze(e, t) {
- return fze(e) || dze(e, t) || uze(e, t) || lze();
+function sze(e, t) {
+ return dze(e) || uze(e, t) || lze(e, t) || cze();
}
-function lze() {
+function cze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function uze(e, t) {
+function lze(e, t) {
if (e) {
- if (typeof e == "string") return nQ(e, t);
+ if (typeof e == "string") return rQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? nQ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? rQ(e, t) : void 0;
}
}
-function nQ(e, t) {
+function rQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function dze(e, t) {
+function uze(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -77568,10 +77637,10 @@ function dze(e, t) {
return s;
}
}
-function fze(e) {
+function dze(e) {
if (Array.isArray(e)) return e;
}
-function rQ(e, t) {
+function iQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77581,30 +77650,30 @@ function rQ(e, t) {
}
return n;
}
-function iQ(e) {
+function aQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? rQ(Object(n), !0).forEach(function(t) {
- pze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rQ(Object(n)).forEach(function(t) {
+ t % 2 ? iQ(Object(n), !0).forEach(function(t) {
+ fze(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 pze(e, t, n) {
- return (t = mze(t)) in e ? Object.defineProperty(e, t, {
+function fze(e, t, n) {
+ return (t = pze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mze(e) {
- var t = hze(e, "string");
+function pze(e) {
+ var t = mze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hze(e, t) {
+function mze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77614,16 +77683,16 @@ function hze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function gze(e, t) {
+function hze(e, t) {
if (e == null) return {};
- var n, r, i = _ze(e, t);
+ var n, r, i = gze(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 _ze(e, t) {
+function gze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -77632,30 +77701,30 @@ function _ze(e, t) {
}
return n;
}
-function vze(e) {
+function _ze(e) {
return e.value;
}
-function yze(e) {
- var t = e.contextPayload, n = gze(e, sze), r = EJ(t, e.payloadUniqBy, vze), i = iQ(iQ({}, 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(QFe, i);
+function vze(e) {
+ var t = e.contextPayload, n = hze(e, oze), r = DJ(t, e.payloadUniqBy, _ze), i = aQ(aQ({}, 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(ZFe, i);
}
-function bze(e) {
+function yze(e) {
return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";
}
-function xze(e, t) {
- return t == null ? null : NK(t) ? aze(e) : bZ(e);
+function bze(e, t) {
+ return t == null ? null : PK(t) ? ize(e) : xZ(e);
}
-function Sze(e, t, n) {
+function xze(e, t, n) {
return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};
}
-function Cze(e, t, n, r, i, a) {
+function Sze(e, t, n, r, i, a) {
var o = t.layout, s = t.align, c = t.verticalAlign, 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 }), iQ(iQ({}, 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 }), aQ(aQ({}, l), u);
}
-function wze(e) {
- var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = OJ();
+function Cze(e) {
+ var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = kJ();
return (0, b.useLayoutEffect)(() => {
- s(VRe({
+ s(BRe({
align: t,
layout: n,
verticalAlign: r,
@@ -77673,10 +77742,10 @@ function wze(e) {
o
]), null;
}
-function Tze(e) {
- var t = e.width, n = e.height, r = OJ();
+function wze(e) {
+ var t = e.width, n = e.height, r = kJ();
return (0, b.useLayoutEffect)(() => {
- r(JZ({
+ r(YZ({
width: t,
height: n
}));
@@ -77685,16 +77754,16 @@ function Tze(e) {
t,
n
]), (0, b.useLayoutEffect)(() => () => {
- r(JZ({
+ r(YZ({
width: 0,
height: 0
}));
}, [r]), null;
}
-function Eze(e, t, n, r) {
+function Tze(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var Dze = {
+var Eze = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -77704,10 +77773,10 @@ var Dze = {
verticalAlign: "bottom",
offset: 0
};
-function Oze(e) {
- var t = Fq(e, Dze), n = e.layout && e.layout !== "auto" ? e.layout : bze(t.position), r = WIe(), i = ZPe(), a = zRe(), o = J((e) => xze(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || NK(t.position)), f = cze(UJ([r]), 2), p = f[0], m = f[1], h = RZ(), g = zZ();
+function Dze(e) {
+ var t = Iq(e, Eze), n = e.layout && e.layout !== "auto" ? e.layout : yze(t.position), r = UIe(), i = XPe(), a = RRe(), o = J((e) => bze(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || PK(t.position)), f = sze(WJ([r]), 2), p = f[0], m = f[1], h = zZ(), g = BZ();
if (h == null || g == null || t.position != null && o == null) return null;
- var _ = Eze(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : MK({
+ var _ = Tze(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : NK({
viewBox: o ?? {
x: 0,
y: 0,
@@ -77716,7 +77785,7 @@ function Oze(e) {
},
position: t.position,
offset: t.offset ?? 0
- }), y = Sze(t.position, t.offset ?? 0, p), x = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, S = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
+ }), y = xze(t.position, t.offset ?? 0, p), x = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, S = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
width: "max-content",
height: "max-content",
maxWidth: x,
@@ -77724,8 +77793,8 @@ function Oze(e) {
overflowY: "auto",
top: v.y + (y.top ?? 0),
left: v.x + (y.left ?? 0),
- transform: oze(v.horizontalAnchor, v.verticalAnchor)
- } : Cze(l, t, a, h, g, p), w = u ? l : iQ(iQ({
+ transform: aze(v.horizontalAnchor, v.verticalAnchor)
+ } : Sze(l, t, a, h, g, p), w = u ? l : aQ(aQ({
position: "absolute",
width: _?.width || s || "auto",
height: _?.height || c || "auto"
@@ -77735,14 +77804,14 @@ function Oze(e) {
className: "recharts-legend-wrapper",
style: w,
ref: m
- }, /*#__PURE__*/ b.createElement(wze, {
+ }, /*#__PURE__*/ b.createElement(Cze, {
layout: n,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter,
position: t.position,
offset: t.offset
- }), d && /*#__PURE__*/ b.createElement(Tze, p), /*#__PURE__*/ b.createElement(yze, tQ({}, t, { layout: n }, _, {
+ }), d && /*#__PURE__*/ b.createElement(wze, p), /*#__PURE__*/ b.createElement(vze, nQ({}, t, { layout: n }, _, {
margin: a,
chartWidth: h,
chartHeight: g,
@@ -77750,20 +77819,20 @@ function Oze(e) {
})));
return /*#__PURE__*/ (0, pt.createPortal)(E, T);
}
-var aQ = /*#__PURE__*/ b.memo(Oze, eQ);
-aQ.displayName = "Legend";
+var oQ = /*#__PURE__*/ b.memo(Dze, tQ);
+oQ.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function oQ() {
- return oQ = Object.assign ? Object.assign.bind() : function(e) {
+function sQ() {
+ return sQ = 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;
- }, oQ.apply(null, arguments);
+ }, sQ.apply(null, arguments);
}
-function sQ(e, t) {
+function cQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77773,30 +77842,30 @@ function sQ(e, t) {
}
return n;
}
-function cQ(e) {
+function lQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? sQ(Object(n), !0).forEach(function(t) {
- kze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sQ(Object(n)).forEach(function(t) {
+ t % 2 ? cQ(Object(n), !0).forEach(function(t) {
+ Oze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kze(e, t, n) {
- return (t = Aze(t)) in e ? Object.defineProperty(e, t, {
+function Oze(e, t, n) {
+ return (t = kze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Aze(e) {
- var t = jze(e, "string");
+function kze(e) {
+ var t = Aze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jze(e, t) {
+function Aze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77806,25 +77875,25 @@ function jze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Mze(e, t) {
- return Ize(e) || Fze(e, t) || Pze(e, t) || Nze();
+function jze(e, t) {
+ return Fze(e) || Pze(e, t) || Nze(e, t) || Mze();
}
-function Nze() {
+function Mze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Pze(e, t) {
+function Nze(e, t) {
if (e) {
- if (typeof e == "string") return lQ(e, t);
+ if (typeof e == "string") return uQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? lQ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? uQ(e, t) : void 0;
}
}
-function lQ(e, t) {
+function uQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Fze(e, t) {
+function Pze(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -77845,13 +77914,13 @@ function Fze(e, t) {
return s;
}
}
-function Ize(e) {
+function Fze(e) {
if (Array.isArray(e)) return e;
}
-function Lze(e) {
- return Array.isArray(e) && yK(e[0]) && yK(e[1]) ? e.join(" ~ ") : e;
+function Ize(e) {
+ return Array.isArray(e) && bK(e[0]) && bK(e[1]) ? e.join(" ~ ") : e;
}
-var uQ = {
+var dQ = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -77869,32 +77938,32 @@ var uQ = {
labelStyle: {},
accessibilityLayer: !1
};
-function Rze(e, t) {
- return t == null ? e : LJ(e, t);
+function Lze(e, t) {
+ return t == null ? e : RJ(e, t);
}
-var zze = (e) => {
- var t = e.separator, n = t === void 0 ? uQ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? uQ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? uQ.accessibilityLayer : m, g = () => {
+var Rze = (e) => {
+ var t = e.separator, n = t === void 0 ? dQ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? dQ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? dQ.accessibilityLayer : m, g = () => {
if (s && s.length) {
var e = {
padding: 0,
margin: 0
- }, t = Rze(s, l).map((e, t) => {
+ }, t = Lze(s, l).map((e, t) => {
if (!e || e.type === "none") return null;
- var r = e.formatter || c || Lze, a = e.value, o = e.name, l = a, u = o;
+ var r = e.formatter || c || Ize, a = e.value, o = e.name, l = a, u = o;
if (r) {
var d = r(a, o, e, t, s);
if (Array.isArray(d)) {
- var f = Mze(d, 2);
+ var f = jze(d, 2);
l = f[0], u = f[1];
} else if (d != null) l = d;
else return null;
}
- var p = cQ(cQ({}, uQ.itemStyle), {}, { color: e.color || uQ.itemStyle.color }, i);
+ var p = lQ(lQ({}, dQ.itemStyle), {}, { color: e.color || dQ.itemStyle.color }, i);
return /*#__PURE__*/ b.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${t}`,
style: p
- }, yK(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, yK(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, bK(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, bK(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : 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",
@@ -77902,44 +77971,44 @@ var zze = (e) => {
}, t);
}
return null;
- }, _ = cQ(cQ({}, uQ.contentStyle), r), v = cQ({ margin: 0 }, o), y = !TK(f), x = y ? f : "", S = wv("recharts-default-tooltip", u), C = wv("recharts-tooltip-label", d);
+ }, _ = lQ(lQ({}, dQ.contentStyle), r), v = lQ({ margin: 0 }, o), y = !EK(f), x = y ? f : "", S = wv("recharts-default-tooltip", u), C = wv("recharts-tooltip-label", d);
y && p && s != null && (x = p(f, s));
var w = h ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ b.createElement("div", oQ({
+ return /*#__PURE__*/ b.createElement("div", sQ({
className: S,
style: _
}, w), /*#__PURE__*/ b.createElement("p", {
className: C,
style: v
}, /*#__PURE__*/ b.isValidElement(x) ? x : `${x}`), g());
-}, dQ = "recharts-tooltip-wrapper", Bze = { visibility: "hidden" };
-function Vze(e) {
+}, fQ = "recharts-tooltip-wrapper", zze = { visibility: "hidden" };
+function Bze(e) {
var t = e.coordinate, n = e.translateX, r = e.translateY;
- return wv(dQ, {
- [`${dQ}-right`]: vK(n) && t && vK(t.x) && n >= t.x,
- [`${dQ}-left`]: vK(n) && t && vK(t.x) && n < t.x,
- [`${dQ}-bottom`]: vK(r) && t && vK(t.y) && r >= t.y,
- [`${dQ}-top`]: vK(r) && t && vK(t.y) && r < t.y
+ return wv(fQ, {
+ [`${fQ}-right`]: yK(n) && t && yK(t.x) && n >= t.x,
+ [`${fQ}-left`]: yK(n) && t && yK(t.x) && n < t.x,
+ [`${fQ}-bottom`]: yK(r) && t && yK(t.y) && r >= t.y,
+ [`${fQ}-top`]: yK(r) && t && yK(t.y) && r < t.y
});
}
-function fQ(e) {
+function pQ(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.key, i = e.offset, a = e.position, o = e.reverseDirection, s = e.tooltipDimension, c = e.viewBox, l = e.viewBoxDimension;
- if (a && vK(a[r])) return a[r];
+ if (a && yK(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
if (t[r]) return o[r] ? u : d;
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function Hze(e) {
+function Vze(e) {
var t = e.translateX, n = e.translateY;
return { transform: e.useTranslate3d ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function Uze(e) {
+function Hze(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.offsetTop, i = e.offsetLeft, a = e.position, o = e.reverseDirection, s = e.tooltipBox, c = e.useTranslate3d, l = e.viewBox, u, d, f;
- return s && s.height > 0 && s.width > 0 && n ? (d = fQ({
+ return s && s.height > 0 && s.width > 0 && n ? (d = pQ({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -77949,7 +78018,7 @@ function Uze(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = fQ({
+ }), f = pQ({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -77959,44 +78028,44 @@ function Uze(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = Hze({
+ }), u = Vze({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = Bze, {
+ })) : u = zze, {
cssProperties: u,
- cssClasses: Vze({
+ cssClasses: Bze({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var pQ = {
+var mQ = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function Wze(e, t) {
- return Jze(e) || qze(e, t) || Kze(e, t) || Gze();
+function Uze(e, t) {
+ return qze(e) || Kze(e, t) || Gze(e, t) || Wze();
}
-function Gze() {
+function Wze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Kze(e, t) {
+function Gze(e, t) {
if (e) {
- if (typeof e == "string") return mQ(e, t);
+ if (typeof e == "string") return hQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? mQ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? hQ(e, t) : void 0;
}
}
-function mQ(e, t) {
+function hQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function qze(e, t) {
+function Kze(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78017,11 +78086,11 @@ function qze(e, t) {
return s;
}
}
-function Jze(e) {
+function qze(e) {
if (Array.isArray(e)) return e;
}
-function hQ() {
- var e = Wze((0, b.useState)(() => pQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
+function gQ() {
+ var e = Uze((0, b.useState)(() => mQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
return (0, b.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => {
@@ -78035,7 +78104,7 @@ function hQ() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function gQ(e, t) {
+function _Q(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78045,30 +78114,30 @@ function gQ(e, t) {
}
return n;
}
-function _Q(e) {
+function vQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? gQ(Object(n), !0).forEach(function(t) {
- Yze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gQ(Object(n)).forEach(function(t) {
+ t % 2 ? _Q(Object(n), !0).forEach(function(t) {
+ Jze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _Q(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Yze(e, t, n) {
- return (t = Xze(t)) in e ? Object.defineProperty(e, t, {
+function Jze(e, t, n) {
+ return (t = Yze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Xze(e) {
- var t = Zze(e, "string");
+function Yze(e) {
+ var t = Xze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Zze(e, t) {
+function Xze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78078,25 +78147,25 @@ function Zze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Qze(e, t) {
- return nBe(e) || tBe(e, t) || eBe(e, t) || $ze();
+function Zze(e, t) {
+ return tBe(e) || eBe(e, t) || $ze(e, t) || Qze();
}
-function $ze() {
+function Qze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function eBe(e, t) {
+function $ze(e, t) {
if (e) {
- if (typeof e == "string") return vQ(e, t);
+ if (typeof e == "string") return yQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? vQ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? yQ(e, t) : void 0;
}
}
-function vQ(e, t) {
+function yQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function tBe(e, t) {
+function eBe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78117,17 +78186,17 @@ function tBe(e, t) {
return s;
}
}
-function nBe(e) {
+function tBe(e) {
if (Array.isArray(e)) return e;
}
-function rBe(e) {
+function nBe(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) {
var t = typeof e.animationEasing == "string" ? e.animationEasing : "ease";
return `transform ${e.animationDuration}ms ${t}`;
}
}
-function iBe(e) {
- var t = hQ(), n = Qze(b.useState(() => ({
+function rBe(e) {
+ var t = gQ(), n = Zze(b.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -78147,8 +78216,8 @@ function iBe(e) {
return document.addEventListener("keydown", t), () => {
document.removeEventListener("keydown", t);
};
- }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(_Q(_Q({}, r), {}, { dismissed: !1 }));
- var a = Uze({
+ }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(vQ(vQ({}, r), {}, { dismissed: !1 }));
+ var a = Hze({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -78158,7 +78227,7 @@ function iBe(e) {
tooltipBox: e.lastBoundingBox,
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = a.cssClasses, s = a.cssProperties, c = _Q(_Q({}, e.hasPortalFromProps ? {} : _Q(_Q({ transition: rBe({
+ }), o = a.cssClasses, s = a.cssProperties, c = vQ(vQ({}, e.hasPortalFromProps ? {} : vQ(vQ({ transition: nBe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -78178,19 +78247,19 @@ function iBe(e) {
ref: e.innerRef
}, e.children);
}
-var aBe = /*#__PURE__*/ b.memo(iBe), yQ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;
+var iBe = /*#__PURE__*/ b.memo(rBe), bQ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function bQ() {
- return bQ = Object.assign ? Object.assign.bind() : function(e) {
+function xQ() {
+ return xQ = 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;
- }, bQ.apply(null, arguments);
+ }, xQ.apply(null, arguments);
}
-function xQ(e, t) {
+function SQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78200,30 +78269,30 @@ function xQ(e, t) {
}
return n;
}
-function SQ(e) {
+function CQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xQ(Object(n), !0).forEach(function(t) {
- oBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xQ(Object(n)).forEach(function(t) {
+ t % 2 ? SQ(Object(n), !0).forEach(function(t) {
+ aBe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oBe(e, t, n) {
- return (t = sBe(t)) in e ? Object.defineProperty(e, t, {
+function aBe(e, t, n) {
+ return (t = oBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sBe(e) {
- var t = cBe(e, "string");
+function oBe(e) {
+ var t = sBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cBe(e, t) {
+function sBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78233,40 +78302,40 @@ function cBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var CQ = {
- curveBasisClosed: hFe,
- curveBasisOpen: gFe,
- curveBasis: mFe,
- curveBumpX: eFe,
- curveBumpY: tFe,
- curveLinearClosed: _Fe,
- curveLinear: YK,
- curveMonotoneX: vFe,
- curveMonotoneY: yFe,
- curveNatural: bFe,
- curveStep: xFe,
- curveStepAfter: CFe,
- curveStepBefore: SFe
-}, wQ = (e) => JX(e.x) && JX(e.y), TQ = (e) => e.base != null && wQ(e.base) && wQ(e), EQ = (e) => e.x, DQ = (e) => e.y, lBe = (e, t) => {
+var wQ = {
+ curveBasisClosed: mFe,
+ curveBasisOpen: hFe,
+ curveBasis: pFe,
+ curveBumpX: $Pe,
+ curveBumpY: eFe,
+ curveLinearClosed: gFe,
+ curveLinear: XK,
+ curveMonotoneX: _Fe,
+ curveMonotoneY: vFe,
+ curveNatural: yFe,
+ curveStep: bFe,
+ curveStepAfter: SFe,
+ curveStepBefore: xFe
+}, TQ = (e) => YX(e.x) && YX(e.y), EQ = (e) => e.base != null && TQ(e.base) && TQ(e), DQ = (e) => e.x, OQ = (e) => e.y, cBe = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${EK(e)}`;
+ var n = `curve${DK(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = CQ[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = wQ[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return CQ[n] || YK;
-}, OQ = {
+ return wQ[n] || XK;
+}, kQ = {
connectNulls: !1,
type: "linear"
-}, uBe = (e) => {
- var t = e.type, n = t === void 0 ? OQ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? OQ.connectNulls : s, l = lBe(n, o), u = c ? i.filter(wQ) : i;
+}, lBe = (e) => {
+ var t = e.type, n = t === void 0 ? kQ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? kQ.connectNulls : s, l = cBe(n, o), u = c ? i.filter(TQ) : i;
if (Array.isArray(a)) {
- var d, f = i.map((e, t) => SQ(SQ({}, e), {}, { base: a[t] }));
- return d = o === "vertical" ? $K().y(DQ).x1(EQ).x0((e) => e.base.x) : $K().x(EQ).y1(DQ).y0((e) => e.base.y), d.defined(TQ).curve(l)(c ? f.filter(TQ) : f);
+ var d, f = i.map((e, t) => CQ(CQ({}, e), {}, { base: a[t] }));
+ return d = o === "vertical" ? eq().y(OQ).x1(DQ).x0((e) => e.base.x) : eq().x(DQ).y1(OQ).y0((e) => e.base.y), d.defined(EQ).curve(l)(c ? f.filter(EQ) : f);
}
- return (o === "vertical" && vK(a) ? $K().y(DQ).x1(EQ).x0(a) : vK(a) ? $K().x(EQ).y1(DQ).y0(a) : QK().x(EQ).y(DQ)).defined(wQ).curve(l)(u);
-}, kQ = (e) => {
- var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = VZ();
+ return (o === "vertical" && yK(a) ? eq().y(OQ).x1(DQ).x0(a) : yK(a) ? eq().x(DQ).y1(OQ).y0(a) : $K().x(DQ).y(OQ)).defined(TQ).curve(l)(u);
+}, AQ = (e) => {
+ var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = HZ();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -78274,13 +78343,13 @@ var CQ = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? uBe(o) : r;
- return /*#__PURE__*/ b.createElement("path", bQ({}, $G(e), Mq(e), {
+ }, s = n && n.length ? lBe(o) : r;
+ return /*#__PURE__*/ b.createElement("path", xQ({}, eK(e), Nq(e), {
className: wv("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, dBe = [
+}, uBe = [
"x",
"y",
"top",
@@ -78289,16 +78358,16 @@ var CQ = {
"height",
"className"
];
-function AQ() {
- return AQ = Object.assign ? Object.assign.bind() : function(e) {
+function jQ() {
+ return jQ = 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;
- }, AQ.apply(null, arguments);
+ }, jQ.apply(null, arguments);
}
-function jQ(e, t) {
+function MQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78308,30 +78377,30 @@ function jQ(e, t) {
}
return n;
}
-function fBe(e) {
+function dBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? jQ(Object(n), !0).forEach(function(t) {
- pBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jQ(Object(n)).forEach(function(t) {
+ t % 2 ? MQ(Object(n), !0).forEach(function(t) {
+ fBe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pBe(e, t, n) {
- return (t = mBe(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 mBe(e) {
- var t = hBe(e, "string");
+function pBe(e) {
+ var t = mBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hBe(e, t) {
+function mBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78341,16 +78410,16 @@ function hBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function gBe(e, t) {
+function hBe(e, t) {
if (e == null) return {};
- var n, r, i = _Be(e, t);
+ var n, r, i = gBe(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 _Be(e, t) {
+function gBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -78359,8 +78428,8 @@ function _Be(e, t) {
}
return n;
}
-var vBe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, yBe = (e) => {
- var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = gBe(e, dBe), h = fBe({
+var _Be = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, vBe = (e) => {
+ var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = hBe(e, uBe), h = dBe({
x: n,
y: i,
top: o,
@@ -78368,14 +78437,14 @@ var vBe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, yBe = (e) => {
width: u,
height: f
}, m);
- return !vK(n) || !vK(i) || !vK(u) || !vK(f) || !vK(o) || !vK(c) ? null : /*#__PURE__*/ b.createElement("path", AQ({}, tK(h), {
+ return !yK(n) || !yK(i) || !yK(u) || !yK(f) || !yK(o) || !yK(c) ? null : /*#__PURE__*/ b.createElement("path", jQ({}, nK(h), {
className: wv("recharts-cross", p),
- d: vBe(n, i, u, f, o, c)
+ d: _Be(n, i, u, f, o, c)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function bBe(e, t, n, r) {
+function yBe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -78386,12 +78455,12 @@ function bBe(e, t, n, r) {
height: e === "horizontal" ? n.height - 1 : r
};
}
-var MQ = (e, t) => [
+var NQ = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], NQ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), PQ = (e, t) => (n) => NQ(MQ(e, t), n), xBe = (e, t) => (n) => NQ([...MQ(e, t).map((e, t) => e * t).slice(1), 0], n), SBe = (e) => {
+], PQ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), FQ = (e, t) => (n) => PQ(NQ(e, t), n), bBe = (e, t) => (n) => PQ([...NQ(e, t).map((e, t) => e * t).slice(1), 0], n), xBe = (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(",");
@@ -78403,7 +78472,7 @@ var MQ = (e, t) => [
i[2],
i[3]
];
-}, CBe = function() {
+}, SBe = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -78437,7 +78506,7 @@ var MQ = (e, t) => [
1
];
default:
- var t = SBe(e[0]);
+ var t = xBe(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -78446,8 +78515,8 @@ var MQ = (e, t) => [
1,
1
];
-}, wBe = (e, t, n, r) => {
- var i = PQ(e, n), a = PQ(t, r), o = xBe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, CBe = (e, t, n, r) => {
+ var i = FQ(e, n), a = FQ(t, r), o = bBe(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);
@@ -78456,9 +78525,9 @@ var MQ = (e, t) => [
return a(n);
};
return c.isStepper = !1, c;
-}, FQ = function() {
- return wBe(...CBe(...arguments));
-}, TBe = function() {
+}, IQ = function() {
+ return CBe(...SBe(...arguments));
+}, wBe = function() {
for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.stiff, n = t === void 0 ? 100 : t, r = e.damping, i = r === void 0 ? 8 : r, a = e.dt, o = a === void 0 ? 16.67 : a, s = 1, c = [0], l = 0, u = 0, d = 1e4, f = 0; f < d;) {
var p = -(l - s) * n, m = u * i;
if (u += (p - m) * o / 1e3, l += u * o / 1e3, c.push(l), Math.abs(l - s) < 1e-4 && Math.abs(u) < 1e-4) break;
@@ -78472,18 +78541,18 @@ var MQ = (e, t) => [
var t = e * h, n = Math.floor(t), r = t - n;
return (c[n] ?? 0) + ((c[n + 1] ?? 0) - (c[n] ?? 0)) * r;
};
-}, EBe = (e) => {
+}, TBe = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return FQ(e);
- case "spring": return TBe();
- default: if (e.split("(")[0] === "cubic-bezier") return FQ(e);
+ case "linear": return IQ(e);
+ case "spring": return wBe();
+ default: if (e.split("(")[0] === "cubic-bezier") return IQ(e);
}
return typeof e == "function" ? e : null;
-}, IQ = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {
+}, LQ = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {
var r, i = (a) => {
var o = t.tick(a);
if (t.getState() === "active") {
@@ -78496,26 +78565,26 @@ var MQ = (e, t) => [
};
return r = e.setTimeout(i, 0), () => r?.();
});
-IQ.Provider;
-function DBe(e) {
- var t = (0, b.useContext)(IQ);
+LQ.Provider;
+function EBe(e) {
+ var t = (0, b.useContext)(LQ);
return (0, b.useMemo)(() => e ?? t, [e, t]);
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimationHandle.js
-function OBe(e, t, n) {
- return (t = kBe(t)) in e ? Object.defineProperty(e, t, {
+function DBe(e, t, n) {
+ return (t = OBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kBe(e) {
- var t = ABe(e, "string");
+function OBe(e) {
+ var t = kBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ABe(e, t) {
+function kBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78525,11 +78594,11 @@ function ABe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var LQ = "init", RQ = "pending", zQ = "active", jBe = "completed";
-function BQ(e) {
+var RQ = "init", zQ = "pending", BQ = "active", ABe = "completed";
+function VQ(e) {
return Math.max(0, e);
}
-var MBe = class {
+var jBe = class {
getAnimationStartedTime() {
return this.animationStartedTime;
}
@@ -78538,7 +78607,7 @@ var MBe = class {
}
constructor(e) {
var t;
- OBe(this, "state", LQ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = BQ(e.animationDuration), this.animationBegin = BQ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
+ DBe(this, "state", RQ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = VQ(e.animationDuration), this.animationBegin = VQ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
}
getState() {
return this.state;
@@ -78550,13 +78619,13 @@ var MBe = class {
return this.animationDuration;
}
tick(e) {
- if (this.getState() === LQ) return this.state = RQ, this.beginStartedTime = e, this.animationBegin;
- if (this.getState() === RQ) {
+ if (this.getState() === RQ) return this.state = zQ, this.beginStartedTime = e, this.animationBegin;
+ if (this.getState() === zQ) {
if (this.beginStartedTime == null) throw Error();
var t = e - this.beginStartedTime;
- return t >= this.animationBegin ? (this.state = zQ, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : BQ(this.animationBegin - t);
+ return t >= this.animationBegin ? (this.state = BQ, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : VQ(this.animationBegin - t);
}
- if (this.getState() === zQ) {
+ if (this.getState() === BQ) {
if (this.animationStartedTime == null) throw Error();
var n = e - this.animationStartedTime;
return this.setProgress(n / this.animationDuration), this.nextAnimationUpdate(n);
@@ -78574,7 +78643,7 @@ var MBe = class {
var e;
(e = this.onAnimationEnd) == null || e.call(this);
}
- this.state = jBe;
+ this.state = ABe;
}
getFrom() {
return this.from;
@@ -78588,14 +78657,14 @@ var MBe = class {
getAnimationBegin() {
return this.animationBegin;
}
-}, NBe = class extends MBe {
+}, MBe = class extends jBe {
nextAnimationUpdate() {
return 0;
}
getInterpolated() {
- return this.easing(CK(this.getFrom(), this.getTo(), this.getProgress()));
+ return this.easing(wK(this.getFrom(), this.getTo(), this.getProgress()));
}
-}, PBe = class {
+}, NBe = 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) : r = requestAnimationFrame(i);
@@ -78607,25 +78676,25 @@ var MBe = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-function FBe(e, t) {
- return zBe(e) || RBe(e, t) || LBe(e, t) || IBe();
+function PBe(e, t) {
+ return RBe(e) || LBe(e, t) || IBe(e, t) || FBe();
}
-function IBe() {
+function FBe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function LBe(e, t) {
+function IBe(e, t) {
if (e) {
- if (typeof e == "string") return VQ(e, t);
+ if (typeof e == "string") return HQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? VQ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? HQ(e, t) : void 0;
}
}
-function VQ(e, t) {
+function HQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function RBe(e, t) {
+function LBe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78646,10 +78715,10 @@ function RBe(e, t) {
return s;
}
}
-function zBe(e) {
+function RBe(e) {
if (Array.isArray(e)) return e;
}
-var BBe = {
+var zBe = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -78657,22 +78726,22 @@ var BBe = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, HQ = 0, UQ = 1;
-function WQ(e) {
- var t = Fq(e, BBe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = hQ(), f = r === "auto" ? !pQ.isSsr && !d : r, p = DBe(t.animationController), m = FBe((0, b.useState)(f ? HQ : UQ), 2), h = m[0], g = m[1];
+}, UQ = 0, WQ = 1;
+function GQ(e) {
+ var t = Iq(e, zBe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = gQ(), f = r === "auto" ? !mQ.isSsr && !d : r, p = EBe(t.animationController), m = PBe((0, b.useState)(f ? UQ : WQ), 2), h = m[0], g = m[1];
return (0, b.useEffect)(() => {
- f || g(UQ);
+ f || g(WQ);
}, [f]), (0, b.useEffect)(() => {
- var e = EBe(o);
- return !f || !i || e == null ? OK : p(new PBe(), new NBe({
+ var e = TBe(o);
+ return !f || !i || e == null ? kK : p(new NBe(), new MBe({
animationId: n,
easing: e,
animationDuration: a,
animationBegin: s,
onAnimationStart: l,
onAnimationEnd: c,
- from: HQ,
- to: UQ
+ from: UQ,
+ to: WQ
}), g);
}, [
p,
@@ -78688,14 +78757,14 @@ function WQ(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function GQ(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(bK(t)), r = (0, b.useRef)(e);
- return r.current !== e && (n.current = bK(t), r.current = e), n.current;
+function KQ(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(xK(t)), r = (0, b.useRef)(e);
+ return r.current !== e && (n.current = xK(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-var VBe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), HBe = (e, t, n) => e.map((e) => `${VBe(e)} ${t}ms ${n}`).join(","), UBe = ["radius"], WBe = ["radius"], GBe, KBe, qBe, JBe, YBe, XBe, ZBe, QBe, $Be, eVe;
-function KQ(e, t) {
+var BBe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), VBe = (e, t, n) => e.map((e) => `${BBe(e)} ${t}ms ${n}`).join(","), HBe = ["radius"], UBe = ["radius"], WBe, GBe, KBe, qBe, JBe, YBe, XBe, ZBe, QBe, $Be;
+function qQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78705,30 +78774,30 @@ function KQ(e, t) {
}
return n;
}
-function qQ(e) {
+function JQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? KQ(Object(n), !0).forEach(function(t) {
- tVe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KQ(Object(n)).forEach(function(t) {
+ t % 2 ? qQ(Object(n), !0).forEach(function(t) {
+ eVe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tVe(e, t, n) {
- return (t = nVe(t)) in e ? Object.defineProperty(e, t, {
+function eVe(e, t, n) {
+ return (t = tVe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nVe(e) {
- var t = rVe(e, "string");
+function tVe(e) {
+ var t = nVe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rVe(e, t) {
+function nVe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78738,25 +78807,25 @@ function rVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function JQ() {
- return JQ = Object.assign ? Object.assign.bind() : function(e) {
+function YQ() {
+ return YQ = 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;
- }, JQ.apply(null, arguments);
+ }, YQ.apply(null, arguments);
}
-function YQ(e, t) {
+function XQ(e, t) {
if (e == null) return {};
- var n, r, i = iVe(e, t);
+ var n, r, i = rVe(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 iVe(e, t) {
+function rVe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -78765,25 +78834,25 @@ function iVe(e, t) {
}
return n;
}
-function aVe(e, t) {
- return lVe(e) || cVe(e, t) || sVe(e, t) || oVe();
+function iVe(e, t) {
+ return cVe(e) || sVe(e, t) || oVe(e, t) || aVe();
}
-function oVe() {
+function aVe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function sVe(e, t) {
+function oVe(e, t) {
if (e) {
- if (typeof e == "string") return XQ(e, t);
+ if (typeof e == "string") return ZQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? XQ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ZQ(e, t) : void 0;
}
}
-function XQ(e, t) {
+function ZQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function cVe(e, t) {
+function sVe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78804,14 +78873,14 @@ function cVe(e, t) {
return s;
}
}
-function lVe(e) {
+function cVe(e) {
if (Array.isArray(e)) return e;
}
-function ZQ(e, t) {
+function QQ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var QQ = (e, t, n, r, i) => {
- var a = pK(n), o = pK(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 $Q = (e, t, n, r, i) => {
+ var a = mK(n), o = mK(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,
@@ -78822,44 +78891,44 @@ var QQ = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = mK(GBe ||= ZQ([
+ d = hK(WBe ||= QQ([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += mK(KBe ||= ZQ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += hK(GBe ||= QQ([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += mK(qBe ||= ZQ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += hK(KBe ||= QQ([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += mK(JBe ||= ZQ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += hK(qBe ||= QQ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += mK(YBe ||= ZQ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += hK(JBe ||= QQ([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += mK(XBe ||= ZQ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += hK(YBe ||= QQ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += mK(ZBe ||= ZQ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += hK(XBe ||= QQ([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += mK(QBe ||= ZQ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += hK(ZBe ||= QQ([
"A ",
",",
",0,0,",
@@ -78869,8 +78938,8 @@ var QQ = (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 = mK($Be ||= ZQ(/* @__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 = mK(eVe ||= ZQ([
+ d = hK(QBe ||= QQ(/* @__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 = hK($Be ||= QQ([
"M ",
",",
" h ",
@@ -78879,7 +78948,7 @@ var QQ = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, $Q = {
+}, e$ = {
x: 0,
y: 0,
width: 0,
@@ -78890,15 +78959,15 @@ var QQ = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, e$ = (e) => {
- var t = Fq(e, $Q), n = (0, b.useRef)(null), r = aVe((0, b.useState)(-1), 2), i = r[0], a = r[1];
+}, t$ = (e) => {
+ var t = Iq(e, e$), n = (0, b.useRef)(null), r = iVe((0, b.useState)(-1), 2), i = r[0], a = r[1];
(0, b.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && a(e);
} catch {}
}, []);
- var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = GQ((0, b.useMemo)(() => ({
+ var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = KQ((0, b.useMemo)(() => ({
x: o,
y: s,
width: c,
@@ -78914,21 +78983,21 @@ var QQ = (e, t, n, r, i) => {
if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;
var C = wv("recharts-rectangle", d);
if (!g) {
- var w = tK(t);
+ var w = nK(t);
w.radius;
- var T = YQ(w, UBe);
- return /*#__PURE__*/ b.createElement("path", JQ({}, T, {
- x: pK(o),
- y: pK(s),
- width: pK(c),
- height: pK(l),
+ var T = XQ(w, HBe);
+ return /*#__PURE__*/ b.createElement("path", YQ({}, T, {
+ x: mK(o),
+ y: mK(s),
+ width: mK(c),
+ height: mK(l),
radius: typeof u == "number" ? u : void 0,
className: C,
- d: QQ(o, s, c, l, u)
+ d: $Q(o, s, c, l, u)
}));
}
- var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = HBe(["strokeDasharray"], p, typeof f == "string" ? f : $Q.animationEasing);
- return /*#__PURE__*/ b.createElement(WQ, {
+ var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = VBe(["strokeDasharray"], p, typeof f == "string" ? f : e$.animationEasing);
+ return /*#__PURE__*/ b.createElement(GQ, {
animationId: S,
key: S,
canBegin: i > 0,
@@ -78937,26 +79006,26 @@ var QQ = (e, t, n, r, i) => {
isActive: g,
begin: m
}, (e) => {
- var r = CK(E, c, e), i = CK(D, l, e), a = CK(O, o, e), d = CK(k, s, e);
+ var r = wK(E, c, e), i = wK(D, l, e), a = wK(O, o, e), d = wK(k, s, e);
n.current && (_.current = r, v.current = i, y.current = a, x.current = d);
var f = h ? e > 0 ? {
transition: M,
strokeDasharray: j
- } : { strokeDasharray: A } : { strokeDasharray: j }, p = tK(t);
+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = nK(t);
p.radius;
- var m = YQ(p, WBe);
- return /*#__PURE__*/ b.createElement("path", JQ({}, m, {
+ var m = XQ(p, UBe);
+ return /*#__PURE__*/ b.createElement("path", YQ({}, m, {
radius: typeof u == "number" ? u : void 0,
className: C,
- d: QQ(a, d, r, i, u),
+ d: $Q(a, d, r, i, u),
ref: n,
- style: qQ(qQ({}, f), t.style)
+ style: JQ(JQ({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function t$(e, t) {
+function lVe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78969,9 +79038,9 @@ function t$(e, t) {
function uVe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? t$(Object(n), !0).forEach(function(t) {
+ t % 2 ? lVe(Object(n), !0).forEach(function(t) {
dVe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t$(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lVe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -79092,7 +79161,7 @@ function a$() {
function o$(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var kVe = (e, t) => hK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) => {
+var kVe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / n$, d = c ? i : i + a * u, f = i$(t, n, l, d), p = i$(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -79101,7 +79170,7 @@ var kVe = (e, t) => hK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
theta: u
};
}, AVe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = kVe(a, o), c = a + s, l = i$(t, n, i, a), u = i$(t, n, i, c), d = mK(SVe ||= o$([
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = kVe(a, o), c = a + s, l = i$(t, n, i, a), u = i$(t, n, i, c), d = hK(SVe ||= o$([
"M ",
",",
"\n A ",
@@ -79114,7 +79183,7 @@ var kVe = (e, t) => hK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = i$(t, n, r, a), p = i$(t, n, r, c);
- d += mK(CVe ||= o$([
+ d += hK(CVe ||= o$([
"L ",
",",
"\n A ",
@@ -79125,14 +79194,14 @@ var kVe = (e, t) => hK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += mK(wVe ||= o$([
+ } else d += hK(wVe ||= o$([
"L ",
",",
" Z"
]), t, n);
return d;
}, jVe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = hK(l - c), d = s$({
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = gK(l - c), d = s$({
cx: t,
cy: n,
radius: i,
@@ -79149,7 +79218,7 @@ var kVe = (e, t) => hK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;
- if (y < 0) return o ? mK(TVe ||= o$([
+ if (y < 0) return o ? hK(TVe ||= o$([
"M ",
",",
"\n a",
@@ -79167,7 +79236,7 @@ var kVe = (e, t) => hK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
startAngle: c,
endAngle: l
});
- var b = mK(EVe ||= o$([
+ var b = hK(EVe ||= o$([
"M ",
",",
"\n A",
@@ -79209,7 +79278,7 @@ var kVe = (e, t) => hK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
cornerIsExternal: s
}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;
if (k < 0 && a === 0) return `${b}L${t},${n}Z`;
- b += mK(DVe ||= o$([
+ b += hK(DVe ||= o$([
"L",
",",
"\n A",
@@ -79230,7 +79299,7 @@ var kVe = (e, t) => hK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
",",
"Z"
]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);
- } else b += mK(OVe ||= o$([
+ } else b += hK(OVe ||= o$([
"L",
",",
"Z"
@@ -79247,9 +79316,9 @@ var kVe = (e, t) => hK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, c$ = (e) => {
- var t = Fq(e, MVe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
+ var t = Iq(e, MVe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
if (a < i || l === u) return null;
- var f = wv("recharts-sector", d), p = a - i, m = xK(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? jVe({
+ var f = wv("recharts-sector", d), p = a - i, m = SK(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? jVe({
cx: n,
cy: r,
innerRadius: i,
@@ -79267,7 +79336,7 @@ var kVe = (e, t) => hK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ b.createElement("path", a$({}, tK(t), {
+ return /*#__PURE__*/ b.createElement("path", a$({}, nK(t), {
className: f,
d: h
}));
@@ -79289,7 +79358,7 @@ function NVe(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (jq(t)) {
+ if (Mq(t)) {
if (e === "centric") {
var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = i$(r, i, a, s), l = i$(r, i, o, s);
return [{
@@ -79306,7 +79375,7 @@ function NVe(e, t, n) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
function PVe(e) {
- return lK(e) ? NaN : Number(e);
+ return uK(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
@@ -79316,7 +79385,7 @@ function l$(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
function FVe(e, t, n) {
- n && typeof n != "number" && FJ(e, t, n) && (t = n = void 0), e = l$(e), t === void 0 ? (t = e, e = 0) : t = l$(t), n = n === void 0 ? e < t ? 1 : -1 : l$(n);
+ n && typeof n != "number" && IJ(e, t, n) && (t = n = void 0), e = l$(e), t === void 0 ? (t = e, e = 0) : t = l$(t), n = n === void 0 ? e < t ? 1 : -1 : l$(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;
@@ -79388,7 +79457,7 @@ function WVe(e) {
function m$(e) {
if (Array.isArray(e) && e.length === 2) {
var t = p$(e, 2), n = t[0], r = t[1];
- if (JX(n) && JX(r)) return !0;
+ if (YX(n) && YX(r)) return !0;
}
return !1;
}
@@ -79398,9 +79467,9 @@ function GVe(e, t, n) {
function KVe(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var n = p$(e, 2), r = n[0], i = n[1], a, o;
- if (JX(r)) a = r;
+ if (YX(r)) a = r;
else if (typeof r == "function") return;
- if (JX(i)) o = i;
+ if (YX(i)) o = i;
else if (typeof i == "function") return;
var s = [a, o];
if (m$(s)) return s;
@@ -79415,12 +79484,12 @@ function qVe(e, t, n) {
if (Array.isArray(e) && e.length === 2) {
var i = p$(e, 2), a = i[0], o = i[1], s, c;
if (a === "auto") t != null && (s = Math.min(...t));
- else if (vK(a)) s = a;
+ else if (yK(a)) s = a;
else if (typeof a == "function") try {
t != null && (s = a(t?.[0]));
} catch {}
- else if (typeof a == "string" && sZ.test(a)) {
- var l = sZ.exec(a);
+ else if (typeof a == "string" && cZ.test(a)) {
+ var l = cZ.exec(a);
if (l == null || l[1] == null || t == null) s = void 0;
else {
var u = +l[1];
@@ -79428,12 +79497,12 @@ function qVe(e, t, n) {
}
} else s = t?.[0];
if (o === "auto") t != null && (c = Math.max(...t));
- else if (vK(o)) c = o;
+ else if (yK(o)) c = o;
else if (typeof o == "function") try {
t != null && (c = o(t?.[1]));
} catch {}
- else if (typeof o == "string" && cZ.test(o)) {
- var d = cZ.exec(o);
+ else if (typeof o == "string" && lZ.test(o)) {
+ var d = lZ.exec(o);
if (d == null || d[1] == null || t == null) c = void 0;
else {
var f = +d[1];
@@ -79999,7 +80068,7 @@ var tHe = (e) => {
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
function k$(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return $X(e, t) ? "category" : "number";
+ if (e != null) return eZ(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
@@ -80082,22 +80151,22 @@ var hHe = {
niceTicks: "auto"
}, j$ = Y([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, UZ], (e, t) => {
+}, WZ], (e, t) => {
if (e != null) return e;
var n = k$(t, "angleAxis", hHe.type) ?? "category";
return A$(A$({}, hHe), {}, { type: n });
-}), M$ = Y([(e, t) => e.polarAxis.radiusAxis[t], UZ], (e, t) => {
+}), M$ = Y([(e, t) => e.polarAxis.radiusAxis[t], WZ], (e, t) => {
if (e != null) return e;
var n = k$(t, "radiusAxis", gHe.type) ?? "category";
return A$(A$({}, gHe), {}, { type: n });
}), N$ = (e) => e.polarOptions, P$ = Y([
- fZ,
pZ,
- yZ
+ mZ,
+ bZ
], hVe), _He = Y([N$, P$], (e, t) => {
- if (e != null) return xK(e.innerRadius, t, 0);
+ if (e != null) return SK(e.innerRadius, t, 0);
}), vHe = Y([N$, P$], (e, t) => {
- if (e != null) return xK(e.outerRadius, t, t * .8);
+ if (e != null) return SK(e.outerRadius, t, t * .8);
}), yHe = Y([N$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), bHe = Y([j$, yHe], O$), xHe = Y([
P$,
_He,
@@ -80105,18 +80174,18 @@ var hHe = {
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
}), SHe = Y([M$, xHe], O$), F$ = Y([
- BZ,
+ VZ,
N$,
_He,
vHe,
- fZ,
- pZ
+ pZ,
+ mZ
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var o = t.cx, s = t.cy, c = t.startAngle, l = t.endAngle;
return {
- cx: xK(o, i, i / 2),
- cy: xK(s, a, a / 2),
+ cx: SK(o, i, i / 2),
+ cy: SK(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -80139,7 +80208,7 @@ function z$(e, t, n) {
if (t != null && t.length !== 0) {
var n = R$(e);
t.forEach((t, r) => {
- var i = o == null || a ? r : String(QX(t, o, null)), c = QX(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};
+ var i = o == null || a ? r : String($X(t, o, null)), c = $X(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};
Object.assign(l, { [n]: c }), s.set(i, l);
});
}
@@ -80168,7 +80237,7 @@ function CHe(e, t) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
var U$ = (e) => {
- var t = BZ(e);
+ var t = VZ(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
}, W$ = (e) => e.tooltip.settings.axisId;
//#endregion
@@ -80220,7 +80289,7 @@ var wHe = (e, t) => {
if (!m$(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- JX(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ YX(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
}
return n !== void 0 && r !== void 0 ? [n, r] : void 0;
}
@@ -82555,7 +82624,7 @@ var cKe = /* @__PURE__ */ s({
function lKe(e) {
var t = cKe;
if (e in t && typeof t[e] == "function") return t[e]();
- var n = `scale${EK(e)}`;
+ var n = `scale${DK(e)}`;
if (n in t && typeof t[n] == "function") return t[n]();
}
function uKe(e, t, n) {
@@ -82571,7 +82640,7 @@ function z0(e, t, n, r) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
function dKe(e) {
- return `scale${EK(e)}`;
+ return `scale${DK(e)}`;
}
function fKe(e) {
return dKe(e) in cKe;
@@ -82810,9 +82879,9 @@ var X0 = (e) => e.graphicalItems.cartesianItems, MKe = Y([I$, L$], Y0), Z0 = (e,
], Z0, { memoizeOptions: { resultEqualityCheck: H$ } }), NKe = Y([Q0], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(B$)), PKe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), FKe = Y([Q0], PKe), $0 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), IKe = Y([Q0], (e) => e.some((e) => !e.data)), LKe = Y([Q0], $0, { memoizeOptions: { resultEqualityCheck: H$ } }), e2 = (e, t) => {
var n = t.chartData, r = n === void 0 ? [] : n, i = t.dataStartIndex, a = t.dataEndIndex;
return e.length > 0 ? e : r.slice(i, a + 1);
-}, t2 = Y([LKe, f$], e2), RKe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: QX(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: QX(e, t.dataKey) })), zKe = (e, t, n, r, i, a) => {
+}, t2 = Y([LKe, f$], e2), RKe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: $X(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: $X(e, t.dataKey) })), zKe = (e, t, n, r, i, a) => {
var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = RKe(e, t, n);
- return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: QX(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;
+ return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: $X(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;
}, n2 = Y([
t2,
q0,
@@ -82822,9 +82891,9 @@ var X0 = (e) => e.graphicalItems.cartesianItems, MKe = Y([I$, L$], Y0), Z0 = (e,
LKe
], zKe);
function r2(e) {
- if (yK(e) || e instanceof Date) {
+ if (bK(e) || e instanceof Date) {
var t = Number(e);
- if (JX(t)) return t;
+ if (YX(t)) return t;
}
}
function BKe(e) {
@@ -82836,7 +82905,7 @@ function BKe(e) {
if (n != null) return [n, n];
}
function i2(e) {
- return e.map(r2).filter(DK);
+ return e.map(r2).filter(OK);
}
function VKe(e, t) {
var n = r2(e), r = r2(t);
@@ -82853,18 +82922,18 @@ function UKe(e, t) {
function WKe(e, t, n) {
if (!n || !n.length) return [];
var r;
- if (typeof t == "number" && !gK(t)) r = t;
+ if (typeof t == "number" && !_K(t)) r = t;
else if (Array.isArray(t)) {
var i = i2(t);
i.length > 0 && (r = Math.max(...i));
}
return r == null ? [] : i2(n.flatMap((t) => {
- var n = QX(e, t.dataKey), i, a;
+ var n = $X(e, t.dataKey), i, a;
if (Array.isArray(n)) {
var o = xKe(n, 2);
i = o[0], a = o[1];
} else i = a = n;
- if (JX(i) && JX(a)) return [r - i, r + a];
+ if (YX(i) && YX(a)) return [r - i, r + a];
}));
}
var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), GKe = Y([
@@ -82880,7 +82949,7 @@ var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), GKe = Y([
return Object.fromEntries(Object.entries(i).map((t) => {
var i = xKe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
return [a, {
- stackedData: $Le(e, s.map(R$), n),
+ stackedData: QLe(e, s.map(R$), n),
graphicalItems: s
}];
}));
@@ -82891,7 +82960,7 @@ var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), GKe = Y([
x$
], s2), KKe = (e, t, n, r) => {
var i = t.dataStartIndex, a = t.dataEndIndex;
- if (r == null && n !== "zAxis") return nRe(e, i, a);
+ if (r == null && n !== "zAxis") return tRe(e, i, a);
}, qKe = Y([q0], (e) => e.allowDataOverflow), l2 = (e) => {
if (e == null || !("domain" in e)) return V0;
if (e.domain != null) return e.domain;
@@ -82919,7 +82988,7 @@ var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), GKe = Y([
if (n.length > 0 && n.forEach((e) => {
var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => UKe(i, e));
n.forEach((n) => {
- var r = QX(n, t.dataKey ?? e.dataKey), i = WKe(n, r, c);
+ var r = $X(n, t.dataKey ?? e.dataKey), i = WKe(n, r, c);
if (i.length >= 2) {
var a = Math.min(...i), l = Math.max(...i);
(o == null || a < o) && (o = a), (s == null || l > s) && (s = l);
@@ -82928,9 +82997,9 @@ var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), GKe = Y([
u != null && (o = o == null ? u[0] : Math.min(o, u[0]), s = s == null ? u[1] : Math.max(s, u[1]));
});
}), t?.dataKey != null && n.length === 0 && e.forEach((e) => {
- var n = BKe(QX(e, t.dataKey));
+ var n = BKe($X(e, t.dataKey));
n != null && (o = o == null ? n[0] : Math.min(o, n[0]), s = s == null ? n[1] : Math.max(s, n[1]));
- }), JX(o) && JX(s)) return [o, s];
+ }), YX(o) && YX(s)) return [o, s];
}, XKe = Y([
t2,
q0,
@@ -82941,11 +83010,11 @@ var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), GKe = Y([
], m2, { memoizeOptions: { resultEqualityCheck: V$ } });
function ZKe(e) {
var t = e.value;
- if (yK(t) || t instanceof Date) return t;
+ if (bK(t) || t instanceof Date) return t;
}
var QKe = (e, t, n) => {
var r = e.map(ZKe).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && SK(r)) ? FVe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && CK(r)) ? FVe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
}, $Ke = (e) => e.referenceElements.dots, h2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), eqe = Y([
$Ke,
I$,
@@ -82995,7 +83064,7 @@ var dqe = (e, t) => {
JKe,
XKe,
fqe,
- BZ,
+ VZ,
I$,
Y([q0], (e) => {
if (e != null && e.type === "number" && "ticks" in e && e.ticks != null) {
@@ -83005,12 +83074,12 @@ var dqe = (e, t) => {
}, { memoizeOptions: { resultEqualityCheck: V$ } })
], g2, { memoizeOptions: { resultEqualityCheck: V$ } }), mqe = [0, 1], _2 = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
- var s = e.dataKey, c = e.type, l = $X(t, a);
+ var s = e.dataKey, c = e.type, l = eZ(t, a);
return l && s == null ? FVe(0, n?.length ?? 0) : c === "category" ? QKe(r, e, l) : i === "expand" && !l ? mqe : o;
}
}, v2 = Y([
q0,
- BZ,
+ VZ,
t2,
n2,
b$,
@@ -83063,12 +83132,12 @@ var dqe = (e, t) => {
}
return n / o;
}
-}), BZ, y$, yZ, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!JX(e)) return 0;
+}), VZ, y$, bZ, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!YX(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = xK(n, e * a), s = e * a / 2;
+ var o = SK(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
@@ -83105,20 +83174,20 @@ var dqe = (e, t) => {
bottom: (n.bottom ?? 0) + t
};
}), xqe = Y([
- yZ,
+ bZ,
yqe,
+ TZ,
wZ,
- CZ,
(e, t, n) => n
], (e, t, n, r, i) => {
var a = r.padding;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
}), Sqe = Y([
- yZ,
- BZ,
+ bZ,
+ VZ,
bqe,
+ TZ,
wZ,
- CZ,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var o = i.padding;
@@ -83140,10 +83209,10 @@ var dqe = (e, t) => {
], z0), T2 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var i = n.type, a = n.scale;
- if ($X(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (eZ(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
}, E2 = Y([
- BZ,
+ VZ,
n2,
J0,
I$
@@ -83156,7 +83225,7 @@ Y([w2], gKe), Y([w2, HKe], hKe), Y([
function wqe(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(hZ, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(wqe)), Eqe = Y(gZ, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(wqe)), Dqe = (e, t) => {
+var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(gZ, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(wqe)), Eqe = Y(_Z, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(wqe)), Dqe = (e, t) => {
var n = typeof t.height == "number" ? t.height : 30;
return {
width: e.width,
@@ -83165,7 +83234,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(hZ, O2, k2, (e, t, n) => e.fi
}, Oqe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), kqe = Y(yZ, U0, Dqe), Aqe = (e, t, n) => {
+}), kqe = Y(bZ, U0, Dqe), Aqe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
@@ -83177,7 +83246,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(hZ, O2, k2, (e, t, n) => e.fi
case "right": return n - e.right;
default: return 0;
}
-}, Mqe = Y(pZ, yZ, Tqe, O2, k2, (e, t, n, r, i) => {
+}, Mqe = Y(mZ, bZ, Tqe, O2, k2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = Dqe(t, n);
@@ -83185,7 +83254,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(hZ, O2, k2, (e, t, n) => e.fi
var c = r === "top" && !i || r === "bottom" && i;
a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;
}), a;
-}), Nqe = Y(fZ, yZ, Eqe, O2, k2, (e, t, n, r, i) => {
+}), Nqe = Y(pZ, bZ, Eqe, O2, k2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = Oqe(t, n);
@@ -83194,7 +83263,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(hZ, O2, k2, (e, t, n) => e.fi
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
}), Pqe = Y([
- yZ,
+ bZ,
U0,
(e, t) => {
var n = U0(e, t);
@@ -83213,7 +83282,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(hZ, O2, k2, (e, t, n) => e.fi
};
}
}), Fqe = Y([
- yZ,
+ bZ,
G0,
(e, t) => {
var n = G0(e, t);
@@ -83231,7 +83300,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(hZ, O2, k2, (e, t, n) => e.fi
y: e.top
};
}
-}), Iqe = Y(yZ, G0, (e, t) => ({
+}), Iqe = Y(bZ, G0, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
})), Lqe = (e, t, n) => {
@@ -83242,16 +83311,16 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(hZ, O2, k2, (e, t, n) => e.fi
}
}, Rqe = (e, t, n, r) => {
if (n != null) {
- var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = $X(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
- if (o && s && a === "category" && i && SK(l)) return c;
+ var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = eZ(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
+ if (o && s && a === "category" && i && CK(l)) return c;
}
}, A2 = Y([
- BZ,
+ VZ,
n2,
q0,
I$
], Rqe), zqe = Y([
- BZ,
+ VZ,
AKe,
y2,
D2,
@@ -83262,7 +83331,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(hZ, O2, k2, (e, t, n) => e.fi
I$
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = $X(e, c);
+ var l = eZ(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -83286,45 +83355,45 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(hZ, O2, k2, (e, t, n) => e.fi
}
}), Bqe = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = $X(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? hK(a[0] - a[1]) * 2 * m : m;
+ var l = eZ(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? gK(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
- return JX(i) ? {
+ return YX(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(DK) : l && s ? s.map((e, t) => {
+ }).filter(OK) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return JX(n) ? {
+ return YX(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(DK) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(OK) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return JX(n) ? {
+ return YX(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(DK) : r.domain().map((e, t) => {
+ }).filter(OK) : r.domain().map((e, t) => {
var n = r.map(e);
- return JX(n) ? {
+ return YX(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(DK);
+ }).filter(OK);
}
}, Vqe = Y([
- BZ,
+ VZ,
J0,
y2,
D2,
@@ -83335,35 +83404,35 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Tqe = Y(hZ, O2, k2, (e, t, n) => e.fi
I$
], Bqe), Hqe = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = $X(e, o), c = t.tickCount, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? hK(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = eZ(e, o), c = t.tickCount, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? gK(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return JX(r) ? {
+ return YX(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(DK) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(OK) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return JX(r) ? {
+ return YX(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(DK) : n.domain().map((e, t) => {
+ }).filter(OK) : n.domain().map((e, t) => {
var r = n.map(e);
- return JX(r) ? {
+ return YX(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(DK);
+ }).filter(OK);
}
}, j2 = Y([
- BZ,
+ VZ,
J0,
D2,
C2,
@@ -83382,9 +83451,9 @@ Y((e, t, n) => K0(e, n), Y([Y([
if (e != null && t != null) return B0(B0({}, e), {}, { scale: t });
});
var Uqe = Y([
- BZ,
- hZ,
- gZ
+ VZ,
+ gZ,
+ _Z
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -83422,14 +83491,14 @@ function qqe(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var Jqe = (e, t) => {
var n, r = Number(t);
- if (!(gK(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+ if (!(_K(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
}, Yqe = (e) => e.tooltip.settings, P2 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, Xqe = vX({
+}, Xqe = yX({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -83462,23 +83531,23 @@ var Jqe = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(sX(t.payload));
+ e.tooltipItemPayloads.push(cX(t.payload));
},
- prepare: mX()
+ prepare: hX()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = iX(e).tooltipItemPayloads.indexOf(sX(r));
- a > -1 && (e.tooltipItemPayloads[a] = sX(i));
+ var n = t.payload, r = n.prev, i = n.next, a = aX(e).tooltipItemPayloads.indexOf(cX(r));
+ a > -1 && (e.tooltipItemPayloads[a] = cX(i));
},
- prepare: mX()
+ prepare: hX()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = iX(e).tooltipItemPayloads.indexOf(sX(t.payload));
+ var n = aX(e).tooltipItemPayloads.indexOf(cX(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: mX()
+ prepare: hX()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -83596,14 +83665,14 @@ function gJe(e, t) {
}
function _Je(e, t, n) {
if (n == null || t == null) return !0;
- var r = QX(e, t);
+ var r = $X(e, t);
return r == null || !m$(n) || gJe(r, n);
}
var z2 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!JX(a)) return i;
+ if (!YX(a)) return i;
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
@@ -83710,27 +83779,27 @@ var MJe = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var s = n.chartData, c = n.computedData, l = n.dataStartIndex, u = n.dataEndIndex;
return e.reduce((e, n) => {
- var d = n.dataDefinedOnItem, f = n.settings, p = jJe(d, s), m = Array.isArray(p) ? qX(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
- return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = wK(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
+ var d = n.dataDefinedOnItem, f = n.settings, p = jJe(d, s), m = Array.isArray(p) ? JX(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
+ return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = TK(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
var n = AJe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = SJe(SJe({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(uZ({
+ e.push(dZ({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: QX(a, i),
+ value: $X(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(uZ({
+ }) : e.push(dZ({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: QX(_, h),
- name: QX(_, g) ?? f?.name
+ value: $X(_, h),
+ name: $X(_, g) ?? f?.name
})), e;
}, []);
}
@@ -83780,7 +83849,7 @@ var MJe = (e, t, n, r, i, a, o) => {
W$
], h2), U$], sqe), G2 = Y([
a2,
- BZ,
+ VZ,
U2,
W2,
b$,
@@ -83800,7 +83869,7 @@ var MJe = (e, t, n, r, i, a, o) => {
], h2), U$], dqe),
HJe
], p2),
- BZ,
+ VZ,
U$
], g2)
], _2), UJe = Y([
@@ -83818,19 +83887,19 @@ var MJe = (e, t, n, r, i, a, o) => {
UJe,
GJe
], z0)], G$), K2 = Y([
- BZ,
+ VZ,
a2,
V2,
KJe,
WJe,
Y([
- BZ,
+ VZ,
W2,
a2,
U$
], Rqe),
Y([
- BZ,
+ VZ,
W2,
a2,
U$
@@ -83838,26 +83907,26 @@ var MJe = (e, t, n, r, i, a, o) => {
U$
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var c = t.type, l = $X(e, s);
+ var c = t.type, l = eZ(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 ? hK(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? gK(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return JX(n) ? {
+ return YX(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(DK) : r.domain().map((e, t) => {
+ }).filter(OK) : r.domain().map((e, t) => {
var n = r.map(e);
- return JX(n) ? {
+ return YX(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(DK);
+ }).filter(OK);
}
}
}), q2 = Y([
@@ -83884,10 +83953,10 @@ var MJe = (e, t, n, r, i, a, o) => {
qJe,
J2
], yJe), QJe = Y([Y2, Y([
- fZ,
pZ,
- BZ,
- yZ,
+ mZ,
+ VZ,
+ bZ,
K2,
J2,
ZJe
@@ -83952,7 +84021,7 @@ function aYe(e, t) {
}
var oYe = () => J(a2), sYe = () => {
var e = oYe(), t = J(K2), n = J(KJe);
- return lZ(!e || !n ? void 0 : nYe(nYe({}, e), {}, { scale: n }), t);
+ return uZ(!e || !n ? void 0 : nYe(nYe({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
@@ -84059,9 +84128,9 @@ var hYe = (e, t, n, r, i) => {
].some((e) => (r ? e >= t : e > t) && e <= n), c = 0; c < a; c++) {
var l = c > 0 ? n[c - 1]?.coordinate : n[a - 1]?.coordinate, u = n[c]?.coordinate, d = c >= a - 1 ? n[0]?.coordinate : n[c + 1]?.coordinate, f = void 0;
if (l != null && u != null && d != null) {
- if (hK(u - l) !== hK(d - u)) {
+ if (gK(u - l) !== gK(d - u)) {
var p = [];
- if (hK(d - u) === hK(i[1] - i[0])) {
+ if (gK(d - u) === gK(i[1] - i[0])) {
f = d;
var m = u + i[1] - i[0];
p[0] = Math.min(m, (m + l) / 2), p[1] = Math.max(m, (m + l) / 2);
@@ -84086,7 +84155,7 @@ var hYe = (e, t, n, r, i) => {
}
}
return -1;
-}, gYe = () => J(S$), Q2 = (e, t) => t, _Ye = (e, t, n) => n, $2 = (e, t, n, r) => r, vYe = Y(K2, (e) => LJ(e, (e) => e.coordinate)), e4 = Y([
+}, gYe = () => J(S$), Q2 = (e, t) => t, _Ye = (e, t, n) => n, $2 = (e, t, n, r) => r, vYe = Y(K2, (e) => RJ(e, (e) => e.coordinate)), e4 = Y([
B2,
Q2,
_Ye,
@@ -84107,10 +84176,10 @@ var hYe = (e, t, n, r, i) => {
_Ye,
$2
], yJe), n4 = Y([
- fZ,
pZ,
- BZ,
- yZ,
+ mZ,
+ VZ,
+ bZ,
K2,
$2,
bYe
@@ -84127,7 +84196,7 @@ var hYe = (e, t, n, r, i) => {
activeIndex: t
})), TYe = (e, t, n, r, i, a, o) => {
if (e && n && r && i && mYe(e, o)) {
- var s = hYe(rRe(e, t), a, i, n, r), c = fYe(t, i, s, e);
+ var s = hYe(nRe(e, t), a, i, n, r), c = fYe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
@@ -84137,7 +84206,7 @@ var hYe = (e, t, n, r, i) => {
if (e && r && i && a && n) {
var s = bVe(e, n);
if (s) {
- var c = hYe(iRe(s, t), o, a, r, i), l = pYe(t, a, c, s);
+ var c = hYe(rRe(s, t), o, a, r, i), l = pYe(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
@@ -84208,7 +84277,7 @@ var FYe = { zIndexMap: Object.values(T$).reduce((e, t) => jYe(jYe({}, e), {}, {
function LYe(e) {
return IYe.has(e);
}
-var RYe = vX({
+var RYe = yX({
name: "zIndex",
initialState: FYe,
reducers: {
@@ -84221,39 +84290,39 @@ var RYe = vX({
panoramaElement: void 0
};
},
- prepare: mX()
+ prepare: hX()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var n = t.payload.zIndex;
e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !LYe(n) && delete e.zIndexMap[n]);
},
- prepare: mX()
+ prepare: hX()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var n = t.payload, r = n.zIndex, i = n.element, a = n.isPanorama;
- e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = sX(i) : e.zIndexMap[r].element = sX(i) : e.zIndexMap[r] = {
+ e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = cX(i) : e.zIndexMap[r].element = cX(i) : e.zIndexMap[r] = {
consumers: 0,
- element: a ? void 0 : sX(i),
- panoramaElement: a ? sX(i) : void 0
+ element: a ? void 0 : cX(i),
+ panoramaElement: a ? cX(i) : void 0
};
},
- prepare: mX()
+ prepare: hX()
},
unregisterZIndexPortalElement: {
reducer: (e, t) => {
var n = t.payload.zIndex;
e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);
},
- prepare: mX()
+ prepare: hX()
}
}
}), r4 = RYe.actions, zYe = r4.registerZIndexPortal, i4 = r4.unregisterZIndexPortal, BYe = r4.registerZIndexPortalElement, VYe = r4.unregisterZIndexPortalElement, HYe = RYe.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function a4(e) {
- var t = e.zIndex, n = e.children, r = BRe() && t !== void 0 && t !== 0, i = SZ(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = OJ(), c = J((e) => OYe(e, t, i));
+ var t = e.zIndex, n = e.children, r = zRe() && t !== void 0 && t !== 0, i = CZ(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = kJ(), c = J((e) => OYe(e, t, i));
if ((0, b.useLayoutEffect)(() => {
if (!r) {
var e = o.current;
@@ -84345,9 +84414,9 @@ function JYe(e) {
var t = e.coordinate, n = e.payload, r = e.index, i = e.offset, a = e.tooltipAxisBandSize, o = e.layout, s = e.cursor, c = e.tooltipEventType, l = e.chartName, 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 = yBe, h = T$.cursorLine;
- else if (l === "BarChart") p = bBe(o, u, i, a), m = e$, h = T$.cursorRectangle;
- else if (o === "radial" && jq(u)) {
+ if (l === "ScatterChart") p = u, m = vBe, h = T$.cursorLine;
+ else if (l === "BarChart") p = yBe(o, u, i, a), m = t$, h = T$.cursorRectangle;
+ else if (o === "radial" && Mq(u)) {
var g = xVe(u), _ = g.cx, v = g.cy, y = g.radius;
p = {
cx: _,
@@ -84357,11 +84426,11 @@ function JYe(e) {
innerRadius: y,
outerRadius: y
}, m = c$, h = T$.cursorLine;
- } else p = { points: NVe(o, u, i) }, m = kQ, h = T$.cursorLine;
+ } else p = { points: NVe(o, u, i) }, m = AQ, h = T$.cursorLine;
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = s4(s4(s4(s4({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), eK(s)), {}, {
+ }, i), p), tK(s)), {}, {
payload: d,
payloadIndex: f,
className: wv("recharts-tooltip-cursor", x)
@@ -84373,7 +84442,7 @@ function JYe(e) {
}));
}
function YYe(e) {
- var t = sYe(), n = LZ(), r = VZ(), i = gYe();
+ var t = sYe(), n = RZ(), r = HZ(), i = gYe();
return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(JYe, o4({}, e, {
offset: n,
layout: r,
@@ -84473,9 +84542,9 @@ var XYe = /*#__PURE__*/ (0, b.createContext)(null), ZYe = () => (0, b.useContext
})))(), 1)).default, c4 = new QYe(), l4 = "recharts.syncEvent.tooltip", $Ye = "recharts.syncEvent.brush", u4 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!gK(n)) return e[n];
+ if (!_K(n)) return e[n];
}
-}, eXe = vX({
+}, eXe = yX({
name: "options",
initialState: {
chartName: "",
@@ -84492,7 +84561,7 @@ var XYe = /*#__PURE__*/ (0, b.createContext)(null), ZYe = () => (0, b.useContext
function rXe(e) {
return e.tooltip.syncInteraction;
}
-var iXe = vX({
+var iXe = yX({
name: "chartData",
initialState: {
chartData: void 0,
@@ -84502,7 +84571,7 @@ var iXe = vX({
},
reducers: {
setChartData(e, t) {
- e.chartData = sX(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);
+ e.chartData = cX(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);
},
setComputedData(e, t) {
e.computedData = t.payload;
@@ -84577,9 +84646,9 @@ function mXe(e, t) {
return n;
}
function hXe() {
- var e = J(C$), t = J(w$), n = OJ(), r = J(lHe), i = J(K2), a = VZ(), o = IZ(), s = J((e) => e.rootProps.className);
+ var e = J(C$), t = J(w$), n = kJ(), r = J(lHe), i = J(K2), a = HZ(), o = LZ(), s = J((e) => e.rootProps.className);
(0, b.useEffect)(() => {
- if (e == null) return OK;
+ if (e == null) return kK;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (c.payload.active === !1) n(I2({
@@ -84662,9 +84731,9 @@ function hXe() {
]);
}
function gXe() {
- var e = J(C$), t = J(w$), n = OJ();
+ var e = J(C$), t = J(w$), n = kJ();
(0, b.useEffect)(() => {
- if (e == null) return OK;
+ if (e == null) return kK;
var r = (r, i, a) => {
t !== a && e === r && n(oXe(i));
};
@@ -84678,13 +84747,13 @@ function gXe() {
]);
}
function _Xe() {
- var e = OJ();
+ var e = kJ();
(0, b.useEffect)(() => {
e(nXe());
}, [e]), hXe(), gXe();
}
function vXe(e, t, n, r, i, a) {
- var o = J((n) => yYe(n, e, t)), s = J(XJe), c = J(w$), l = J(C$), u = J(lHe), d = J(rXe)?.sourceViewBox != null, f = IZ();
+ var o = J((n) => yYe(n, e, t)), s = J(XJe), c = J(w$), l = J(C$), u = J(lHe), d = J(rXe)?.sourceViewBox != null, f = LZ();
(0, b.useEffect)(() => {
if (!d && l != null && c != null) {
var e = I2({
@@ -84803,7 +84872,7 @@ function AXe(e) {
return e.dataKey;
}
function jXe(e, t) {
- return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(zze, t);
+ return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(Rze, t);
}
var MXe = [], NXe = {
allowEscapeViewBox: {
@@ -84832,7 +84901,7 @@ var MXe = [], NXe = {
wrapperStyle: {}
};
function PXe(e) {
- var t = Fq(e, NXe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = OJ(), C = typeof v == "number" ? String(v) : v;
+ var t = Iq(e, NXe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = kJ(), C = typeof v == "number" ? String(v) : v;
(0, b.useEffect)(() => {
S(eJe({
shared: g,
@@ -84849,12 +84918,12 @@ function PXe(e) {
n,
C
]);
- var w = IZ(), T = yQ(), E = qqe(g), D = J((e) => wYe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => CYe(e, E, _, C)), j = J((e) => SYe(e, E, _, C)), M = J((e) => xYe(e, E, _, C)), N = A, P = ZYe(), ee = n ?? k ?? !1, F = wXe(UJ([N, ee]), 2), te = F[0], I = F[1], ne = E === "axis" ? j : void 0;
+ var w = LZ(), T = bQ(), E = qqe(g), D = J((e) => wYe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => CYe(e, E, _, C)), j = J((e) => SYe(e, E, _, C)), M = J((e) => xYe(e, E, _, C)), N = A, P = ZYe(), ee = n ?? k ?? !1, F = wXe(WJ([N, ee]), 2), te = F[0], I = F[1], ne = E === "axis" ? j : void 0;
vXe(E, _, M, ne, O, ee);
var re = y ?? P;
if (re == null || w == null || E == null) return null;
var ie = N ?? MXe;
- ee || (ie = MXe), s && ie.length && (ie = EJ(ie.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, AXe));
+ ee || (ie = MXe), s && ie.length && (ie = DJ(ie.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, AXe));
var ae = ie.length > 0, oe = bXe(bXe({}, t), {}, {
payload: ie,
label: ne,
@@ -84862,7 +84931,7 @@ function PXe(e) {
activeIndex: O,
coordinate: M,
accessibilityLayer: T
- }), se = /*#__PURE__*/ b.createElement(aBe, {
+ }), se = /*#__PURE__*/ b.createElement(iBe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -85016,7 +85085,7 @@ var YXe = (e, t) => {
}
}, m4 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || pQ.isSsr) return {
+ if (e == null || mQ.isSsr) return {
width: 0,
height: 0
};
@@ -85120,7 +85189,7 @@ var _4 = class e {
return r == null ? e.NaN : new e(parseFloat(r), i ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, gK(e) && (this.unit = ""), t !== "" && !sZe.test(t) && (this.num = NaN, this.unit = ""), dZe(t) && (this.num = fZe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, _K(e) && (this.unit = ""), t !== "" && !sZe.test(t) && (this.num = NaN, this.unit = ""), dZe(t) && (this.num = fZe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -85138,7 +85207,7 @@ var _4 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return gK(this.num);
+ return _K(this.num);
}
};
XXe = _4, nZe(_4, "NaN", new XXe(NaN, ""));
@@ -85270,7 +85339,7 @@ var OZe = /[ \f\n\r\t\v\u2028\u2029]+/, kZe = (e) => {
var t = e.children, n = e.breakAll, r = e.style;
try {
var i = [];
- return TK(t) || (i = n ? t.toString().split("") : t.toString().split(OZe)), {
+ return EK(t) || (i = n ? t.toString().split("") : t.toString().split(OZe)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: m4(e, r).width
@@ -85285,7 +85354,7 @@ function AZe(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
function jZe(e) {
- return TK(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+ return EK(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var MZe = (e, t, n, r) => e.reduce((e, i) => {
var a = i.word, o = i.width, s = e[e.length - 1];
@@ -85308,7 +85377,7 @@ var MZe = (e, t, n, r) => e.reduce((e, i) => {
var l = MZe(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || NZe(l).width > Number(a), l];
}, IZe = (e, t, n, r, i) => {
- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = vK(a), u = String(o), d = MZe(t, r, n, i);
+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = yK(a), u = String(o), d = MZe(t, r, n, i);
if (!l || i || !(d.length > a || NZe(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), _ = SZe(FZe(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = SZe(FZe(u, g, c, s, a, r, n, i), 1)[0];
@@ -85320,11 +85389,11 @@ var MZe = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, LZe = (e) => [{
- words: TK(e) ? [] : e.toString().split(OZe),
+ words: EK(e) ? [] : e.toString().split(OZe),
width: void 0
}], RZe = (e) => {
var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;
- if ((t || n) && !pQ.isSsr) {
+ if ((t || n) && !mQ.isSsr) {
var s, c, l = kZe({
breakAll: a,
children: r,
@@ -85354,7 +85423,7 @@ var MZe = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, b4 = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = Fq(e, BZe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = bZe(n, vZe), f = (0, b.useMemo)(() => RZe({
+ var n = Iq(e, BZe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = bZe(n, vZe), f = (0, b.useMemo)(() => RZe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -85369,9 +85438,9 @@ var MZe = (e, t, n, r) => e.reduce((e, i) => {
d.style,
d.width
]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = bZe(d, yZe);
- if (!yK(r) || !yK(i) || f.length === 0) return null;
- var y = Number(r) + (vK(p) ? p : 0), x = Number(i) + (vK(m) ? m : 0);
- if (!JX(y) || !JX(x)) return null;
+ if (!bK(r) || !bK(i) || f.length === 0) return null;
+ var y = Number(r) + (yK(p) ? p : 0), x = Number(i) + (yK(m) ? m : 0);
+ if (!YX(y) || !YX(x)) return null;
var S;
switch (u) {
case "start":
@@ -85385,9 +85454,9 @@ var MZe = (e, t, n, r) => e.reduce((e, i) => {
var C = [], w = f[0];
if (c && w != null) {
var T = w.width, E = d.width;
- C.push(`scale(${vK(E) && vK(T) ? E / T : 1})`);
+ C.push(`scale(${yK(E) && yK(T) ? E / T : 1})`);
}
- return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", y4({}, tK(v), {
+ return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", y4({}, nK(v), {
ref: t,
x: y,
y: x,
@@ -85495,8 +85564,8 @@ var YZe = /*#__PURE__*/ (0, b.createContext)(null), XZe = (e) => {
]);
return /*#__PURE__*/ b.createElement(YZe.Provider, { value: c }, s);
}, ZZe = () => {
- var e = (0, b.useContext)(YZe), t = IZ();
- return e || (t ? kK(t) : void 0);
+ var e = (0, b.useContext)(YZe), t = LZ();
+ return e || (t ? AK(t) : void 0);
}, QZe = /*#__PURE__*/ (0, b.createContext)(null), $Ze = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, b.useMemo)(() => ({
cx: t,
@@ -85520,9 +85589,9 @@ var YZe = /*#__PURE__*/ (0, b.createContext)(null), XZe = (e) => {
var e = (0, b.useContext)(QZe), t = J(F$);
return e || t;
}, tQe = (e) => {
- var t = e.value, n = e.formatter, r = TK(e.children) ? t : e.children;
+ var t = e.value, n = e.formatter, r = EK(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, C4 = (e) => e != null && typeof e == "function", nQe = (e, t) => hK(t - e) * Math.min(Math.abs(t - e), 360), rQe = (e, t, n, r, i) => {
+}, C4 = (e) => e != null && typeof e == "function", nQe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 360), rQe = (e, t, n, r, i) => {
var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = nQe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
@@ -85539,7 +85608,7 @@ var YZe = /*#__PURE__*/ (0, b.createContext)(null), XZe = (e) => {
v = h <= 0 ? v : !v;
var y = i$(s, c, m, _), x = i$(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${x.x},${x.y}`, C = TK(e.id) ? bK("recharts-radial-line-") : e.id;
+ ${x.x},${x.y}`, C = EK(e.id) ? xK("recharts-radial-line-") : e.id;
return /*#__PURE__*/ b.createElement("text", S4({}, r, {
dominantBaseline: "central",
className: wv("recharts-radial-bar-label", o)
@@ -85583,7 +85652,7 @@ var YZe = /*#__PURE__*/ (0, b.createContext)(null), XZe = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, w4 = (e) => e != null && "cx" in e && vK(e.cx), aQe = {
+}, w4 = (e) => e != null && "cx" in e && yK(e.cx), aQe = {
angle: 0,
offset: 5,
zIndex: T$.label,
@@ -85603,12 +85672,12 @@ function oQe(e) {
};
}
function T4(e) {
- var t = Fq(e, aQe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = eQe(), p = ZZe(), m = n == null ? i === "center" ? p : f ?? p : w4(n) ? n : kK(n), h, g, _ = oQe(m);
- if (!m || TK(a) && TK(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;
+ var t = Iq(e, aQe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = eQe(), p = ZZe(), m = n == null ? i === "center" ? p : f ?? p : w4(n) ? n : AK(n), h, g, _ = oQe(m);
+ if (!m || EK(a) && EK(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;
var v = w4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");
if (w4(m)) v || (g = iQe(m, t.offset, t.position));
else if (_) {
- var y = MK({
+ var y = NK({
viewBox: _,
position: i,
offset: t.offset,
@@ -85633,7 +85702,7 @@ function T4(e) {
var C = UZe(x, HZe);
if (h = /*#__PURE__*/ (0, b.createElement)(s, C), /*#__PURE__*/ (0, b.isValidElement)(h)) return h;
} else h = tQe(t);
- var w = tK(t);
+ var w = nK(t);
return v && w4(m) ? rQe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(b4, S4({
ref: d,
className: wv("recharts-label", l)
@@ -85649,7 +85718,7 @@ var sQe = (e, t, n) => {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ b.createElement(T4, S4({ key: "label-implicit" }, r)) : yK(e) ? /*#__PURE__*/ b.createElement(T4, S4({
+ return e === !0 ? /*#__PURE__*/ b.createElement(T4, S4({ key: "label-implicit" }, r)) : bK(e) ? /*#__PURE__*/ b.createElement(T4, S4({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, b.isValidElement)(e) ? e.type === T4 ? /*#__PURE__*/ (0, b.cloneElement)(e, x4({ key: "label-implicit" }, r)) : /*#__PURE__*/ b.createElement(T4, S4({
@@ -85718,9 +85787,9 @@ function O4(e) {
var t = e.valueAccessor, n = t === void 0 ? mQe : t, r = fQe(e, uQe), i = r.dataKey;
r.clockWise;
var a = r.id, o = r.textBreakAll, s = r.zIndex, c = fQe(r, dQe), l = vQe(), u = yQe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s ?? T$.label }, /*#__PURE__*/ b.createElement(aK, { className: "recharts-label-list" }, d.map((e, t) => {
- var s = TK(i) ? n(e, t) : QX(e.payload, i), l = TK(a) ? {} : { id: `${a}-${t}` };
- return /*#__PURE__*/ b.createElement(T4, E4({ key: `label-${t}` }, tK(e), c, l, {
+ return !d || !d.length ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s ?? T$.label }, /*#__PURE__*/ b.createElement(oK, { className: "recharts-label-list" }, d.map((e, t) => {
+ var s = EK(i) ? n(e, t) : $X(e.payload, i), l = EK(a) ? {} : { id: `${a}-${t}` };
+ return /*#__PURE__*/ b.createElement(T4, E4({ key: `label-${t}` }, nK(e), c, l, {
fill: r.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -85790,7 +85859,7 @@ var TQe = (e) => e != null && e.x === +e.x && e.y === +e.y, EQe = function() {
}, j4 = (e, t) => {
var n = EQe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => mK(xQe ||= wQe([
+ var r = n.map((e) => e.reduce((e, t, n) => hK(xQe ||= wQe([
"",
"",
"",
@@ -85807,20 +85876,20 @@ var TQe = (e) => e != null && e.x === +e.x && e.y === +e.y, EQe = function() {
var o = wv("recharts-polygon", n);
if (r && r.length) {
var s = a.stroke && a.stroke !== "none", c = DQe(t, r, i);
- return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", A4({}, tK(a), {
+ return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", A4({}, nK(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ b.createElement("path", A4({}, tK(a), {
+ })), s ? /*#__PURE__*/ b.createElement("path", A4({}, nK(a), {
fill: "none",
d: j4(t, i)
- })) : null, s ? /*#__PURE__*/ b.createElement("path", A4({}, tK(a), {
+ })) : null, s ? /*#__PURE__*/ b.createElement("path", A4({}, nK(a), {
fill: "none",
d: j4(r, i)
})) : null);
}
var l = j4(t, i);
- return /*#__PURE__*/ b.createElement("path", A4({}, tK(a), {
+ return /*#__PURE__*/ b.createElement("path", A4({}, nK(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -85839,7 +85908,7 @@ function M4() {
}
var N4 = (e) => {
var t = e.cx, n = e.cy, r = e.r, i = e.className, a = wv("recharts-dot", i);
- return vK(t) && vK(n) && vK(r) ? /*#__PURE__*/ b.createElement("circle", M4({}, $G(e), Mq(e), {
+ return yK(t) && yK(n) && yK(r) ? /*#__PURE__*/ b.createElement("circle", M4({}, eK(e), Nq(e), {
className: a,
cx: t,
cy: n,
@@ -85859,18 +85928,18 @@ Y([
q0,
F4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: QX(e, t.dataKey ?? n.dataKey),
+ value: $X(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: QX(e, t.dataKey),
+ value: $X(e, t.dataKey),
errorDomain: []
})));
var AQe = () => void 0, jQe = Y([
q0,
- BZ,
+ VZ,
I4,
kQe,
b$,
@@ -85889,7 +85958,7 @@ var AQe = () => void 0, jQe = Y([
RVe
], m2),
AQe,
- BZ,
+ VZ,
I$
], g2)
], _2), MQe = Y([
@@ -85919,12 +85988,12 @@ var AQe = () => void 0, jQe = Y([
NQe,
R4
], z0)], G$), PQe = Y([
- BZ,
+ VZ,
kQe,
J0,
I$
], T2), B4 = Y([
- BZ,
+ VZ,
L4,
y2,
z4,
@@ -85942,7 +86011,7 @@ var AQe = () => void 0, jQe = Y([
}), Array.from(t.values());
}
}), IQe = Y([
- BZ,
+ VZ,
L4,
z4,
R4,
@@ -86045,7 +86114,7 @@ var KQe = (e, t, n, r) => {
}, qQe = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;
if (!a || !a.length || !o) return null;
- var s = H4({}, $G(e));
+ var s = H4({}, eK(e));
return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = i$(t, n, r, e), o = i$(t, n, i, e);
return /*#__PURE__*/ b.createElement("line", V4({ key: `line-${e}` }, s, {
@@ -86056,7 +86125,7 @@ var KQe = (e, t, n, r) => {
}));
}));
}, JQe = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = H4({}, $G(e));
+ var t = e.cx, n = e.cy, r = e.radius, i = H4({}, eK(e));
return /*#__PURE__*/ b.createElement("circle", V4({}, i, {
className: wv("recharts-polar-grid-concentric-circle", e.className),
cx: t,
@@ -86064,7 +86133,7 @@ var KQe = (e, t, n, r) => {
r
}));
}, YQe = (e) => {
- var t = e.radius, n = H4({}, $G(e));
+ var t = e.radius, n = H4({}, eK(e));
return /*#__PURE__*/ b.createElement("path", V4({}, n, {
className: wv("recharts-polar-grid-concentric-polygon", e.className),
d: KQe(t, e.cx, e.cy, e.polarAngles)
@@ -86093,7 +86162,7 @@ var KQe = (e, t, n, r) => {
strokeWidth: 1,
fill: "none"
}, QQe = (e) => {
- var t = Fq(e, ZQe), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = BQe(t, zQe), m = J(F$), h = J((e) => LQe(e, i)), g = J((e) => RQe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = Iq(e, ZQe), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = BQe(t, zQe), m = J(F$), h = J((e) => LQe(e, i)), g = J((e) => RQe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = H4({
cx: m?.cx ?? o ?? 0,
@@ -86126,11 +86195,11 @@ function U4(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function $Qe(e, t = Bq) {
+function $Qe(e, t = Vq) {
if (e == null) return;
let n = U4(e);
if (n.length === 0) return;
- let r = wJ(t), i, a;
+ let r = TJ(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);
@@ -86139,11 +86208,11 @@ function $Qe(e, t = Bq) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function e$e(e, t = Bq) {
+function e$e(e, t = Vq) {
if (e == null) return;
let n = U4(e);
if (n.length === 0) return;
- let r = wJ(t), i, a;
+ let r = TJ(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);
@@ -86152,7 +86221,7 @@ function e$e(e, t = Bq) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var t$e = vX({
+var t$e = yX({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -86160,13 +86229,13 @@ var t$e = vX({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = sX(t.payload);
+ e.radiusAxis[t.payload.id] = cX(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = sX(t.payload);
+ e.angleAxis[t.payload.id] = cX(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
@@ -86263,11 +86332,11 @@ function m$e(e, t) {
}
var h$e = "radiusAxis";
function g$e(e) {
- var t = OJ(), n = WZ(), r = (0, b.useMemo)(() => {
+ var t = kJ(), n = GZ(), r = (0, b.useMemo)(() => {
var t = e.type, r = J4(e, s$e), i = k$(n, "radiusAxis", t);
if (i != null) return q4(q4({}, r), {}, { type: i });
}, [e, n]);
- return (0, b.useEffect)(() => r == null ? OK : (t(n$e(r)), () => {
+ return (0, b.useEffect)(() => r == null ? kK : (t(n$e(r)), () => {
t(r$e(r));
}), [t, r]), null;
}
@@ -86298,7 +86367,7 @@ var _$e = (e, t, n, r) => {
clockWise: !1
};
}, b$e = (e, t) => {
- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = J4(e, c$e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = i$(n, r, s[0], i), l = i$(n, r, s[1], i), u = q4(q4(q4({}, $G(o)), {}, { fill: "none" }, $G(a)), {}, {
+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = J4(e, c$e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = i$(n, r, s[0], i), l = i$(n, r, s[1], i), u = q4(q4(q4({}, eK(o)), {}, { fill: "none" }, eK(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
@@ -86306,7 +86375,7 @@ var _$e = (e, t, n, r) => {
});
return /*#__PURE__*/ b.createElement("line", K4({ className: "recharts-polar-radius-axis-line" }, u));
}, x$e = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(b4, K4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), S$e = (e, t) => {
- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = J4(e, l$e), s = v$e(e.orientation), c = $G(o), l = eK(a), u = t.map((t, o) => {
+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = J4(e, l$e), s = v$e(e.orientation), c = eK(o), l = tK(a), u = t.map((t, o) => {
var u = _$e(t, e.angle, e.cx, e.cy), d = q4(q4(q4(q4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
@@ -86314,20 +86383,20 @@ var _$e = (e, t, n, r) => {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ b.createElement(aK, K4({
+ return /*#__PURE__*/ b.createElement(oK, K4({
className: wv("recharts-polar-radius-axis-tick", G4(a)),
key: `tick-${t.coordinate}`
- }, Nq(e, t, o)), x$e(a, d, r ? r(t.value, o) : t.value));
+ }, Pq(e, t, o)), x$e(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ b.createElement(aK, { className: "recharts-polar-radius-axis-ticks" }, u);
+ return /*#__PURE__*/ b.createElement(oK, { className: "recharts-polar-radius-axis-ticks" }, u);
}, C$e = (e) => {
var t = e.radiusAxisId, n = J(F$), r = J((e) => z4(e, "radiusAxis", t)), i = J((e) => B4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = q4(q4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(aK, { className: wv("recharts-polar-radius-axis", h$e, a.className) }, s && b$e(a, i), o && S$e(a, i), /*#__PURE__*/ b.createElement($Ze, y$e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(lQe, { label: a.label }), a.children)));
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: wv("recharts-polar-radius-axis", h$e, a.className) }, s && b$e(a, i), o && S$e(a, i), /*#__PURE__*/ b.createElement($Ze, y$e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(lQe, { label: a.label }), a.children)));
};
function w$e(e) {
- var t = Fq(e, D$);
+ var t = Iq(e, D$);
return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(g$e, {
domain: t.domain,
id: t.radiusAxisId,
@@ -86423,12 +86492,12 @@ function M$e(e, t) {
}
var N$e = 1e-5, P$e = Math.cos(r$(45)), F$e = "angleAxis";
function I$e(e) {
- var t = OJ(), n = WZ(), r = (0, b.useMemo)(() => {
+ var t = kJ(), n = GZ(), r = (0, b.useMemo)(() => {
e.children;
var t = e.type, r = j$e(e, T$e), i = k$(n, "angleAxis", t);
if (i != null) return X4(X4({}, r), {}, { type: i });
}, [e, n]), i = r === J((e) => j$(e, r?.id));
- return (0, b.useEffect)(() => r == null ? OK : (t(i$e(r)), () => {
+ return (0, b.useEffect)(() => r == null ? kK : (t(i$e(r)), () => {
t(a$e(r));
}), [t, r]), i ? e.children : null;
}
@@ -86449,7 +86518,7 @@ var L$e = (e, t) => {
}, B$e = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;
if (!a) return null;
- var s = X4(X4({}, $G(e)), {}, { fill: "none" }, $G(a));
+ var s = X4(X4({}, eK(e)), {}, { fill: "none" }, eK(a));
if (i === "circle") return /*#__PURE__*/ b.createElement(N4, Y4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
@@ -86461,9 +86530,9 @@ var L$e = (e, t) => {
var t = e.tick, n = e.tickProps, r = e.value;
return t ? /*#__PURE__*/ b.isValidElement(t) ? /*#__PURE__*/ b.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ b.createElement(b4, Y4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
}, H$e = (e) => {
- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = $G(e);
+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = eK(e);
o.ref;
- var s = j$e(o, E$e), c = eK(t), l = X4(X4({}, s), {}, { fill: "none" }, $G(n)), u = a.map((a, o) => {
+ var s = j$e(o, E$e), c = tK(t), l = X4(X4({}, s), {}, { fill: "none" }, eK(n)), u = a.map((a, o) => {
var u = L$e(a, e), d = R$e(a, e.orientation), f = z$e(a), p = X4(X4(X4({}, s), {}, {
textAnchor: d,
verticalAnchor: f,
@@ -86475,27 +86544,27 @@ var L$e = (e, t) => {
x: u.x2,
y: u.y2
});
- return /*#__PURE__*/ b.createElement(aK, Y4({
+ return /*#__PURE__*/ b.createElement(oK, Y4({
className: wv("recharts-polar-angle-axis-tick", G4(t)),
key: `tick-${a.coordinate}`
- }, Nq(e, a, o)), n && /*#__PURE__*/ b.createElement("line", Y4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(V$e, {
+ }, Pq(e, a, o)), n && /*#__PURE__*/ b.createElement("line", Y4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(V$e, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ b.createElement(aK, { className: "recharts-polar-angle-axis-ticks" }, u);
+ return /*#__PURE__*/ b.createElement(oK, { className: "recharts-polar-angle-axis-ticks" }, u);
}, U$e = (e) => {
- var t = e.angleAxisId, n = J(F$), r = J((e) => z4(e, "angleAxis", t)), i = SZ(), a = J((e) => FQe(e, "angleAxis", t, i));
+ var t = e.angleAxisId, n = J(F$), r = J((e) => z4(e, "angleAxis", t)), i = CZ(), a = J((e) => FQe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = X4(X4(X4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ b.createElement(a4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(aK, { className: wv("recharts-polar-angle-axis", F$e, o.className) }, /*#__PURE__*/ b.createElement(B$e, o), /*#__PURE__*/ b.createElement(H$e, o)));
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: wv("recharts-polar-angle-axis", F$e, o.className) }, /*#__PURE__*/ b.createElement(B$e, o), /*#__PURE__*/ b.createElement(H$e, o)));
};
function Z4(e) {
- var t = Fq(e, E$);
+ var t = Iq(e, E$);
return /*#__PURE__*/ b.createElement(I$e, {
id: t.angleAxisId,
scale: t.scale,
@@ -86553,13 +86622,13 @@ var W$e = /* @__PURE__ */ o(((e) => {
if (e === q$e && Array.isArray(Q4)) return Q4;
var t = [];
return b.Children.forEach(e, (e) => {
- TK(e) || ((0, G$e.isFragment)(e) ? t = t.concat(J$e(e.props.children)) : t.push(e));
+ EK(e) || ((0, G$e.isFragment)(e) ? t = t.concat(J$e(e.props.children)) : t.push(e));
}), Q4 = t, q$e = e, t;
};
function Y$e(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => K$e(e)) : [K$e(t)], J$e(e).forEach((e) => {
- var t = fK(e, "type.displayName") || fK(e, "type.name");
+ var t = pK(e, "type.displayName") || pK(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
@@ -86629,12 +86698,12 @@ function a1e(e) {
}
function e3(e) {
var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = i1e(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? r1e(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, t1e(t, r)) : /*#__PURE__*/ b.createElement(n, r);
- return a1e(r) ? /*#__PURE__*/ b.createElement(aK, { className: a }, l) : /*#__PURE__*/ b.createElement(aK, { className: s }, l);
+ return a1e(r) ? /*#__PURE__*/ b.createElement(oK, { className: a }, l) : /*#__PURE__*/ b.createElement(oK, { className: s }, l);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var t3 = (e, t, n) => {
- var r = OJ();
+ var r = kJ();
return (i, a) => (o) => {
e?.(i, a, o), r(tJe({
activeIndex: String(a),
@@ -86644,12 +86713,12 @@ var t3 = (e, t, n) => {
}));
};
}, n3 = (e) => {
- var t = OJ();
+ var t = kJ();
return (n, r) => (i) => {
e?.(n, r, i), t(nJe());
};
}, r3 = (e, t, n) => {
- var r = OJ();
+ var r = kJ();
return (i, a) => (o) => {
e?.(i, a, o), r(iJe({
activeIndex: String(a),
@@ -86662,7 +86731,7 @@ var t3 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function i3(e) {
- var t = e.tooltipEntrySettings, n = OJ(), r = SZ(), i = (0, b.useRef)(null);
+ var t = e.tooltipEntrySettings, n = kJ(), r = CZ(), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
r || (i.current === null ? n(Zqe(t)) : i.current !== t && n(Qqe({
prev: i.current,
@@ -86679,9 +86748,9 @@ function i3(e) {
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function a3(e) {
- var t = e.legendPayload, n = OJ(), r = SZ(), i = (0, b.useRef)(null);
+ var t = e.legendPayload, n = kJ(), r = CZ(), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- r || (i.current === null ? n(YZ(t)) : i.current !== t && n(XZ({
+ r || (i.current === null ? n(XZ(t)) : i.current !== t && n(ZZ({
prev: i.current,
next: t
})), i.current = t);
@@ -86690,13 +86759,13 @@ function a3(e) {
r,
t
]), (0, b.useLayoutEffect)(() => () => {
- i.current &&= (n(ZZ(i.current)), null);
+ i.current &&= (n(QZ(i.current)), null);
}, [n]), null;
}
function o1e(e) {
- var t = e.legendPayload, n = OJ(), r = J(BZ), i = (0, b.useRef)(null);
+ var t = e.legendPayload, n = kJ(), r = J(VZ), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(YZ(t)) : i.current !== t && n(XZ({
+ (r === "centric" || r === "radial") && (i.current === null ? n(XZ(t)) : i.current !== t && n(ZZ({
prev: i.current,
next: t
})), i.current = t);
@@ -86705,7 +86774,7 @@ function o1e(e) {
r,
t
]), (0, b.useLayoutEffect)(() => () => {
- i.current &&= (n(ZZ(i.current)), null);
+ i.current &&= (n(QZ(i.current)), null);
}, [n]), null;
}
//#endregion
@@ -86880,8 +86949,8 @@ function u3(e, t) {
};
}
function d3(e) {
- var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = GQ(t, n), _ = l3(g, i), v = _.startValue ?? null, y = c3(v, r, f ?? o3);
- return /*#__PURE__*/ b.createElement(WQ, {
+ var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = KQ(t, n), _ = l3(g, i), v = _.startValue ?? null, y = c3(v, r, f ?? o3);
+ return /*#__PURE__*/ b.createElement(GQ, {
animationId: g,
begin: o,
duration: s,
@@ -86937,7 +87006,7 @@ function O1e(e, t) {
function k1e(e) {
if (Array.isArray(e)) return e;
}
-var A1e = b.useId ?? (() => w1e(b.useState(() => bK("uid-")), 1)[0]);
+var A1e = b.useId ?? (() => w1e(b.useState(() => xK("uid-")), 1)[0]);
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
function j1e(e, t) {
@@ -86949,7 +87018,7 @@ function j1e(e, t) {
var M1e = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {
var t = e.id, n = e.type, r = e.children, i = j1e(`recharts-${n}`, t);
return /*#__PURE__*/ b.createElement(M1e.Provider, { value: i }, r(i));
-}, N1e = vX({
+}, N1e = yX({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -86958,47 +87027,47 @@ var M1e = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(sX(t.payload));
+ e.cartesianItems.push(cX(t.payload));
},
- prepare: mX()
+ prepare: hX()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = iX(e).cartesianItems.indexOf(sX(r));
- a > -1 && (e.cartesianItems[a] = sX(i));
+ var n = t.payload, r = n.prev, i = n.next, a = aX(e).cartesianItems.indexOf(cX(r));
+ a > -1 && (e.cartesianItems[a] = cX(i));
},
- prepare: mX()
+ prepare: hX()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = iX(e).cartesianItems.indexOf(sX(t.payload));
+ var n = aX(e).cartesianItems.indexOf(cX(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: mX()
+ prepare: hX()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(sX(t.payload));
+ e.polarItems.push(cX(t.payload));
},
- prepare: mX()
+ prepare: hX()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = iX(e).polarItems.indexOf(sX(t.payload));
+ var n = aX(e).polarItems.indexOf(cX(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: mX()
+ prepare: hX()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = iX(e).polarItems.indexOf(sX(r));
- a > -1 && (e.polarItems[a] = sX(i));
+ var n = t.payload, r = n.prev, i = n.next, a = aX(e).polarItems.indexOf(cX(r));
+ a > -1 && (e.polarItems[a] = cX(i));
},
- prepare: mX()
+ prepare: hX()
}
}
}), p3 = N1e.actions, P1e = p3.addCartesianGraphicalItem, F1e = p3.replaceCartesianGraphicalItem, I1e = p3.removeCartesianGraphicalItem, L1e = p3.addPolarGraphicalItem, R1e = p3.removePolarGraphicalItem, z1e = p3.replacePolarGraphicalItem, B1e = N1e.reducer, m3 = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = OJ(), n = (0, b.useRef)(null);
+ var t = kJ(), n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
n.current === null ? t(P1e(e)) : n.current !== e && t(F1e({
prev: n.current,
@@ -87008,7 +87077,7 @@ var M1e = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {
n.current &&= (t(I1e(n.current)), null);
}, [t]), null;
}), V1e = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = OJ(), n = (0, b.useRef)(null);
+ var t = kJ(), n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
n.current === null ? t(L1e(e)) : n.current !== e && t(z1e({
prev: n.current,
@@ -87026,7 +87095,7 @@ function H1e(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
function U1e(e) {
- if (Vq(e) && e.length !== 0) return H1e(U4(e));
+ if (Hq(e) && e.length !== 0) return H1e(U4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
@@ -87116,7 +87185,7 @@ function Q1e(e, t) {
function _3(e) {
var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? T$.scatter : l;
if (!Q1e(t, n)) return null;
- var d = $4(n), f = FPe(n), p = t.map((e, r) => {
+ var d = $4(n), f = PPe(n), p = t.map((e, r) => {
var s = h3(h3(h3({ r: 3 }, o), f), {}, {
index: r,
cx: e.x ?? void 0,
@@ -87133,7 +87202,7 @@ function _3(e) {
className: i
});
}), m = {};
- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(a4, { zIndex: u }, /*#__PURE__*/ b.createElement(aK, g3({ className: r }, m), p));
+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(a4, { zIndex: u }, /*#__PURE__*/ b.createElement(oK, g3({ className: r }, m), p));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -87180,7 +87249,7 @@ function n0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var r0e = vX({
+var r0e = yX({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -87190,60 +87259,60 @@ var r0e = vX({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = sX(t.payload);
+ e.xAxis[t.payload.id] = cX(t.payload);
},
- prepare: mX()
+ prepare: hX()
},
replaceXAxis: {
reducer(e, t) {
var n = t.payload, r = n.prev, i = n.next;
- e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = sX(i));
+ e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = cX(i));
},
- prepare: mX()
+ prepare: hX()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: mX()
+ prepare: hX()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = sX(t.payload);
+ e.yAxis[t.payload.id] = cX(t.payload);
},
- prepare: mX()
+ prepare: hX()
},
replaceYAxis: {
reducer(e, t) {
var n = t.payload, r = n.prev, i = n.next;
- e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = sX(i));
+ e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = cX(i));
},
- prepare: mX()
+ prepare: hX()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: mX()
+ prepare: hX()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = sX(t.payload);
+ e.zAxis[t.payload.id] = cX(t.payload);
},
- prepare: mX()
+ prepare: hX()
},
replaceZAxis: {
reducer(e, t) {
var n = t.payload, r = n.prev, i = n.next;
- e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = sX(i));
+ e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = cX(i));
},
- prepare: mX()
+ prepare: hX()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: mX()
+ prepare: hX()
},
updateYAxisWidth(e, t) {
var n = t.payload, r = n.id, i = n.width, a = e.yAxis[r];
@@ -87273,14 +87342,14 @@ var r0e = vX({
}), y3 = r0e.actions, i0e = y3.addXAxis, a0e = y3.replaceXAxis, o0e = y3.removeXAxis, s0e = y3.addYAxis, c0e = y3.replaceYAxis, l0e = y3.removeYAxis;
y3.addZAxis, y3.replaceZAxis, y3.removeZAxis;
var u0e = y3.updateYAxisWidth, d0e = y3.updateXAxisHeight, f0e = r0e.reducer, p0e = Y([
- Y([yZ], (e) => ({
+ Y([bZ], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- fZ,
- pZ
+ pZ,
+ mZ
], (e, t, n) => {
if (e && t != null && n != null) return {
x: e.left,
@@ -87348,8 +87417,8 @@ var y0e = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), eK(i)), Mq(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(N4, s);
- return /*#__PURE__*/ b.createElement(aK, {
+ }), tK(i)), Nq(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(N4, s);
+ return /*#__PURE__*/ b.createElement(oK, {
className: "recharts-active-dot",
clipPath: o
}, c);
@@ -87358,7 +87427,7 @@ function S3(e) {
var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? T$.activeDot : o, c = J(X2), l = m0e();
if (t == null || l == null) return null;
var u = t.find((e) => l.includes(e.payload));
- return TK(u) ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s }, /*#__PURE__*/ b.createElement(y0e, {
+ return EK(u) ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s }, /*#__PURE__*/ b.createElement(y0e, {
point: u,
childIndex: Number(c),
mainColor: n,
@@ -87431,12 +87500,12 @@ var w0e = (e, t) => z4(e, "radiusAxis", t), T0e = Y([w0e], (e) => {
cy: n.cy
};
}), N0e = (e, t, n, r, i) => i, P0e = Y([
- BZ,
+ VZ,
E0e,
D0e,
A0e,
j0e
-], (e, t, n, r, i) => $X(e, "radiusAxis") ? lZ(t, n, !1) : lZ(r, i, !1)), F0e = Y([
+], (e, t, n, r, i) => eZ(e, "radiusAxis") ? uZ(t, n, !1) : uZ(r, i, !1)), F0e = Y([
T0e,
M0e,
d$,
@@ -87534,20 +87603,20 @@ var U0e = (e) => {
dataKey: t,
type: a,
color: E3(r, i),
- value: dZ(n, t),
+ value: fZ(n, t),
payload: e
}];
}, W0e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {
dataDefinedOnItem: void 0,
- getPosition: OK,
+ getPosition: kK,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: dZ(a, t),
+ name: fZ(a, t),
hide: o,
type: s,
color: E3(n, i),
@@ -87560,7 +87629,7 @@ var U0e = (e) => {
function G0e(e) {
var t = e.points, n = e.props, r = n.dot, i = n.dataKey;
n.id;
- var a = $G(V0e(n, I0e));
+ var a = eK(V0e(n, I0e));
return /*#__PURE__*/ b.createElement(_3, {
points: t,
dot: r,
@@ -87573,7 +87642,7 @@ function G0e(e) {
function K0e(e) {
var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = QX(e, n.dataKey, r), d = QX(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? U1e(d) : d, m = TK(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = $X(e, n.dataKey, r), d = $X(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? U1e(d) : d, m = EK(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(T3(T3({}, i$(o, s, m, f)), {}, {
name: a,
value: d,
@@ -87587,7 +87656,7 @@ function K0e(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = TK(n) ? 0 : t.scale.map(n) ?? 0;
+ var n = e.value[0], r = EK(n) ? 0 : t.scale.map(n) ?? 0;
d.push(T3(T3({}, e), {}, { radius: r }, i$(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -87619,7 +87688,7 @@ function q0e(e) {
function J0e(e) {
var t = e.points, n = e.baseLinePoints, r = e.props;
if (t == null) return null;
- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, T3(T3({}, r), {}, { points: t })) : typeof i == "function" ? i(T3(T3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(OQe, w3({}, tK(r), {
+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, T3(T3({}, r), {}, { points: t })) : typeof i == "function" ? i(T3(T3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(OQe, w3({}, nK(r), {
onMouseEnter: (e) => {
var t = r.onMouseEnter;
t && t(r, e);
@@ -87632,20 +87701,20 @@ function J0e(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ b.createElement(aK, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(G0e, {
+ return /*#__PURE__*/ b.createElement(oK, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(G0e, {
props: r,
points: t
}));
}
var Y0e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [T3(T3({}, e.next), {}, {
- x: CK(e.prev.x, e.next.x, t),
- y: CK(e.prev.y, e.next.y, t)
+ x: wK(e.prev.x, e.next.x, t),
+ y: wK(e.prev.y, e.next.y, t)
})] : [T3(T3({}, e.next), {}, {
- x: CK(e.next.cx, e.next.x, t),
- y: CK(e.next.cy, e.next.y, t)
+ x: wK(e.next.cx, e.next.x, t),
+ y: wK(e.next.cy, e.next.y, t)
})]);
function X0e(e) {
- var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = l3(t, r), h = m.startValue, g = c3(h ?? null, a, u), _ = u3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = WZ();
+ var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = l3(t, r), h = m.startValue, g = c3(h ?? null, a, u), _ = u3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = GZ();
return S == null ? null : /*#__PURE__*/ b.createElement(q0e, {
showLabels: !v,
points: i
@@ -87700,7 +87769,7 @@ function $0e(e) {
var t = e.hide, n = e.className, r = e.points;
if (t) return null;
var i = wv("recharts-radar", n);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(aK, { className: i }, /*#__PURE__*/ b.createElement(Z0e, e)), /*#__PURE__*/ b.createElement(S3, {
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: i }, /*#__PURE__*/ b.createElement(Z0e, e)), /*#__PURE__*/ b.createElement(S3, {
points: r,
mainColor: E3(e.stroke, e.fill),
itemDataKey: e.dataKey,
@@ -87708,7 +87777,7 @@ function $0e(e) {
}));
}
function e2e(e) {
- var t = SZ(), n = J((n) => F0e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ var t = CZ(), n = J((n) => F0e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
return n?.points == null ? null : /*#__PURE__*/ b.createElement($0e, w3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
@@ -87716,7 +87785,7 @@ function e2e(e) {
}));
}
function D3(e) {
- var t = Fq(e, Q0e);
+ var t = Iq(e, Q0e);
return /*#__PURE__*/ b.createElement(f3, {
id: t.id,
type: "radar"
@@ -87819,7 +87888,7 @@ function d2e(e) {
}
var f2e = (e, t, n) => {
var r = n ?? e;
- if (!TK(r)) return xK(r, t, 0);
+ if (!EK(r)) return SK(r, t, 0);
}, p2e = (e, t, n) => {
var r = {}, i = e.filter(B$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
@@ -87886,8 +87955,8 @@ function _2e(e, t) {
function v2e(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = xK(e, n, 0, !0), s, c = [];
- if (JX(r[0]?.barSize)) {
+ var o = SK(e, n, 0, !0), s, c = [];
+ if (YX(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
var f = {
@@ -87906,11 +87975,11 @@ function v2e(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = xK(t, n, 0, !0);
+ var p = SK(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m = Math.round(m));
- var h = JX(i) ? Math.min(m, i) : m;
+ var h = YX(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -87924,7 +87993,7 @@ function v2e(e, t, n, r, i) {
}
}
var y2e = (e, t, n, r, i, a, o) => {
- var s = TK(o) ? t : o, c = v2e(n, r, i === a ? a : i, e, s);
+ var s = EK(o) ? t : o, c = v2e(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => k3(k3({}, e), {}, { position: k3(k3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, b2e = (e, t) => {
var n = R$(t);
@@ -87996,22 +88065,22 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
}), P3 = (e, t, n) => B4(e, "angleAxis", n, !1), F3 = Y([P4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
}), E2e = Y([
- BZ,
+ VZ,
j3,
M3,
N3,
P3
-], (e, t, n, r, i) => $X(e, "radiusAxis") ? lZ(t, n, !1) : lZ(r, i, !1)), D2e = Y([
+], (e, t, n, r, i) => eZ(e, "radiusAxis") ? uZ(t, n, !1) : uZ(r, i, !1)), D2e = Y([
N3,
j3,
- BZ
+ VZ
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return oZ({ numericAxis: r });
+ if (r != null && r.scale != null) return sZ({ numericAxis: r });
}), O2e = (e, t, n, r, i) => i, k2e = (e, t, n, r, i) => n, A2e = (e, t, n, r, i) => t, j2e = (e, t, n, r, i) => r.maxBarSize, M2e = (e) => e.type === "radialBar", N2e = Y([Y([
Y([
Y([
- BZ,
+ VZ,
P4,
k2e,
A2e
@@ -88023,7 +88092,7 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
sHe,
y$,
Y([
- BZ,
+ VZ,
v$,
N3,
P3,
@@ -88031,8 +88100,8 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
M3,
j2e
], (e, t, n, r, i, a, o) => {
- var s = TK(o) ? t : o;
- return e === "centric" ? lZ(n, r, !0) ?? s ?? 0 : lZ(i, a, !0) ?? s ?? 0;
+ var s = EK(o) ? t : o;
+ return e === "centric" ? uZ(n, r, !0) ?? s ?? 0 : uZ(i, a, !0) ?? s ?? 0;
}),
E2e,
j2e
@@ -88053,12 +88122,12 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
u$,
F3,
E2e,
- BZ,
+ VZ,
D2e,
F$,
O2e,
N2e,
- Y([(e, t, n) => BZ(e) === "centric" ? F2e(e, "radiusAxis", t) : F2e(e, "angleAxis", n), F3], b2e)
+ Y([(e, t, n) => VZ(e) === "centric" ? F2e(e, "radiusAxis", t) : F2e(e, "angleAxis", n), F3], b2e)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var p = i.chartData, m = i.dataStartIndex, h = i.dataEndIndex;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
@@ -88098,7 +88167,7 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
function R2e(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && JX(e.zIndex) ? e.zIndex : t;
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && YX(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
@@ -88203,12 +88272,12 @@ function J2e(e) {
return /*#__PURE__*/ b.createElement(_Qe, { value: t ? i : void 0 }, r);
}
function Y2e(e) {
- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = R3(n, z2e), f = $G(d), p = J(X2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = R3(n, B2e), v = t3(m, n.dataKey, u), y = n3(g), x = r3(h, n.dataKey, u);
+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = R3(n, z2e), f = eK(d), p = J(X2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = R3(n, B2e), v = t3(m, n.dataKey, u), y = n3(g), x = r3(h, n.dataKey, u);
return t == null ? null : /*#__PURE__*/ b.createElement(J2e, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = L3(L3(L3(L3({}, f), {}, { cornerRadius: a2e(l) }, e), Nq(_, e, t)), {}, {
+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = L3(L3(L3(L3({}, f), {}, { cornerRadius: a2e(l) }, e), Pq(_, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: u,
onClick: m,
@@ -88229,11 +88298,11 @@ function Y2e(e) {
}), /*#__PURE__*/ b.createElement(k4, { label: n.label }), n.children);
}
var X2e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [L3(L3({}, e.next), {}, {
- startAngle: CK(e.prev.startAngle, e.next.startAngle, t),
- endAngle: CK(e.prev.endAngle, e.next.endAngle, t)
-})] : [L3(L3({}, e.next), {}, { endAngle: CK(e.next.startAngle, e.next.endAngle, t) })]);
+ startAngle: wK(e.prev.startAngle, e.next.startAngle, t),
+ endAngle: wK(e.prev.endAngle, e.next.endAngle, t)
+})] : [L3(L3({}, e.next), {}, { endAngle: wK(e.next.startAngle, e.next.endAngle, t) })]);
function Z2e(e) {
- var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = u3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = WZ();
+ var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = u3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = GZ();
return m == null ? null : /*#__PURE__*/ b.createElement(d3, {
animationInput: t,
animationIdPrefix: "recharts-radialbar-",
@@ -88271,7 +88340,7 @@ function $2e(e) {
var e4e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {
dataDefinedOnItem: n,
- getPosition: OK,
+ getPosition: kK,
settings: {
graphicalItemId: e.id,
stroke: r,
@@ -88279,7 +88348,7 @@ var e4e = /*#__PURE__*/ b.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: dZ(a, t),
+ name: fZ(a, t),
hide: o,
type: c,
color: s,
@@ -88291,12 +88360,12 @@ var e4e = /*#__PURE__*/ b.memo((e) => {
}), t4e = class extends b.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var t = this.props.cornerRadius, n = eK(this.props.background);
+ var t = this.props.cornerRadius, n = tK(this.props.background);
return /*#__PURE__*/ b.createElement(a4, { zIndex: R2e(this.props.background, T$.barBackground) }, e.map((e, r) => {
e.value;
var i = e.background, a = R3(e, V2e);
if (!i) return null;
- var o = L3(L3(L3(L3(L3({ cornerRadius: a2e(t) }, a), {}, { fill: "#eee" }, i), n), Nq(this.props, e, r)), {}, {
+ var o = L3(L3(L3(L3(L3({ cornerRadius: a2e(t) }, a), {}, { fill: "#eee" }, i), n), Pq(this.props, e, r)), {}, {
index: r,
className: wv("recharts-radial-bar-background-sector", String(n?.className)),
option: i,
@@ -88309,7 +88378,7 @@ var e4e = /*#__PURE__*/ b.memo((e) => {
var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;
if (t) return null;
var a = wv("recharts-area", r);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(aK, { className: a }, i && /*#__PURE__*/ b.createElement(aK, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(aK, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(Q2e, this.props))));
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: a }, i && /*#__PURE__*/ b.createElement(oK, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(oK, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(Q2e, this.props))));
}
};
function n4e(e) {
@@ -88319,7 +88388,7 @@ function n4e(e) {
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: rZ(e.stackId),
+ stackId: iZ(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -88372,8 +88441,8 @@ function r4e(e) {
var t = e.displayedData, n = e.stackedData, r = e.dataStartIndex, i = e.stackedDomain, a = e.dataKey, o = e.baseValue, s = e.layout, c = e.radiusAxis, l = e.radiusAxisTicks, u = e.bandSize, d = e.pos, f = e.angleAxis, p = e.minPointSize, m = e.cx, h = e.cy, g = e.angleAxisTicks, _ = e.cells, v = e.startAngle, y = e.endAngle;
return g == null || l == null ? q2e : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = nZ(n[r + t], i) : (b = QX(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = aZ({
+ if (n ? b = rZ(n[r + t], i) : (b = $X(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = oZ({
axis: c,
ticks: l,
bandSize: u,
@@ -88384,7 +88453,7 @@ function r4e(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = hK(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = gK(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -88396,7 +88465,7 @@ function r4e(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = aZ({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = oZ({
axis: f,
ticks: g,
bandSize: u,
@@ -88407,7 +88476,7 @@ function r4e(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = hK(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = gK(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -88424,7 +88493,7 @@ function r4e(e) {
});
}
function B3(e) {
- var t = Fq(e, z3);
+ var t = Iq(e, z3);
return /*#__PURE__*/ b.createElement(f3, {
id: t.id,
type: "radialBar"
@@ -88436,7 +88505,7 @@ function B3(e) {
hide: t.hide ?? z3.hide,
angleAxisId: t.angleAxisId ?? z3.angleAxisId,
radiusAxisId: t.radiusAxisId ?? z3.radiusAxisId,
- stackId: rZ(t.stackId),
+ stackId: iZ(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
@@ -88446,7 +88515,7 @@ B3.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var i4e = (e) => {
- var t = e.chartData, n = OJ(), r = SZ();
+ var t = e.chartData, n = kJ(), r = CZ();
return (0, b.useEffect)(() => r ? () => {} : (n(aXe(t)), () => {
n(aXe(void 0));
}), [
@@ -88465,7 +88534,7 @@ var i4e = (e) => {
bottom: 0,
left: 0
}
-}, o4e = vX({
+}, o4e = yX({
name: "brush",
initialState: a4e,
reducers: { setBrushSettings(e, t) {
@@ -88497,7 +88566,7 @@ function u4e(e) {
var d4e = function(e) {
var t = e.width, n = e.height, r = u4e(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);
-}, f4e = vX({
+}, f4e = yX({
name: "referenceElements",
initialState: {
dots: [],
@@ -88509,21 +88578,21 @@ var d4e = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = iX(e).dots.findIndex((e) => e === t.payload);
+ var n = aX(e).dots.findIndex((e) => e === t.payload);
n !== -1 && e.dots.splice(n, 1);
},
addArea: (e, t) => {
e.areas.push(t.payload);
},
removeArea: (e, t) => {
- var n = iX(e).areas.findIndex((e) => e === t.payload);
+ var n = aX(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(sX(t.payload));
+ e.lines.push(cX(t.payload));
},
removeLine: (e, t) => {
- var n = iX(e).lines.findIndex((e) => e === t.payload);
+ var n = aX(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
@@ -88575,7 +88644,7 @@ function x4e(e) {
if (Array.isArray(e)) return e;
}
var S4e = /*#__PURE__*/ (0, b.createContext)(void 0), C4e = (e) => {
- var t = e.children, n = g4e((0, b.useState)(`${bK("recharts")}-clip`), 1)[0], r = b3();
+ var t = e.children, n = g4e((0, b.useState)(`${xK("recharts")}-clip`), 1)[0], r = b3();
if (r == null) return null;
var i = r.x, a = r.y, o = r.width, s = r.height;
return /*#__PURE__*/ b.createElement(S4e.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {
@@ -88667,13 +88736,13 @@ var j4e = (e, t) => {
if (/*#__PURE__*/ b.isValidElement(e)) n = /*#__PURE__*/ b.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!JX(t.x1) || !JX(t.y1) || !JX(t.x2) || !JX(t.y2)) return null;
+ if (!YX(t.x1) || !YX(t.y1) || !YX(t.x2) || !YX(t.y2)) return null;
n = /*#__PURE__*/ b.createElement("line", H3({}, t, { className: "recharts-reference-line-line" }));
}
return n;
}, M4e = (e, t, n, r, i, a) => {
var o = a.x, s = a.width, c = i.map(e, { position: n });
- if (!JX(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!YX(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -88684,7 +88753,7 @@ var j4e = (e, t) => {
return r === "left" ? l.reverse() : l;
}, N4e = (e, t, n, r, i, a) => {
var o = a.y, s = a.height, c = i.map(e, { position: n });
- if (!JX(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!YX(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -88703,26 +88772,26 @@ var j4e = (e, t) => {
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
}, F4e = (e, t, n, r, i, a, o) => {
- var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = yK(s);
- return yK(c) ? M4e(c, u, r, a, t, n) : d ? N4e(s, u, r, i, e, n) : l != null && l.length === 2 ? P4e(l, u, r, new T4e({
+ var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = bK(s);
+ return bK(c) ? M4e(c, u, r, a, t, n) : d ? N4e(s, u, r, i, e, n) : l != null && l.length === 2 ? P4e(l, u, r, new T4e({
x: e,
y: t
})) : null;
};
function I4e(e) {
- var t = OJ();
+ var t = kJ();
return (0, b.useEffect)(() => (t(p4e(e)), () => {
t(m4e(e));
})), null;
}
function L4e(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = SZ(), s = w4e(), c = J((e) => U0(e, t)), l = J((e) => G0(e, n)), u = J((e) => D2(e, "xAxis", t, o)), d = J((e) => D2(e, "yAxis", n, o)), f = IZ();
+ var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = CZ(), s = w4e(), c = J((e) => U0(e, t)), l = J((e) => G0(e, n)), u = J((e) => D2(e, "xAxis", t, o)), d = J((e) => D2(e, "yAxis", n, o)), f = LZ();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
var p = F4e(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 g = m.x, _ = m.y, v = h.x, y = h.y, x = D4e(D4e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, tK(e)), {}, {
+ var g = m.x, _ = m.y, v = h.x, y = h.y, x = D4e(D4e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, nK(e)), {}, {
x1: g,
y1: _,
x2: v,
@@ -88733,7 +88802,7 @@ function L4e(e) {
x2: v,
y2: y
});
- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(aK, { className: wv("recharts-reference-line", i) }, j4e(r, x), /*#__PURE__*/ b.createElement(XZe, H3({}, S, {
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: wv("recharts-reference-line", i) }, j4e(r, x), /*#__PURE__*/ b.createElement(XZe, H3({}, S, {
lowerWidth: S.width,
upperWidth: S.width
}), /*#__PURE__*/ b.createElement(cQe, { label: e.label }), e.children)));
@@ -88751,7 +88820,7 @@ var R4e = {
zIndex: T$.line
};
function z4e(e) {
- var t = Fq(e, R4e);
+ var t = Iq(e, R4e);
return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(I4e, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
@@ -88794,16 +88863,16 @@ function U3(e, t, n, r, i, a, o) {
}
function W3(e, t, n, r) {
if (Object.is(e, t)) return !0;
- let i = Wq(e), a = Wq(t);
- if (i === "[object Arguments]" && (i = nJ), a === "[object Arguments]" && (a = nJ), i !== a) return !1;
+ let i = Gq(e), a = Gq(t);
+ if (i === "[object Arguments]" && (i = rJ), a === "[object Arguments]" && (a = rJ), i !== a) return !1;
switch (i) {
- case Kq: return e.toString() === t.toString();
- case qq: return _J(e.valueOf(), t.valueOf());
- case Jq:
- case Zq:
- case Xq: return Object.is(e.valueOf(), t.valueOf());
- case Gq: return e.source === t.source && e.flags === t.flags;
- case iIe: return e === t;
+ case qq: return e.toString() === t.toString();
+ case Jq: return vJ(e.valueOf(), t.valueOf());
+ case Yq:
+ case Qq:
+ case Zq: return Object.is(e.valueOf(), t.valueOf());
+ case Kq: return e.source === t.source && e.flags === t.flags;
+ case rIe: return e === t;
}
n ??= /* @__PURE__ */ new Map();
let o = n.get(e), s = n.get(t);
@@ -88811,11 +88880,11 @@ function W3(e, t, n, r) {
n.set(e, t), n.set(t, e);
try {
switch (i) {
- case Qq:
+ case $q:
if (e.size !== t.size) return !1;
for (let [i, a] of e.entries()) if (!t.has(i) || !U3(a, t.get(i), i, e, t, n, r)) return !1;
return !0;
- case $q: {
+ case eJ: {
if (e.size !== t.size) return !1;
let i = Array.from(e.values()), a = Array.from(t.values());
for (let o = 0; o < i.length; o++) {
@@ -88825,27 +88894,27 @@ function W3(e, t, n, r) {
}
return !0;
}
- case eJ:
- case iJ:
+ case tJ:
case aJ:
case oJ:
case sJ:
- case oIe:
case cJ:
+ case aIe:
case lJ:
case uJ:
- case sIe:
case dJ:
+ case oIe:
case fJ:
- if (mJ(e) !== mJ(t) || e.length !== t.length) return !1;
+ case pJ:
+ if (hJ(e) !== hJ(t) || e.length !== t.length) return !1;
for (let i = 0; i < e.length; i++) if (!U3(e[i], t[i], i, e, t, n, r)) return !1;
return !0;
- case tJ: return e.byteLength === t.byteLength && W3(new Uint8Array(e), new Uint8Array(t), n, r);
- case rJ: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : W3(new Uint8Array(e), new Uint8Array(t), n, r);
- case aIe: return e.name === t.name && e.message === t.message;
- case nJ: {
+ case nJ: return e.byteLength === t.byteLength && W3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case iJ: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : W3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case iIe: return e.name === t.name && e.message === t.message;
+ case rJ: {
if (!(W3(e.constructor, t.constructor, n, r) || V4e(e) && V4e(t))) return !1;
- let i = [...Object.keys(e), ...Uq(e)], a = [...Object.keys(t), ...Uq(t)];
+ let i = [...Object.keys(e), ...Wq(e)], a = [...Object.keys(t), ...Wq(t)];
if (i.length !== a.length) return !1;
for (let a = 0; a < i.length; a++) {
let o = i[a], s = e[o];
@@ -89017,7 +89086,7 @@ function t3e(e, t, n, r, i, a) {
function q3(e, t, n) {
var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;
if (!i || !i.length || !r) return [];
- if (vK(c) || pQ.isSsr) return q4e(i, vK(c) ? c : 0) ?? [];
+ if (yK(c) || mQ.isSsr) return q4e(i, yK(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? m4(u, {
fontSize: t,
letterSpacing: n
@@ -89033,7 +89102,7 @@ function q3(e, t, n) {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? hK(_.coordinate - g.coordinate) : 1, y = K4e(a, v, p);
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? gK(_.coordinate - g.coordinate) : 1, y = K4e(a, v, p);
return c === "equidistantPreserveStart" ? J4e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? Y4e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? t3e(v, y, h, i, o, c === "preserveStartEnd") : e3e(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
@@ -89064,7 +89133,7 @@ var n3e = (e) => {
return Math.round(f);
}
return 0;
-}, i3e = vX({
+}, i3e = yX({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -89073,7 +89142,7 @@ var n3e = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var n = t.payload, r = n.axisType, i = n.axisId, a = n.ticks;
- e[r][i] = sX(a);
+ e[r][i] = cX(a);
},
removeRenderedTicks: (e, t) => {
var n = t.payload, r = n.axisType, i = n.axisId;
@@ -89229,7 +89298,7 @@ var X3 = {
function S3e(e) {
var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;
if (!s) return null;
- var l = Y3(Y3(Y3({}, c), $G(s)), {}, { fill: "none" });
+ var l = Y3(Y3(Y3({}, c), eK(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = Y3(Y3({}, l), {}, {
@@ -89247,10 +89316,10 @@ function S3e(e) {
y2: n + i
});
}
- return /*#__PURE__*/ b.createElement("line", J3({}, l, { className: wv("recharts-cartesian-axis-line", fK(s, "className")) }));
+ return /*#__PURE__*/ b.createElement("line", J3({}, l, { className: wv("recharts-cartesian-axis-line", pK(s, "className")) }));
}
function C3e(e, t, n, r, i, a, o, s, c) {
- var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = vK(e.tickCoord) ? e.tickCoord : e.coordinate;
+ var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = yK(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
l = u = e.coordinate, f = n + +!s * i, d = f - h * g, m = d - h * c, p = _;
@@ -89302,7 +89371,7 @@ function E3e(e) {
return i;
}
function D3e(e) {
- var t = e.ticks, n = e.axisType, r = e.axisId, i = OJ(), a = (0, b.useRef)(null);
+ var t = e.ticks, n = e.axisType, r = e.axisId, i = kJ(), a = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
if (r != null && n != null) {
var e = t.map((e) => ({
@@ -89326,7 +89395,7 @@ function D3e(e) {
t,
r,
n
- ]), (0, b.useEffect)(() => r == null || n == null ? OK : () => {
+ ]), (0, b.useEffect)(() => r == null || n == null ? kK : () => {
i(s3e({
axisId: r,
axisType: n
@@ -89338,14 +89407,14 @@ function D3e(e) {
]), null;
}
var O3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = q3(Y3(Y3({}, S), {}, { ticks: r }), y, x), D = $G(S), O = eK(i), k = AZe(D.textAnchor) ? D.textAnchor : w3e(d, f), A = T3e(d, f), j = {};
+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = q3(Y3(Y3({}, S), {}, { ticks: r }), y, x), D = eK(S), O = tK(i), k = AZe(D.textAnchor) ? D.textAnchor : w3e(d, f), A = T3e(d, f), j = {};
typeof a == "object" && (j = a);
var M = Y3(Y3({}, D), {}, { fill: "none" }, j), N = E.map((e) => Y3({ entry: e }, C3e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
var t = e.entry, n = e.line;
- return /*#__PURE__*/ b.createElement(aK, {
+ return /*#__PURE__*/ b.createElement(oK, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, a && /*#__PURE__*/ b.createElement("line", J3({}, M, n, { className: wv("recharts-cartesian-axis-tick-line", fK(a, "className")) })));
+ }, a && /*#__PURE__*/ b.createElement("line", J3({}, M, n, { className: wv("recharts-cartesian-axis-tick-line", pK(a, "className")) })));
}), ee = N.map((e, t) => {
var n = e.entry, r = e.tick, a = Y3(Y3({}, Y3(Y3(Y3(Y3({ verticalAnchor: A }, D), {}, {
textAnchor: k,
@@ -89358,10 +89427,10 @@ var O3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
tickFormatter: s,
padding: l
}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);
- return /*#__PURE__*/ b.createElement(aK, J3({
+ return /*#__PURE__*/ b.createElement(oK, J3({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, Nq(C, n, t)), i && /*#__PURE__*/ b.createElement(E3e, {
+ }, Pq(C, n, t)), i && /*#__PURE__*/ b.createElement(E3e, {
option: i,
tickProps: a,
value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`
@@ -89404,7 +89473,7 @@ var O3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
}
}
}, [f, h]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(aK, { className: wv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(S3e, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: wv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(S3e, {
x: e.x,
y: e.y,
width: r,
@@ -89412,7 +89481,7 @@ var O3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: $G(e)
+ otherSvgProps: eK(e)
}), /*#__PURE__*/ b.createElement(O3e, {
ref: v,
axisType: c,
@@ -89449,7 +89518,7 @@ var O3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
labelRef: e.labelRef
}), e.children)));
}), Z3 = /*#__PURE__*/ b.forwardRef((e, t) => {
- var n = Fq(e, X3);
+ var n = Iq(e, X3);
return /*#__PURE__*/ b.createElement(k3e, J3({}, n, { ref: t }));
});
Z3.displayName = "CartesianAxis";
@@ -89558,7 +89627,7 @@ function H3e(e) {
if (/*#__PURE__*/ b.isValidElement(t)) r = /*#__PURE__*/ b.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = $G(e6(n, M3e)) ?? {};
+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = eK(e6(n, M3e)) ?? {};
l.offset;
var u = e6(l, N3e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
r = /*#__PURE__*/ b.createElement("line", $3({}, u, {
@@ -89663,8 +89732,8 @@ function K3e(e) {
}
var q3e = (e, t) => {
var n = e.xAxis, r = e.width, i = e.height, a = e.offset;
- return eZ(q3(Q3(Q3(Q3({}, X3), n), {}, {
- ticks: tZ(n, !0),
+ return tZ(q3(Q3(Q3(Q3({}, X3), n), {}, {
+ ticks: nZ(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -89674,8 +89743,8 @@ var q3e = (e, t) => {
})), a.left, a.left + a.width, t);
}, J3e = (e, t) => {
var n = e.yAxis, r = e.width, i = e.height, a = e.offset;
- return eZ(q3(Q3(Q3(Q3({}, X3), n), {}, {
- ticks: tZ(n, !0),
+ return tZ(q3(Q3(Q3(Q3({}, X3), n), {}, {
+ ticks: nZ(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -89696,18 +89765,18 @@ var q3e = (e, t) => {
zIndex: T$.grid
};
function X3e(e) {
- var t = RZ(), n = zZ(), r = LZ(), i = Q3(Q3({}, Fq(e, Y3e)), {}, {
- x: vK(e.x) ? e.x : r.left,
- y: vK(e.y) ? e.y : r.top,
- width: vK(e.width) ? e.width : r.width,
- height: vK(e.height) ? e.height : r.height
- }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = SZ(), h = J((e) => zqe(e, "xAxis", a, m)), g = J((e) => zqe(e, "yAxis", o, m)), _ = j3e(), v = {
+ var t = zZ(), n = BZ(), r = RZ(), i = Q3(Q3({}, Iq(e, Y3e)), {}, {
+ x: yK(e.x) ? e.x : r.left,
+ y: yK(e.y) ? e.y : r.top,
+ width: yK(e.width) ? e.width : r.width,
+ height: yK(e.height) ? e.height : r.height
+ }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = CZ(), h = J((e) => zqe(e, "xAxis", a, m)), g = J((e) => zqe(e, "yAxis", o, m)), _ = j3e(), v = {
stroke: i.stroke ?? _.grid.stroke,
strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,
strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,
strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray
};
- if (!YX(l) || !YX(u) || !vK(s) || !vK(c)) return null;
+ if (!XX(l) || !XX(u) || !yK(s) || !yK(c)) return null;
var y = i.verticalCoordinatesGenerator || q3e, x = i.horizontalCoordinatesGenerator || J3e, S = i.horizontalPoints, C = i.verticalPoints;
if ((!S || !S.length) && typeof x == "function") {
var w = f && f.length, T = x({
@@ -89716,7 +89785,7 @@ function X3e(e) {
height: n ?? u,
offset: r
}, w ? !0 : d);
- TZ(Array.isArray(T), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof T}]`), Array.isArray(T) && (S = T);
+ EZ(Array.isArray(T), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof T}]`), Array.isArray(T) && (S = T);
}
if ((!C || !C.length) && typeof y == "function") {
var E = p && p.length, D = y({
@@ -89725,7 +89794,7 @@ function X3e(e) {
height: n ?? u,
offset: r
}, E ? !0 : d);
- TZ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);
+ EZ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);
}
return /*#__PURE__*/ b.createElement(a4, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(V3e, {
fill: i.fill ?? _.grid.fill,
@@ -89829,7 +89898,7 @@ function o6e(e) {
var s = i.pathRef;
o = a6e(n, e6e(s?.current ?? null), t);
} else n != null && (o = String(n));
- return /*#__PURE__*/ b.createElement(kQ, t6({}, i, {
+ return /*#__PURE__*/ b.createElement(AQ, t6({}, i, {
connectNulls: a,
strokeDasharray: o
}));
@@ -89840,13 +89909,13 @@ function s6e(e) {
var t = (0, b.useRef)(0), n = (0, b.useRef)(0), r = (0, b.useRef)(!1), i = (0, b.useRef)(e);
return i.current !== e && (t.current = n.current, i.current = e), (0, b.useCallback)((e, i) => {
if (r.current) return null;
- var a = Math.min(pK(t.current + e * i), i);
+ var a = Math.min(mK(t.current + e * i), i);
return e > 0 && i > 0 && (n.current = Math.max(n.current, a), a >= i) ? (r.current = !0, null) : a;
}, []);
}
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var c6e = vX({
+var c6e = yX({
name: "errorBars",
initialState: {},
reducers: {
@@ -89923,17 +89992,17 @@ function i6(e) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
var h6e = (e, t, n, r) => M2(e, "xAxis", t, r), g6e = (e, t, n, r) => j2(e, "xAxis", t, r), _6e = (e, t, n, r) => M2(e, "yAxis", n, r), v6e = (e, t, n, r) => j2(e, "yAxis", n, r), y6e = Y([
- BZ,
+ VZ,
h6e,
_6e,
g6e,
v6e
-], (e, t, n, r, i) => $X(e, "xAxis") ? lZ(t, r, !1) : lZ(n, i, !1)), b6e = (e, t, n, r, i) => i;
+], (e, t, n, r, i) => eZ(e, "xAxis") ? uZ(t, r, !1) : uZ(n, i, !1)), b6e = (e, t, n, r, i) => i;
function x6e(e) {
return e.type === "line";
}
var S6e = Y([
- BZ,
+ VZ,
h6e,
_6e,
g6e,
@@ -89960,7 +90029,7 @@ var S6e = Y([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function C6e(e) {
- var t = eK(e), n = 3, r = 2;
+ var t = tK(e), n = 3, r = 2;
if (t != null) {
var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -90091,21 +90160,21 @@ var c6 = {
if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);
var n = N6e(e), r = [];
for (var i of e) if (i.status === "matched") r.push(s6(s6({}, i.next), {}, {
- x: CK(i.prev.x, i.next.x, t),
- y: CK(i.prev.y, i.next.y, t)
+ x: wK(i.prev.x, i.next.x, t),
+ y: wK(i.prev.y, i.next.y, t)
}));
else if (i.status === "added") {
if (i.next.x != null) {
var a = i.next.x - n;
r.push(s6(s6({}, i.next), {}, {
- x: CK(a, i.next.x, t),
+ x: wK(a, i.next.x, t),
y: i.next.y
}));
} else r.push(i.next);
} else if (i.status === "removed" && i.prev.x != null) {
var o = i.prev.x + n;
r.push(s6(s6({}, i.prev), {}, {
- x: CK(i.prev.x, o, t),
+ x: wK(i.prev.x, o, t),
y: i.prev.y
}));
}
@@ -90133,20 +90202,20 @@ var c6 = {
dataKey: t,
type: i,
color: r,
- value: dZ(n, t),
+ value: fZ(n, t),
payload: e
}];
}, F6e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: OK,
+ getPosition: kK,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: dZ(o, t),
+ name: fZ(o, t),
hide: s,
type: u,
color: r,
@@ -90160,7 +90229,7 @@ var c6 = {
function I6e(e) {
var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;
r.id;
- var s = $G(o6(r, w6e));
+ var s = eK(o6(r, w6e));
return /*#__PURE__*/ b.createElement(_3, {
points: n,
dot: i,
@@ -90193,7 +90262,7 @@ function L6e(e) {
return /*#__PURE__*/ b.createElement(D4, { value: t ? i : void 0 }, n);
}
function R6e(e) {
- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = s6(s6({}, tK(o6(i, T6e))), {}, {
+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = s6(s6({}, nK(o6(i, T6e))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: f ? `url(#clipPath-${t})` : void 0,
@@ -90265,13 +90334,13 @@ var V6e = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: QX(e.payload, t)
+ errorVal: $X(e.payload, t)
}), H6e = class extends b.Component {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;
if (t) return null;
var m = wv("recharts-line", i), h = d, g = C6e(n), _ = g.r, v = g.strokeWidth, y = $4(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: p }, /*#__PURE__*/ b.createElement(aK, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: p }, /*#__PURE__*/ b.createElement(oK, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
clipPathId: h,
xAxisId: a,
yAxisId: o
@@ -90299,7 +90368,7 @@ var V6e = (e, t) => ({
}
};
function U6e(e) {
- var t = Fq(e, c6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = o6(t, E6e), _ = r6(p, m).needClip, v = b3(), y = VZ(), x = SZ(), S = J((e) => S6e(e, p, m, x, h));
+ var t = Iq(e, c6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = o6(t, E6e), _ = r6(p, m).needClip, v = b3(), y = HZ(), x = CZ(), S = J((e) => S6e(e, p, m, x, h));
if (y !== "horizontal" && y !== "vertical" || S == null || v == null) return null;
var C = v.height, w = v.width, T = v.x, E = v.y;
return /*#__PURE__*/ b.createElement(H6e, a6({}, g, {
@@ -90329,20 +90398,20 @@ function U6e(e) {
function W6e(e) {
var t = e.layout, n = e.xAxis, r = e.yAxis, i = e.xAxisTicks, a = e.yAxisTicks, o = e.dataKey, s = e.bandSize;
return e.displayedData.map((e, c) => {
- var l = QX(e, o);
+ var l = $X(e, o);
if (t === "horizontal") return {
- x: iZ({
+ x: aZ({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (TK(l) ? null : r.scale.map(l)) ?? null,
+ y: (EK(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = TK(l) ? null : n.scale.map(l), d = iZ({
+ var u = EK(l) ? null : n.scale.map(l), d = aZ({
axis: r,
ticks: a,
bandSize: s,
@@ -90358,7 +90427,7 @@ function W6e(e) {
}).filter(Boolean);
}
function G6e(e) {
- var t = Fq(e, c6), n = SZ();
+ var t = Iq(e, c6), n = CZ();
return /*#__PURE__*/ b.createElement(f3, {
id: t.id,
type: "line"
@@ -90386,7 +90455,7 @@ function G6e(e) {
isPanorama: n
}), /*#__PURE__*/ b.createElement(U6e, a6({}, t, { id: e }))));
}
-var K6e = /*#__PURE__*/ b.memo(G6e, eQ);
+var K6e = /*#__PURE__*/ b.memo(G6e, tQ);
K6e.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -90399,13 +90468,13 @@ function u6(e, t) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
var q6e = (e, t, n) => M2(e, "xAxis", l6(e, t), n), J6e = (e, t, n) => j2(e, "xAxis", l6(e, t), n), Y6e = (e, t, n) => M2(e, "yAxis", u6(e, t), n), X6e = (e, t, n) => j2(e, "yAxis", u6(e, t), n), Z6e = Y([
- BZ,
+ VZ,
q6e,
Y6e,
J6e,
X6e
-], (e, t, n, r, i) => $X(e, "xAxis") ? lZ(t, r, !1) : lZ(n, i, !1)), d6 = Y([X0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), Q6e = (e) => $X(BZ(e), "xAxis") ? "yAxis" : "xAxis", $6e = (e, t) => Q6e(e) === "yAxis" ? u6(e, t) : l6(e, t), e8e = (e, t, n) => c2(e, Q6e(e), $6e(e, t), n), t8e = Y([
- BZ,
+], (e, t, n, r, i) => eZ(e, "xAxis") ? uZ(t, r, !1) : uZ(n, i, !1)), d6 = Y([X0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), Q6e = (e) => eZ(VZ(e), "xAxis") ? "yAxis" : "xAxis", $6e = (e, t) => Q6e(e) === "yAxis" ? u6(e, t) : l6(e, t), e8e = (e, t, n) => c2(e, Q6e(e), $6e(e, t), n), t8e = Y([
+ VZ,
q6e,
Y6e,
J6e,
@@ -90426,7 +90495,7 @@ var q6e = (e, t, n) => M2(e, "xAxis", l6(e, t), n), J6e = (e, t, n) => j2(e, "xA
Y([d6, e8e], (e, t) => {
if (e != null && e.stackId != null && t != null) {
var n = t[e.stackId];
- if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(DK);
+ if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(OK);
}
})
], (e, t, n, r, i, a, o, s, c, l, u) => {
@@ -90486,9 +90555,9 @@ function a8e(e, t) {
}
function o8e(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!JX(a) || !JX(o)) return null;
+ if (!YX(a) || !YX(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
- return vK(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), vK(c) ? /*#__PURE__*/ b.createElement("rect", {
+ return yK(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), yK(c) ? /*#__PURE__*/ b.createElement("rect", {
x: a < o ? a : a - s,
y: 0,
width: s,
@@ -90497,9 +90566,9 @@ function o8e(e) {
}
function s8e(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!JX(a) || !JX(o)) return null;
+ if (!YX(a) || !YX(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
- return vK(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), vK(c) ? /*#__PURE__*/ b.createElement("rect", {
+ return yK(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), yK(c) ? /*#__PURE__*/ b.createElement("rect", {
x: 0,
y: a < o ? a : a - s,
width: c + (i ? parseInt(`${i}`, 10) : 1),
@@ -90521,14 +90590,14 @@ function c8e(e) {
});
}
function l8e(e) {
- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = i8e(e, n8e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = A1e(), h = d.id, g = d.baseLine, _ = $G(i8e(d, r8e)), v = /*#__PURE__*/ b.createElement(kQ, f6({}, d, {
+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = i8e(e, n8e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = A1e(), h = d.id, g = d.baseLine, _ = eK(i8e(d, r8e)), v = /*#__PURE__*/ b.createElement(AQ, f6({}, d, {
id: h,
baseLine: g,
connectNulls: p,
stroke: "none",
className: "recharts-area-area",
layout: f
- })), y = l !== "none" && /*#__PURE__*/ b.createElement(kQ, f6({}, _, {
+ })), y = l !== "none" && /*#__PURE__*/ b.createElement(AQ, f6({}, _, {
className: "recharts-area-curve",
layout: f,
type: d.type,
@@ -90536,7 +90605,7 @@ function l8e(e) {
fill: "none",
stroke: l,
points: d.points
- })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(kQ, f6({}, _, {
+ })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(AQ, f6({}, _, {
className: "recharts-area-curve",
layout: f,
type: d.type,
@@ -90545,13 +90614,13 @@ function l8e(e) {
stroke: l,
points: g
}));
- return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(aK, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(c8e, {
+ return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(oK, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(c8e, {
alpha: n,
points: d.points ?? [],
baseLine: g,
layout: f,
strokeWidth: d.strokeWidth
- }))), /*#__PURE__*/ b.createElement(aK, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);
+ }))), /*#__PURE__*/ b.createElement(oK, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Area.js
@@ -90648,8 +90717,8 @@ var v8e = {
animationEasing: "ease",
animationMatchBy: o3,
animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [m6(m6({}, e.next), {}, {
- x: CK(e.prev.x, e.next.x, t),
- y: CK(e.prev.y, e.next.y, t)
+ x: wK(e.prev.x, e.next.x, t),
+ y: wK(e.prev.y, e.next.y, t)
})] : e.status === "added" ? [e.next] : []),
connectNulls: !1,
dot: !1,
@@ -90677,20 +90746,20 @@ var y8e = (e) => {
dataKey: t,
type: a,
color: h6(r, i),
- value: dZ(n, t),
+ value: fZ(n, t),
payload: e
}];
}, b8e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: OK,
+ getPosition: kK,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: dZ(o, t),
+ name: fZ(o, t),
hide: s,
type: u,
color: h6(r, a),
@@ -90702,7 +90771,7 @@ var y8e = (e) => {
return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: f });
});
function x8e(e) {
- var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = $G(r);
+ var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = eK(r);
return /*#__PURE__*/ b.createElement(_3, {
points: n,
dot: a,
@@ -90735,7 +90804,7 @@ function S8e(e) {
return /*#__PURE__*/ b.createElement(D4, { value: t ? r : void 0 }, n);
}
function C8e(e) {
- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = f8e(a, u8e), _ = m6(m6({}, tK(g)), {}, {
+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = f8e(a, u8e), _ = m6(m6({}, nK(g)), {}, {
id: h,
points: t,
connectNulls: f,
@@ -90748,7 +90817,7 @@ function C8e(e) {
isAnimating: s,
isEntrance: c
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(aK, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(e3, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(oK, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(e3, {
option: m,
DefaultShape: v8e.shape,
shapeProps: _
@@ -90759,13 +90828,13 @@ function C8e(e) {
}));
}
function w8e(e, t, n) {
- return vK(e) ? CK(vK(t) ? t : void 0, e, n) : TK(e) || gK(e) ? CK(vK(t) ? t : void 0, 0, n) : e;
+ return yK(e) ? wK(yK(t) ? t : void 0, e, n) : EK(e) || _K(e) ? wK(yK(t) ? t : void 0, 0, n) : e;
}
function T8e(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, b.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), h = l3(m, a), g = HZ(), _ = u3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;
+ }), [o, s]), h = l3(m, a), g = UZ(), _ = u3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;
if (g == null) return null;
var C = Array.isArray(s) && Array.isArray(S) ? c3(S, s, f) : Array.isArray(s) ? c3(null, s, f) : null;
return /*#__PURE__*/ b.createElement(d3, {
@@ -90814,7 +90883,7 @@ var D8e = class extends b.PureComponent {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;
if (t) return null;
var h = wv("recharts-area", i), g = f, _ = C6e(n), v = _.r, y = _.strokeWidth, x = $4(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: m }, /*#__PURE__*/ b.createElement(aK, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: m }, /*#__PURE__*/ b.createElement(oK, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
clipPathId: g,
xAxisId: c,
yAxisId: l
@@ -90843,7 +90912,7 @@ var D8e = class extends b.PureComponent {
}
};
function O8e(e) {
- var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = f8e(e, d8e), g = VZ(), _ = gYe(), v = r6(p, m).needClip, y = SZ(), x = J((t) => t8e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = b3();
+ var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = f8e(e, d8e), g = HZ(), _ = gYe(), v = r6(p, m).needClip, y = CZ(), x = J((t) => t8e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = b3();
if (g !== "horizontal" && g !== "vertical" || T == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var E = T.height, D = T.width, O = T.x, k = T.y;
return !S || !S.length ? null : /*#__PURE__*/ b.createElement(D8e, p6({}, h, {
@@ -90874,7 +90943,7 @@ function O8e(e) {
}
var k8e = (e, t, n, r, i) => {
var a = n ?? t;
- if (vK(a)) return a;
+ if (yK(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
if (o.type === "number") {
var c = Math.max(s[0], s[1]), l = Math.min(s[0], s[1]);
@@ -90887,12 +90956,12 @@ function A8e(e) {
var r;
if (g) r = a[d + t];
else {
- var o = QX(e, i);
+ var o = $X(e, i);
Array.isArray(o) ? (r = o, y = !0) : r = [_, o];
}
- var s = r?.[1] ?? null, u = QX(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => QX(e, t) == null), x = s == null || g && !n && u == null || b;
+ var s = r?.[1] ?? null, u = $X(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => $X(e, t) == null), x = s == null || g && !n && u == null || b;
return v ? {
- x: iZ({
+ x: aZ({
axis: c,
ticks: f,
bandSize: m,
@@ -90904,7 +90973,7 @@ function A8e(e) {
payload: e
} : {
x: x ? null : c.scale.map(s) ?? null,
- y: iZ({
+ y: aZ({
axis: l,
ticks: p,
bandSize: m,
@@ -90933,7 +91002,7 @@ function A8e(e) {
};
}
function j8e(e) {
- var t = Fq(e, v8e), n = SZ();
+ var t = Iq(e, v8e), n = CZ();
return /*#__PURE__*/ b.createElement(f3, {
id: t.id,
type: "area"
@@ -90957,7 +91026,7 @@ function j8e(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: rZ(t.stackId),
+ stackId: iZ(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
@@ -90965,7 +91034,7 @@ function j8e(e) {
connectNulls: t.connectNulls
}), /*#__PURE__*/ b.createElement(O8e, p6({}, t, { id: e }))));
}
-var M8e = /*#__PURE__*/ b.memo(j8e, eQ);
+var M8e = /*#__PURE__*/ b.memo(j8e, tQ);
M8e.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
@@ -90994,7 +91063,7 @@ function L8e(e, t) {
}
return n;
}
-var g6 = e$;
+var g6 = t$;
function _6(e) {
var t = e.option, n = I8e(e, F8e);
return /*#__PURE__*/ b.createElement(e3, {
@@ -91008,24 +91077,24 @@ function _6(e) {
var R8e = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
- if (vK(e)) return e;
- var i = vK(n) || TK(n);
+ if (yK(e)) return e;
+ var i = yK(n) || EK(n);
return i ? e(n, r) : (!i && P8e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
}, z8e = (e, t, n) => n, v6 = Y([X0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), B8e = Y([v6], (e) => e?.maxBarSize), V8e = (e, t, n, r) => r, H8e = Y([
- BZ,
+ VZ,
X0,
l6,
u6,
z8e
], (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")), U8e = (e, t, n) => {
- var r = BZ(e), i = l6(e, t), a = u6(e, t);
+ var r = VZ(e), i = l6(e, t), a = u6(e, t);
if (i != null && a != null) return r === "horizontal" ? c2(e, "yAxis", a, n) : c2(e, "xAxis", i, n);
}, W8e = Y([
H8e,
cHe,
(e, t) => {
- var n = BZ(e), r = l6(e, t), i = u6(e, t);
+ var n = VZ(e), r = l6(e, t), i = u6(e, t);
if (r != null && i != null) return n === "horizontal" ? Lqe(e, "xAxis", r) : Lqe(e, "yAxis", i);
}
], p2e), G8e = (e, t, n) => {
@@ -91033,17 +91102,17 @@ var R8e = function(e) {
if (r == null) return 0;
var i = l6(e, t), a = u6(e, t);
if (i == null || a == null) return 0;
- var o = BZ(e), s = v$(e), c = r.maxBarSize, l = TK(c) ? s : c, u, d;
- return o === "horizontal" ? (u = M2(e, "xAxis", i, n), d = j2(e, "xAxis", i, n)) : (u = M2(e, "yAxis", a, n), d = j2(e, "yAxis", a, n)), lZ(u, d, !0) ?? l ?? 0;
+ var o = VZ(e), s = v$(e), c = r.maxBarSize, l = EK(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = M2(e, "xAxis", i, n), d = j2(e, "xAxis", i, n)) : (u = M2(e, "yAxis", a, n), d = j2(e, "yAxis", a, n)), uZ(u, d, !0) ?? l ?? 0;
}, K8e = (e, t, n) => {
- var r = BZ(e), i = l6(e, t), a = u6(e, t);
+ var r = VZ(e), i = l6(e, t), a = u6(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = M2(e, "xAxis", i, n), s = j2(e, "xAxis", i, n)) : (o = M2(e, "yAxis", a, n), s = j2(e, "yAxis", a, n)), lZ(o, s);
+ return r === "horizontal" ? (o = M2(e, "xAxis", i, n), s = j2(e, "xAxis", i, n)) : (o = M2(e, "yAxis", a, n), s = j2(e, "yAxis", a, n)), uZ(o, s);
}
}, q8e = Y([
- yZ,
- xZ,
+ bZ,
+ SZ,
(e, t, n) => {
var r = l6(e, t);
if (r != null) return M2(e, "xAxis", r, n);
@@ -91069,7 +91138,7 @@ var R8e = function(e) {
K8e,
B8e
], y2e), v6], x2e),
- BZ,
+ VZ,
IVe,
K8e,
Y([U8e, v6], b2e),
@@ -91127,7 +91196,7 @@ function X8e(e, t) {
var Z8e = /*#__PURE__*/ (0, b.createContext)(void 0), Q8e = (e) => {
var t = (0, b.useContext)(Z8e);
if (t != null) return t.stackId;
- if (e != null) return rZ(e);
+ if (e != null) return iZ(e);
}, $8e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, e5e = (e) => {
var t = (0, b.useContext)(Z8e);
if (t != null) {
@@ -91136,7 +91205,7 @@ var Z8e = /*#__PURE__*/ (0, b.createContext)(void 0), Q8e = (e) => {
}
}, t5e = (e) => {
var t = e.index, n = Y8e(e, J8e), r = e5e(t);
- return /*#__PURE__*/ b.createElement(aK, y6({
+ return /*#__PURE__*/ b.createElement(oK, y6({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
@@ -91272,20 +91341,20 @@ var _5e = (e) => {
dataKey: t,
type: i,
color: r,
- value: dZ(n, t),
+ value: fZ(n, t),
payload: e
}];
}, v5e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {
dataDefinedOnItem: void 0,
- getPosition: OK,
+ getPosition: kK,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: dZ(a, t),
+ name: fZ(a, t),
hide: o,
type: l,
color: i,
@@ -91299,7 +91368,7 @@ var _5e = (e) => {
function y5e(e) {
var t = J(X2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = S6(a, n5e), u = t3(o, r, a.id), d = n3(s), f = r3(c, r, a.id);
if (!i || n == null) return null;
- var p = eK(i);
+ var p = tK(i);
return /*#__PURE__*/ b.createElement(a4, { zIndex: R2e(i, T$.barBackground) }, n.map((e, n) => {
e.value;
var a = e.background;
@@ -91309,7 +91378,7 @@ function y5e(e) {
var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = x6(x6(x6(x6(x6({
option: i,
isActive: String(e.originalDataIndex) === t
- }, o), {}, { fill: "#eee" }, a), p), Nq(l, e, n)), {}, {
+ }, o), {}, { fill: "#eee" }, a), p), Pq(l, e, n)), {}, {
onMouseEnter: s,
onMouseLeave: c,
onClick: m,
@@ -91377,12 +91446,12 @@ function S5e(e) {
}));
}
function C5e(e) {
- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = $G(n) ?? {}, s = o.id, c = S6(o, i5e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = S6(n, a5e), g = t3(f, u, s), _ = n3(m), v = r3(p, u, s);
+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = eK(n) ?? {}, s = o.id, c = S6(o, i5e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = S6(n, a5e), g = t3(f, u, s), _ = n3(m), v = r3(p, u, s);
return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement(t5e, b6({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, Nq(h, e, t), {
+ }, Pq(h, e, t), {
onMouseEnter: g(e, e.originalDataIndex),
onMouseLeave: _(e, e.originalDataIndex),
onClick: v(e, e.originalDataIndex)
@@ -91409,22 +91478,22 @@ function C5e(e) {
}
var w5e = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
if (e.status === "removed") return n === "horizontal" ? [x6(x6({}, e.prev), {}, {
- height: CK(e.prev.height, 0, t),
- y: CK(e.prev.y, e.prev.y + e.prev.height, t)
- })] : [x6(x6({}, e.prev), {}, { width: CK(e.prev.width, 0, t) })];
+ height: wK(e.prev.height, 0, t),
+ y: wK(e.prev.y, e.prev.y + e.prev.height, t)
+ })] : [x6(x6({}, e.prev), {}, { width: wK(e.prev.width, 0, t) })];
if (e.status === "matched") return [x6(x6({}, e.next), {}, {
- x: CK(e.prev.x, e.next.x, t),
- y: CK(e.prev.y, e.next.y, t),
- width: CK(e.prev.width, e.next.width, t),
- height: CK(e.prev.height, e.next.height, t)
+ x: wK(e.prev.x, e.next.x, t),
+ y: wK(e.prev.y, e.next.y, t),
+ width: wK(e.prev.width, e.next.width, t),
+ height: wK(e.prev.height, e.next.height, t)
})];
var r = e.next;
return n === "horizontal" ? [x6(x6({}, r), {}, {
- height: CK(0, r.height, t),
- y: CK(r.stackedBarStart, r.y, t)
+ height: wK(0, r.height, t),
+ y: wK(r.stackedBarStart, r.y, t)
})] : [x6(x6({}, r), {}, {
- width: CK(0, r.width, t),
- x: CK(r.stackedBarStart, r.x, t)
+ width: wK(0, r.width, t),
+ x: wK(r.stackedBarStart, r.x, t)
})];
});
function T5e(e) {
@@ -91446,7 +91515,7 @@ function T5e(e) {
animationInterpolateFn: c,
animationMatchBy: t.animationMatchBy,
layout: l
- }, (e, n, r) => /*#__PURE__*/ b.createElement(aK, null, /*#__PURE__*/ b.createElement(C5e, {
+ }, (e, n, r) => /*#__PURE__*/ b.createElement(oK, null, /*#__PURE__*/ b.createElement(C5e, {
props: t,
data: e,
animationElapsedTime: n,
@@ -91467,21 +91536,21 @@ var D5e = 0, O5e = (e, t) => {
x: e.x,
y: e.y,
value: n,
- errorVal: QX(e, t)
+ errorVal: $X(e, t)
};
}, k5e = class extends b.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;
if (t || n == null) return null;
var u = wv("recharts-bar", i), d = l;
- return /*#__PURE__*/ b.createElement(aK, {
+ return /*#__PURE__*/ b.createElement(oK, {
className: u,
id: l
}, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
clipPathId: d,
xAxisId: a,
yAxisId: o
- })), /*#__PURE__*/ b.createElement(aK, {
+ })), /*#__PURE__*/ b.createElement(oK, {
className: "recharts-bar-rectangles",
clipPath: s ? `url(#clipPath-${d})` : void 0
}, /*#__PURE__*/ b.createElement(y5e, {
@@ -91510,7 +91579,7 @@ var D5e = 0, O5e = (e, t) => {
zIndex: T$.bar
};
function j5e(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = r6(t, n).needClip, f = VZ(), p = SZ(), m = Y$e(e.children, p4), h = J((t) => q8e(t, e.id, p, m));
+ var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = r6(t, n).needClip, f = HZ(), p = CZ(), m = Y$e(e.children, p4), h = J((t) => q8e(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(m6e, {
@@ -91536,19 +91605,19 @@ function j5e(e) {
})));
}
function M5e(e) {
- var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = oZ({ numericAxis: v }), x = v.scale.map(b);
+ var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = sZ({ numericAxis: v }), x = v.scale.map(b);
return p.map((e, n) => {
var p, v, S, C, w, T;
if (f) {
var E = f[n + _];
if (E == null) return null;
- p = nZ(E, y);
- } else p = QX(e, r), Array.isArray(p) || (p = [b, p]);
+ p = rZ(E, y);
+ } else p = $X(e, r), Array.isArray(p) || (p = [b, p]);
var D = R8e(i, D5e)(p[1], n);
if (t === "horizontal") {
var O = l.scale.map(p[0]), k = l.scale.map(p[1]);
if (O == null || k == null) return null;
- v = aZ({
+ v = oZ({
axis: c,
ticks: u,
bandSize: s,
@@ -91557,19 +91626,19 @@ function M5e(e) {
index: n
}), S = k ?? O ?? void 0, C = o.size;
var A = O - k;
- if (w = gK(A) ? 0 : A, T = {
+ if (w = _K(A) ? 0 : A, T = {
x: v,
y: m.top,
width: C,
height: m.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = hK(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = gK(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
var M = c.scale.map(p[0]), N = c.scale.map(p[1]);
if (M == null || N == null) return null;
- if (v = M, S = aZ({
+ if (v = M, S = oZ({
axis: l,
ticks: d,
bandSize: s,
@@ -91582,7 +91651,7 @@ function M5e(e) {
width: m.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var P = hK(C || D) * (Math.abs(D) - Math.abs(C));
+ var P = gK(C || D) * (Math.abs(D) - Math.abs(C));
C += P;
}
}
@@ -91605,7 +91674,7 @@ function M5e(e) {
}).filter(Boolean);
}
function N5e(e) {
- var t = Fq(e, A5e), n = Q8e(t.stackId), r = SZ();
+ var t = Iq(e, A5e), n = Q8e(t.stackId), r = CZ();
return /*#__PURE__*/ b.createElement(f3, {
id: t.id,
type: "bar"
@@ -91637,7 +91706,7 @@ function N5e(e) {
hasCustomShape: t.shape != null && t.shape !== g6
}), /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(j5e, b6({}, t, { id: e })))));
}
-var C6 = /*#__PURE__*/ b.memo(N5e, eQ);
+var C6 = /*#__PURE__*/ b.memo(N5e, tQ);
C6.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
@@ -91666,7 +91735,7 @@ function R5e(e, t) {
function z5e(e, t) {
if (e === t) return !0;
var n = e.domain, r = e.range, i = I5e(e, P5e), a = t.domain, o = t.range, s = I5e(t, F5e);
- return !R5e(n, a) || !R5e(r, o) ? !1 : eQ(i, s);
+ return !R5e(n, a) || !R5e(r, o) ? !1 : tQ(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
@@ -91746,7 +91815,7 @@ function J5e(e, t) {
return n;
}
function Y5e(e) {
- var t = OJ(), n = (0, b.useRef)(null), r = HZ(), i = e.type, a = T6(e, B5e), o = k$(r, "xAxis", i), s = (0, b.useMemo)(() => {
+ var t = kJ(), n = (0, b.useRef)(null), r = UZ(), i = e.type, a = T6(e, B5e), o = k$(r, "xAxis", i), s = (0, b.useMemo)(() => {
if (o != null) return W5e(W5e({}, a), {}, { type: o });
}, [a, o]);
return (0, b.useLayoutEffect)(() => {
@@ -91759,7 +91828,7 @@ function Y5e(e) {
}, [t]), null;
}
var X5e = (e) => {
- var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(xZ), c = SZ(), l = OJ(), u = "xAxis", d = J((e) => Vqe(e, u, t, c)), f = J((e) => kqe(e, t)), p = J((e) => Pqe(e, t)), m = J((e) => DKe(e, t));
+ var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(SZ), c = CZ(), l = kJ(), u = "xAxis", d = J((e) => Vqe(e, u, t, c)), f = J((e) => kqe(e, t)), p = J((e) => Pqe(e, t)), m = J((e) => DKe(e, t));
if ((0, b.useLayoutEffect)(() => {
if (!(r !== "auto" || !f || C4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
var e = a.current;
@@ -91822,7 +91891,7 @@ var X5e = (e) => {
niceTicks: H0.niceTicks,
xAxisId: 0
}, Q5e = /*#__PURE__*/ b.memo((e) => {
- var t = Fq(e, Z5e);
+ var t = Iq(e, Z5e);
return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Y5e, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
@@ -91930,7 +91999,7 @@ function s7e(e, t) {
return n;
}
function c7e(e) {
- var t = OJ(), n = (0, b.useRef)(null), r = HZ(), i = e.type, a = D6(e, $5e), o = k$(r, "yAxis", i), s = (0, b.useMemo)(() => {
+ var t = kJ(), n = (0, b.useRef)(null), r = UZ(), i = e.type, a = D6(e, $5e), o = k$(r, "yAxis", i), s = (0, b.useMemo)(() => {
if (o != null) return r7e(r7e({}, a), {}, { type: o });
}, [o, a]);
return (0, b.useLayoutEffect)(() => {
@@ -91943,7 +92012,7 @@ function c7e(e) {
}, [t]), null;
}
function l7e(e) {
- var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(xZ), c = SZ(), l = OJ(), u = "yAxis", d = J((e) => Iqe(e, t)), f = J((e) => Fqe(e, t)), p = J((e) => Vqe(e, u, t, c)), m = J((e) => OKe(e, t));
+ var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(SZ), c = CZ(), l = kJ(), u = "yAxis", d = J((e) => Iqe(e, t)), f = J((e) => Fqe(e, t)), p = J((e) => Vqe(e, u, t, c)), m = J((e) => OKe(e, t));
if ((0, b.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || C4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
var e = a.current;
@@ -92008,7 +92077,7 @@ var u7e = {
width: W0.width,
yAxisId: 0
}, d7e = /*#__PURE__*/ b.memo((e) => {
- var t = Fq(e, u7e);
+ var t = Iq(e, u7e);
return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(c7e, {
interval: t.interval,
id: t.yAxisId,
@@ -92040,13 +92109,13 @@ var u7e = {
d7e.displayName = "YAxis";
var O6 = Y([
(e, t) => t,
- BZ,
+ VZ,
F$,
U$,
GJe,
K2,
vYe,
- yZ
+ bZ
], DYe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
@@ -92070,7 +92139,7 @@ function k6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var p7e = lX("mouseClick"), m7e = UX();
+var p7e = uX("mouseClick"), m7e = WX();
m7e.startListening({
actionCreator: p7e,
effect: (e, t) => {
@@ -92082,7 +92151,7 @@ m7e.startListening({
}));
}
});
-var A6 = lX("mouseMove"), h7e = UX(), j6 = null, M6 = null, N6 = null;
+var A6 = uX("mouseMove"), h7e = WX(), j6 = null, M6 = null, N6 = null;
h7e.startListening({
actionCreator: A6,
effect: (e, t) => {
@@ -92125,17 +92194,17 @@ var _7e = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, v7e = vX({
+}, v7e = yX({
name: "rootProps",
initialState: _7e,
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? _7e.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;
} }
-}), y7e = v7e.reducer, b7e = v7e.actions.updateOptions, x7e = vX({
+}), y7e = v7e.reducer, b7e = v7e.actions.updateOptions, x7e = yX({
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) }
-}), S7e = x7e.actions.updatePolarOptions, C7e = x7e.reducer, w7e = lX("keyDown"), T7e = lX("focus"), E7e = lX("blur"), P6 = UX(), F6 = null, I6 = null, L6 = null;
+}), S7e = x7e.actions.updatePolarOptions, C7e = x7e.reducer, w7e = uX("keyDown"), T7e = uX("focus"), E7e = uX("blur"), P6 = WX(), F6 = null, I6 = null, L6 = null;
P6.startListening({
actionCreator: w7e,
effect: (e, t) => {
@@ -92240,7 +92309,7 @@ function D7e(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var R6 = lX("externalEvent"), O7e = UX(), z6 = /* @__PURE__ */ new Map(), B6 = /* @__PURE__ */ new Map(), V6 = /* @__PURE__ */ new Map();
+var R6 = uX("externalEvent"), O7e = WX(), z6 = /* @__PURE__ */ new Map(), B6 = /* @__PURE__ */ new Map(), V6 = /* @__PURE__ */ new Map();
O7e.startListening({
actionCreator: R6,
effect: (e, t) => {
@@ -92298,7 +92367,7 @@ var k7e = Y([
if (i != null) return i(t);
}
}
-}), A7e = lX("touchMove"), j7e = UX(), H6 = null, U6 = null, M7e = null, W6 = null;
+}), A7e = uX("touchMove"), j7e = WX(), H6 = null, U6 = null, M7e = null, W6 = null;
j7e.startListening({
actionCreator: A7e,
effect: (e, t) => {
@@ -92331,7 +92400,7 @@ j7e.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(oRe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = H2(e).find((e) => e.id === c);
+ var s = o.getAttribute(aRe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = H2(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
var u = l.dataKey, d = k7e(e, s, c);
t.dispatch(tJe({
@@ -92361,21 +92430,21 @@ var G6 = {
"scroll",
"wheel"
]
-}, N7e = vX({
+}, N7e = yX({
name: "eventSettings",
initialState: G6,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = sX(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = cX(t.payload.throttledEvents));
} }
-}), P7e = N7e.actions.setEventSettings, F7e = N7e.reducer, I7e = XJ({
+}), P7e = N7e.actions.setEventSettings, F7e = N7e.reducer, I7e = ZJ({
brush: s4e,
cartesianAxis: f0e,
chartData: sXe,
errorBars: l6e,
eventSettings: F7e,
graphicalItems: B1e,
- layout: qLe,
- legend: HRe,
+ layout: KLe,
+ legend: VRe,
options: tXe,
polarAxis: o$e,
polarOptions: C7e,
@@ -92386,7 +92455,7 @@ var G6 = {
zIndex: HYe
}), L7e = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return yLe({
+ return vLe({
reducer: I7e,
preloadedState: e,
middleware: (e) => e({
@@ -92405,9 +92474,9 @@ var G6 = {
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(gX({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(_X({ type: "raf" }));
},
- devTools: pQ.devToolsEnabled && {
+ devTools: mQ.devToolsEnabled && {
serialize: { replacer: g7e },
name: `recharts-${t}`
}
@@ -92416,11 +92485,11 @@ var G6 = {
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
function R7e(e) {
- var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = SZ(), a = (0, b.useRef)(null);
+ var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = CZ(), a = (0, b.useRef)(null);
if (i) return n;
a.current ??= L7e(t, r);
- var o = DJ;
- return /*#__PURE__*/ b.createElement(nze, {
+ var o = OJ;
+ return /*#__PURE__*/ b.createElement(tze, {
context: o,
store: a.current
}, n);
@@ -92428,9 +92497,9 @@ function R7e(e) {
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
function z7e(e) {
- var t = e.layout, n = e.margin, r = OJ(), i = SZ();
+ var t = e.layout, n = e.margin, r = kJ(), i = CZ();
return (0, b.useEffect)(() => {
- i || (r(WLe(t)), r(ULe(n)));
+ i || (r(ULe(t)), r(HLe(n)));
}, [
r,
i,
@@ -92438,25 +92507,25 @@ function z7e(e) {
n
]), null;
}
-var B7e = /*#__PURE__*/ (0, b.memo)(z7e, eQ);
+var B7e = /*#__PURE__*/ (0, b.memo)(z7e, tQ);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function V7e(e) {
- var t = OJ();
+ var t = kJ();
return (0, b.useEffect)(() => {
t(b7e(e));
}, [t, e]), null;
}
var H7e = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = OJ();
+ var t = kJ();
return (0, b.useEffect)(() => {
t(P7e(e));
}, [t, e]), null;
-}, eQ);
+}, tQ);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function U7e(e) {
- var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = OJ();
+ var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = kJ();
return (0, b.useLayoutEffect)(() => (r.current && i(BYe({
zIndex: t,
element: r.current,
@@ -92525,10 +92594,10 @@ var J7e = {
height: "100%",
display: "block"
}, Y7e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = RZ(), r = zZ(), i = yQ();
- if (!YX(n) || !YX(r)) return null;
+ var n = zZ(), r = BZ(), i = bQ();
+ if (!XX(n) || !XX(r)) return null;
var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ b.createElement(rK, K6({}, 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(iK, K6({}, o, {
title: s,
desc: c,
role: u,
@@ -92539,10 +92608,10 @@ var J7e = {
ref: t
}), a);
}), X7e = (e) => {
- var t = e.children, n = J(wZ);
+ var t = e.children, n = J(TZ);
if (!n) return null;
var r = n.width, i = n.height, a = n.y, o = n.x;
- return /*#__PURE__*/ b.createElement(rK, {
+ return /*#__PURE__*/ b.createElement(iK, {
width: r,
height: i,
x: o,
@@ -92550,7 +92619,7 @@ var J7e = {
}, t);
}, Z7e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = e.children, r = K7e(e, G7e);
- return SZ() ? /*#__PURE__*/ b.createElement(X7e, null, /*#__PURE__*/ b.createElement(W7e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(Y7e, K6({ ref: t }, r), /*#__PURE__*/ b.createElement(W7e, { isPanorama: !1 }, n));
+ return CZ() ? /*#__PURE__*/ b.createElement(X7e, null, /*#__PURE__*/ b.createElement(W7e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(Y7e, K6({ ref: t }, r), /*#__PURE__*/ b.createElement(W7e, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
@@ -92597,11 +92666,11 @@ function r9e(e) {
if (Array.isArray(e)) return e;
}
function i9e() {
- var e = OJ(), t = Q7e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(aRe);
+ var e = kJ(), t = Q7e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(iRe);
return (0, b.useEffect)(() => {
if (n != null) {
var t = n.getBoundingClientRect().width / n.offsetWidth;
- JX(t) && t !== i && e(KLe(t));
+ YX(t) && t !== i && e(GLe(t));
}
}, [
n,
@@ -92742,7 +92811,7 @@ var g9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
}, [t, o]);
return (0, b.useEffect)(() => () => {
n.current?.disconnect();
- }, [o]), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(GZ, {
+ }, [o]), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(KZ, {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ b.createElement("div", q6({ ref: s }, e)));
@@ -92764,13 +92833,13 @@ var g9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
s(r, i);
}
}, [t, s]);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(GZ, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(KZ, {
width: a.containerWidth,
height: a.containerHeight
}), /*#__PURE__*/ b.createElement("div", q6({ ref: c }, e)));
}), v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = e.width, r = e.height;
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(GZ, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(KZ, {
width: n,
height: r
}), /*#__PURE__*/ b.createElement("div", q6({ ref: t }, e)));
@@ -92780,7 +92849,7 @@ var g9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(GZ, {
+ })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(KZ, {
width: n,
height: r
}), /*#__PURE__*/ b.createElement("div", q6({ ref: t }, e)));
@@ -92789,7 +92858,7 @@ function b9e(e) {
return e ? g9e : y9e;
}
var x9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = OJ(), w = J6((0, b.useState)(null), 2), T = w[0], E = w[1], D = J6((0, b.useState)(null), 2), O = D[0], k = D[1], A = i9e(), j = PZ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {
+ var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = kJ(), w = J6((0, b.useState)(null), 2), T = w[0], E = w[1], D = J6((0, b.useState)(null), 2), O = D[0], k = D[1], A = i9e(), j = FZ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {
A(e), typeof t == "function" && t(e), E(e), k(e), e != null && (S.current = e);
}, [
A,
@@ -92862,7 +92931,7 @@ var x9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
reactEvent: e
}));
}, [C, p]), fe = b9e(v);
- return /*#__PURE__*/ b.createElement(XYe.Provider, { value: T }, /*#__PURE__*/ b.createElement(PK.Provider, { value: O }, /*#__PURE__*/ b.createElement(fe, {
+ return /*#__PURE__*/ b.createElement(XYe.Provider, { value: T }, /*#__PURE__*/ b.createElement(FK.Provider, { value: O }, /*#__PURE__*/ b.createElement(fe, {
width: M ?? g?.width,
height: N ?? g?.height,
className: wv("recharts-wrapper", r),
@@ -92918,8 +92987,8 @@ function w9e(e, t) {
return n;
}
var T9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = $G(C9e(e, S9e));
- return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(GZ, {
+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = eK(C9e(e, S9e));
+ return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(KZ, {
width: n,
height: r
}), /*#__PURE__*/ b.createElement(Z7e, {
@@ -93020,7 +93089,7 @@ var j9e = D9e({
stackOffset: "none",
syncMethod: "index"
}, G6), Z6 = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- var n = Fq(e.categoricalChartProps, j9e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
+ var n = Iq(e.categoricalChartProps, j9e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -93067,7 +93136,7 @@ var j9e = D9e({
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
function I9e(e) {
- var t = OJ();
+ var t = kJ();
return (0, b.useEffect)(() => {
t(S7e(e));
}, [t, e]), null;
@@ -93165,7 +93234,7 @@ var $6 = V9e({
innerRadius: 0,
outerRadius: "80%"
}, G6), G9e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- var n = Fq(e.categoricalChartProps, $6), r = n.layout, i = R9e(n, L9e), a = e.chartName, o = {
+ var n = Iq(e.categoricalChartProps, $6), r = n.layout, i = R9e(n, L9e), a = e.chartName, o = {
chartName: a,
defaultTooltipEventType: e.defaultTooltipEventType,
validateTooltipEventTypes: e.validateTooltipEventTypes,
@@ -93252,7 +93321,7 @@ var Z9e = ["axis"], Q9e = q9e(q9e({}, $6), {}, {
startAngle: 90,
endAngle: -270
}), $9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = Fq(e, Q9e);
+ var n = Iq(e, Q9e);
return /*#__PURE__*/ b.createElement(G9e, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
@@ -93319,7 +93388,7 @@ var set = ["axis", "item"], cet = ret(ret({}, $6), {}, {
startAngle: 0,
endAngle: 360
}), uet = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = Fq(e, cet);
+ var n = Iq(e, cet);
return /*#__PURE__*/ b.createElement(G9e, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
@@ -93332,7 +93401,7 @@ var set = ["axis", "item"], cet = ret(ret({}, $6), {}, {
//#endregion
//#region src/react/charts/cn.ts
function e8(...e) {
- return Bk(wv(e));
+ return Vk(wv(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -93366,7 +93435,7 @@ function r8({ id: e, config: t, initialDimension: n = {
id: c,
config: t
}),
- /* @__PURE__ */ (0, x.jsx)(FZ, {
+ /* @__PURE__ */ (0, x.jsx)(IZ, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -93562,7 +93631,7 @@ function Cet(e, t) {
...n
};
}
-var u8 = aQ, d8 = () => null, wet = {
+var u8 = oQ, d8 = () => null, wet = {
stiffness: 300,
damping: 35,
mass: .8
@@ -93829,7 +93898,7 @@ function Oet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, x.jsx)(FZ, {
+ if (r === "line") return /* @__PURE__ */ (0, x.jsx)(IZ, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, x.jsxs)(N9e, {
@@ -93856,7 +93925,7 @@ function Oet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, x.jsx)(FZ, {
+ return /* @__PURE__ */ (0, x.jsx)(IZ, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, x.jsxs)(F9e, {
@@ -93885,7 +93954,7 @@ function Oet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, x.jsx)(FZ, {
+ return /* @__PURE__ */ (0, x.jsx)(IZ, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, x.jsxs)(tet, {
@@ -94384,7 +94453,7 @@ var Get = (e) => {
c,
0,
0
- ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(e$, {
+ ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(t$, {
x: t,
y: n,
width: r,
@@ -94395,7 +94464,7 @@ var Get = (e) => {
filter: D,
stroke: C ? `url(#${a}-colors-${o})` : void 0,
strokeWidth: C ? 1 : void 0
- }), w && /* @__PURE__ */ (0, x.jsx)(e$, {
+ }), w && /* @__PURE__ */ (0, x.jsx)(t$, {
x: t,
y: n - 4,
width: r,
@@ -94406,7 +94475,7 @@ var Get = (e) => {
return /* @__PURE__ */ (0, x.jsxs)("g", {
style: k,
onClick: b,
- children: [/* @__PURE__ */ (0, x.jsx)(e$, {
+ children: [/* @__PURE__ */ (0, x.jsx)(t$, {
...e,
fill: "transparent"
}), T ? /* @__PURE__ */ (0, x.jsx)(v_.g, {
@@ -94880,7 +94949,7 @@ var att = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr
m8.Bar = zet, m8.XAxis = Bet, m8.YAxis = Vet, m8.Grid = Het, m8.Tooltip = Uet, m8.Legend = Wet, m8.Brush = d8;
//#endregion
//#region src/react/charts/chart-card.tsx
-var h8 = `${Kk({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var h8 = `${qk({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function g8({ title: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: h8,
@@ -95318,7 +95387,7 @@ function ktt({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, x.jsx)(ak, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, x.jsx)(ok, { "aria-hidden": !0 })
}) : null]
});
}
@@ -95532,15 +95601,15 @@ var Gtt = [
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
function qtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
- let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = CPe(t);
+ let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = SPe(t);
if (!c.length) return /* @__PURE__ */ (0, x.jsx)(g8, {
title: e,
children: n
});
- let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = wPe(c.map((e) => e.value)), m = c.map((e, t) => ({
+ let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = CPe(c.map((e) => e.value)), m = c.map((e, t) => ({
slice: C8(t),
value: e.value,
- arc: TPe(e.value, p)
+ arc: wPe(e.value, p)
}));
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: h8,
@@ -95551,7 +95620,7 @@ function qtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsxs)("h3", {
className: "flex items-center gap-1.5 text-title-2-medium wrap-anywhere text-text-primary",
- children: [d?.mark ? /* @__PURE__ */ (0, x.jsx)(pA, { mark: d.mark }) : null, d ? d.name : e]
+ children: [d?.mark ? /* @__PURE__ */ (0, x.jsx)(mA, { mark: d.mark }) : null, d ? d.name : e]
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: (d ? d.value : u).toLocaleString()
@@ -95574,7 +95643,7 @@ function qtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, x.jsx)(A8.RadialBar, {
dataKey: "arc",
- barSize: EPe(c.length),
+ barSize: TPe(c.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, x.jsx)(c$, {
...e,
@@ -95610,7 +95679,7 @@ function qtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: `mt-0.5 size-3 shrink-0 rounded-sm ${Gtt[t % 6]}`
}), /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",
- children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(pA, { mark: e.mark }) : null, e.name]
+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(mA, { mark: e.mark }) : null, e.name]
})]
}),
/* @__PURE__ */ (0, x.jsx)("b", {
@@ -95629,7 +95698,7 @@ function qtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var Jtt = 10, j8 = x8[5], Ytt = x8[4], Xtt = `${Kk()} flex flex-col gap-4`, M8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", Ztt = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", Qtt = "开始播放后,这里会显示最近的真实观看证据。", $tt = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", ent = "添加媒体文件夹后,这里会显示存储空间。", tnt = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", nnt = "探测时长后,这里会显示时长分布。", rnt = "探测画质后,这里会显示画质分布。", int = "开始播放后,这里会显示播放落在一周的哪些时段。", ant = "开始播放后,这里会显示每个作品播了几次。", N8 = (e, t) => Math.min(Math.max(e, 0), t);
+var Jtt = 10, j8 = x8[5], Ytt = x8[4], Xtt = `${qk()} flex flex-col gap-4`, M8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", Ztt = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", Qtt = "开始播放后,这里会显示最近的真实观看证据。", $tt = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", ent = "添加媒体文件夹后,这里会显示存储空间。", tnt = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", nnt = "探测时长后,这里会显示时长分布。", rnt = "探测画质后,这里会显示画质分布。", int = "开始播放后,这里会显示播放落在一周的哪些时段。", ant = "开始播放后,这里会显示每个作品播了几次。", N8 = (e, t) => Math.min(Math.max(e, 0), t);
function P8({ term: e, value: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -95638,7 +95707,7 @@ function P8({ term: e, value: t }) {
children: e
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-title-3-medium tabular-nums text-text-primary",
- children: WG(t)
+ children: GG(t)
})]
});
}
@@ -95650,14 +95719,14 @@ function F8({ term: e, value: t, total: n }) {
className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: e }), /* @__PURE__ */ (0, x.jsxs)("b", {
className: "tabular-nums",
- children: [WG(t), UG(t) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [GG(t), WG(t) ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: GG(t, n)
+ children: KG(t, n)
}) : null]
})]
- }), /* @__PURE__ */ (0, x.jsx)(Zk, {
- label: `${e}:${WG(t)} / ${n.toLocaleString()}`,
- value: UG(t) ? N8(t, r) : 0,
+ }), /* @__PURE__ */ (0, x.jsx)(Qk, {
+ label: `${e}:${GG(t)} / ${n.toLocaleString()}`,
+ value: WG(t) ? N8(t, r) : 0,
max: r
})]
});
@@ -95722,7 +95791,7 @@ function ont({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: j8,
- rows: APe(e.by_length),
+ rows: kPe(e.by_length),
empty: nnt
}),
/* @__PURE__ */ (0, x.jsx)(E8, {
@@ -95730,7 +95799,7 @@ function ont({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: j8,
- rows: YG(e.by_quality),
+ rows: XG(e.by_quality),
empty: rnt
}),
/* @__PURE__ */ (0, x.jsx)(E8, {
@@ -95739,20 +95808,20 @@ function ont({ data: e, configurable: t, openMediaSettings: n }) {
series: "条目",
color: j8,
layout: "horizontal",
- rows: OPe(e.by_medium),
+ rows: DPe(e.by_medium),
empty: M8
})
]
})]
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: ehe,
+ icon: $me,
title: "还没有视频",
actions: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [t ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, x.jsx)(Gk, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "secondary",
href: "/subscriptions?tab=add",
size: "small",
@@ -95778,7 +95847,7 @@ function snt({ data: e }) {
unit: "个作品",
series: "作品",
color: Ytt,
- rows: MPe(e.replays),
+ rows: jPe(e.replays),
empty: ant
})] });
}
@@ -95832,11 +95901,11 @@ function lnt({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [Xt(n), /* @__PURE__ */ (0, x.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: GG(n, t)
+ children: KG(n, t)
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, x.jsx)(Zk, {
+ t == null ? null : /* @__PURE__ */ (0, x.jsx)(Qk, {
label: `${e.label}空间使用率`,
value: N8(n, Math.max(t, 1)),
max: Math.max(t, 1)
@@ -95858,9 +95927,9 @@ function unt({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col",
children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(lnt, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: pk,
+ icon: mk,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
@@ -95896,11 +95965,11 @@ function dnt({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, `${e.k}:${r}`))
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: hk,
+ icon: gk,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
@@ -95913,7 +95982,7 @@ function fnt({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = qG(e);
+ let t = JG(e);
return /* @__PURE__ */ (0, x.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -95921,7 +95990,7 @@ function fnt({ rows: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, x.jsx)("a", {
- href: SPe(e),
+ href: xPe(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
@@ -95931,25 +96000,25 @@ function fnt({ rows: e }) {
children: [e.creator ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 wrap-anywhere",
children: e.creator
- }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: xPe(e) })]
+ }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: bPe(e) })]
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, x.jsx)(Zk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Qk, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, x.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${JG(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${YG(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: mk,
+ icon: hk,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "secondary",
href: "/",
size: "small",
@@ -95977,7 +96046,7 @@ function pnt({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, x.jsx)(Zk, {
+ /* @__PURE__ */ (0, x.jsx)(Qk, {
label: `${e.k} 覆盖视频`,
value: N8(e.assets, Math.max(t, 1)),
max: Math.max(t, 1)
@@ -95988,11 +96057,11 @@ function pnt({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: hk,
+ icon: gk,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(Kk, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
@@ -96002,13 +96071,13 @@ function pnt({ sources: e, videos: t }) {
});
}
function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, x.jsx)(TN, {
+ return /* @__PURE__ */ (0, x.jsx)(EN, {
id: e,
- className: BI({
+ className: VI({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, x.jsx)(WI, {
+ children: /* @__PURE__ */ (0, x.jsx)(GI, {
label: t,
icon: i,
accent: a,
@@ -96019,32 +96088,32 @@ function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
}
function mnt(e) {
let t = ut({
- queryKey: VG,
- queryFn: ({ signal: e }) => HG(e)
+ queryKey: HG,
+ queryFn: ({ signal: e }) => UG(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!n) return /* @__PURE__ */ (0, x.jsx)(Xk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? B(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 = UG(n.tag_cov) ? GG(n.tag_cov, n.attribution.videos) : "未取得", c = `${WG(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
- return /* @__PURE__ */ (0, x.jsxs)(Yk, { 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 = WG(n.tag_cov) ? KG(n.tag_cov, n.attribution.videos) : "未取得", c = `${GG(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
+ return /* @__PURE__ */ (0, x.jsxs)(Xk, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${Xt(o)}`
}),
- /* @__PURE__ */ (0, x.jsxs)(CN, {
+ /* @__PURE__ */ (0, x.jsxs)(wN, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsxs)(wN, {
+ /* @__PURE__ */ (0, x.jsxs)(TN, {
"aria-label": "统计视图",
- className: VI,
+ className: HI,
children: [
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "inventory",
label: "馆藏视频",
- icon: uk,
+ icon: dk,
accent: 0,
figure: a.toLocaleString(),
detail: Xt(o)
@@ -96052,15 +96121,15 @@ function mnt(e) {
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "viewing",
label: "看过",
- icon: Pme,
+ icon: Nme,
accent: 1,
- figure: WG(r.played),
- detail: KG(r.play_seconds)
+ figure: GG(r.played),
+ detail: qG(r.play_seconds)
}),
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "coverage",
label: "内容标签",
- icon: hk,
+ icon: gk,
accent: 2,
figure: s,
detail: c
@@ -96068,27 +96137,27 @@ function mnt(e) {
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "storage",
label: "使用空间",
- icon: pk,
+ icon: mk,
accent: 3,
figure: `${i.online.toLocaleString()} 个卷`,
detail: i.measured ? `已用 ${Xt(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(DN, {
id: "inventory",
children: /* @__PURE__ */ (0, x.jsx)(ont, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, x.jsxs)(EN, {
+ /* @__PURE__ */ (0, x.jsxs)(DN, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, x.jsx)(L8, {
headline: /* @__PURE__ */ (0, x.jsx)(I8, {
term: "观看",
- figure: WG(r.played),
+ figure: GG(r.played),
unit: "个作品有播放记录"
}),
children: /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -96130,7 +96199,7 @@ function mnt(e) {
})
}), /* @__PURE__ */ (0, x.jsx)(snt, { data: n })]
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(DN, {
id: "coverage",
children: /* @__PURE__ */ (0, x.jsx)(L8, {
headline: /* @__PURE__ */ (0, x.jsx)(I8, {
@@ -96141,7 +96210,7 @@ function mnt(e) {
children: /* @__PURE__ */ (0, x.jsx)(cnt, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(DN, {
id: "storage",
children: /* @__PURE__ */ (0, x.jsx)(L8, {
headline: /* @__PURE__ */ (0, x.jsx)(I8, {
@@ -96157,35 +96226,35 @@ function mnt(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(CN, {
+ /* @__PURE__ */ (0, x.jsxs)(wN, {
defaultSelectedKey: "tags",
- className: `${Kk({ padding: "none" })} flex flex-col`,
+ className: `${qk({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, x.jsxs)(JN, {
+ children: /* @__PURE__ */ (0, x.jsxs)(YN, {
"aria-label": "统计维度",
- className: XN,
+ className: ZN,
children: [
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(EN, {
id: "tags",
- className: ZN,
+ className: QN,
children: "内容标签"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(EN, {
id: "recent",
- className: ZN,
+ className: QN,
children: "最近看过"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(EN, {
id: "sources",
- className: ZN,
+ className: QN,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(DN, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(dnt, {
@@ -96193,12 +96262,12 @@ function mnt(e) {
...e
})
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(DN, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(fnt, { rows: n.recent })
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(DN, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(pnt, {
@@ -96605,7 +96674,7 @@ function Qnt(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
return !e.range_start && !e.range_end ? t : `${t} · ${q8(e.range_start)}—${q8(e.range_end)}`;
}
-var $nt = KG, ert = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), trt = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+var $nt = qG, ert = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), trt = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
function nrt(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
@@ -97322,7 +97391,7 @@ function Xrt({ browsers: e, range: t }) {
}
});
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: `${Kk()} flex flex-col gap-4`,
+ className: `${qk()} flex flex-col gap-4`,
"aria-label": "浏览器同步",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -97356,7 +97425,7 @@ function Xrt({ browsers: e, range: t }) {
});
},
children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "浏览器名称",
value: i,
onChange: a,
@@ -97364,7 +97433,7 @@ function Xrt({ browsers: e, range: t }) {
isRequired: !0,
isDisabled: c.isPending
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
label: "资料目录或历史文件",
value: o,
onChange: s,
@@ -97441,11 +97510,11 @@ function Xrt({ browsers: e, range: t }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var Zrt = 10, Qrt = Bk(qI, JI, "text-body-2-medium"), Z8 = `${Kk()} flex flex-col gap-4`, Q8 = "rounded-xl bg-background-primary-default p-3", $rt = "读取运行 Peach 的这台电脑上的浏览记录", eit = "导入或读取浏览记录后,这里会列出已采集设备。", tit = "馆藏里暂时没有对得上浏览信号的标签。", nit = "采集浏览记录后,这里会显示聚合后的口味证据。", rit = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", iit = "采集浏览记录后,这里会列出浏览过的标签。", ait = "采集浏览记录后,这里会列出浏览过的创作者。", oit = "采集浏览记录后,这里会列出常访问的网站。", sit = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", cit = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", lit = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", uit = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", dit = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", fit = "需要刷新时再次读取或导入;数据源可在页面底部移除。", pit = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", mit = "peach-taste-guide-dismissed";
+var Zrt = 10, Qrt = Vk(JI, YI, "text-body-2-medium"), Z8 = `${qk()} flex flex-col gap-4`, Q8 = "rounded-xl bg-background-primary-default p-3", $rt = "读取运行 Peach 的这台电脑上的浏览记录", eit = "导入或读取浏览记录后,这里会列出已采集设备。", tit = "馆藏里暂时没有对得上浏览信号的标签。", nit = "采集浏览记录后,这里会显示聚合后的口味证据。", rit = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", iit = "采集浏览记录后,这里会列出浏览过的标签。", ait = "采集浏览记录后,这里会列出浏览过的创作者。", oit = "采集浏览记录后,这里会列出常访问的网站。", sit = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", cit = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", lit = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", uit = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", dit = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", fit = "需要刷新时再次读取或导入;数据源可在页面底部移除。", pit = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", mit = "peach-taste-guide-dismissed";
function $8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: BI(),
- children: /* @__PURE__ */ (0, x.jsx)(WI, {
+ className: VI(),
+ children: /* @__PURE__ */ (0, x.jsx)(GI, {
label: t,
icon: e,
accent: i,
@@ -97470,14 +97539,14 @@ function hit({ name: e, domain: t }) {
}
function git({ html: e }) {
return /* @__PURE__ */ (0, x.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 ${UB}`,
+ 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 ${WB}`,
dangerouslySetInnerHTML: { __html: e }
});
}
function _it({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
- if (!e.length) return /* @__PURE__ */ (0, x.jsx)(qk, {
+ if (!e.length) return /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: _k,
+ icon: vk,
title: "暂无足够证据",
children: r
});
@@ -97527,7 +97596,7 @@ function _it({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: nrt(e)
})]
}),
- o ? /* @__PURE__ */ (0, x.jsx)(sk, {
+ o ? /* @__PURE__ */ (0, x.jsx)(ck, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -97548,20 +97617,20 @@ function _it({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
});
}
function vit({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, x.jsxs)(CN, {
- className: `${Kk({ padding: "none" })} flex flex-col`,
+ return /* @__PURE__ */ (0, x.jsxs)(wN, {
+ className: `${qk({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, x.jsx)(JN, {
+ children: /* @__PURE__ */ (0, x.jsx)(YN, {
"aria-label": e,
- className: XN,
- children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(TN, {
+ className: ZN,
+ children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(EN, {
id: e.id,
- className: ZN,
+ className: QN,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(EN, {
+ }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(DN, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(_it, {
@@ -97640,14 +97709,14 @@ function yit({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular wrap-anywhere text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, x.jsx)(sk, {
+ }), /* @__PURE__ */ (0, x.jsx)(ck, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: _k,
+ icon: vk,
title: "还没有可探索的入口",
children: tit
})
@@ -97663,11 +97732,11 @@ function bit({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, x.jsx)("div", {
- className: Kk({
+ className: qk({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, x.jsxs)(fA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(pA, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
@@ -97736,7 +97805,7 @@ function xit({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: lk,
+ leadingIcon: uk,
title: $rt,
onClick: t,
...q(e),
@@ -97744,7 +97813,7 @@ function xit({ busy: e, onRefresh: t, onImport: n }) {
}), /* @__PURE__ */ (0, x.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: ak,
+ leadingIcon: ok,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -97753,21 +97822,21 @@ function xit({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(AM, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: KI,
- children: /* @__PURE__ */ (0, x.jsxs)(GI, {
+ className: qI,
+ children: /* @__PURE__ */ (0, x.jsxs)(KI, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
className: Qrt,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, x.jsx)(lk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(uk, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -97775,7 +97844,7 @@ function xit({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: Qrt,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, x.jsx)(Qme, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Zme, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -97809,10 +97878,10 @@ function Sit({ sources: e, window: t, toast: n }) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, x.jsx)(Qme, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, x.jsx)(Zme, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, x.jsx)(uk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(dk, {
"aria-hidden": !0,
className: "size-4"
})
@@ -97833,7 +97902,7 @@ function Sit({ sources: e, window: t, toast: n }) {
"aria-label": `移除 ${e.profile}`,
className: "shrink-0",
iconOnly: !0,
- leadingIcon: dk,
+ leadingIcon: fk,
...q(r.isPending),
onClick: () => {
r.isPending || ls({
@@ -97846,9 +97915,9 @@ function Sit({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: uk,
+ icon: dk,
title: "还没有数据源",
children: eit
})
@@ -97860,7 +97929,7 @@ function Cit(e) {
queryKey: K8(a),
queryFn: ({ signal: e }) => Gnt(a, e),
placeholderData: ue
- }), { job: d, running: f, outcome: p, start: m } = TL({
+ }), { job: d, running: f, outcome: p, start: m } = EL({
queryKey: Hnt,
queryFn: ({ signal: e }) => Knt(e),
start: () => Jnt(a),
@@ -97879,42 +97948,42 @@ function Cit(e) {
}, _ = () => {
f || m.isPending || (m.reset(), m.mutate());
}, v = u.data;
- if (!v) return /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!v) return /* @__PURE__ */ (0, x.jsx)(Xk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "口味分析读取失败",
children: u.error ? B(u.error) : "读取口味分析失败"
}) });
let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = ert(C.browser_categories || []), E = art(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? B(m.error) : h.error ? B(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
- /* @__PURE__ */ (0, x.jsxs)(CN, {
+ return /* @__PURE__ */ (0, x.jsxs)(Xk, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(wN, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, x.jsxs)(JN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(YN, {
"aria-label": "口味证据来源",
- className: XN,
- children: [/* @__PURE__ */ (0, x.jsx)(TN, {
+ className: ZN,
+ children: [/* @__PURE__ */ (0, x.jsx)(EN, {
id: "browser",
- className: ZN,
+ className: QN,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, x.jsx)(TN, {
+ }), /* @__PURE__ */ (0, x.jsx)(EN, {
id: "peach",
- className: ZN,
+ className: QN,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(SL, {
+ /* @__PURE__ */ (0, x.jsx)(CL, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: Unt.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: Unt.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
id: e,
children: t
}, e))
@@ -97943,12 +98012,12 @@ function Cit(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, x.jsx)(vL, {
+ f ? /* @__PURE__ */ (0, x.jsx)(yL, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- h.isPending ? /* @__PURE__ */ (0, x.jsx)(vL, { label: "正在导入历史文件" }) : null,
+ h.isPending ? /* @__PURE__ */ (0, x.jsx)(yL, { label: "正在导入历史文件" }) : null,
A ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: A
@@ -97959,36 +98028,36 @@ function Cit(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(EN, {
+ /* @__PURE__ */ (0, x.jsxs)(DN, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: VI,
+ className: HI,
children: [
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 0,
- icon: mk,
+ icon: hk,
term: "浏览记录",
figure: Number(y.history_visits || 0).toLocaleString(),
detail: Qnt(y)
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 1,
- icon: hk,
+ icon: gk,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 2,
- icon: _k,
+ icon: vk,
term: "浏览候选",
figure: D.length.toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 3,
- icon: uk,
+ icon: dk,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: Xt(w.bytes || 0)
@@ -98019,9 +98088,9 @@ function Cit(e) {
children: T.length ? /* @__PURE__ */ (0, x.jsx)(Jrt, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {
shell: "plain",
- icon: _k,
+ icon: vk,
title: "暂无口味维度",
children: nit
})
@@ -98098,35 +98167,35 @@ function Cit(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(EN, {
+ /* @__PURE__ */ (0, x.jsxs)(DN, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: VI,
+ className: HI,
children: [
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 0,
- icon: Pme,
+ icon: Nme,
term: "Peach 看过",
figure: Number(y.peach_items || 0).toLocaleString(),
detail: $nt(y.peach_seconds || 0)
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 1,
- icon: Zme,
+ icon: Xme,
term: "喜欢",
figure: Number(y.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 2,
- icon: Xme,
+ icon: Yme,
term: "不合口味",
figure: Number(y.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 3,
- icon: hk,
+ icon: gk,
term: "有标签",
figure: O.toLocaleString()
})
@@ -98233,7 +98302,7 @@ function wit({ term: e, value: t, rest: n }) {
children: `${n.toLocaleString()} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, x.jsx)(Zk, {
+ }), /* @__PURE__ */ (0, x.jsx)(Qk, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -98332,17 +98401,17 @@ function Pit({ kind: e, q: t, scope: n, view: r, category: i }, a) {
return `<div class="ihead peach-react" data-index-head>
<h2 class="disp indexheading">${o}</h2>
${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}
- ${QI({
+ ${$I({
variant: "secondary",
size: "small",
label: "我的收藏",
attrs: "data-shortcuts-trigger aria-disabled=\"true\" tabindex=\"-1\""
})}
- <div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${ZI("", t, "过滤" + o)}</div>
+ <div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${QI("", t, "过滤" + o)}</div>
</div>
${e === "tags" ? t5(Oit, n, "词表") : e === "performers" || e === "creators" ? t5(kit, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t5(Dit, e, "公司类型") : ""}
${e === "tags" ? Nit(r) : ""}
- ${e === "performers" && n !== "online" ? ECe(i) : ""}
+ ${e === "performers" && n !== "online" ? TCe(i) : ""}
${_o({
kind: e,
layout: a,
@@ -98359,8 +98428,8 @@ function Iit(e, t, n) {
var Lit = () => Oc, Rit = () => pc, n5 = () => document.getElementById("index");
function r5(e, t, n = {}) {
let r = (0, b.useSyncExternalStore)(zc, Lit);
- pO();
- let i = TO($O.navigation.location.pathname), a = (0, b.useRef)({
+ mO();
+ let i = EO(ek.navigation.location.pathname), a = (0, b.useRef)({
mounted: !0,
epoch: -1,
opens: -1,
@@ -98385,7 +98454,7 @@ function r5(e, t, n = {}) {
let t = a.current;
if (!t.mounted) return;
let n = t.epoch !== e || t.opens !== Oc, r = t.opens !== Oc;
- if (t.epoch = e, t.opens = Oc, TO($O.navigation.location.pathname)) {
+ if (t.epoch = e, t.opens = Oc, EO(ek.navigation.location.pathname)) {
n && o.current.options.onCovered?.();
return;
}
@@ -98412,7 +98481,7 @@ async function zit(e, t, n, r) {
let a = `/${t}`;
e.surfaceChanged("index", a);
let o = Mit(t, n), s = jit(IT().value.peopleLayout);
- Iit(i, o, s), await UO(a, {
+ Iit(i, o, s), await WO(a, {
...o,
layout: s,
selectMode: pc,
@@ -98423,19 +98492,19 @@ async function zit(e, t, n, r) {
}) && r() && e.surfaceShown?.("index", a);
}
function Bit(e) {
- let t = n5(), n = t ? zO(t) : null;
+ let t = n5(), n = t ? BO(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
function Vit({ epoch: e }) {
- let t = (0, b.useContext)(gz), n = pO(), r = n.pathname.split("/").filter(Boolean)[0];
+ let t = (0, b.useContext)(_z), n = mO(), r = n.pathname.split("/").filter(Boolean)[0];
return r5(e, (e, i) => {
t && zit(t, r, n.search, i);
}, { shown: () => Bit(`/${r}`) }), null;
}
function Hit() {
- let e = hz(), t = (0, b.useSyncExternalStore)(zc, Rit), n = (0, b.useRef)(t);
+ let e = gz(), t = (0, b.useSyncExternalStore)(zc, Rit), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && WO(n5(), { selectMode: t }));
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && GO(n5(), { selectMode: t }));
}, [t]), /* @__PURE__ */ (0, x.jsx)(Vit, { epoch: e }, e);
}
function Uit(e) {
@@ -98467,7 +98536,7 @@ function Git(e) {
}, Wit.set(e, t)), t;
}
function Kit() {
- let e = n5(), t = e ? zO(e) : null;
+ let e = n5(), t = e ? BO(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
async function qit(e, t, n, r, i, a, o) {
@@ -98494,7 +98563,7 @@ async function qit(e, t, n, r, i, a, o) {
}
}
};
- await UO(`/${c}/*`, g, {
+ await WO(`/${c}/*`, g, {
container: s,
isCurrent: a,
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
@@ -98504,7 +98573,7 @@ async function qit(e, t, n, r, i, a, o) {
}));
}
function Jit({ target: e }) {
- let t = (0, b.useContext)(gz), n = hz(), r = pO();
+ let t = (0, b.useContext)(_z), n = gz(), r = mO();
return r5(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
@@ -98521,9 +98590,9 @@ function Jit({ target: e }) {
}).catch(() => null);
if (!i()) return;
if (s?.redirect) {
- ek(Ft(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {
+ tk(Ft(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {
replace: !0,
- state: $O.navigation.location.state
+ state: ek.navigation.location.state
});
return;
}
@@ -98535,25 +98604,25 @@ function Jit({ target: e }) {
l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && qit(t, a, {
...e,
name: c
- }, r.pathname, r.search, i, s) : ek(l + r.search + r.hash, {
+ }, r.pathname, r.search, i, s) : tk(l + r.search + r.hash, {
replace: !0,
- state: $O.navigation.location.state
+ state: ek.navigation.location.state
});
})();
}, { shown: () => Kit() && !n5()?.hidden }), null;
}
function Yit() {
- let e = Uit(pO().pathname);
+ let e = Uit(mO().pathname);
return e ? /* @__PURE__ */ (0, x.jsx)(Jit, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
//#endregion
//#region src/react/router/pages/catalog.tsx
-var Xit = () => Oc, Zit = $O.navigation.seq, Qit = $O.navigation.openEpoch, i5 = $O.navigation.location.pathname, a5 = {
+var Xit = () => Oc, Zit = ek.navigation.seq, Qit = ek.navigation.openEpoch, i5 = ek.navigation.location.pathname, a5 = {
seq: Zit,
claimed: !0,
from: i5
};
-$O.listen((e) => {
+ek.listen((e) => {
a5 = {
seq: e.seq,
claimed: e.openEpoch === Qit,
@@ -98562,7 +98631,7 @@ $O.listen((e) => {
});
var o5 = !1;
function $it(e) {
- let { seq: t, openEpoch: n, location: r } = $O.navigation, i = TO(r.pathname), a = nk() ?? r, o = W ?? {};
+ let { seq: t, openEpoch: n, location: r } = ek.navigation, i = EO(r.pathname), a = rk() ?? r, o = W ?? {};
return {
seq: t,
epoch: n,
@@ -98612,7 +98681,7 @@ function tat(e, t) {
let i = t.catalog;
if (!i || r.opens === 0) return;
if (r.covered) {
- nk() || i.fill();
+ rk() || i.fill();
return;
}
let a = !1;
@@ -98622,12 +98691,12 @@ function tat(e, t) {
i.load();
return;
}
- r.epoch !== n.epoch && (a = $O.navigation.action === "POP" && a5.from !== "/");
+ r.epoch !== n.epoch && (a = ek.navigation.action === "POP" && a5.from !== "/");
}
- let { pathname: o, search: s } = $O.navigation.location;
+ let { pathname: o, search: s } = ek.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = sV(s);
- o5 = !0, ek(cV(e, t), { replace: !0 });
+ let { kind: e, view: t } = cV(s);
+ o5 = !0, tk(lV(e, t), { replace: !0 });
return;
}
let c = o5;
@@ -98637,20 +98706,20 @@ function tat(e, t) {
});
}
function nat(e) {
- return Mt(e) || e === "/trash" || TO(e) || e === "/immerse" || !!Uit(e);
+ return Mt(e) || e === "/trash" || EO(e) || e === "/immerse" || !!Uit(e);
}
function rat() {
- let e = (0, b.useContext)(gz), t = hz(), n = (0, b.useSyncExternalStore)(zc, Xit), r = pO(), i = (0, b.useRef)(null), a = (0, b.useRef)({
+ let e = (0, b.useContext)(_z), t = gz(), n = (0, b.useSyncExternalStore)(zc, Xit), r = mO(), i = (0, b.useRef)(null), a = (0, b.useRef)({
mounted: !0,
queued: !1
});
return (0, b.useEffect)(() => {
let t = a.current;
t.mounted = !0;
- let n = $it(!TO($O.navigation.location.pathname));
+ let n = $it(!EO(ek.navigation.location.pathname));
return !n.covered && n.opens > 0 && (o5 || a5.seq === Zit ? n.opens = -1 : a5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
t.mounted = !1, queueMicrotask(() => {
- e?.catalog && !nat($O.navigation.location.pathname) && e.catalog.release();
+ e?.catalog && !nat(ek.navigation.location.pathname) && e.catalog.release();
});
};
}, []), (0, b.useEffect)(() => {
@@ -98666,7 +98735,7 @@ function rat() {
]), null;
}
function iat() {
- let { pathname: e, search: t } = pO();
+ let { pathname: e, search: t } = mO();
(0, b.useLayoutEffect)(() => {
if (e !== "/wall") return;
document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");
@@ -98679,12 +98748,12 @@ function iat() {
});
};
}, [e]);
- let n = (0, b.useContext)(gz), r = document.getElementById("javLibraryHeader"), i = Mt(e) && new URLSearchParams(t).get("jav") === "1";
+ let n = (0, b.useContext)(_z), r = document.getElementById("javLibraryHeader"), i = Mt(e) && new URLSearchParams(t).get("jav") === "1";
return (0, b.useLayoutEffect)(() => {
if (r) return r.hidden = !i, () => {
r.hidden = !0;
};
- }, [r, i]), TO(e) && !ome(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(rat, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(BOe, {
+ }, [r, i]), EO(e) && !ame(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(rat, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(zOe, {
navigate: n.navigate,
receipt: (e) => n.receipt(e)
}), r) : null] });
@@ -98702,7 +98771,7 @@ async function sat(e, t) {
let n = s5(), r = e.follow;
if (!n || !r || r.refresh()) return;
let i = Nc;
- e.surfaceChanged("follow", "/follow"), uW(n, r.skeleton()), await UO("/follow", r.props(), {
+ e.surfaceChanged("follow", "/follow"), dW(n, r.skeleton()), await WO("/follow", r.props(), {
container: n,
isCurrent: t,
place: oat
@@ -98715,31 +98784,31 @@ async function sat(e, t) {
});
}
function cat() {
- let e = s5(), t = e ? zO(e) : null;
+ let e = s5(), t = e ? BO(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
function lat() {
- let e = (0, b.useContext)(gz);
- return r5(hz(), (t, n) => {
+ let e = (0, b.useContext)(_z);
+ return r5(gz(), (t, n) => {
e && sat(e, n);
}, {
shown: cat,
onCovered: () => {
- $O.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
+ ek.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
function uat(e) {
- let t = e ? zO(e) : null;
+ let t = e ? BO(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
async function dat(e, t) {
let n = s5();
- n && (e.surfaceChanged("playlists", "/playlists"), uW(n, cW("/playlists", {
+ n && (e.surfaceChanged("playlists", "/playlists"), dW(n, lW("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
- })), await UO("/playlists", { revision: Pc }, {
+ })), await WO("/playlists", { revision: Pc }, {
container: n,
isCurrent: t
}), t() && window.scrollTo({
@@ -98748,13 +98817,13 @@ async function dat(e, t) {
}));
}
function fat() {
- let e = (0, b.useContext)(gz), t = (0, b.useSyncExternalStore)(zc, aat), n = (0, b.useRef)(t);
+ let e = (0, b.useContext)(_z), t = (0, b.useSyncExternalStore)(zc, aat), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
if (n.current === t) return;
n.current = t;
let e = s5();
- uat(e) && WO(e, { revision: t });
- }, [t]), r5(hz(), (t, n) => {
+ uat(e) && GO(e, { revision: t });
+ }, [t]), r5(gz(), (t, n) => {
e && dat(e, n);
}, { shown: () => {
let e = s5();
@@ -98764,17 +98833,17 @@ function fat() {
//#endregion
//#region src/react/router/pages/immerse.tsx
function pat() {
- let e = new URLSearchParams($O.navigation.location.search).get("id");
+ let e = new URLSearchParams(ek.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
function mat() {
- let e = (0, b.useContext)(gz);
- return pz(() => {
+ let e = (0, b.useContext)(_z);
+ return mz(() => {
e?.openImmerse(pat());
}, !0), null;
}
function hat() {
- return /* @__PURE__ */ (0, x.jsx)(mat, {}, hz());
+ return /* @__PURE__ */ (0, x.jsx)(mat, {}, gz());
}
//#endregion
//#region src/react/router/pages/managed.tsx
@@ -98785,7 +98854,7 @@ var gat = [
], _at = () => Oc > 0, vat = () => (0, b.useSyncExternalStore)(zc, _at), c5 = !1, yat = () => IT().value.followLayout === "table" ? "table" : "default", l5 = () => new URLSearchParams(window.location.search);
function bat(e) {
let t = l5();
- return cW(e, {
+ return lW(e, {
followLayout: yat(),
followSort: t.get("sort") || "",
followDir: t.get("dir") || ""
@@ -98808,7 +98877,7 @@ async function Sat(e, t) {
if (e === "/jav") {
let e = await u5(t);
return t.live ? {
- tab: gV(l5().get("tab")),
+ tab: _V(l5().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -98819,13 +98888,13 @@ async function Sat(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && Lc({ configurationRequestedSection: "网络与访问" });
- let t = l5().get("section") || Tc || nme(e);
+ let t = l5().get("section") || Tc || tme(e);
return t ? { section: t } : {};
}
if (e === "/review") {
let e = l5().get("category") || "", n = await u5(t);
return t.live ? {
- category: VF(e) ? e : "",
+ category: HF(e) ? e : "",
...xat(n, "/review")
} : null;
}
@@ -98861,16 +98930,16 @@ var d5 = () => {
"/subscriptions"
]);
async function Tat(e, t, n) {
- if (e === "/jav" && gV(l5().get("tab")) === "library") {
- $O.replace(uOe(window.location.search));
+ if (e === "/jav" && _V(l5().get("tab")) === "library") {
+ ek.replace(lOe(window.location.search));
return;
}
if (e === "/subscriptions" && l5().get("tab") === "wants") {
- ek("/jav?tab=wants", { replace: !0 });
+ tk("/jav?tab=wants", { replace: !0 });
return;
}
if (e === "/subscriptions" && l5().get("tab") === "source") {
- ek("/settings/subscriptions", { replace: !0 });
+ tk("/settings/subscriptions", { replace: !0 });
return;
}
let r = document.getElementById("stats");
@@ -98894,17 +98963,17 @@ async function Tat(e, t, n) {
jav: ""
} }), t.clearSearch());
let i = e === "/data-cleanup" && c5;
- i && (c5 = !1), uW(r, bat(e));
+ i && (c5 = !1), dW(r, bat(e));
let a = await Sat(e, n);
if (!a) return;
- let o = await UO(e, a, {
+ let o = await WO(e, a, {
container: r,
isCurrent: () => n.live
});
- if (o && (n.revision = zO(r)?.revision ?? 0), e.startsWith("/settings/") && o && Lc({ configurationRequestedSection: "" }), Cat.has(e) && d5(), n.live) {
+ if (o && (n.revision = BO(r)?.revision ?? 0), e.startsWith("/settings/") && o && Lc({ configurationRequestedSection: "" }), Cat.has(e) && d5(), n.live) {
let { hash: t } = window.location;
wat.has(e) && d5(), e === "/settings/library" && (t === "#libraryProcessing" ? queueMicrotask(() => {
- n.live && ek("/data-cleanup#libraryProcessing", {
+ n.live && tk("/data-cleanup#libraryProcessing", {
replace: !0,
state: null
});
@@ -98913,9 +98982,9 @@ async function Tat(e, t, n) {
i && f5("resource-sync");
}
function p5({ path: e }) {
- let t = hz();
- pO();
- let n = TO($O.navigation.location.pathname), r = (0, b.useRef)(n ? null : t), i = (0, b.useRef)(n);
+ let t = gz();
+ mO();
+ let n = EO(ek.navigation.location.pathname), r = (0, b.useRef)(n ? null : t), i = (0, b.useRef)(n);
!n && (!i.current || r.current === null) && (r.current = t), i.current = n;
let a = e.startsWith("/settings/") ? "/settings/configuration" : e;
return /* @__PURE__ */ (0, x.jsx)(Eat, {
@@ -98924,9 +98993,9 @@ function p5({ path: e }) {
}, `${a} ${r.current ?? "covered"}`);
}
function Eat({ path: e, covered: t }) {
- let n = (0, b.useContext)(gz), r = vat(), i = (0, b.useRef)(null);
+ let n = (0, b.useContext)(_z), r = vat(), i = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
- e.startsWith("/settings/") && WO(document.getElementById("stats"), { section: nme(e) });
+ e.startsWith("/settings/") && GO(document.getElementById("stats"), { section: tme(e) });
}, [e]), (0, b.useEffect)(() => {
if (t || !n || !r || i.current) return;
let a = {
@@ -98943,18 +99012,18 @@ function Eat({ path: e, covered: t }) {
e.live = !1, e.controller.abort();
let t = document.getElementById("stats");
queueMicrotask(() => {
- t && e.revision && !t.hidden && zO(t)?.revision === e.revision && GO(t);
+ t && e.revision && !t.hidden && BO(t)?.revision === e.revision && KO(t);
});
}, []), null;
}
function Dat() {
let e = vat(), t = (0, b.useRef)(!1);
return (0, b.useEffect)(() => {
- if (!e || t.current || TO($O.navigation.location.pathname)) return;
+ if (!e || t.current || EO(ek.navigation.location.pathname)) return;
t.current = !0;
let n = !0;
return queueMicrotask(() => {
- n && (c5 = !0, ek("/data-cleanup#resource-sync", { replace: !0 }));
+ n && (c5 = !0, tk("/data-cleanup#resource-sync", { replace: !0 }));
}), () => {
n = !1;
};
@@ -98972,8 +99041,8 @@ function Oat(e, t, n) {
}
var m5 = (e) => ({
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: e }),
- prefetch: (e, t) => nAe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(_je, {
+ prefetch: (e, t) => tAe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(gje, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial,
section: e.section ?? ""
@@ -98981,8 +99050,8 @@ var m5 = (e) => ({
}), h5 = {
"/jav": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/jav" }),
- prefetch: (e, t) => zOe(e.tab, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(HOe, {
+ prefetch: (e, t) => ROe(e.tab, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(VOe, {
...e,
navigate: t.navigate,
receipt: (e) => t.receipt(e)
@@ -98990,7 +99059,7 @@ var m5 = (e) => ({
},
"/stats": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/stats" }),
- prefetch: (e, t) => yPe(t),
+ prefetch: (e, t) => vPe(t),
page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(mnt, {
tagLabel: Qs,
onTag: t.openTag,
@@ -99012,8 +99081,8 @@ var m5 = (e) => ({
},
"/review": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/review" }),
- prefetch: (e, t) => oxe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Tke, {
+ prefetch: (e, t) => axe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(wke, {
...e,
route: t.routeReview,
openItem: t.openItem,
@@ -99024,8 +99093,8 @@ var m5 = (e) => ({
},
"/data-cleanup": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/data-cleanup" }),
- prefetch: (e, t) => Kxe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(gCe, {
+ prefetch: (e, t) => Gxe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(hCe, {
failure: t.failure,
open: (e) => Oat(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
@@ -99033,8 +99102,8 @@ var m5 = (e) => ({
},
"/duplicates": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/duplicates" }),
- prefetch: (e, t) => Cbe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(lEe, {
+ prefetch: (e, t) => Sbe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(cEe, {
openItem: t.openItem,
failure: t.failure,
toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})
@@ -99042,19 +99111,19 @@ var m5 = (e) => ({
},
"/quality-goals": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/quality-goals" }),
- prefetch: (e, t) => Vbe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(cke, {
+ prefetch: (e, t) => Bbe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(ske, {
openItem: t.openItem,
- javTitleHtml: ik,
- javDisplayName: rk,
+ javTitleHtml: ak,
+ javDisplayName: ik,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
})
},
"/sources": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/sources" }),
- prefetch: (e, t) => Mke(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Kke, { toast: (e) => t.toast(e) })
+ prefetch: (e, t) => jke(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Gke, { toast: (e) => t.toast(e) })
},
"/settings/library": m5("/settings/library"),
"/settings/subscriptions": m5("/settings/subscriptions"),
@@ -99063,25 +99132,25 @@ var m5 = (e) => ({
"/settings/maintenance": m5("/settings/maintenance"),
"/diagnostics": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/diagnostics" }),
- prefetch: (e, t) => uEe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(mEe, {
+ prefetch: (e, t) => lEe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(pEe, {
navigate: n,
openItem: t.openItem,
receipt: (e) => t.receipt(e),
configure: (e) => {
- t.requestConfigurationSection(e), n(SO(e));
+ t.requestConfigurationSection(e), n(CO(e));
}
})
},
"/tasks": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/tasks" }),
- prefetch: (e, t) => Mge(t),
- page: () => /* @__PURE__ */ (0, x.jsx)(Qge, {})
+ prefetch: (e, t) => jge(t),
+ page: () => /* @__PURE__ */ (0, x.jsx)(Zge, {})
},
"/subscriptions": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/subscriptions" }),
prefetch: (e, t) => jr(t, e.tab),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(DDe, {
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(EDe, {
...e,
route: t.routeFollowManage,
savePreference: t.saveFollowPreference,
@@ -99093,8 +99162,8 @@ var m5 = (e) => ({
}, g5 = (e) => Object.hasOwn(h5, e), kat = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(Dat, {}) } }, Aat = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(hat, {}) } }, _5 = {
"/playlists": {
element: /* @__PURE__ */ (0, x.jsx)(fat, {}),
- prefetch: (e, t) => JOe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(oke, {
+ prefetch: (e, t) => qOe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(ake, {
revision: e.revision,
openPlaylist: t.openPlaylist,
openEntity: t.openEntity,
@@ -99105,12 +99174,12 @@ var m5 = (e) => ({
"/follow": {
element: /* @__PURE__ */ (0, x.jsx)(lat, {}),
prefetch: (e, t) => $r(e, t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(_we, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(gwe, { ...e })
}
}, jat = (e) => Object.hasOwn(_5, e), v5 = {
element: /* @__PURE__ */ (0, x.jsx)(Hit, {}),
- prefetch: (e, t) => LCe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(UDe, {
+ prefetch: (e, t) => ICe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(HDe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -99131,8 +99200,8 @@ var m5 = (e) => ({
"/tags": v5
}, b5 = {
element: /* @__PURE__ */ (0, x.jsx)(Yit, {}),
- prefetch: (e) => TCe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)($Te, { ...e })
+ prefetch: (e) => wCe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(QTe, { ...e })
}, x5 = {
"/performers/*": b5,
"/studios/*": b5,
@@ -99143,30 +99212,30 @@ var m5 = (e) => ({
}, S5 = {
"/": {
element: /* @__PURE__ */ (0, x.jsx)(iat, {}),
- prefetch: (e, t) => bue(e, t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(dF, { ...e })
+ prefetch: (e, t) => yue(e, t),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(fF, { ...e })
},
"/junk-files": {
element: /* @__PURE__ */ (0, x.jsx)(iat, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(iOe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(rOe, { ...e })
}
-}, Mat = (e) => Object.hasOwn(S5, e), Nat = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(KOe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(bL, { ...e }), Pat = {
+}, Mat = (e) => Object.hasOwn(S5, e), Nat = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(GOe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(xL, { ...e }), Pat = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(vye, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(_ye, { ...e })
},
"feed-new": {
- prefetch: (e) => xCe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(hEe, { ...e })
+ prefetch: (e) => bCe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(mEe, { ...e })
},
"library-processing": {
- prefetch: (e, t) => wF(t),
+ prefetch: (e, t) => TF(t),
page: (e) => /* @__PURE__ */ (0, x.jsx)(Nat, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Zke, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(Xke, { ...e })
}
}, Fat = (e) => Object.hasOwn(Pat, e), Iat = {
"batch-dock": {
@@ -99179,23 +99248,23 @@ var m5 = (e) => ({
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(vfe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(_fe, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(ife, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(rfe, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Lje, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(Ije, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Zje, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(Xje, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(_Pe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(gPe, {})
}
}, Lat = (e) => Object.hasOwn(Iat, e), Rat = [
"/",
@@ -99901,11 +99970,11 @@ function Cot(e) {
};
}
function wot(e) {
- return D5 && (O5 = e, D5(e), fme(Promise.resolve(Vat))), Promise.resolve();
+ return D5 && (O5 = e, D5(e), dme(Promise.resolve(Vat))), Promise.resolve();
}
async function j5(e, t, n = (e) => e) {
let r = k5;
- if (t.isConnected || A5.add(t), !await UO(e, {}, {
+ if (t.isConnected || A5.add(t), !await WO(e, {}, {
container: t,
resident: !0,
isCurrent: () => !!D5 && r === k5,
@@ -99920,35 +99989,35 @@ function Tot() {
var M5 = null, N5 = null;
function P5(e) {
return M5 ??= (async () => {
- let t = gPe(e), n = document.createElement("div");
+ let t = hPe(e), n = document.createElement("div");
return n.dataset.stageHost = "", await j5("stage", n, (e) => (document.body.append(e), e)), N5 = t, t;
})(), M5;
}
var F5 = () => N5, I5 = null, L5 = null;
function Eot(e) {
return I5 ??= (async () => {
- let t = rfe(e), n = document.createElement("div");
+ let t = nfe(e), n = document.createElement("div");
return n.dataset.immerseHost = "", await j5("immerse", n, (e) => (document.body.append(e), e)), L5 = t, t;
})(), I5;
}
var R5 = () => L5, z5 = null, B5 = null;
function Dot(e) {
return z5 ??= (async () => {
- let t = Ije(e), n = document.createElement("div");
+ let t = Fje(e), n = document.createElement("div");
return n.dataset.settingsHost = "", await j5("settings-panel", n, (e) => (document.body.append(e), e)), B5 = t, t;
})(), z5;
}
var Oot = () => B5, V5 = null, H5 = null;
function kot(e) {
return V5 ??= (async () => {
- let t = Xje(e);
+ let t = Yje(e);
return await j5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), H5 = t, t;
})(), V5;
}
var U5 = () => H5, W5 = null, G5 = null;
function Aot(e) {
return W5 ??= (async () => {
- let t = _fe(e);
+ let t = gfe(e);
return await j5("manage-header", e.root, (e) => (e.replaceChildren(), e)), G5 = t, t;
})(), W5;
}
@@ -100497,10 +100566,10 @@ function pst(e) {
}
//#endregion
//#region src/react/entity-page/entity-route.ts
-var t7 = () => Object.fromEntries(JL.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+var t7 = () => Object.fromEntries(YL.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
function mst(e, t) {
let n = new URLSearchParams(e), r = t7();
- for (let e of JL) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+ for (let e of YL) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
..._T(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
@@ -100508,7 +100577,7 @@ function mst(e, t) {
}
function hst(e) {
let t = new URLSearchParams();
- for (let n of JL) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== mT(e.sort || "")) && t.set(n, e[n]);
+ for (let n of YL) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== mT(e.sort || "")) && t.set(n, e[n]);
return t.toString();
}
function gst(e) {
@@ -100735,7 +100804,7 @@ function Dst(e) {
return e.has_cover ? ua(e, "big") : e.cover_url ? ua({ code: e.code }, "big").replace(/ src="[^"]*"/, ` src="${z(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`) : "<span class=\"nopic\">无封面</span>";
}
function Ost(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = Dst(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? ik({
+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = Dst(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? ak({
is_jav: !0,
code: e.code,
name: e.code,
@@ -100755,7 +100824,7 @@ async function r7() {
return e.isActive && t && !t.error && (n7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${Ut(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), i7(location.pathname) && kst(L("#feedNew"))), n7.entityShapes;
}
function kst(e) {
- !e || BO(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n7.feedNewSkeletonHtml())));
+ !e || VO(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n7.feedNewSkeletonHtml())));
}
function Ast(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : $a(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
@@ -100780,7 +100849,7 @@ function Nst(e) {
}
function Pst() {
let e = L("#feedNew");
- BO(e) ? WO(e, { revision: ++n7.feedRevision }) : (kst(e), UO("feed-new", {
+ VO(e) ? GO(e, { revision: ++n7.feedRevision }) : (kst(e), WO("feed-new", {
host: e,
revision: n7.feedRevision,
helpers: n7.feedNewHelpers,
@@ -100792,10 +100861,10 @@ function Pst() {
}
function a7() {
let e = L("#feedNew");
- e.querySelectorAll(".feednewrow").forEach(Uo), GO(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
+ e.querySelectorAll(".feednewrow").forEach(Uo), KO(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
}
function Fst() {
- n7.feedRevision += 1, WO(L("#feedNew"), { revision: n7.feedRevision }), c7({ feedRevision: n7.feedRevision });
+ n7.feedRevision += 1, GO(L("#feedNew"), { revision: n7.feedRevision }), c7({ feedRevision: n7.feedRevision });
}
function Ist() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Ho(e) : Uo(e));
@@ -100855,11 +100924,11 @@ var o7 = {
application: void 0
};
function s7() {
- let e = zO(L("#index"));
+ let e = BO(L("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
function c7(e) {
- o7.entityPageCurrent() && WO(L("#index"), e);
+ o7.entityPageCurrent() && GO(L("#index"), e);
}
function l7() {
if (lc.type === "item") return lc;
@@ -101162,7 +101231,7 @@ function ect() {
},
syncDensity: Vst,
scheduleSticky: J7,
- releasePage: () => GO(L("#index")),
+ releasePage: () => KO(L("#index")),
showMissing: Zst,
dropBars: $5
},
@@ -101286,14 +101355,14 @@ async function ict(e) {
}
function act() {
Js(), y9(!1), j7();
- let e = zO(L("#stats"));
+ let e = BO(L("#stats"));
e?.path !== "/playlists" || !e.host.isConnected ? Lc({ pageOpens: Oc + 1 }) : (A7({ manage: !1 }), Lc({ playlistsRevision: Pc + 1 }));
}
function oct(e) {
Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));
}
function sct(e) {
- Lc({ configurationRequestedSection: e }), Q.navigatePath(SO(e));
+ Lc({ configurationRequestedSection: e }), Q.navigatePath(CO(e));
}
function cct() {
h7.playlistWrite = (e) => Et("/api/playlist", {
@@ -101315,7 +101384,7 @@ function lct(e, t, n, r, i = !1) {
};
}
function uct(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = RF(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+ let o = n === "follow", s = zF(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
...lct(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
@@ -101326,7 +101395,7 @@ function dct(e, t, n, r) {
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: sV(n).view === "dismissed"
+ junkDismissed: cV(n).view === "dismissed"
};
}
//#endregion
@@ -101694,12 +101763,12 @@ function E7(e = "正在读取作品") {
return;
}
let t = L("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";
- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = eOe(sV(location.search)), wo(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && n9({
+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = $De(cV(location.search)), wo(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && n9({
count: null,
...wlt()
})), L("#loadSentinel").hidden = !0, l9()) return;
let r = L("#grid"), i = f9(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== lW(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Ilt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), wo(L("#grid")));
+ (a?.dataset.skeleton !== uW(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Ilt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), wo(L("#grid")));
}
function D7() {
L("#catalogFilter").style.display = "none", t9();
@@ -101720,7 +101789,7 @@ function Pct() {
else if (/^\/assets\/\d+$/.test(e)) D7();
else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) D7();
else if (e === "/junk-files") E7("正在读取垃圾文件");
- else if (e === "/jav" && gV(new URLSearchParams(location.search).get("tab")) === "library") E7("正在读取馆藏");
+ else if (e === "/jav" && _V(new URLSearchParams(location.search).get("tab")) === "library") E7("正在读取馆藏");
else if (Q.managedPagePath(e)) {
D7();
let t = L("#stats");
@@ -101735,7 +101804,7 @@ function Pct() {
} else Q.routeMeta(e) ? E7() : (s9(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
}
function Fct() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => sW(t, {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => cW(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
@@ -101749,7 +101818,7 @@ function Fct() {
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = to("继续载入中…"), T7.setGridCards = (e) => mo(L("#grid"), () => {
L("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), T7.managementPlaceholder = (e) => cW(e, {
+ }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), T7.managementPlaceholder = (e) => lW(e, {
followLayout: Sct(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
@@ -101757,7 +101826,7 @@ function Fct() {
followTab: n
}))(Cct())
}), T7.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", T7.entityShapesReady = null, T7.ENTITY_SHAPES_WAIT = 400, T7.syncPageTitle = (e) => {
- let t = new URL(e, location.origin), n = FO(decodeURIComponent(t.pathname))?.title;
+ let t = new URL(e, location.origin), n = IO(decodeURIComponent(t.pathname))?.title;
document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, put();
};
}
@@ -101821,13 +101890,13 @@ var k7 = {
mobileFilterPath: void 0
};
function A7({ manage: e = !0, placeholder: t = "" } = {}) {
- L("#stats").hidden = !1, L("#index").hidden = !0, s9(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && uW(L("#stats"), t);
+ L("#stats").hidden = !1, L("#index").hidden = !0, s9(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && dW(L("#stats"), t);
}
function j7() {
X.hideCatalogCombo(), D7(), document.body.classList.remove("entity-open", "index-open");
}
function M7() {
- document.body.classList.remove("entity-open", "index-open"), GO(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, i7(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", t9(), L7(), z7();
+ document.body.classList.remove("entity-open", "index-open"), KO(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, i7(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", t9(), L7(), z7();
}
function Rct() {
Q.route("/"), M7();
@@ -101878,22 +101947,22 @@ function Hct() {
}).catch(() => {}));
}
function F7(e = "", t = !1) {
- if (!t && !xO(location.pathname)) {
- let t = $O.navigation;
- $O.push(SO(e), { settingsBackground: {
+ if (!t && !SO(location.pathname)) {
+ let t = ek.navigation;
+ ek.push(CO(e), { settingsBackground: {
pathname: location.pathname,
search: location.search,
state: t.location.state,
seq: t.seq
} });
- } else !t && e && ek(SO(e), {
+ } else !t && e && tk(CO(e), {
replace: !0,
- state: $O.navigation.location.state
+ state: ek.navigation.location.state
});
- return e ||= rme(location.pathname), Dot(k7.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= nme(location.pathname), Dot(k7.settingsHost()).then((t) => (t.open(e), t));
}
function Uct() {
- xO(location.pathname) && (CO($O.navigation.location.state) ? $O.go(-1) : Q.navigatePath("/", !0));
+ SO(location.pathname) && (wO(ek.navigation.location.state) ? ek.go(-1) : Q.navigatePath("/", !0));
}
function Wct() {
return {
@@ -101965,10 +102034,10 @@ function R7(e = I7()) {
let t = qct(e), n = jot();
if (n) n.render(t);
else {
- let e = dfe(t);
+ let e = ufe(t);
e !== k7.manageHeaderSkeleton && (k7.manageHeaderSkeleton = e, k7.manageHeaderRoot().innerHTML = e);
}
- let r = HD(t)?.title || "";
+ let r = UD(t)?.title || "";
r !== k7.lastManagePageLabel && (k7.lastManagePageLabel = r, r && po(k7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
function Jct() {
@@ -101996,7 +102065,7 @@ function z7() {
}
function B7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", Rc(), Q.route(cV()), M7(), D9(), r9());
+ t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", Rc(), Q.route(lV()), M7(), D9(), r9());
}
function V7() {
let e = decodeURIComponent(location.pathname);
@@ -102035,7 +102104,7 @@ async function $ct() {
return;
}
let e = decodeURIComponent(location.pathname);
- if (FO(e)?.reload === "reopen" || e === "/follow") {
+ if (IO(e)?.reload === "reopen" || e === "/follow") {
Lc({ pageOpens: Oc + 1 });
return;
}
@@ -102112,9 +102181,9 @@ function rlt() {
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
}), Y5.handler(L("#filterBtn"), "onclick", () => P7(!L("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = $ot, k7.MANAGE_SECTIONS = e7, k7.MANAGE_MENU_SECTIONS = est, k7.manageMenuSections = () => tst(Ec === !0), k7.OPTIONAL_SIDEBAR_ITEMS = nst, k7.NAV_CATALOG = rst, k7.DIRECT_MANAGE_NAV = ist, k7.settingsHost = () => ({
- selectSection: (e) => ek(SO(e), {
+ selectSection: (e) => tk(CO(e), {
replace: !0,
- state: $O.navigation.location.state
+ state: ek.navigation.location.state
}),
closed: Uct,
store: Z.settingsStore,
@@ -102123,7 +102192,7 @@ function rlt() {
navCatalog: k7.NAV_CATALOG,
themeOptions: Vce,
videoLayouts: HT,
- followInitialRanges: $H,
+ followInitialRanges: eU,
videoLayout: () => U7(),
setVideoLayout: Qct,
censored: g9,
@@ -102414,10 +102483,10 @@ function n9(e) {
}, X.catalogFilterProps = {
...X.catalogFilterProps || xlt(),
...e
- }, !X.catalogFilterMounting && (BO(t) ? WO(t, e) : (!t.firstChild && !n && (t.innerHTML = olt(X.catalogViews(), X.catalogFilterProps.state), wo(t)), X.catalogFilterMounting = UO("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (VO(t) ? GO(t, e) : (!t.firstChild && !n && (t.innerHTML = olt(X.catalogViews(), X.catalogFilterProps.state), wo(t)), X.catalogFilterMounting = WO("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
- }).then(() => WO(t, X.catalogFilterProps)).finally(() => {
+ }).then(() => GO(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
@@ -102623,7 +102692,7 @@ function a9() {
}
async function o9() {
let e = Q.claimSurface(Q.surfacePath());
- if (Nst(location.pathname) && !BO(L("#libraryProcessingNotice")) && UO("library-processing", {
+ if (Nst(location.pathname) && !VO(L("#libraryProcessingNotice")) && WO("library-processing", {
toast: X5.toast,
mode: "notice"
}, {
@@ -102647,7 +102716,7 @@ function Mlt(e) {
}
function s9() {
let e = L("#grid");
- Js(e), GO(e), X.controller.clear(), e.innerHTML = "";
+ Js(e), KO(e), X.controller.clear(), e.innerHTML = "";
}
function Nlt(e) {
return Flt("/", Llt, e, { place: Tut });
@@ -102656,13 +102725,13 @@ function Plt(e) {
return Flt("/junk-files", Blt, e);
}
function c9() {
- return !!zO(L("#grid"));
+ return !!BO(L("#grid"));
}
function l9() {
return X.controller.taken(c9());
}
function u9(e) {
- WO(L("#grid"), e);
+ GO(L("#grid"), e);
}
function Flt(e, t, n, r = {}) {
let i = L("#grid");
@@ -102670,8 +102739,8 @@ function Flt(e, t, n, r = {}) {
let a = X.controller.begin(e, c9()), o = t();
if (!a.mount) return u9(o), a.settled;
Js(i);
- let s = () => GO(i);
- return a.signal.addEventListener("abort", s, { once: !0 }), UO(e, o, {
+ let s = () => KO(i);
+ return a.signal.addEventListener("abort", s, { once: !0 }), WO(e, o, {
...r,
container: i,
isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()
@@ -102688,7 +102757,7 @@ function d9() {
});
}
function f9(e = "正在读取作品") {
- return sW(e, {
+ return cW(e, {
cards: !0,
className: "catalog-skeleton postercard-skeleton",
cardRatio: Ilt()
@@ -102769,7 +102838,7 @@ async function zlt(e, t) {
}
function Blt() {
return {
- ...sV(location.search),
+ ...cV(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -102778,7 +102847,7 @@ function Blt() {
selected: new Set(dc),
countRow: L("#count"),
settled: Mlt,
- skeletonHtml: () => sW("正在读取垃圾文件", {
+ skeletonHtml: () => cW("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
@@ -102814,14 +102883,14 @@ function Hlt() {
...o7.activeFilterState(),
jav: V7() ? "1" : ""
};
- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(cbe(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(sbe(void 0, t));
}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = W.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
let n = X.tagList(e), r = n.indexOf(t);
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
}, X.gridHelpers = {
badgeHtml: (e, t) => Z.srcBadge(e, t),
- titleHtml: (e, t) => ik(e, t),
- displayName: (e, t) => rk(e, t),
+ titleHtml: (e, t) => ak(e, t),
+ displayName: (e, t) => ik(e, t),
tagLabel: (e) => Qs(e)
}, X.gridActions = {
wallPlayer: async (e, t, n) => {
@@ -102946,9 +103015,9 @@ function h9() {
let e = Q.surfacePath();
if (!Mt(e) || e === "/junk-files") return o9();
let t = Z.nextCatalogLoad();
- return ek(X7(), {
+ return tk(X7(), {
replace: !0,
- state: $O.navigation.location.state
+ state: ek.navigation.location.state
}), t;
}
function Wlt(e) {
@@ -102999,7 +103068,7 @@ async function Klt(e = !1) {
return;
}
let n = t === "reopen" ? e : "/stats";
- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, $O.navigation.location.state) : Q.navigatePath(n);
+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, ek.navigation.location.state) : Q.navigatePath(n);
} else if (L("#index").hidden) {
W.sort = "seed", W.dir = "", W.seed = X5.rollSeed(), Rc(), $5(), n9({ refreshing: !0 });
try {
@@ -103074,7 +103143,7 @@ function Qlt() {
javImage: () => {
Xi(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Os), nut();
},
- searchHistoryLimit: () => WO(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
+ searchHistoryLimit: () => GO(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
local: R("hard-drive"),
115: `<img class="source-icon" src="${Ya[115]}" alt="">`,
@@ -103128,7 +103197,7 @@ function nut() {
function b9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = xc?.kind === e && (e === "playlist" ? xc.playlistId : xc.seedId) === t;
- r && !o && Lc({ detailReturnPath: location.pathname + location.search }), r && kO();
+ r && !o && Lc({ detailReturnPath: location.pathname + location.search }), r && AO();
let s = e === "playlist" ? {
kind: e,
playlistId: t,
@@ -103141,7 +103210,7 @@ function b9(e, t, n, r, i = null, a = {}) {
if (a.autoplay && (s.autoplay = !0), r) {
O9();
let e = Q.queueOpenRequest = {
- seq: $O.navigation.seq,
+ seq: ek.navigation.seq,
cancelled: !1
};
Q.requestedQueue = () => x9(n == null ? null : +n, !1, s, i, !0, e), Lc({ queueOpens: kc + 1 });
@@ -103170,7 +103239,7 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
}
Js(), e = e == null ? null : +e;
let o = r?.isConnected ? r : vc?.isConnected ? vc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : yc, c = sut(), l = bc || !t && !c, u = lc.type === "item" ? uc : o7.cloneBarsContext(l7());
- t ? Lc({ detailReturnPath: location.pathname + location.search }) : i || Lc({ detailReturnPath: jO() || _c }), t && kO(), F5()?.showing() !== "item" && y9(!1, !0, {
+ t ? Lc({ detailReturnPath: location.pathname + location.search }) : i || Lc({ detailReturnPath: MO() || _c }), t && AO(), F5()?.showing() !== "item" && y9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), Lc({
@@ -103181,7 +103250,7 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
kind: n.kind,
seedId: n.seedId,
playlistId: n.playlistId
- } }), Lc({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, MO("item"));
+ } }), Lc({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, NO("item"));
let d = await P5(v9.stageHost);
if (a?.cancelled) return;
let f = a ? {
@@ -103213,7 +103282,7 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
}
async function cut() {
let e = o7.cloneBarsContext(uc), t = _c || "/", n = bc;
- await tut(), y9(!1, !1, { miniplayer: !1 }), Lc({ detailReturnBarsContext: null }), AO(), Lc({ barsContext: e || {
+ await tut(), y9(!1, !1, { miniplayer: !1 }), Lc({ detailReturnBarsContext: null }), jO(), Lc({ barsContext: e || {
type: "home",
filters: W
} }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Lc({ pageOpens: Oc + 1 }) : (r9(), location.pathname === "/playlists" && Lc({ pageOpens: Oc + 1 })));
@@ -103223,14 +103292,14 @@ async function S9(e, t = !0) {
Lc({ detailReturnPath: location.pathname + location.search }), k9("/works/" + encodeURIComponent(e), "jav", () => S9(e, !1));
return;
}
- let n = $O.navigation.seq, r = o7.cloneBarsContext(l7()), i = !sut(), a = jO() || (i ? "/jav?tab=discover" : _c) || "/jav?tab=discover";
+ let n = ek.navigation.seq, r = o7.cloneBarsContext(l7()), i = !sut(), a = MO() || (i ? "/jav?tab=discover" : _c) || "/jav?tab=discover";
F5()?.showing() !== "jav" && y9(!1, !0, { miniplayer: !1 }), Lc({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), Js();
let [o, s] = await Promise.all([P5(v9.stageHost), V("/healthz")]);
- $O.navigation.seq === n && (await o.open({
+ ek.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
readOnly: !!s.ledger_read_only,
@@ -103238,9 +103307,9 @@ async function S9(e, t = !0) {
close: () => void cut(),
navigate: (e) => Q.navigatePath(e),
canonicalCode: (t) => {
- $O.navigation.seq === n && t && t !== e && ek("/works/" + encodeURIComponent(t) + location.search + location.hash, {
+ ek.navigation.seq === n && t && t !== e && tk("/works/" + encodeURIComponent(t) + location.search + location.hash, {
replace: !0,
- state: $O.navigation.location.state
+ state: ek.navigation.location.state
});
},
openTag: (e) => {
@@ -103277,15 +103346,15 @@ function lut() {
function uut() {
v9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => ik(e),
- displayName: (e) => rk(e),
+ titleHtml: (e) => ak(e),
+ displayName: (e) => ik(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Qs(e),
isDurationTag: (e) => an.has(e),
tagCandidates: () => v9.facets && v9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => sW("正在读取推荐", {
+ relatedSkeletonHtml: () => cW("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
@@ -103301,14 +103370,14 @@ function uut() {
type: "item",
id: e.id,
filters: t?.type === "entity" ? { ...t.filters } : o7.emptyEntityFilters()
- } }), Sc && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Sc}`, !1, MO("item")), Lc({ pendingQueueRoute: null })), r9();
+ } }), Sc && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Sc}`, !1, NO("item")), Lc({ pendingQueueRoute: null })), r9();
},
redirect: (e) => {
let t = !!Sc;
e.kind === "follow" ? (Q.queueOpenRequest = null, Lc({
pendingQueueRoute: null,
followDetailReturnPath: _c || "/"
- }), Q.route(`/posts/${e.id}`, !t, MO("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : act() : y9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, NO("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : act() : y9(!1);
},
openQueueItem: (e, t, n = !0) => void b9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
@@ -103339,7 +103408,7 @@ function uut() {
reveal: (e) => Wst(e),
sync: (e) => Gst(e),
trashChanged: async (e, t) => {
- W.state === "ads" && (t || e === "trash") && (t || (AO(), y9(!0, !1, { miniplayer: !1 })), await o9());
+ W.state === "ads" && (t || e === "trash") && (t || (jO(), y9(!0, !1, { miniplayer: !1 })), await o9());
},
toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
failure: (e, t) => X5.actionFailure(e, t)
@@ -103347,7 +103416,7 @@ function uut() {
filters: () => W,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => rk(e),
+ displayName: (e) => ik(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
closed: () => Z7(),
openItem: (e) => void x9(e),
@@ -103430,16 +103499,16 @@ function fut() {
if (Lc({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), w9.postSetupTutorialDone = null, w9.postSetupTutorialNeedsReopen = !1, Dc) {
gs("pending"), w9.postSetupTutorialDone = !1, w9.postSetupTutorialNeedsReopen = !0;
let e = new URL(location.href);
- e.searchParams.delete("onboarding"), ek(e, {
+ e.searchParams.delete("onboarding"), tk(e, {
replace: !0,
- state: $O.navigation.location.state
+ state: ek.navigation.location.state
});
}
{
let e = new URL(location.href), t = e.searchParams.get("agentation");
- t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), ek(e, {
+ t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), tk(e, {
replace: !0,
- state: $O.navigation.location.state
+ state: ek.navigation.location.state
})), localStorage.getItem("peach.agentation") === "on" && import("/dev/agentation.js").catch(() => {});
}
w9.postSetupTutorialTasks = async () => {
@@ -103573,24 +103642,24 @@ function O9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Lc({ pendingQueueRoute: null });
}
function k9(e, t, n) {
- O9(), kO(), Q.requestedOverlay = {
+ O9(), AO(), Q.requestedOverlay = {
path: e,
open: n
- }, Q.route(e, !1, MO(t));
+ }, Q.route(e, !1, NO(t));
}
function A9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, T7.syncPageTitle(location.href), E9(), AO(), T9();
+ Q.surfaceEpoch++, X.barsRequestSeq++, T7.syncPageTitle(location.href), E9(), jO(), T9();
}
function j9(e) {
Q.route(e), Lc({ pageOpens: Oc + 1 });
}
function mut() {
Q.routeMeta = (e) => {
- let t = FO(e);
+ let t = IO(e);
return t ? { route: t } : null;
- }, Q.routePathOf = (e, t) => Object.keys(PO).find((n) => PO[n][e] === t), Q.catalogPage = (e) => Mt(e) || e === "/trash", Q.managedPagePath = (e) => {
- let t = FO(e);
- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !TO(e) && e !== "/immerse";
+ }, Q.routePathOf = (e, t) => Object.keys(FO).find((n) => FO[n][e] === t), Q.catalogPage = (e) => Mt(e) || e === "/trash", Q.managedPagePath = (e) => {
+ let t = IO(e);
+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !EO(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
e === "/immerse" ? C9(Zlt()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? C7() : e) : (y7(!1, !0), j9(Dct({
kind: e.slice(1),
@@ -103606,15 +103675,15 @@ function hut() {
epoch: Q.surfaceEpoch,
path: e,
signal: Q.surfaceRequests?.signal
- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Nst(e) || GO(L("#libraryProcessingNotice")), i7(e) || a7(), GO(L("#stats"), L("#index")), !Mt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
- Q.surfaceEpoch++, X.barsRequestSeq++, ek(e, {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Nst(e) || KO(L("#libraryProcessingNotice")), i7(e) || a7(), KO(L("#stats"), L("#index")), !Mt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ Q.surfaceEpoch++, X.barsRequestSeq++, tk(e, {
replace: t,
state: n
}), T7.syncPageTitle(e), queueMicrotask(() => {
q7(), z7(), E9(), T9();
});
}, Q.navigatePath = (e, t = !1, n) => {
- t ? $O.replace(e, n) : $O.push(e, n), queueMicrotask(() => {
+ t ? ek.replace(e, n) : ek.push(e, n), queueMicrotask(() => {
q7(), z7();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
@@ -103738,14 +103807,14 @@ function P9(e) {
$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;
}
function Sut() {
- let e = zO(L("#stats"));
+ let e = BO(L("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
function F9() {
return !!Sut();
}
function I9(e) {
- F9() && WO(L("#stats"), e);
+ F9() && GO(L("#stats"), e);
}
function Cut(e, t = {}) {
return $.controller.route(e, t);
@@ -103760,7 +103829,7 @@ async function R9(e, t = !0, n = null, r = !1) {
}
Js(), e = +e;
let i = !location.pathname.startsWith("/posts/");
- t && i && !r && Lc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Lc({ followDetailReturnPath: jO() || "/follow" }), t && kO(), F5()?.showing() !== "follow" && y9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, MO("follow")), await (await P5(v9.stageHost)).open({
+ t && i && !r && Lc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Lc({ followDetailReturnPath: MO() || "/follow" }), t && AO(), F5()?.showing() !== "follow" && y9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, NO("follow")), await (await P5(v9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -103772,7 +103841,7 @@ async function R9(e, t = !0, n = null, r = !1) {
}), J7();
}
async function wut() {
- await tut(), y9(!1, !1, { miniplayer: !1 }), AO(), Q.route(wc || "/follow"), !(o7.entityPageView && o7.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && F9() ? (xut(), I9({ view: N9() })) : Lc({ pageOpens: Oc + 1 }));
+ await tut(), y9(!1, !1, { miniplayer: !1 }), jO(), Q.route(wc || "/follow"), !(o7.entityPageView && o7.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && F9() ? (xut(), I9({ view: N9() })) : Lc({ pageOpens: Oc + 1 }));
}
function Tut(e) {
let t = document.createElement("div");
@@ -103809,7 +103878,7 @@ function Eut() {
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- F5()?.showing() !== "follow" && (Js(), y9(!1), j7(), !F9() && (Q.claimSurface(Q.surfacePath()), A7({ manage: !1 }), L("#stats").querySelector(".peach-react") && GO(L("#stats")), L("#stats").replaceChildren()));
+ F5()?.showing() !== "follow" && (Js(), y9(!1), j7(), !F9() && (Q.claimSurface(Q.surfacePath()), A7({ manage: !1 }), L("#stats").querySelector(".peach-react") && KO(L("#stats")), L("#stats").replaceChildren()));
}
}, $.followDetailActions = cc({
view: N9,
@@ -103866,7 +103935,7 @@ function Dut() {
//#region src/application/lifecycle.js
var z9 = { overlayScan: void 0 };
function Out() {
- KCe(), Qo(document), ya(document.documentElement, { variant: "page" }), ya(L("#drawerScroll")), z9.overlayScan = 0, Y5.mutation(() => {
+ GCe(), Qo(document), ya(document.documentElement, { variant: "page" }), ya(L("#drawerScroll")), z9.overlayScan = 0, Y5.mutation(() => {
z9.overlayScan ||= Y5.delay(() => {
z9.overlayScan = 0, Yo();
});
@@ -103884,8 +103953,108 @@ function Out() {
], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;
}
//#endregion
+//#region src/react/search/recommendations.ts
+async function kut(e) {
+ let t = (await Promise.allSettled([
+ e("/api/items?sort=rand&limit=5"),
+ e("/api/jav/discoveries?scope=library&limit=5"),
+ e("/api/follow?status=new&limit=5"),
+ e("/api/feeds/discoveries?limit=5"),
+ e("/api/follow/authors?limit=3")
+ ])).map((e) => e.status === "fulfilled" ? e.value : null), n = (t[0]?.items || []).slice(0, 5), r = (t[1]?.items || []).slice(0, 5), i = t[2], a = t[3]?.items || [], o = (e, t) => ({
+ value: String(e.code || e.display_title || e.title || e.name || "未命名作品"),
+ id: e.id,
+ code: e.code,
+ title: String(e.display_title || e.title || ""),
+ who: String(e.performers || e.creator || ""),
+ card: e,
+ href: t
+ }), s = [], c = {
+ sources: i?.sources || [],
+ aliases: i?.author_aliases || [],
+ credentials: /* @__PURE__ */ new Set()
+ };
+ for (let e of i?.groups || []) {
+ let t = e.primary, n = c.sources.find((e) => e.id === t.source_id), r = lP(t, n?.author_key ? c.sources.filter((e) => e.author_key === n.author_key) : n ? [n] : [], c);
+ s.push({
+ value: aP(t),
+ id: t.id,
+ who: r.author,
+ href: `/posts/${t.id}`,
+ card: {
+ id: t.id,
+ thumb_url: t.thumb_url
+ }
+ });
+ }
+ let l = (t[4]?.items || []).map((e) => ({
+ value: e.k,
+ href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,
+ avatarHtml: cP(c.sources.filter((t) => t.author_key === e.key), e.k),
+ subtitle: "关注中的作者"
+ })), u = /* @__PURE__ */ new Map();
+ for (let e of r) for (let t of e.performer_refs || []) t.id && !u.has(t.name) && u.set(t.name, {
+ value: t.name,
+ entity_id: t.id,
+ has_image: t.has_image,
+ href: `/performers/${t.id}`,
+ image_version: t.image_version,
+ avatar_focus: t.avatar_focus,
+ rep: t.has_avatar ? t.rep : null,
+ works: [e],
+ subtitle: "查看作品与订阅新作"
+ });
+ return [
+ {
+ kind: "performer",
+ label: "艺人与新作",
+ items: [...u.values()].slice(0, 3),
+ href: "/subscriptions?tab=feeds",
+ action: "订阅新作"
+ },
+ {
+ kind: "author",
+ label: "关注作者",
+ items: l,
+ href: "/subscriptions?tab=add",
+ action: "添加关注"
+ },
+ {
+ kind: "asset",
+ label: "作品推荐",
+ items: n.map((e) => o(e)),
+ href: "/",
+ action: "全部作品"
+ },
+ {
+ kind: "jav",
+ label: "JAV 推荐",
+ items: r.map((e) => o(e, `/assets/${e.asset_id || e.id}`)),
+ href: "/jav?tab=discover",
+ action: "发现 JAV"
+ },
+ {
+ kind: "post",
+ label: "关注作品",
+ items: s,
+ href: "/follow",
+ action: "全部关注作品"
+ },
+ {
+ kind: "release",
+ label: "订阅新作",
+ items: a.filter((e) => e.code).map((e) => o({
+ ...e,
+ sourceWork: !0
+ }, `/works/${encodeURIComponent(e.code)}`)),
+ href: "/subscriptions?tab=feeds",
+ action: "管理订阅"
+ }
+ ];
+}
+//#endregion
//#region src/application/search-morph.js
-function kut(e, t, n, r, i, a, o) {
+function Aut(e, t, n, r, i, a, o) {
let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];
return s.map((a, c) => {
let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);
@@ -103911,7 +104080,7 @@ var B9 = {
function V9() {
B9.searchControl?.close();
}
-function Aut(e) {
+function jut(e) {
let t = e ? qi({
...e,
is_jav: !!e.code
@@ -103930,7 +104099,7 @@ function U9(e) {
if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Go();
t.classList.add("search-morphing");
- let h = t.animate(kut(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(Aut(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
@@ -103939,22 +104108,24 @@ function U9(e) {
B9.searchMorph === h && H9();
});
}
-function jut() {
+function Mut() {
return v9.immerseOpen() ? R5().activeVideo() : F5()?.activeVideo() || null;
}
-function Mut(e) {
+function Nut(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function Nut() {
+function Put() {
B9.searchControl = null, B9.searchActions = {
search: (e) => {
X.rememberSearchValue(), y9(!1), W.q = e, Rc(), Q.route(W.jav === "1" ? X7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);
},
openItem: (e) => x9(e),
- openEntity: (e, t) => m7(e, t)
+ openEntity: (e, t) => m7(e, t),
+ openPath: (e) => Q.route(e, !1)
}, B9.searchHelpers = {
pool: () => clt(W, Et),
- coverHtml: (e) => `<span class="pic">${Aut(e)}</span>`,
+ recommendations: () => kut(Et),
+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? Dst(e) : jut(e)}</span>`,
present: (e) => Va(e),
dismiss: (e) => Ha(e),
wireScroller: (e) => Fo(e),
@@ -103969,7 +104140,7 @@ function Nut() {
text: e.value,
scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft
})
- }, UO("search", {
+ }, WO("search", {
input: L("#q"),
historyLimit: Z.appSettings.searchHistoryLimit,
actions: B9.searchActions,
@@ -103988,7 +104159,7 @@ function Nut() {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function Put() {
+function Fut() {
B9.searchMorph = null, B9.searchMorphViewport = innerWidth, Y5.listen.bind(Y5, window)("resize", () => {
innerWidth !== B9.searchMorphViewport && (B9.searchMorphViewport = innerWidth, H9());
}, { passive: !0 }), Y5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", H9), Y5.handler(L("#searchBtn"), "onclick", () => {
@@ -103996,7 +104167,7 @@ function Put() {
}), Y5.handler(L("#searchBack"), "onclick", () => {
U9(!1), V9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });
}), Y5.listen(L("#q"), "blur", () => Y5.delay(() => {
- document.activeElement !== L("#q") && (!L("#q").value && !L("#searchMenu").matches(":hover") && U9(!1), V9());
+ document.activeElement !== L("#q") && (L("#searchMenu").contains(document.activeElement) || (!L("#q").value && !L("#searchMenu").matches(":hover") && U9(!1), V9()));
}, 140)), Y5.listen(document, "pointerdown", (e) => {
e.target.closest(".search") || V9();
}, !0), Y5.handler(L("#brandHome"), "onclick", (e) => {
@@ -104030,7 +104201,7 @@ function Put() {
}
return;
}
- if (Mut(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (Nut(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);
if (t) {
@@ -104038,26 +104209,26 @@ function Put() {
return;
}
}
- let t = jut();
+ let t = Mut();
if (t) {
if (e.key === "t" || e.key === "T") {
e.preventDefault(), F5()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
- e.preventDefault(), due(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
+ e.preventDefault(), uue(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
return;
}
if (e.key === " " || e.key === "k" || e.key === "K") {
- e.preventDefault(), YE(t);
+ e.preventDefault(), XE(t);
return;
}
if (e.key === "m" || e.key === "M") {
- e.preventDefault(), Tle(t, ".vjs-mute-control");
+ e.preventDefault(), wle(t, ".vjs-mute-control");
return;
}
if (e.key === "f" || e.key === "F") {
- e.preventDefault(), Tle(t, ".vjs-fullscreen-control");
+ e.preventDefault(), wle(t, ".vjs-fullscreen-control");
return;
}
if (e.key === "i" || e.key === "I") {
@@ -104073,7 +104244,7 @@ var W9 = {
shellActions: void 0,
routing: void 0
};
-function Fut() {
+function Iut() {
let e = Y5;
T7.entityShapesReady = r7(), Pct(), Gct(), W9.shellActions = {
openSettings: (e) => F7(e, !0),
@@ -104134,7 +104305,7 @@ function Fut() {
},
openOverlay: (e) => {
let t = Q.requestedOverlay;
- Q.requestedOverlay = null, $O.navigation.claimed && (!tk() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (tk() && (Q.initialOverlayOpened = !0), e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? S9(e.code, !1) : e.kind === "follow" ? R9(e.id, !1) : b9(e.queue, e.key, e.item, !1));
+ Q.requestedOverlay = null, ek.navigation.claimed && (!nk() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (nk() && (Q.initialOverlayOpened = !0), e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? S9(e.code, !1) : e.kind === "follow" ? R9(e.id, !1) : b9(e.queue, e.key, e.item, !1));
},
closeStage: () => {
v9.stageOpen() && y9(!1);
@@ -104170,16 +104341,16 @@ function Fut() {
Z.handOff(o9());
},
fill: () => {
- if (l9() || !tk() && !L("#grid").querySelector(".catalog-skeleton")) return;
+ if (l9() || !nk() && !L("#grid").querySelector(".catalog-skeleton")) return;
let e = L("#count");
e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Nlt(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- s9(), a7(), GO(L("#libraryProcessingNotice"));
+ s9(), a7(), KO(L("#libraryProcessingNotice"));
}
}
- }, W9.routing = !1, Y5.own($O.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !TO(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();
+ }, W9.routing = !1, Y5.own(ek.listen((e) => {
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !EO(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();
})), wot(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Jct(), yct(), L7(), Promise.all([
m9(),
Kct(),
@@ -104193,7 +104364,7 @@ function Fut() {
//#endregion
//#region src/theme-transition.ts
var G9 = !1;
-async function Iut(e, t) {
+async function Lut(e, t) {
if (G9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
@@ -104216,7 +104387,7 @@ async function Iut(e, t) {
}
//#endregion
//#region src/application/chrome.js
-function Lut() {
+function Rut() {
(() => {
let e = Y5, t = [
"#brandHome",
@@ -104308,7 +104479,7 @@ function Lut() {
h.before(g), e.own(() => g.remove());
let _ = document.createElement("div");
_.className = "board-sidebar-foot", e.own(() => _.remove()), _.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${R("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${R("moon")}</button></div>`, _.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), _.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(_), _.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {
- t.getAttribute("aria-pressed") !== "true" && Iut(t, () => {
+ t.getAttribute("aria-pressed") !== "true" && Lut(t, () => {
Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), BT();
});
})), BT();
@@ -104420,31 +104591,31 @@ function Lut() {
}
//#endregion
//#region src/application/initialize.js
-function Rut() {
- Out(), mut(), Fct(), hut(), Qlt(), Rot(), Vlt(), fut(), Qst(), lut(), bct(), Hlt(), Rst(), cct(), Eut(), jct(), $st(), Dut(), Mct(), ect(), rlt(), Ult(), Nut(), uut(), Put(), $lt(), Fut(), Lut(), Y5.own(s9), Y5.own(O9);
+function zut() {
+ Out(), mut(), Fct(), hut(), Qlt(), Rot(), Vlt(), fut(), Qst(), lut(), bct(), Hlt(), Rst(), cct(), Eut(), jct(), $st(), Dut(), Mct(), ect(), rlt(), Ult(), Put(), uut(), Fut(), $lt(), Iut(), Rut(), Y5.own(s9), Y5.own(O9);
}
//#endregion
//#region src/ui-kit/middle-truncate.ts
-var zut = "…", But = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), Vut = (e) => But ? [...But.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
-function Hut(e, t) {
- let n = Vut(e);
+var But = "…", Vut = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), Hut = (e) => Vut ? [...Vut.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
+function Uut(e, t) {
+ let n = Hut(e);
if (!n.length || t(e)) return String(e ?? "");
- let r = 0, i = Math.max(0, n.length - 1), a = zut;
+ let r = 0, i = Math.max(0, n.length - 1), a = But;
for (; r <= i;) {
- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + zut + (s ? n.slice(-s).join("") : "");
+ let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + But + (s ? n.slice(-s).join("") : "");
t(c) ? (a = c, r = e + 1) : i = e - 1;
}
return a;
}
-var Uut = Object.assign((e, t) => {
- let n = getComputedStyle(e), r = (Uut.canvas ||= document.createElement("canvas")).getContext("2d");
+var Wut = Object.assign((e, t) => {
+ let n = getComputedStyle(e), r = (Wut.canvas ||= document.createElement("canvas")).getContext("2d");
if (!r) return Infinity;
r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;
let i = r.measureText(t).width, a = parseFloat(n.letterSpacing);
- Number.isFinite(a) && (i += Math.max(0, Vut(t).length - 1) * a);
+ Number.isFinite(a) && (i += Math.max(0, Hut(t).length - 1) * a);
let o = parseFloat(n.wordSpacing);
return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;
-}, { canvas: null }), Wut = (e) => {
+}, { canvas: null }), Gut = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -104454,40 +104625,40 @@ var Uut = Object.assign((e, t) => {
n === e ? a++ : t > 0 && (i += t, a++);
}
return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);
-}, Gut = (e) => {
+}, Kut = (e) => {
let t = K9.get(e);
if (!t || !e.isConnected) return;
- let n = Wut(e), r = n > 0 ? Hut(t.full, (t) => Uut(e, t) <= n) : t.full;
+ let n = Gut(e), r = n > 0 ? Uut(t.full, (t) => Wut(e, t) <= n) : t.full;
t.rendered = r, e.textContent !== r && (e.textContent = r);
let i = r !== t.full;
e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");
}, Z9 = (e) => {
let t = K9.get(e);
t && !t.raf && (t.raf = requestAnimationFrame(() => {
- t.raf = 0, Gut(e);
+ t.raf = 0, Kut(e);
}));
-}, Kut = (e) => {
+}, qut = (e) => {
e instanceof HTMLElement && (K9.has(e) || K9.set(e, {
full: e.textContent || "",
rendered: e.textContent || "",
raf: 0
}), q9.has(e) || (q9.add(e), X9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? J9?.observe(e.parentElement) : J9?.observe(e)), Z9(e));
-}, qut = (e) => {
+}, Jut = (e) => {
if (e.nodeType !== Node.ELEMENT_NODE) return;
let t = e;
- t.matches("[data-middle-truncate]") && Kut(t), t.querySelectorAll("[data-middle-truncate]").forEach(Kut);
+ t.matches("[data-middle-truncate]") && qut(t), t.querySelectorAll("[data-middle-truncate]").forEach(qut);
};
-function Jut(e = document) {
+function Yut(e = document) {
Y9?.(), q9 = /* @__PURE__ */ new WeakSet(), X9 = /* @__PURE__ */ new Set();
let t = X9, n = !0;
J9 = new ResizeObserver((e) => e.forEach((e) => {
n && (Z9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(Z9));
}));
let r = J9;
- qut(e.documentElement || e);
+ Jut(e.documentElement || e);
let i = new MutationObserver((e) => e.forEach((e) => {
if (!n) return;
- e.addedNodes.forEach(qut);
+ e.addedNodes.forEach(Jut);
let t = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");
if (!t) return;
let r = K9.get(t);
@@ -104522,50 +104693,50 @@ function Jut(e = document) {
//#endregion
//#region src/react/application.tsx
var Q9 = null;
-function Yut(e) {
+function Xut(e) {
Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());
}
-function Xut() {
+function Zut() {
if (!Q9) {
let e = Lot();
Q9 = {
effects: e,
owners: 0
- }, e.own(Jut(document)), e.own(() => {
+ }, e.own(Yut(document)), e.own(() => {
Js(), U.cancelQueries();
- }), e.own(Tot), e.own(hme), e.own(za);
+ }), e.own(Tot), e.own(mme), e.own(za);
}
return Q9.owners += 1, Q9.effects.resume(), Q9;
}
-function Zut() {
+function Qut() {
let [e, t] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
- let e = Q9 === null, n = Xut(), r = Cot(t);
+ let e = Q9 === null, n = Zut(), r = Cot(t);
if (e) try {
- Rut();
+ zut();
} catch (e) {
throw r(), n.effects.dispose(), Q9 = null, e;
}
return () => {
- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Yut(n)));
+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Xut(n)));
};
- }, []), /* @__PURE__ */ (0, x.jsx)(DTe, { actions: e });
+ }, []), /* @__PURE__ */ (0, x.jsx)(ETe, { actions: e });
}
var $9 = /* @__PURE__ */ new WeakMap();
-function Qut(e) {
+function $ut(e) {
let t = $9.get(e);
if (t) return t;
- let n = (0, mt.createRoot)(e, OTe);
+ let n = (0, mt.createRoot)(e, DTe);
$9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {
- $9.get(e) === n && ($9.delete(e), r(), Q9 && Yut(Q9));
- }, (0, pt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(Zut, {}))), n;
+ $9.get(e) === n && ($9.delete(e), r(), Q9 && Xut(Q9));
+ }, (0, pt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(Qut, {}))), n;
}
//#endregion
//#region src/react/bootstrap.tsx
-var $ut = document.getElementById("appRoot");
-if (!$ut) throw Error("主界面宿主缺失");
-Qut($ut);
+var edt = document.getElementById("appRoot");
+if (!edt) throw Error("主界面宿主缺失");
+$ut(edt);
//#endregion
-export { BT as applyTheme, $O as peachHistory, co as popCount, Fot as showToast };
+export { BT as applyTheme, ek as peachHistory, co as popCount, Fot as showToast };